/* *****************************************************

    ** Custom Stylesheet **

    Any custom styling you want to apply should be
    defined here.

***************************************************** */

/* Custom CSS for Nexus Theme
 *
 * This file allows you to customize the theme colors and styles for the entire Nexus template.
 *
 * To customize colors:
 * - Replace the var() references with your own hex colors or other CSS values.
 * - For example, instead of --primary: #4b5563; use --primary: #your-color;
 * - You can also override any CSS properties here.
 */

:root {
    --white: #fff;

    /* Neutral shades */
    --neutral-50: #fbf9fa;
    --neutral-100: #f4f5f7;
    --neutral-200: #e4e4e7;
    --neutral-300: #d0d5dd;
    --neutral-400: #9ca3af;
    --neutral-500: #6b7280;
    --neutral-600: #4b5563;
    --neutral-700: #374151;
    --neutral-800: #1f2937;
    --neutral-900: #111827;
    --neutral-950: #030712;

    /* Neutral shades */
    /* define own pallet with brand colors */
    --primary-50: var(--neutral-50);
    --primary-100: var(--neutral-100);
    --primary-200: var(--neutral-200);
    --primary-300: var(--neutral-300);
    --primary-400: var(--neutral-400);
    --primary-500: var(--neutral-500);
    --primary-600: var(--neutral-600);
    --primary-700: var(--neutral-700);
    --primary-800: var(--neutral-800);
    --primary-900: var(--neutral-900);
    --primary-950: var(--neutral-900);

    /* Primary colors */
    /* Use shades from comments if `primary` colors use other colors, then neutral */
    --primary: var(--neutral-900);          /* var(--primary-600) */
    --primary-lifted: var(--neutral-800);   /* var(--primary-700) */
    --primary-accented: var(--neutral-700); /* var(--primary-800) */

    /* Secondary colors */
    --secondary: var(--neutral-500);
    --secondary-lifted: var(--neutral-600);
    --secondary-accented: var(--neutral-700);

    /* Success colors */
    --success: #00a63e;
    --success-lifted: #008236;
    --success-accented: #016630;

    /* Info colors */
    --info: #155dfc;
    --info-lifted: #1447e6;
    --info-accented: #193cb8;

    /* Notice colors */
    --notice: #7f22fe;
    --notice-lifted: #7008e7;
    --notice-accented: #5d0ec0;

    /* Warning colors */
    --warning: #f54a00;
    --warning-lifted: #ca3500;
    --warning-accented: #9f2d00;

    /* Error colors */
    --error: #e7000b;
    --error-lifted: #c10007;
    --error-accented: #9f0712;

    /* Grayscale colors */
    --grayscale: var(--neutral-900);
    --grayscale-lifted: var(--neutral-800);
    --grayscale-accented: var(--neutral-700);

    /* Neutral colors */
    --neutral: var(--neutral-500);
    --neutral-lifted: var(--neutral-600);
    --neutral-accented: var(--neutral-700);

    /* Text neutral colors */
    --text-inverted: var(--white);
    --text-muted: var(--neutral-400);
    --text-lifted: var(--neutral-500);
    --text-accented: var(--neutral-600);
    --text: var(--neutral-900);

    /* Border neutral colors */
    --border-muted: var(--neutral-200);
    --border: var(--neutral-300);
    --border-lifted: var(--neutral-400);
    --border-accented: var(--neutral-600);

    /* Background neutral colors */
    --bg: var(--white);
    --bg-muted: var(--neutral-50);
    --bg-lifted: var(--neutral-100);
    --bg-accented: var(--neutral-200);
    --bg-inverted: var(--neutral-900);

    /* Additional colors */
    --yellow-200: #fff085;
    --yellow-300: #ffdf20;
    --teal-300: #46edd5;
    --teal-400: #00d5be;
    --emerald-300: #5ee9b5;
    --pink-400: #fb64b6;

    /* Additional custom properties */
    /* Font sizes */
    --text-xs: 0.625rem;
    --text-sm: 0.75rem;
    --text-md: 0.875rem;
    --text-lg: 1rem;

    /* Spacing */
    --outline-sm: 1px;
    --outline-md: 2px;
    --outline-lg: 3px;

    /* Rounding */
    --rounding-sm: 0.25rem;
    --rounding-md: 0.5rem;
    --rounding-lg: 0.75rem;

    /* Other */
    --letter-spacing: 0em;
    --disabled-opacity: 25%;
}

/* ===================================================================
   Run Target Host 2026 (child theme of Nexus). Generated by src/build.py
   from src/whmcs/rth.css; the block above is the stock Nexus custom.css.
   =================================================================== */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/inter-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500 700; font-display: swap; src: url(../fonts/jetbrains-mono-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    /* Brand: navy from the logo, amber accent */
    --rth-navy-950: #00001f;
    --rth-navy-900: #000033;
    --rth-navy-800: #0a0a4a;
    --rth-navy-700: #1b1b66;
    --rth-navy-600: #2e2e85;
    --rth-amber: #f9b644;
    --rth-amber-600: #e38d13;
    --rth-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --rth-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    --primary-50: #f3f3fb;
    --primary-100: #e6e7f5;
    --primary-200: #c9cbe8;
    --primary-300: #9ea1c9;
    --primary-400: #6d70ab;
    --primary-500: #45478f;
    --primary-600: var(--rth-navy-600);
    --primary-700: var(--rth-navy-700);
    --primary-800: var(--rth-navy-800);
    --primary-900: var(--rth-navy-900);
    --primary-950: var(--rth-navy-950);
    --primary: var(--rth-navy-700);
    --primary-lifted: var(--rth-navy-800);
    --primary-accented: var(--rth-navy-900);
    --bg-inverted: var(--rth-navy-900);
    --rounding-sm: 0.375rem;
    --rounding-md: 0.625rem;
    --rounding-lg: 0.875rem;
}

body { font-family: var(--rth-sans); border-top: 0; }

/* ---------- Header ---------- */
#header.header { background: var(--rth-navy-900); border-bottom: 1px solid rgba(255, 255, 255, .08); }
#header .navbar,
#header .main-navbar-wrapper { background: transparent; }
#header .main-navbar-wrapper { border-top: 1px solid rgba(255, 255, 255, .08); }
#header .topbar { background: var(--rth-navy-950); }

.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; font-family: var(--rth-mono); font-weight: 700; letter-spacing: -.02em; font-size: 1.12rem; text-decoration: none; line-height: 1.2; }
.brand:hover, .brand:focus { color: #fff; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; border-radius: 9px; background: var(--rth-navy-700); border: 1px solid rgba(255, 255, 255, .14); display: flex; align-items: center; justify-content: center; color: var(--rth-amber); font-size: 1rem; white-space: nowrap; flex-shrink: 0; }
.brand-mark span { animation: rth-blink 1.1s steps(1) infinite; }
.brand small { display: block; font-family: var(--rth-sans); font-weight: 500; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #9ea1c9; margin-top: 1px; }
@keyframes rth-blink { 50% { opacity: 0; } }
#header .navbar-brand.brand, #header .navbar-light .navbar-brand.brand, #header .navbar-light .navbar-brand.brand:hover, #header .navbar-light .navbar-brand.brand:focus { padding: 0; margin-right: 1rem; color: #fff; }

#header .main-navbar-wrapper .navbar-nav > li > a,
#header .main-navbar-wrapper .navbar-nav .nav-link { color: #e6e7f5; font-weight: 600; }
#header .main-navbar-wrapper .navbar-nav > li > a:hover,
#header .main-navbar-wrapper .navbar-nav .nav-link:hover,
#header .main-navbar-wrapper .navbar-nav .active > .nav-link { color: var(--rth-amber); }
#header .toolbar .nav-link,
#header .toolbar .btn { color: #fff; }
#header .toolbar .nav-link:hover { color: var(--rth-amber); }
#header .toolbar .badge { background: var(--rth-amber); color: var(--rth-navy-900); }
#header .search .form-control { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #fff; }
#header .search .form-control::placeholder { color: #9ea1c9; }
#header .search .btn { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: #e6e7f5; }
#header .navbar-toggler, #header [data-target="#mainNavbar"] { color: #fff; }
#header .dropdown-menu { border-radius: var(--rounding-md); border-color: var(--border-muted); box-shadow: 0 12px 32px rgba(0, 0, 51, .14); }
#header .dropdown-menu a { color: var(--text); }
#header .dropdown-menu a:hover { color: var(--rth-navy-700); }
@media (max-width: 1199.98px) {
    #header .main-navbar-wrapper .navbar-collapse { padding-bottom: 12px; }
}
@media (max-width: 575.98px) {
    .brand small { display: none; }
}
@media (max-width: 399.98px) {
    /* Keep the cart and menu buttons on the same row as the wordmark on small phones. */
    #header .navbar .container { flex-wrap: nowrap; }
    #header .navbar-brand.brand { font-size: 1rem; gap: 8px; margin-right: .5rem; min-width: 0; }
    #header .brand-mark { width: 34px; height: 34px; }
}

/* ---------- Breadcrumb and body ---------- */
.master-breadcrumb { background: var(--rth-navy-800); }
.master-breadcrumb .breadcrumb { background: transparent; padding-left: 0; padding-right: 0; margin-bottom: 0; }
nav.master-breadcrumb .breadcrumb .breadcrumb-item, nav.master-breadcrumb .breadcrumb .breadcrumb-item.active, nav.master-breadcrumb .breadcrumb .breadcrumb-item a, nav.master-breadcrumb .breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: #c9cbe8; }
.master-breadcrumb .breadcrumb a:hover { color: var(--rth-amber); }

.btn-primary, .btn-success { font-weight: 700; }

/* ---------- Footer ---------- */
#footer.rth-footer { background: var(--rth-navy-950); color: #9ea1c9; padding: 56px 0 26px; font-size: .93rem; margin-top: 0; }
.rth-footer a { color: #9ea1c9; }
.rth-footer a:hover { color: var(--rth-amber); text-decoration: none; }
.rth-footer .footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
.rth-footer h2 { color: #fff; font-size: .95rem; font-weight: 700; margin: 0 0 14px; line-height: 1.3; }
.rth-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.rth-footer .brand, .rth-footer .brand:hover { margin-bottom: 14px; color: #fff; }
.rth-footer p { margin: 0; line-height: 1.6; }
.rth-footer .footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.rth-footer .footer-bottom .copyright { color: #9ea1c9; }
.rth-footer .footer-bottom .btn-outline-light { border-color: rgba(255, 255, 255, .25); color: #e6e7f5; }
@media (max-width: 991.98px) {
    .rth-footer .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .rth-footer .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
    .rth-footer .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .brand-mark span { animation: none; } }
