/* SRV-CORE LLC — Nexus client theme brand overlay (portal pages)
 * Navbar/menu: nexus_cart_new/css/custom.css (loaded from header.tpl on non-cart pages)
 * Deploy: srv-core-whmcs-nexus-sync
 */

:root {
    --primary-600: #1062fe;
    --primary-700: #0c4fd6;
    --primary-800: #0a3fb0;
    --primary: #1062fe;
    --primary-lifted: #0c4fd6;
    --primary-accented: #0a3fb0;
    --info: #1062fe;
    --info-lifted: #0c4fd6;
    --info-accented: #0a3fb0;
    --success: #059669;
    --success-lifted: #047857;
    --success-accented: #065f46;
    --text: #17191c;
    --text-accented: #5e636e;
    --border-muted: #e8eaed;
    --bg-muted: #f8fafc;
    --brand-primary: #1062fe;
    --brand-primary-dark: #0c4fd6;
    --brand-font: system-ui, sans-serif;
    --brand-bg: #ffffff;
    --brand-surface: #ffffff;
    --brand-border: #e8eaed;
    --brand-heading: #17191c;
    --brand-muted: #64748b;
    --brand-radius: 0.75rem;
    --brand-shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.btn-primary,
.btn-success {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn-primary:hover,
.btn-success:hover {
    background-color: var(--primary-lifted);
    border-color: var(--primary-lifted);
    color: #fff;
}

a {
    color: var(--primary);
}

.footer {
    background: #0f172a !important;
    color: #e2e8f0;
    padding: 2rem 0;
}

.footer .nav-link,
.footer .copyright {
    color: #cbd5e1;
}

.footer .nav-link:hover {
    color: #fff;
}

footer.footer .btn-outline-light,
footer.footer button[data-target="#modalChooseLanguage"] {
    color: var(--brand-heading, #17191c) !important;
    border-color: #cbd5e1 !important;
    background-color: #fff !important;
    font-weight: 600;
}

footer.footer .btn-outline-light:hover,
footer.footer .btn-outline-light:focus,
footer.footer button[data-target="#modalChooseLanguage"]:hover,
footer.footer button[data-target="#modalChooseLanguage"]:focus {
    color: var(--brand-primary, #1062fe) !important;
    border-color: var(--brand-primary, #1062fe) !important;
    background-color: #f8fafc !important;
}

/* ── Language / system modals — keep above backdrop ─────────────────────── */

body.modal-open .modal.modal-localisation,
body.modal-open .modal.system-modal,
body.modal-open .modal#modalAjax,
body.modal-open .modal#modalGeneratePassword {
  z-index: 1065 !important;
}

body.modal-open .modal.modal-localisation .modal-dialog,
body.modal-open .modal.system-modal .modal-dialog,
body.modal-open .modal#modalAjax .modal-dialog,
body.modal-open .modal#modalGeneratePassword .modal-dialog {
  pointer-events: auto;
}
