/* MVM Support Network V1.0.9
 * Final cascade layer for the selectable MVM Dark theme.
 * Kept separate so legacy page styles cannot override theme colours.
 */
body.theme-mvm-dark,
body.theme-mvm-dark.page-customer-portal,
body.theme-mvm-dark.page-open-ticket,
body.theme-mvm-dark.page-privacy-policy,
body.theme-mvm-dark.page-terms,
body.theme-mvm-dark.page-cookie-policy,
body.theme-mvm-dark.page-knowledge {
    background: radial-gradient(circle at 82% 8%, rgba(12, 110, 151, .2), transparent 34%), #041522 !important;
    color: #d8e9f2 !important;
}

body.theme-mvm-dark .landing-page,
body.theme-mvm-dark .landing-feature-section,
body.theme-mvm-dark .landing-sections,
body.theme-mvm-dark .public-page,
body.theme-mvm-dark .page-shell,
body.theme-mvm-dark main {
    background-color: transparent !important;
}

body.theme-mvm-dark .landing-page::before {
    background: linear-gradient(180deg, rgba(4, 21, 34, 0), #041522 84%) !important;
}

body.theme-mvm-dark .landing-feature-section,
body.theme-mvm-dark .landing-cta-section {
    color: #d8e9f2 !important;
}

body.theme-mvm-dark .section-heading h1,
body.theme-mvm-dark .section-heading h2,
body.theme-mvm-dark .section-heading h3,
body.theme-mvm-dark .landing-feature-section h2,
body.theme-mvm-dark .landing-feature-section h3,
body.theme-mvm-dark .landing-trust h2,
body.theme-mvm-dark .support-overview strong {
    color: #f4fbff !important;
}

body.theme-mvm-dark .landing-features article,
body.theme-mvm-dark .landing-features article:nth-child(2),
body.theme-mvm-dark .landing-trust,
body.theme-mvm-dark .support-overview,
body.theme-mvm-dark .overview-head,
body.theme-mvm-dark .support-search,
body.theme-mvm-dark .support-options,
body.theme-mvm-dark .support-option,
body.theme-mvm-dark .overview-foot,
body.theme-mvm-dark .legal-card,
body.theme-mvm-dark .policy-card,
body.theme-mvm-dark .portal-card,
body.theme-mvm-dark .knowledge-card,
body.theme-mvm-dark .auth-wrap.card,
body.theme-mvm-dark .captcha-panel,
body.theme-mvm-dark .modal-card,
body.theme-mvm-dark .cookie-modal,
body.theme-mvm-dark .cookie-banner,
body.theme-mvm-dark .notice,
body.theme-mvm-dark .table-wrap {
    background: linear-gradient(145deg, #0b3049, #061c2d) !important;
    border-color: #24536d !important;
    color: #d8e9f2 !important;
    box-shadow: 0 24px 55px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .06) !important;
}

body.theme-mvm-dark .landing-features article:hover,
body.theme-mvm-dark .support-option:hover {
    border-color: #37b9eb !important;
    box-shadow: 0 30px 65px rgba(0, 0, 0, .48), 0 0 0 1px rgba(55, 185, 235, .2) !important;
}

body.theme-mvm-dark p,
body.theme-mvm-dark li,
body.theme-mvm-dark dd,
body.theme-mvm-dark .muted,
body.theme-mvm-dark small,
body.theme-mvm-dark .support-option span,
body.theme-mvm-dark .section-heading p,
body.theme-mvm-dark .legal-card p,
body.theme-mvm-dark .legal-card li {
    color: #a9c5d5 !important;
}

body.theme-mvm-dark a { color: #62cff7; }
body.theme-mvm-dark a:hover { color: #a7e8ff; }

body.theme-mvm-dark input:not([type="checkbox"]):not([type="radio"]),
body.theme-mvm-dark textarea,
body.theme-mvm-dark select,
body.theme-mvm-dark .auth-wrap input,
body.theme-mvm-dark .captcha-panel input,
body.theme-mvm-dark .support-search input {
    background: #061a29 !important;
    border-color: #32637d !important;
    color: #f2f9fc !important;
    caret-color: #62cff7 !important;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, .28) !important;
}

body.theme-mvm-dark input::placeholder,
body.theme-mvm-dark textarea::placeholder {
    color: #789aac !important;
    opacity: 1 !important;
}

body.theme-mvm-dark input:focus,
body.theme-mvm-dark textarea:focus,
body.theme-mvm-dark select:focus {
    background: #082238 !important;
    border-color: #4ac9f4 !important;
    outline: 3px solid rgba(74, 201, 244, .18) !important;
}

body.theme-mvm-dark select option { background: #061a29; color: #f2f9fc; }
body.theme-mvm-dark input[type="file"]::file-selector-button {
    background: #114c70;
    border: 0;
    color: #fff;
    padding: .65rem .85rem;
    margin-right: .75rem;
}

body.theme-mvm-dark input:-webkit-autofill,
body.theme-mvm-dark input:-webkit-autofill:hover,
body.theme-mvm-dark input:-webkit-autofill:focus {
    -webkit-text-fill-color: #f2f9fc !important;
    -webkit-box-shadow: 0 0 0 1000px #061a29 inset !important;
    transition: background-color 9999s ease-out 0s;
}

body.theme-mvm-dark .captcha-panel,
body.theme-mvm-dark .captcha-panel label,
body.theme-mvm-dark .captcha-panel strong {
    color: #d8e9f2 !important;
}

body.theme-mvm-dark:has(.admin-layout) {
    background: radial-gradient(circle at 76% 0, rgba(17, 116, 156, .22), transparent 32%), #03131f !important;
}

body.theme-mvm-dark .admin-layout > div:not(.sidebar),
body.theme-mvm-dark .admin-layout > main,
body.theme-mvm-dark .admin-main,
body.theme-mvm-dark .admin-content {
    background: linear-gradient(145deg, #08263a, #051b2b) !important;
    border: 1px solid #234e66 !important;
    color: #d8e9f2 !important;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .05) !important;
}

body.theme-mvm-dark .admin-layout .card,
body.theme-mvm-dark .admin-layout article,
body.theme-mvm-dark .admin-layout section,
body.theme-mvm-dark .admin-layout .stat-card,
body.theme-mvm-dark .admin-layout .panel {
    background-color: #092a40 !important;
    border-color: #24536d !important;
    color: #d8e9f2 !important;
}

body.theme-mvm-dark table,
body.theme-mvm-dark th,
body.theme-mvm-dark td {
    background-color: transparent !important;
    border-color: #24485d !important;
    color: #d8e9f2 !important;
}

body.theme-mvm-dark th { background-color: #0b3149 !important; }
body.theme-mvm-dark tr:nth-child(even) td { background-color: rgba(17, 73, 105, .22) !important; }

@media (max-width: 760px) {
    body.theme-mvm-dark .landing-features article,
    body.theme-mvm-dark .support-overview,
    body.theme-mvm-dark .legal-card,
    body.theme-mvm-dark .auth-wrap.card {
        box-shadow: 0 16px 34px rgba(0, 0, 0, .38) !important;
    }
}
