/*
 * Azereon - WHMCS Nexus Theme Customization
 * Light theme with Azereon brand accents (teal, gold, navy)
 */

:root {
    --white: #fff;

    /* Neutral shades (default light theme) */
    --neutral-50: #f8f9fa;
    --neutral-100: #f0f2f4;
    --neutral-200: #e4e4e7;
    --neutral-300: #d0d5dd;
    --neutral-400: #9ca3af;
    --neutral-500: #6b7280;
    --neutral-600: #4b5563;
    --neutral-700: #374151;
    --neutral-800: #1f2937;
    --neutral-900: #10272f;
    --neutral-950: #0d2028;

    /* Primary palette (Gemstone Teal) */
    --primary-50: #e6fcfd;
    --primary-100: #ccf9fb;
    --primary-200: #99f3f6;
    --primary-300: #66ecf2;
    --primary-400: #33e6ed;
    --primary-500: #1fe8ef;
    --primary-600: #19b8bd;
    --primary-700: #138a8e;
    --primary-800: #0d5c5f;
    --primary-900: #062e2f;
    --primary-950: #031717;

    /* Primary colors */
    --primary: #1fe8ef;
    --primary-lifted: #19b8bd;
    --primary-accented: #138a8e;

    /* Secondary colors (Compass Gold) */
    --secondary: #c9a84c;
    --secondary-lifted: #b8963e;
    --secondary-accented: #a68535;

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

    /* Info colors (Navy) */
    --info: #10272f;
    --info-lifted: #163640;
    --info-accented: #0d2028;

    /* Notice colors (Gold) */
    --notice: #c9a84c;
    --notice-lifted: #b8963e;
    --notice-accented: #a68535;

    /* Warning colors (Ember) */
    --warning: #e87421;
    --warning-lifted: #d4681e;
    --warning-accented: #bf5c1a;

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

    /* Grayscale colors (Navy-tinted) */
    --grayscale: #10272f;
    --grayscale-lifted: #1f2937;
    --grayscale-accented: #374151;

    /* Neutral colors */
    --neutral: #6b7280;
    --neutral-lifted: #4b5563;
    --neutral-accented: #374151;

    /* Text colors (Navy-based) */
    --text-inverted: #fff;
    --text-muted: #6b7280;
    --text-lifted: #4b5563;
    --text-accented: #374151;
    --text: #10272f;

    /* Border colors */
    --border-muted: #e4e4e7;
    --border: #d0d5dd;
    --border-lifted: #9ca3af;
    --border-accented: #4b5563;

    /* Background colors */
    --bg: #fff;
    --bg-muted: #f8f9fa;
    --bg-lifted: #f0f2f4;
    --bg-accented: #e4e4e7;
    --bg-inverted: #10272f;

    /* Additional colors */
    --yellow-200: #ddc574;
    --yellow-300: #c9a84c;
    --teal-300: #1fe8ef;
    --teal-400: #2cddd8;
    --emerald-300: #5ee9b5;
    --pink-400: #fb64b6;

    /* 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: 0.02em;
    --disabled-opacity: 25%;
}

/* ── Fix light text on white backgrounds ──────── */
.text-muted,
small,
a small,
.card small,
.list-group-item small {
    color: #6b7280 !important;
}

/* ── Navy header bar ──────────────────────────── */
#header .navbar.navbar-light {
    background: #10272f;
}
#header .navbar.navbar-light .navbar-brand img {
    filter: brightness(10);
}
#header .navbar.navbar-light .navbar-nav .nav-link,
#header .navbar.navbar-light .navbar-nav a,
#header .navbar.navbar-light .form-control,
#header .navbar.navbar-light .toolbar a {
    color: #e8eef2;
}
#header .navbar.navbar-light .form-control {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15);
    color: #e8eef2;
}
#header .navbar.navbar-light .form-control::placeholder {
    color: rgba(232,238,242,0.5);
}

/* Main nav bar — navy with teal accent line */
#header .main-navbar-wrapper {
    background: #10272f;
    border-bottom: 3px solid #1fe8ef;
}
#header .main-navbar-wrapper .navbar-nav > .nav-item > .nav-link,
#header .main-navbar-wrapper .navbar-nav > li > a {
    color: #e8eef2 !important;
}
#header .main-navbar-wrapper .navbar-nav > .nav-item > .nav-link:hover,
#header .main-navbar-wrapper .navbar-nav > li > a:hover {
    color: #1fe8ef !important;
}

/* Dropdown menus — white bg with dark text */
.dropdown-menu {
    background: #fff !important;
    border: 1px solid #e4e4e7 !important;
    box-shadow: 0 8px 24px rgba(16,39,47,0.12);
}
.dropdown-menu a {
    color: #10272f !important;
}
.dropdown-menu a:hover {
    color: #138a8e !important;
    background: #f0f2f4 !important;
}

/* ── Breadcrumb ───────────────────────────────── */
.master-breadcrumb {
    background: #f0f2f4;
    border-bottom: 1px solid #e4e4e7;
    padding: 0.5rem 1rem;
}
.master-breadcrumb .breadcrumb {
    margin: 0;
    padding: 0;
    background: transparent;
    font-size: 0.8rem;
}
.master-breadcrumb .breadcrumb-item,
.master-breadcrumb .breadcrumb-item.active {
    color: #6b7280;
}
.master-breadcrumb .breadcrumb-item a {
    color: #138a8e;
}
.master-breadcrumb .breadcrumb-item a:hover {
    color: #1fe8ef;
}

/* ── Domain search hero ───────────────────────── */
.home-domain-search {
    margin-top: 1.5rem;
    background: #163640 url('../images/topo-seamless.png') repeat center center !important;
    background-size: 600px !important;
    color: #e8eef2;
    border-bottom: 3px solid #c9a84c;
    position: relative;
}
.home-domain-search::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(16,39,47,0.8);
    pointer-events: none;
    z-index: 1;
}
.home-domain-search .container,
.home-domain-search > .container > .p-5 {
    position: relative;
    z-index: 2;
}
.home-domain-search h2 {
    color: #fff !important;
}
.home-domain-search h2::after {
    background: #c9a84c !important;
}
.home-domain-search .form-control {
    background: rgba(255,255,255,0.95);
    color: #10272f;
}
.home-domain-search .btn-primary {
    background: #1fe8ef !important;
    border-color: #1fe8ef !important;
    color: #10272f !important;
    font-weight: 600;
}
.home-domain-search .btn-primary:hover {
    background: #19b8bd !important;
    border-color: #19b8bd !important;
}
.home-domain-search .btn-success {
    background: #c9a84c !important;
    border-color: #c9a84c !important;
    color: #10272f !important;
    font-weight: 600;
}
.home-domain-search .btn-success:hover {
    background: #b8963e !important;
    border-color: #b8963e !important;
}
.home-domain-search a,
.home-domain-search .tld-logos {
    color: #1fe8ef;
}
.home-domain-search .tld-logos li {
    color: #e8eef2;
}

/* ── Product/service cards ────────────────────── */
.card-columns.home .card {
    border: 1px solid #e4e4e7;
    border-left: 4px solid #1fe8ef;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-columns.home .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(16,39,47,0.1);
}
.card-columns.home .card .btn-outline-primary {
    color: #138a8e;
    border-color: #1fe8ef;
}
.card-columns.home .card .btn-outline-primary:hover {
    background: #1fe8ef;
    color: #10272f;
    border-color: #1fe8ef;
}

/* ── Action icon buttons (How can we help / Your Account) ── */
.action-icon-btns a {
    border: 1px solid #e4e4e7;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}
.action-icon-btns a:hover {
    border-color: #1fe8ef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31,232,239,0.15);
}
.action-icon-btns .ico-container i {
    color: #138a8e;
}
.action-icon-btns a:hover .ico-container i {
    color: #1fe8ef;
}

/* ── Section headings ─────────────────────────── */
h2.text-center {
    color: #10272f;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.75rem;
}
h2.text-center::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #1fe8ef;
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

/* ── Links — teal ─────────────────────────────── */
a {
    color: #138a8e;
}
a:hover {
    color: #1fe8ef;
}

/* ── Footer — navy with gold accent ───────────── */
#footer {
    background: #10272f;
    border-top: 3px solid #c9a84c;
}
#footer a {
    color: #e8eef2;
}
#footer a:hover {
    color: #1fe8ef;
}
#footer p {
    color: rgba(232,238,242,0.5);
}

/* ── Buttons — solid teal with navy text ──────── */
.btn-primary {
    background: #1fe8ef;
    border-color: #1fe8ef;
    color: #10272f;
    font-weight: 500;
}
.btn-primary:hover,
.btn-primary:focus {
    background: #19b8bd;
    border-color: #19b8bd;
    color: #10272f;
}

/* ── Page background — subtle navy-tinted gradient ── */
body {
    background: linear-gradient(180deg, #eef2f5 0%, #e4eaef 50%, #eef2f5 100%);
    background-attachment: fixed;
}

/* ── Sidebar ──────────────────────────────────── */
.list-group-item.active {
    background: #1fe8ef;
    border-color: #1fe8ef;
    color: #10272f;
}
