/* =====================================
   PAGE: PROFILE
   Namespace: .page-profile
===================================== */

.page-profile {
    max-width: 1200px;
}

/* ---------- Card ---------- */
.page-profile .profile-card {
    background: linear-gradient(
        180deg,
        #1e293b 0%,
        #020617 100%
    );
    border: 1px solid #1f2937;
    border-radius: 14px;
}

/* ---------- Modal ---------- */
#editProfileModal .modal-dialog {
    max-width: 640px;
}

#editProfileModal .modal-content {
    background: linear-gradient(
        180deg,
        #0f172a 0%,
        #020617 100%
    );
    color: #e5e7eb;
    border-radius: 14px;
    border: 1px solid #1f2937;
}

#editProfileModal .modal-header,
#editProfileModal .modal-footer {
    border-color: #1f2937;
}

#editProfileModal .modal-title {
    color: #e5e7eb;
}

#editProfileModal .btn-close {
    filter: invert(1);
}

/* ---------- Form ---------- */
#editProfileModal .form-label {
    font-size: 0.85rem;
    color: #9ca3af;
}

#editProfileModal .form-control,
#editProfileModal .form-select {
    background-color: #020617;
    border: 1px solid #1f2937;
    color: #e5e7eb;
}

#editProfileModal .form-control:focus,
#editProfileModal .form-select:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 0.15rem rgba(16,185,129,.25);
}

/* ---------- Settings Grid ---------- */
.profile-settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.section-title {
    color: #10b981;
    margin-bottom: 10px;
}

/* ---------- Mobile ---------- */
@media (max-width: 576px) {
    .profile-settings-grid {
        grid-template-columns: 1fr;
    }
}
/* Force Dark Modal - Bootstrap Override */
.page-profile #editProfileModal .modal-content {
    background: linear-gradient(
        180deg,
        #0f172a 0%,
        #020617 100%
    ) !important;

    color: #e5e7eb;
    border-radius: 14px;
    border: 1px solid #1f2937;
}

.page-profile #editProfileModal .modal-header,
.page-profile #editProfileModal .modal-footer {
    background: transparent;
    border-color: #1f2937;
}

.page-profile #editProfileModal .modal-title {
    color: #e5e7eb;
}

.page-profile #editProfileModal .btn-close {
    filter: invert(1);
}
/* ✅ GLOBAL OVERRIDE - FINAL */
#editProfileModal .modal-content {
    background: linear-gradient(
        180deg,
        #0f172a 0%,
        #020617 100%
    ) !important;

    color: #e5e7eb !important;
    border: 1px solid #1f2937 !important;
    border-radius: 14px;
}

#editProfileModal .modal-header,
#editProfileModal .modal-footer {
    background: transparent !important;
    border-color: #1f2937 !important;
}

#editProfileModal .modal-title {
    color: #e5e7eb !important;
}

#editProfileModal .btn-close {
    filter: invert(1) !important;
}
