/*
 * ElyonHost Cosmic-Luxe Dark Theme
 * Design System Colors:
 *   Cosmos (bg):  #03040B, #060A18, #0B1120, #111827, #1A2236
 *   Stellar (gold): #B8930F, #C9A84C, #D4BC6A
 *   Nebula (violet): #7C3AED, #8B5CF6
 *   Stardust (text): #FAFBFF, #E2E6F0, #B8C0D2, #929BB5, #7780A0
 *   Success: #10B981 | Error: #EF4444
 */

/* ============================================
   BASE / BODY
   ============================================ */
.primary-bg-color {
    background-color: #03040B !important;
}
body {
    background-color: #03040B !important;
    color: #E2E6F0 !important;
}

/* ============================================
   HEADER
   ============================================ */
header.header {
    background-color: #0B1120 !important;
    border-bottom: 1px solid rgba(201,168,76,0.12);
}
/* Modern dark header — gradient, glow, subtle borders */
header.header {
    background: linear-gradient(180deg, #0B1120 0%, #060A18 100%) !important;
    border-bottom: 1px solid rgba(201,168,76,0.12) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Logo */
header.header .navbar-brand {
    padding: 0 !important;
    margin-right: 1rem !important;
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s;
}
header.header .navbar-brand .logo-img {
    max-height: 36px !important;
    max-width: 180px !important;
    transition: filter 0.3s;
}
header.header .navbar-brand:hover .logo-img {
    filter: drop-shadow(0 0 8px rgba(201,168,76,0.4));
}

/* Top row (logo + search + cart) — compact */
header.header .navbar {
    padding: 8px 0 !important;
    min-height: 56px;
}

/* Search bar — compact, not full-width */
header.header .search {
    border: 1px solid rgba(26,34,54,0.8) !important;
    border-radius: 8px !important;
    overflow: hidden;
    background-color: rgba(6,10,24,0.8) !important;
    transition: border-color 0.2s, box-shadow 0.2s;
    max-width: 320px;
    width: 100%;
}
header.header .search:focus-within {
    border-color: rgba(201,168,76,0.5) !important;
    box-shadow: 0 0 0 2px rgba(201,168,76,0.1);
}
header.header .search .form-control {
    padding: 7px 12px !important;
    font-size: 13px !important;
    background: transparent !important;
    height: auto !important;
}
header.header .search .form-control::placeholder {
    color: #7780A0 !important;
}
header.header .search .btn {
    padding: 7px 12px !important;
    background: transparent !important;
}
header.header .search .btn:hover {
    color: #C9A84C !important;
}

/* Cart button — compact */
header.header .toolbar {
    margin: 0 !important;
}
header.header .toolbar .nav-item {
    margin-left: 12px !important;
}
header.header .toolbar .cart-btn {
    background: rgba(201,168,76,0.08) !important;
    border: 1px solid rgba(201,168,76,0.3) !important;
    border-radius: 8px !important;
    padding: 7px 12px !important;
    position: relative;
    transition: all 0.2s;
    overflow: visible !important;
}
header.header .toolbar .nav-item {
    overflow: visible !important;
}
header.header .toolbar .cart-btn:hover {
    background: rgba(201,168,76,0.15) !important;
    border-color: rgba(201,168,76,0.55) !important;
    box-shadow: 0 0 10px rgba(201,168,76,0.2);
}
header.header .toolbar .cart-btn i {
    color: #C9A84C !important;
    font-size: 14px;
}
header.header .toolbar .cart-btn .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #B8930F, #D4BC6A) !important;
    color: #03040B !important;
    font-weight: 700;
    font-size: 10px !important;
    padding: 0 !important;
    border-radius: 50%;
    border: 2px solid #0B1120;
    width: 20px;
    height: 20px;
    min-width: 20px;
    line-height: 16px !important;
    text-align: center;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(201,168,76,0.4);
    z-index: 10;
}

/* Main navbar row — compact, no excessive padding */
header.header .main-navbar-wrapper {
    background: rgba(6,10,24,0.6) !important;
    border-top: 1px solid rgba(26,34,54,0.5) !important;
    border-bottom: 1px solid rgba(26,34,54,0.5) !important;
    min-height: 42px;
}
header.header .main-navbar-wrapper .navbar-nav {
    gap: 0;
}
header.header .main-navbar-wrapper .nav-item > a,
header.header .main-navbar-wrapper .navbar-nav > li > a {
    padding: 10px 14px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    position: relative;
    color: #B8C0D2 !important;
    transition: color 0.2s;
    white-space: nowrap;
}
header.header .main-navbar-wrapper .nav-item > a:hover,
header.header .main-navbar-wrapper .navbar-nav > li > a:hover {
    color: #C9A84C !important;
}
header.header .main-navbar-wrapper .nav-item > a::after,
header.header .main-navbar-wrapper .navbar-nav > li > a::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #C9A84C, transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
    border-radius: 2px;
}
header.header .main-navbar-wrapper .nav-item > a:hover::after,
header.header .main-navbar-wrapper .navbar-nav > li > a:hover::after {
    transform: scaleX(1);
}
header.header .main-navbar-wrapper .dropdown-toggle::after {
    opacity: 0.6;
    margin-left: 4px;
}

/* Breadcrumb */
.master-breadcrumb {
    background: rgba(6,10,24,0.4) !important;
    border-bottom: 1px solid rgba(26,34,54,0.5);
}
.master-breadcrumb .breadcrumb {
    background: transparent !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    font-size: 12px;
}
.master-breadcrumb .breadcrumb a {
    color: #929BB5 !important;
    transition: color 0.2s;
}
.master-breadcrumb .breadcrumb a:hover {
    color: #C9A84C !important;
}
.master-breadcrumb .breadcrumb-item.active {
    color: #B8C0D2 !important;
}

/* ============================================
   HOMEPAGE — Action cards & Quick links
   ============================================ */
.action-icon-btns a {
    background: linear-gradient(135deg, rgba(11,17,32,0.9) 0%, rgba(17,24,39,0.9) 100%) !important;
    border: 1px solid rgba(26,34,54,0.6) !important;
    border-radius: 12px !important;
    color: #B8C0D2 !important;
    padding: 24px 12px !important;
    margin-bottom: 16px !important;
    transition: all 0.3s ease !important;
    position: relative;
    overflow: hidden;
}
.action-icon-btns a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #C9A84C, transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.action-icon-btns a:hover {
    background: linear-gradient(135deg, rgba(17,24,39,1) 0%, rgba(11,17,32,1) 100%) !important;
    border-color: rgba(201,168,76,0.5) !important;
    color: #FAFBFF !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 20px rgba(201,168,76,0.15);
}
.action-icon-btns a:hover::before {
    opacity: 1;
}
.action-icon-btns a .ico-container {
    margin: 8px auto 14px !important;
    line-height: 1 !important;
    font-size: 2.2em !important;
    transition: all 0.3s ease;
}
.action-icon-btns a .ico-container i {
    color: #C9A84C !important;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 0 transparent);
}
.action-icon-btns a:hover .ico-container {
    font-size: 2.6em !important;
}
.action-icon-btns a:hover .ico-container i {
    filter: drop-shadow(0 0 10px rgba(201,168,76,0.5));
}

/* Top accent border — all colors → gold */
[class*="card-accent-"] {
    border-top: none !important;
}

/* Action cards — new title/subtitle structure */
.elyon-action-grid a {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 160px;
    text-decoration: none !important;
}
.elyon-action-grid .action-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #FAFBFF;
    margin-top: 4px;
}
.elyon-action-grid .action-sub {
    display: block;
    font-size: 11px;
    color: #7780A0;
    margin-top: 4px;
    font-weight: 400;
}
.elyon-action-grid a:hover .action-sub {
    color: #929BB5;
}

/* Section titles (elyon-section-title) */
.elyon-section-title {
    color: #FAFBFF !important;
    font-weight: 600;
    font-size: 22px;
    text-align: center;
    margin-top: 28px !important;
    margin-bottom: 4px !important;
    letter-spacing: 0.2px;
}
.elyon-section-subtitle {
    text-align: center;
    color: #929BB5;
    font-size: 13px;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 12px;
}
.elyon-section-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #C9A84C, transparent);
    border-radius: 2px;
}

/* Legacy h2 fallback */
.primary-content h2.text-center {
    color: #FAFBFF !important;
    font-weight: 600;
}

/* ------- HERO ------- */
.elyon-hero {
    position: relative;
    margin: 24px 0 48px;
    padding: 56px 32px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 15% 30%, rgba(201,168,76,0.12) 0%, transparent 50%),
        radial-gradient(circle at 85% 70%, rgba(124,58,237,0.08) 0%, transparent 50%),
        linear-gradient(135deg, rgba(11,17,32,0.95) 0%, rgba(6,10,24,0.98) 100%);
    border: 1px solid rgba(201,168,76,0.15);
    overflow: hidden;
    text-align: center;
}
.elyon-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.elyon-hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}
.elyon-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(201,168,76,0.12);
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: 30px;
    color: #C9A84C;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.elyon-hero-badge i {
    font-size: 10px;
}
.elyon-hero h1 {
    color: #FAFBFF !important;
    font-size: 36px !important;
    font-weight: 700;
    margin: 0 0 10px 0 !important;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #FAFBFF 0%, #C9A84C 120%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.elyon-hero-subtitle {
    color: #B8C0D2 !important;
    font-size: 15px;
    margin-bottom: 26px !important;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.elyon-hero-search {
    display: flex;
    align-items: center;
    max-width: 540px;
    margin: 0 auto 22px;
    background: rgba(6,10,24,0.9);
    border: 1px solid rgba(26,34,54,0.8);
    border-radius: 12px;
    padding: 4px 4px 4px 18px;
    transition: border-color 0.25s, box-shadow 0.25s;
    gap: 10px;
}
.elyon-hero-search:focus-within {
    border-color: rgba(201,168,76,0.5);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
}
.elyon-hero-search i {
    color: #C9A84C;
    font-size: 14px;
}
.elyon-hero-search input {
    flex: 1;
    border: none;
    background: transparent;
    color: #FAFBFF;
    font-size: 14px;
    outline: none;
    padding: 12px 0;
}
.elyon-hero-search input::placeholder {
    color: #7780A0;
}
.elyon-hero-search button {
    background: linear-gradient(135deg, #B8930F, #C9A84C);
    color: #03040B;
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}
.elyon-hero-search button:hover {
    background: linear-gradient(135deg, #C9A84C, #D4BC6A);
    box-shadow: 0 0 14px rgba(201,168,76,0.35);
}
.elyon-hero-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}
.elyon-hero-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(17,24,39,0.6);
    border: 1px solid rgba(26,34,54,0.8);
    border-radius: 30px;
    color: #B8C0D2;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}
.elyon-hero-links a:hover {
    background: rgba(201,168,76,0.1);
    border-color: rgba(201,168,76,0.4);
    color: #C9A84C;
}
.elyon-hero-links a i {
    color: #C9A84C;
    font-size: 11px;
}

/* ------- PRODUCT CARDS on homepage ------- */
.elyon-products-grid .card,
.card-columns.home .card {
    background: linear-gradient(135deg, rgba(11,17,32,0.9) 0%, rgba(17,24,39,0.95) 100%) !important;
    border: 1px solid rgba(26,34,54,0.6) !important;
    border-radius: 14px !important;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}
.elyon-products-grid .card::before,
.card-columns.home .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #C9A84C, transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.elyon-products-grid .card:hover,
.card-columns.home .card:hover {
    border-color: rgba(201,168,76,0.4) !important;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.4), 0 0 24px rgba(201,168,76,0.12);
}
.elyon-products-grid .card:hover::before,
.card-columns.home .card:hover::before {
    opacity: 1;
}
.elyon-products-grid .card-body,
.card-columns.home .card-body {
    padding: 20px 18px !important;
}
.elyon-product-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 10px;
    background: rgba(201,168,76,0.1);
    border: 1px solid rgba(201,168,76,0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.elyon-product-icon i {
    font-size: 22px;
    color: #C9A84C;
}
.elyon-products-grid .card-title,
.card-columns.home .card-title {
    color: #FAFBFF !important;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}
.elyon-products-grid .card-body p,
.card-columns.home .card-body p {
    color: #929BB5;
    font-size: 12.5px;
    min-height: auto;
    margin-bottom: 12px;
}
.elyon-products-grid .card.mb-3,
.card-columns.home .card.mb-3 {
    margin-bottom: 12px !important;
}

/* Responsive hero */
@media (max-width: 768px) {
    .elyon-hero {
        padding: 36px 18px;
        margin: 12px 0 28px;
    }
    .elyon-hero h1 {
        font-size: 26px !important;
    }
    .elyon-hero-search {
        flex-direction: column;
        padding: 12px;
        gap: 8px;
    }
    .elyon-hero-search button {
        width: 100%;
    }
}

/* Generic card style (KB category cards, etc.) */
.card {
    background: rgba(11,17,32,0.8) !important;
    border: 1px solid rgba(26,34,54,0.6) !important;
    border-radius: 10px !important;
    color: #E2E6F0 !important;
}
.card.bg-light {
    background: rgba(11,17,32,0.8) !important;
}
.card .card-header,
.card .card-body,
.card .card-footer {
    background: transparent !important;
    border-color: rgba(26,34,54,0.5) !important;
    color: #E2E6F0;
}
.card .card-header {
    border-bottom: 1px solid rgba(26,34,54,0.5);
    color: #FAFBFF !important;
}
.card .card-title {
    color: #FAFBFF !important;
}
.card h1, .card h2, .card h3, .card h4, .card h5, .card h6 {
    color: #FAFBFF !important;
}
.card p, .card span:not(.badge), .card div {
    color: #B8C0D2;
}
.card a:not(.btn) {
    color: #C9A84C;
}
.card a:not(.btn):hover {
    color: #D4BC6A;
}

/* KB categories */
.kb-category {
    transition: all 0.25s;
}
.kb-category:hover {
    border-color: rgba(201,168,76,0.4) !important;
    box-shadow: 0 4px 16px rgba(201,168,76,0.1);
}

/* Input groups / search boxes (not header search) */
.input-group .form-control,
.form-control {
    background-color: rgba(6,10,24,0.8) !important;
    border: 1px solid rgba(26,34,54,0.8) !important;
    color: #E2E6F0 !important;
    border-radius: 8px !important;
}
.form-control::placeholder {
    color: #7780A0 !important;
}
.form-control:focus {
    border-color: rgba(201,168,76,0.5) !important;
    box-shadow: 0 0 0 2px rgba(201,168,76,0.12) !important;
    background-color: rgba(6,10,24,0.9) !important;
    color: #FAFBFF !important;
}
.input-group .form-control {
    border-radius: 8px 0 0 8px !important;
}
.input-group .input-group-append .btn,
.input-group .btn-primary {
    border-radius: 0 8px 8px 0 !important;
}

/* Article / Announcement bodies */
article,
.announcements .announcement article {
    background-color: rgba(11,17,32,0.6) !important;
    border-left: 4px solid #C9A84C !important;
    color: #E2E6F0 !important;
    border-radius: 0 10px 10px 0;
    padding: 16px 20px !important;
}
article p, article li, article div, article span,
.announcements .announcement article p,
.announcements .announcement article li {
    color: #B8C0D2 !important;
}
.announcements .announcement h1,
.announcements .announcement h1 a {
    color: #C9A84C !important;
}
.announcements .announcement .text-muted,
.announcements .announcement .text-muted i {
    color: #929BB5 !important;
}
.announcements .announcement .btn-default {
    background: rgba(201,168,76,0.1) !important;
    border: 1px solid rgba(201,168,76,0.3) !important;
    color: #C9A84C !important;
    border-radius: 8px !important;
}
.announcements .announcement .btn-default:hover {
    background: rgba(201,168,76,0.2) !important;
    color: #D4BC6A !important;
}

/* Badge inside cards (Article counts) */
.card .badge,
.sidebar .badge,
.kb-category .badge {
    background: rgba(201,168,76,0.15) !important;
    color: #C9A84C !important;
    border: 1px solid rgba(201,168,76,0.3) !important;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
}

/* Generic rounded borders everywhere */
.panel,
.well,
.alert,
.modal-content {
    border-radius: 10px !important;
}
.btn {
    border-radius: 8px !important;
}
.btn-primary {
    background: linear-gradient(135deg, #B8930F, #C9A84C) !important;
    border: none !important;
    color: #03040B !important;
    font-weight: 600;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #C9A84C, #D4BC6A) !important;
    box-shadow: 0 0 14px rgba(201,168,76,0.3);
    color: #03040B !important;
}
header.header .topbar {
    background-color: #060A18 !important;
    border-bottom: 1px solid #1A2236;
}
header.header .topbar .btn {
    color: #929BB5 !important;
}
header.header .topbar .active-client .input-group-text {
    color: #929BB5 !important;
}
header.header .topbar .active-client .btn {
    color: #B8C0D2 !important;
}
header.header .topbar .active-client .btn.btn-active-client span {
    border-bottom-color: rgba(201,168,76,0.4) !important;
}

/* Navbar */
header.header .navbar a {
    color: #B8C0D2 !important;
}
header.header .navbar-nav a {
    color: #B8C0D2 !important;
}
header.header .navbar-nav a:hover,
header.header .navbar a:hover {
    color: #C9A84C !important;
}
header.header .main-navbar-wrapper {
    background-color: #0B1120 !important;
    border-top: 1px solid #1A2236;
}
header.header .toolbar .nav-link {
    border-color: #1A2236 !important;
    color: #929BB5 !important;
}
header.header .toolbar .nav-link:hover {
    color: #C9A84C !important;
    border-color: rgba(201,168,76,0.3) !important;
}
header.header .toolbar .nav-link .badge {
    background-color: #C9A84C !important;
    color: #03040B !important;
}

/* Search */
header.header .search {
    border-color: #1A2236 !important;
    background-color: #060A18 !important;
}
header.header .search .btn {
    color: #7780A0 !important;
    background-color: transparent !important;
}
header.header .search .form-control {
    background-color: #060A18 !important;
    color: #E2E6F0 !important;
    border: none !important;
}
header.header .search:focus-within {
    border-color: rgba(201,168,76,0.4) !important;
}

/* Dropdown menus */
header.header .dropdown-menu {
    background-color: #111827 !important;
    border: 1px solid #1A2236 !important;
}
header.header .dropdown-item {
    color: #B8C0D2 !important;
}
header.header .dropdown-item:hover,
header.header .dropdown-item:focus {
    background-color: #1A2236 !important;
    color: #C9A84C !important;
}
header.header .dropdown-item.active,
header.header .dropdown-item:active {
    background-color: rgba(201,168,76,0.15) !important;
    color: #C9A84C !important;
}
.dropdown-menu {
    background-color: #111827 !important;
    border: 1px solid #1A2236 !important;
}
.dropdown-item {
    color: #B8C0D2 !important;
}
.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #1A2236 !important;
    color: #C9A84C !important;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.master-breadcrumb {
    background-color: #060A18 !important;
    border-bottom: 1px solid #1A2236;
}
.master-breadcrumb .breadcrumb {
    background-color: transparent !important;
}
.breadcrumb-item a {
    color: #929BB5 !important;
}
.breadcrumb-item a:hover {
    color: #C9A84C !important;
}
.breadcrumb-item.active {
    color: #7780A0 !important;
}
.breadcrumb-item + .breadcrumb-item::before {
    color: #7780A0 !important;
}

/* ============================================
   MAIN BODY
   ============================================ */
section#main-body {
    background-color: #03040B !important;
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar .card,
.sidebar .mc-promo-manage,
.sidebar .mc-promo-login {
    background-color: #0B1120 !important;
    border: 1px solid #1A2236 !important;
}
.sidebar .card-header {
    background-color: #111827 !important;
    border-bottom: 1px solid #1A2236 !important;
}
.sidebar .card-title,
.sidebar .card-header h3 {
    color: #C9A84C !important;
}
.sidebar .list-group-item {
    background-color: #0B1120 !important;
    border-color: #1A2236 !important;
    color: #B8C0D2 !important;
}
.sidebar .list-group-item:hover {
    background-color: #111827 !important;
    color: #C9A84C !important;
}
.sidebar .list-group-item.active,
.sidebar .list-group-item.active:hover,
.sidebar .list-group-item.active:focus {
    background-color: rgba(201,168,76,0.12) !important;
    border-color: rgba(201,168,76,0.25) !important;
    color: #C9A84C !important;
}
.sidebar .list-group-item .badge {
    background-color: rgba(201,168,76,0.15) !important;
    color: #C9A84C !important;
}

/* ============================================
   CARDS
   ============================================ */
.card,
.mc-promo-manage,
.mc-promo-login {
    background-color: #0B1120 !important;
    border: 1px solid #1A2236 !important;
    color: #E2E6F0 !important;
}
.card-header {
    background-color: #111827 !important;
    border-bottom: 1px solid #1A2236 !important;
    color: #E2E6F0 !important;
}
.card-body {
    background-color: #0B1120 !important;
    color: #E2E6F0 !important;
}
.card-footer {
    background-color: #111827 !important;
    border-top: 1px solid #1A2236 !important;
}
.card-title {
    color: #FAFBFF !important;
}

/* ============================================
   TABLES
   ============================================ */
.table {
    color: #E2E6F0 !important;
}
.table thead th {
    background-color: #111827 !important;
    border-bottom: 2px solid #1A2236 !important;
    color: #C9A84C !important;
    font-weight: 600;
}
.table td,
.table th {
    border-top-color: #1A2236 !important;
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(11,17,32,0.5) !important;
}
.table-striped tbody tr:nth-of-type(even) {
    background-color: #0B1120 !important;
}
.table-hover tbody tr:hover {
    background-color: rgba(201,168,76,0.05) !important;
    color: #FAFBFF !important;
}
.table-bordered {
    border-color: #1A2236 !important;
}
.table-bordered td,
.table-bordered th {
    border-color: #1A2236 !important;
}
.table tbody td {
    color: #E2E6F0 !important;
    border-top-color: rgba(26,34,54,0.5) !important;
}
.table tbody tr {
    transition: background 0.15s;
}

/* ------- DataTables ------- */
.dataTables_wrapper {
    color: #B8C0D2 !important;
}
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
    color: #B8C0D2 !important;
}
.dataTables_wrapper .dataTables_filter label,
.dataTables_wrapper .dataTables_length label {
    color: #B8C0D2 !important;
}
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    background-color: rgba(6,10,24,0.9) !important;
    border: 1px solid rgba(26,34,54,0.8) !important;
    color: #FAFBFF !important;
    border-radius: 8px !important;
    padding: 6px 10px !important;
    margin-left: 6px;
}
.dataTables_wrapper .dataTables_filter input:focus,
.dataTables_wrapper .dataTables_length select:focus {
    border-color: rgba(201,168,76,0.5) !important;
    box-shadow: 0 0 0 2px rgba(201,168,76,0.12) !important;
    outline: none;
}
.dataTables_wrapper .dataTables_length select {
    padding-right: 28px !important;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23C9A84C' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
}

/* Pagination */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    background: rgba(11,17,32,0.7) !important;
    border: 1px solid rgba(26,34,54,0.8) !important;
    color: #B8C0D2 !important;
    border-radius: 8px !important;
    margin: 0 3px;
    padding: 6px 14px !important;
    transition: all 0.2s;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: rgba(201,168,76,0.12) !important;
    border-color: rgba(201,168,76,0.4) !important;
    color: #C9A84C !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: linear-gradient(135deg, #B8930F, #C9A84C) !important;
    border: 1px solid rgba(201,168,76,0.5) !important;
    color: #03040B !important;
    font-weight: 600;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
    background: rgba(11,17,32,0.4) !important;
    border-color: rgba(26,34,54,0.4) !important;
    color: #4A5470 !important;
    cursor: not-allowed;
}

/* Sort arrows in headers */
.table thead .sorting,
.table thead .sorting_asc,
.table thead .sorting_desc,
.table thead .sorting_asc_disabled,
.table thead .sorting_desc_disabled {
    background-image: none !important;
    position: relative;
}
.table thead .sorting::after {
    content: '⇅';
    color: rgba(201,168,76,0.4);
    margin-left: 8px;
    font-size: 11px;
}
.table thead .sorting_asc::after {
    content: '▲';
    color: #C9A84C;
    margin-left: 8px;
    font-size: 9px;
}
.table thead .sorting_desc::after {
    content: '▼';
    color: #C9A84C;
    margin-left: 8px;
    font-size: 9px;
}

/* Status badges (Pago/Em aberto/etc.) */
.label-success,
.badge-success,
.label-paid {
    background: rgba(16,185,129,0.15) !important;
    color: #10B981 !important;
    border: 1px solid rgba(16,185,129,0.3) !important;
    border-radius: 6px !important;
    padding: 4px 10px !important;
    font-weight: 600 !important;
    font-size: 11px !important;
}
.label-danger,
.badge-danger,
.label-unpaid {
    background: rgba(239,68,68,0.15) !important;
    color: #EF4444 !important;
    border: 1px solid rgba(239,68,68,0.3) !important;
    border-radius: 6px !important;
    padding: 4px 10px !important;
    font-weight: 600 !important;
    font-size: 11px !important;
}
.label-warning,
.badge-warning {
    background: rgba(201,168,76,0.15) !important;
    color: #C9A84C !important;
    border: 1px solid rgba(201,168,76,0.3) !important;
    border-radius: 6px !important;
    padding: 4px 10px !important;
    font-weight: 600 !important;
    font-size: 11px !important;
}
.label-info,
.badge-info {
    background: rgba(59,130,246,0.15) !important;
    color: #60A5FA !important;
    border: 1px solid rgba(59,130,246,0.3) !important;
    border-radius: 6px !important;
    padding: 4px 10px !important;
    font-weight: 600 !important;
    font-size: 11px !important;
}

/* ------- table-list (invoices, services, domains) ------- */
.table-container,
.table-list,
table.table-list,
table#tableInvoicesList,
table[id^="table"] {
    background: rgba(6,10,24,0.6) !important;
    border: 1px solid rgba(26,34,54,0.6) !important;
    border-radius: 10px !important;
    overflow: hidden;
}
.table-list thead th,
table[id^="table"] thead th {
    background-color: rgba(17,24,39,0.95) !important;
    color: #C9A84C !important;
    border-bottom: 1px solid rgba(201,168,76,0.2) !important;
    padding: 12px !important;
    font-weight: 600 !important;
}
.table-list tbody tr,
table[id^="table"] tbody tr {
    background: transparent !important;
    cursor: pointer;
}
.table-list tbody tr td,
table[id^="table"] tbody tr td {
    background: transparent !important;
    color: #E2E6F0 !important;
    border-top: 1px solid rgba(26,34,54,0.4) !important;
    padding: 12px !important;
}
.table-list tbody tr:nth-of-type(odd),
table[id^="table"] tbody tr:nth-of-type(odd) {
    background-color: rgba(11,17,32,0.4) !important;
}
.table-list tbody tr:nth-of-type(even),
table[id^="table"] tbody tr:nth-of-type(even) {
    background-color: rgba(17,24,39,0.4) !important;
}
.table-list tbody tr:hover,
.table-list tbody tr:hover td,
table[id^="table"] tbody tr:hover,
table[id^="table"] tbody tr:hover td {
    background-color: rgba(201,168,76,0.06) !important;
    color: #FAFBFF !important;
}
.table-list thead th.sorting_asc,
.table-list thead th.sorting_desc,
.dataTables_wrapper table.table-list thead th.sorting_asc,
.dataTables_wrapper table.table-list thead th.sorting_desc {
    background-color: rgba(17,24,39,0.95) !important;
}

/* ------- Status badges (invoices, services, tickets) ------- */
.label.status,
span.label.status {
    border-radius: 6px !important;
    padding: 4px 12px !important;
    font-weight: 600 !important;
    font-size: 11px !important;
    border: 1px solid transparent;
}
.status-paid,
.status-active,
.status-completed,
.status-open,
.status-accepted {
    background-color: rgba(16,185,129,0.15) !important;
    color: #10B981 !important;
    border-color: rgba(16,185,129,0.3) !important;
}
.status-unpaid,
.status-pending,
.status-inprogress {
    background-color: rgba(239,68,68,0.15) !important;
    color: #EF4444 !important;
    border-color: rgba(239,68,68,0.3) !important;
}
.status-cancelled,
.status-terminated,
.status-closed,
.status-dead,
.status-lost {
    background-color: rgba(119,128,160,0.15) !important;
    color: #929BB5 !important;
    border-color: rgba(119,128,160,0.3) !important;
}
.status-suspended,
.status-refunded,
.status-pending-transfer,
.status-grace,
.status-pending-registration,
.status-redemption {
    background-color: rgba(201,168,76,0.15) !important;
    color: #C9A84C !important;
    border-color: rgba(201,168,76,0.3) !important;
}
.status-answered,
.status-customer-reply {
    background-color: rgba(139,92,246,0.15) !important;
    color: #A78BFA !important;
    border-color: rgba(139,92,246,0.3) !important;
}
.status-onhold,
.status-payment-pending,
.status-delivered,
.status-expired,
.status-transferred-away,
.status-collections {
    background-color: rgba(59,130,246,0.15) !important;
    color: #60A5FA !important;
    border-color: rgba(59,130,246,0.3) !important;
}
.status-fraud {
    background-color: rgba(0,0,0,0.4) !important;
    color: #EF4444 !important;
    border-color: rgba(239,68,68,0.3) !important;
}

/* ============================================
   ELYON DASHBOARD
   ============================================ */
.elyon-dashboard {
    margin: 0;
}

/* Welcome header */
.elyon-dashboard-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 28px;
    margin-bottom: 20px;
    background:
        radial-gradient(circle at 80% 20%, rgba(201,168,76,0.1) 0%, transparent 50%),
        linear-gradient(135deg, rgba(11,17,32,0.95) 0%, rgba(6,10,24,0.98) 100%);
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}
.elyon-dashboard-welcome::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 180px;
    height: 100%;
    background: radial-gradient(circle at right center, rgba(201,168,76,0.08), transparent 70%);
    pointer-events: none;
}
.elyon-welcome-text h1 {
    color: #FAFBFF !important;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 4px 0 !important;
    letter-spacing: -0.3px;
}
.elyon-welcome-name {
    background: linear-gradient(135deg, #C9A84C 0%, #D4BC6A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.elyon-welcome-text p {
    color: #929BB5 !important;
    font-size: 13px;
    margin: 0;
}
.elyon-welcome-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.elyon-welcome-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(17,24,39,0.7);
    border: 1px solid rgba(26,34,54,0.8);
    border-radius: 10px;
    color: #B8C0D2 !important;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}
.elyon-welcome-btn:hover {
    background: rgba(201,168,76,0.1);
    border-color: rgba(201,168,76,0.4);
    color: #C9A84C !important;
}
.elyon-welcome-btn.primary {
    background: linear-gradient(135deg, #B8930F, #C9A84C);
    border-color: transparent;
    color: #03040B !important;
    font-weight: 600;
}
.elyon-welcome-btn.primary:hover {
    background: linear-gradient(135deg, #C9A84C, #D4BC6A);
    color: #03040B !important;
    box-shadow: 0 0 14px rgba(201,168,76,0.35);
}

/* Stats grid */
.elyon-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}
.elyon-stat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(11,17,32,0.8) 0%, rgba(17,24,39,0.9) 100%);
    border: 1px solid rgba(26,34,54,0.6);
    border-radius: 14px;
    text-decoration: none !important;
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
}
.elyon-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.elyon-stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(201,168,76,0.4);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.elyon-stat-card:hover::before {
    opacity: 0.5;
}
.elyon-stat-card.alert-card {
    border-color: rgba(239,68,68,0.3);
    background: linear-gradient(135deg, rgba(239,68,68,0.08) 0%, rgba(11,17,32,0.9) 100%);
}
.elyon-stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}
.elyon-stat-icon.icon-blue {
    background: rgba(59,130,246,0.12);
    color: #60A5FA;
    border: 1px solid rgba(59,130,246,0.25);
}
.elyon-stat-icon.icon-teal {
    background: rgba(16,185,129,0.12);
    color: #10B981;
    border: 1px solid rgba(16,185,129,0.25);
}
.elyon-stat-icon.icon-purple {
    background: rgba(139,92,246,0.12);
    color: #A78BFA;
    border: 1px solid rgba(139,92,246,0.25);
}
.elyon-stat-icon.icon-gold {
    background: rgba(201,168,76,0.12);
    color: #C9A84C;
    border: 1px solid rgba(201,168,76,0.3);
}
.elyon-stat-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}
.elyon-stat-number {
    color: #FAFBFF;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}
.elyon-stat-label {
    color: #929BB5;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.elyon-stat-arrow {
    color: #4A5470;
    font-size: 12px;
    transition: all 0.2s;
}
.elyon-stat-card:hover .elyon-stat-arrow {
    color: #C9A84C;
    transform: translateX(3px);
}

/* Alert banner */
.elyon-alert-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: linear-gradient(135deg, rgba(239,68,68,0.1) 0%, rgba(239,68,68,0.04) 100%);
    border: 1px solid rgba(239,68,68,0.3);
    border-radius: 12px;
    margin-bottom: 20px;
}
.elyon-alert-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(239,68,68,0.15);
    color: #EF4444;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.elyon-alert-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.elyon-alert-content strong {
    color: #FAFBFF;
    font-size: 14px;
    font-weight: 600;
}
.elyon-alert-content span {
    color: #B8C0D2;
    font-size: 12.5px;
}
.elyon-alert-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    border-radius: 8px;
    color: #FAFBFF !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    flex-shrink: 0;
}
.elyon-alert-btn:hover {
    box-shadow: 0 0 14px rgba(239,68,68,0.4);
    color: #FAFBFF !important;
}

/* Quick actions */
.elyon-quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 10px;
    margin-bottom: 24px;
}
.elyon-quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 10px;
    background: rgba(11,17,32,0.6);
    border: 1px solid rgba(26,34,54,0.5);
    border-radius: 12px;
    color: #B8C0D2 !important;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.2s;
    text-align: center;
}
.elyon-quick-action i {
    font-size: 20px;
    color: #C9A84C;
    transition: all 0.2s;
}
.elyon-quick-action:hover {
    background: rgba(201,168,76,0.08);
    border-color: rgba(201,168,76,0.4);
    color: #FAFBFF !important;
    transform: translateY(-2px);
}
.elyon-quick-action:hover i {
    transform: scale(1.1);
}

/* Panels (WHMCS home panels) */
.elyon-panels .elyon-panel,
.elyon-panels .card {
    background: linear-gradient(135deg, rgba(11,17,32,0.8) 0%, rgba(17,24,39,0.85) 100%) !important;
    border: 1px solid rgba(26,34,54,0.6) !important;
    border-radius: 12px !important;
    margin-bottom: 18px !important;
    overflow: hidden;
    transition: border-color 0.2s;
}
.elyon-panels .card:hover {
    border-color: rgba(201,168,76,0.3) !important;
}
.elyon-panels .card .card-header {
    background: rgba(6,10,24,0.6) !important;
    border-bottom: 1px solid rgba(26,34,54,0.6) !important;
    padding: 14px 18px !important;
}
.elyon-panels .card .card-title {
    color: #FAFBFF !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}
.elyon-panels .card .card-title i {
    color: #C9A84C !important;
    margin-right: 6px;
}
.elyon-panels .card .card-body {
    padding: 16px 18px !important;
    color: #B8C0D2 !important;
}
.elyon-panels .card .card-body a:not(.btn) {
    color: #C9A84C !important;
}
.elyon-panels .card .card-footer {
    background: rgba(6,10,24,0.4) !important;
    border-top: 1px solid rgba(26,34,54,0.4) !important;
    color: #929BB5 !important;
    padding: 10px 18px !important;
    font-size: 12px;
}
/* Hide empty card footers */
.elyon-panels .card .card-footer:empty {
    display: none !important;
}
.elyon-panels .card .card-body:empty {
    display: none !important;
}
/* Recent emails styling inside panel */
.elyon-panels .card .list-group-item i {
    color: #C9A84C;
    opacity: 0.7;
    margin-right: 6px;
}
.elyon-panels .card .badge-info {
    background: rgba(201,168,76,0.15) !important;
    color: #C9A84C !important;
    border-color: rgba(201,168,76,0.3) !important;
}
/* Hide unpaid invoice panel (covered by alert banner + stat card) */
.elyon-panels .card[menuItemName="Home-UnpaidInvoices"],
.elyon-panels .card[id*="UnpaidInvoices"],
.elyon-panels .card[id*="Unpaid"] {
    display: none !important;
}

/* ------- MARKDOWN EDITOR (submit ticket) ------- */
.EasyMDEContainer,
.editor-wrapper {
    background: transparent !important;
}
.EasyMDEContainer .editor-toolbar {
    background: rgba(11,17,32,0.9) !important;
    border: 1px solid rgba(26,34,54,0.8) !important;
    border-bottom: none !important;
    border-radius: 8px 8px 0 0 !important;
}
.EasyMDEContainer .editor-toolbar button {
    color: #B8C0D2 !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 6px !important;
}
.EasyMDEContainer .editor-toolbar button:hover,
.EasyMDEContainer .editor-toolbar button.active {
    background: rgba(201,168,76,0.15) !important;
    border-color: rgba(201,168,76,0.3) !important;
    color: #C9A84C !important;
}
.EasyMDEContainer .editor-toolbar i.separator {
    border-color: rgba(26,34,54,0.8) !important;
}
.EasyMDEContainer .CodeMirror,
.CodeMirror {
    background: rgba(6,10,24,0.8) !important;
    color: #E2E6F0 !important;
    border: 1px solid rgba(26,34,54,0.8) !important;
    border-radius: 0 0 8px 8px !important;
}
.EasyMDEContainer .CodeMirror-cursor {
    border-color: #C9A84C !important;
}
.EasyMDEContainer .CodeMirror-selected {
    background: rgba(201,168,76,0.2) !important;
}
.EasyMDEContainer .CodeMirror-lines {
    color: #E2E6F0 !important;
}
.EasyMDEContainer .editor-preview,
.EasyMDEContainer .editor-preview-side {
    background: rgba(6,10,24,0.9) !important;
    color: #E2E6F0 !important;
    border-color: rgba(26,34,54,0.8) !important;
}
.EasyMDEContainer .editor-statusbar {
    background: rgba(11,17,32,0.9) !important;
    color: #929BB5 !important;
    border: 1px solid rgba(26,34,54,0.8) !important;
    border-top: none !important;
    border-radius: 0 0 8px 8px !important;
    padding: 6px 12px;
}
/* Legacy markdown editor fallback */
.form-control.markdown-editor + .CodeMirror {
    background: rgba(6,10,24,0.8) !important;
}
textarea.markdown-editor {
    background: rgba(6,10,24,0.8) !important;
    color: #E2E6F0 !important;
    border: 1px solid rgba(26,34,54,0.8) !important;
    border-radius: 8px !important;
}

/* ------- md-editor (bootstrap-markdown) ------- */
.md-editor {
    background: rgba(6,10,24,0.8) !important;
    border: 1px solid rgba(26,34,54,0.8) !important;
    border-radius: 8px !important;
    overflow: hidden;
}
.md-editor.active {
    border-color: rgba(201,168,76,0.5) !important;
    box-shadow: 0 0 0 2px rgba(201,168,76,0.12) !important;
}
.md-editor > .md-header,
.md-editor .md-footer {
    background: rgba(11,17,32,0.9) !important;
    border-color: rgba(26,34,54,0.8) !important;
    color: #929BB5 !important;
    padding: 8px 10px !important;
}
.md-editor > .md-header .btn-group > .btn,
.md-editor > .md-header .btn {
    background: rgba(17,24,39,0.7) !important;
    border: 1px solid rgba(26,34,54,0.8) !important;
    color: #B8C0D2 !important;
    border-radius: 6px !important;
    margin: 0 2px;
    padding: 6px 10px !important;
}
.md-editor > .md-header .btn:hover,
.md-editor > .md-header .btn.active {
    background: rgba(201,168,76,0.15) !important;
    border-color: rgba(201,168,76,0.3) !important;
    color: #C9A84C !important;
}
/* Target every possible state of md-editor textarea with maximum specificity */
html body .md-editor textarea,
html body .md-editor > textarea,
html body .md-editor textarea.form-control,
html body .md-editor > textarea.form-control,
html body .md-editor .md-input,
html body textarea.md-input,
html body textarea.markdown-editor,
html body .form-control.markdown-editor,
.md-editor textarea:not(:focus):not(:hover),
.md-editor textarea:focus,
.md-editor textarea:hover,
.md-editor textarea:active {
    background: #060A18 !important;
    background-color: #060A18 !important;
    background-image: none !important;
    color: #E2E6F0 !important;
    border-top: 1px solid rgba(26,34,54,0.4) !important;
    border-bottom: 1px solid rgba(26,34,54,0.4) !important;
    border-left: none !important;
    border-right: none !important;
    padding: 12px 14px !important;
    font-size: 13px !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}
/* Override any inline style potentially set by JS */
.md-editor textarea[style] {
    background: #060A18 !important;
    background-color: #060A18 !important;
    color: #E2E6F0 !important;
}
.md-editor > .md-preview {
    background: rgba(6,10,24,0.8) !important;
    color: #E2E6F0 !important;
    border-color: rgba(26,34,54,0.4) !important;
    padding: 12px 14px !important;
    min-height: 200px;
}
.md-editor.md-fullscreen-mode {
    background: #060A18 !important;
}
.md-editor.md-fullscreen-mode .md-input,
.md-editor.md-fullscreen-mode .md-preview,
.md-editor.md-fullscreen-mode .md-input:focus,
.md-editor.md-fullscreen-mode .md-input:hover {
    background: #060A18 !important;
    color: #E2E6F0 !important;
}
.md-editor .md-footer {
    font-size: 11px;
    border-top: 1px solid rgba(26,34,54,0.4) !important;
}
.md-editor .md-footer .label {
    background: rgba(201,168,76,0.15) !important;
    color: #C9A84C !important;
    border: 1px solid rgba(201,168,76,0.3) !important;
    border-radius: 4px;
    padding: 2px 6px;
}

/* File input (Anexos) — custom-file wrapper in input-group */
.input-group .custom-file {
    height: auto;
}
.input-group .custom-file-label,
.custom-file-label {
    background: #060A18 !important;
    background-color: #060A18 !important;
    border: 1px solid rgba(26,34,54,0.8) !important;
    color: #7780A0 !important;
    border-radius: 8px 0 0 8px !important;
    padding: 10px 14px !important;
    font-size: 13px;
    height: auto !important;
    line-height: 1.5;
    display: flex;
    align-items: center;
    margin: 0;
}
.custom-file-label::after {
    background: rgba(201,168,76,0.12) !important;
    background-color: rgba(201,168,76,0.12) !important;
    color: #C9A84C !important;
    border-left: 1px solid rgba(201,168,76,0.3) !important;
    padding: 0 18px !important;
    content: "Procurar" !important;
    font-weight: 600;
    font-size: 13px;
    height: 100% !important;
    display: flex;
    align-items: center;
    border-radius: 0 !important;
}
.custom-file-input {
    cursor: pointer;
    height: 100%;
}
.custom-file-input:focus ~ .custom-file-label {
    border-color: rgba(201,168,76,0.5) !important;
    box-shadow: 0 0 0 2px rgba(201,168,76,0.12);
}
.custom-file-input:hover ~ .custom-file-label::after,
.custom-file:hover .custom-file-label::after {
    background: rgba(201,168,76,0.22) !important;
    background-color: rgba(201,168,76,0.22) !important;
    color: #D4BC6A !important;
}

/* "Adicionar Mais" button in input-group */
.input-group-append .btn,
.input-group .btn.btn-success,
.input-group .btn.btn-info,
button[id*="AddMore"],
button[id*="addMore"],
.add-another-file-btn {
    background: rgba(201,168,76,0.1) !important;
    background-color: rgba(201,168,76,0.1) !important;
    border: 1px solid rgba(201,168,76,0.35) !important;
    color: #C9A84C !important;
    border-radius: 0 8px 8px 0 !important;
    padding: 10px 18px !important;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.input-group-append .btn:hover,
.input-group .btn.btn-success:hover,
button[id*="AddMore"]:hover {
    background: rgba(201,168,76,0.22) !important;
    background-color: rgba(201,168,76,0.22) !important;
    border-color: rgba(201,168,76,0.5) !important;
    color: #D4BC6A !important;
}
.input-group-append .btn i,
button[id*="AddMore"] i {
    color: #C9A84C !important;
}

/* Ensure input-group doesn't break layout */
.input-group {
    flex-wrap: nowrap;
}
.elyon-panel-btn {
    background: rgba(201,168,76,0.1) !important;
    border: 1px solid rgba(201,168,76,0.3) !important;
    color: #C9A84C !important;
    padding: 4px 10px !important;
    font-size: 12px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
}
.elyon-panel-btn:hover {
    background: rgba(201,168,76,0.2) !important;
    color: #D4BC6A !important;
}
.elyon-panels .list-group-item {
    background: transparent !important;
    border-color: rgba(26,34,54,0.4) !important;
    color: #B8C0D2 !important;
    padding: 10px 16px !important;
    transition: background 0.15s;
}
.elyon-panels .list-group-item:hover {
    background: rgba(201,168,76,0.05) !important;
    color: #FAFBFF !important;
}
.elyon-panels .card .badge {
    background: rgba(201,168,76,0.15) !important;
    color: #C9A84C !important;
    border: 1px solid rgba(201,168,76,0.3) !important;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .elyon-dashboard-welcome {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 20px;
    }
    .elyon-welcome-actions {
        width: 100%;
    }
    .elyon-welcome-btn {
        flex: 1;
        justify-content: center;
    }
    .elyon-alert-banner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .elyon-alert-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Hide the legacy tiles if somehow still rendered */
.tiles .tile {
    display: none !important;
}

/* ------- MASSPAY (Pagamento em Massa) ------- */
.masspay-invoice-detail td {
    color: #E2E6F0 !important;
    background: transparent !important;
    border-top: 1px solid rgba(26,34,54,0.3) !important;
}
.masspay-total td {
    background-color: rgba(201,168,76,0.06) !important;
    color: #FAFBFF !important;
    font-weight: 700 !important;
    border-top: 1px solid rgba(201,168,76,0.2) !important;
}
.masspay-total:last-child td {
    background-color: rgba(201,168,76,0.12) !important;
    color: #C9A84C !important;
    font-size: 15px;
}
tr[class*="masspay"] td .bg-default,
tbody tr td.bg-default,
.bg-default {
    background: rgba(17,24,39,0.6) !important;
    color: #FAFBFF !important;
}
tr td.bg-default strong {
    color: #C9A84C !important;
    font-weight: 600;
}

/* Gateway selection card */
.card.bg-default {
    background: linear-gradient(135deg, rgba(11,17,32,0.9) 0%, rgba(17,24,39,0.95) 100%) !important;
    border: 1px solid rgba(201,168,76,0.25) !important;
}
.card.bg-default .card-header {
    background: rgba(6,10,24,0.6) !important;
    border-bottom: 1px solid rgba(201,168,76,0.2) !important;
}
.card.bg-default .card-title {
    color: #C9A84C !important;
}

/* Ensure generic .table on masspay doesn't inherit white */
.card .table {
    background: transparent !important;
}
.card .table thead th {
    background: rgba(6,10,24,0.6) !important;
    color: #C9A84C !important;
    border-bottom: 1px solid rgba(201,168,76,0.2) !important;
}
.card .table tbody td {
    color: #E2E6F0 !important;
}

/* ============================================
   FORMS
   ============================================ */
.form-control {
    background-color: #060A18 !important;
    border: 1px solid #1A2236 !important;
    color: #E2E6F0 !important;
}
.form-control:focus {
    background-color: #060A18 !important;
    border-color: rgba(201,168,76,0.5) !important;
    color: #FAFBFF !important;
    box-shadow: 0 0 0 0.2rem rgba(201,168,76,0.15) !important;
}
.form-control::placeholder {
    color: #7780A0 !important;
}
.custom-select,
select.form-control {
    background-color: #060A18 !important;
    border: 1px solid #1A2236 !important;
    color: #E2E6F0 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C9A84C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 12px !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    padding-right: 36px !important;
    border-radius: 8px !important;
    height: auto !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.custom-select:focus,
select.form-control:focus {
    border-color: rgba(201,168,76,0.5) !important;
    box-shadow: 0 0 0 0.2rem rgba(201,168,76,0.15) !important;
    background-color: #060A18 !important;
}
.custom-select:hover,
select.form-control:hover {
    border-color: rgba(201,168,76,0.3) !important;
}
.custom-select option,
select.form-control option {
    background-color: #0B1120 !important;
    color: #E2E6F0 !important;
    padding: 8px 12px !important;
}
.custom-select option:checked,
select.form-control option:checked {
    background: linear-gradient(135deg, #B8930F 0%, #C9A84C 100%) !important;
    color: #03040B !important;
}
.input-group-text {
    background-color: #111827 !important;
    border: 1px solid #1A2236 !important;
    color: #929BB5 !important;
}
label {
    color: #B8C0D2 !important;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
    background: linear-gradient(135deg, #B8930F 0%, #C9A84C 100%) !important;
    border: none !important;
    color: #03040B !important;
    font-weight: 600 !important;
}
.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #C9A84C 0%, #D4BC6A 100%) !important;
    color: #03040B !important;
    box-shadow: 0 0 16px rgba(201,168,76,0.3) !important;
}
.btn-default,
.btn-secondary {
    background-color: #111827 !important;
    border: 1px solid #1A2236 !important;
    color: #B8C0D2 !important;
}
.btn-default:hover,
.btn-secondary:hover {
    background-color: #1A2236 !important;
    border-color: rgba(201,168,76,0.3) !important;
    color: #C9A84C !important;
}
.btn-success {
    background: linear-gradient(135deg, #059669 0%, #10B981 100%) !important;
    border: none !important;
    color: #fff !important;
}
.btn-danger {
    background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%) !important;
    border: none !important;
}
.btn-info {
    background-color: rgba(59,130,246,0.15) !important;
    border: 1px solid rgba(59,130,246,0.3) !important;
    color: #60A5FA !important;
}
.btn-warning {
    background-color: rgba(201,168,76,0.15) !important;
    border: 1px solid rgba(201,168,76,0.3) !important;
    color: #D4BC6A !important;
}
.btn-outline-primary {
    border-color: #C9A84C !important;
    color: #C9A84C !important;
}
.btn-outline-primary:hover {
    background-color: rgba(201,168,76,0.15) !important;
    color: #C9A84C !important;
}
.btn-link {
    color: #C9A84C !important;
}
.btn-link:hover {
    color: #D4BC6A !important;
}

/* Return to admin button */
.btn-return-to-admin {
    background-color: rgba(201,168,76,0.15) !important;
    color: #C9A84C !important;
    border: 1px solid rgba(201,168,76,0.25) !important;
}

/* ============================================
   NAV TABS
   ============================================ */
.nav-tabs {
    border-bottom-color: #1A2236 !important;
}
.nav-tabs .nav-link {
    color: #929BB5 !important;
    border-color: transparent !important;
}
.nav-tabs .nav-link:hover {
    border-color: #1A2236 #1A2236 transparent !important;
    color: #C9A84C !important;
}
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.active .nav-link {
    background-color: #0B1120 !important;
    border-color: #1A2236 #1A2236 #0B1120 !important;
    color: #C9A84C !important;
}
.tab-content {
    background-color: #0B1120 !important;
    color: #E2E6F0 !important;
}
.nav-pills .nav-link.active {
    background-color: rgba(201,168,76,0.15) !important;
    color: #C9A84C !important;
}

/* ============================================
   STORE / CART (order.tpl)
   ============================================ */
.store-order-container {
    color: #E2E6F0 !important;
}
.store-order-container h2 {
    color: #FAFBFF !important;
}
.store-order-container h4 {
    color: #C9A84C !important;
}
.store-order-container p {
    color: #B8C0D2;
}
.store-order-container .store-domain-tabs li a {
    background-color: #111827 !important;
    border-color: #1A2236 !important;
    color: #929BB5 !important;
}
.store-order-container .store-domain-tabs li.active a,
.store-order-container .store-domain-tabs li a.active {
    background-color: #0B1120 !important;
    border-bottom-color: #0B1120 !important;
    color: #C9A84C !important;
}
.store-order-container .store-domain-tab-content {
    background-color: #0B1120 !important;
    border-color: #1A2236 !important;
    color: #E2E6F0 !important;
}
.store-order-container .store-domain-tab-content a {
    color: #C9A84C !important;
}
.store-order-container .domain-validation {
    color: #7780A0 !important;
}
.store-order-container .domain-validation.ok {
    color: #10B981 !important;
}
.store-order-container .payment-term h4 {
    color: #C9A84C !important;
}
.bg-white {
    background-color: #0B1120 !important;
}

/* Store promoted product (upsell) */
.store-promoted-product {
    background-color: #0B1120 !important;
    border: 1px solid #1A2236 !important;
    color: #E2E6F0 !important;
}
.store-promoted-product h3 {
    color: #FAFBFF !important;
}
.store-promoted-product h4 {
    color: #C9A84C !important;
}
.store-promoted-product ul.features li {
    color: #B8C0D2 !important;
}
.store-promoted-product ul.features li i {
    color: #10B981 !important;
}

/* Responsive tab connectors */
.responsive-tabs-sm-connector.store .channel,
.responsive-tabs-sm-connector.store .bottom-border {
    background-color: #1A2236 !important;
}

/* ============================================
   ALERTS
   ============================================ */
.alert-info {
    background-color: rgba(59,130,246,0.1) !important;
    border-color: rgba(59,130,246,0.25) !important;
    color: #60A5FA !important;
}
.alert-success {
    background-color: rgba(16,185,129,0.1) !important;
    border-color: rgba(16,185,129,0.25) !important;
    color: #10B981 !important;
}
.alert-warning {
    background-color: rgba(201,168,76,0.1) !important;
    border-color: rgba(201,168,76,0.25) !important;
    color: #D4BC6A !important;
}
.alert-danger {
    background-color: rgba(239,68,68,0.1) !important;
    border-color: rgba(239,68,68,0.25) !important;
    color: #EF4444 !important;
}

/* ============================================
   BADGES
   ============================================ */
.badge-primary {
    background-color: rgba(201,168,76,0.15) !important;
    color: #C9A84C !important;
}
.badge-info {
    background-color: rgba(59,130,246,0.15) !important;
    color: #60A5FA !important;
}
.badge-success {
    background-color: rgba(16,185,129,0.15) !important;
    color: #10B981 !important;
}
.badge-danger {
    background-color: rgba(239,68,68,0.15) !important;
    color: #EF4444 !important;
}
.badge-warning {
    background-color: rgba(201,168,76,0.15) !important;
    color: #D4BC6A !important;
}
.badge-secondary {
    background-color: #1A2236 !important;
    color: #929BB5 !important;
}

/* ============================================
   PAGINATION
   ============================================ */
.page-link {
    background-color: #0B1120 !important;
    border-color: #1A2236 !important;
    color: #B8C0D2 !important;
}
.page-link:hover {
    background-color: #111827 !important;
    color: #C9A84C !important;
}
.page-item.active .page-link {
    background-color: rgba(201,168,76,0.15) !important;
    border-color: rgba(201,168,76,0.3) !important;
    color: #C9A84C !important;
}
.page-item.disabled .page-link {
    background-color: #060A18 !important;
    color: #7780A0 !important;
}

/* ============================================
   MODALS
   ============================================ */
.modal-content {
    background-color: #0B1120 !important;
    border: 1px solid #1A2236 !important;
    color: #E2E6F0 !important;
}
.modal-header {
    border-bottom-color: #1A2236 !important;
}
.modal-header .close {
    color: #929BB5 !important;
}
.modal-header .modal-title {
    color: #FAFBFF !important;
}
.modal-footer {
    border-top-color: #1A2236 !important;
}
.modal-localisation .modal-content {
    background-color: #0B1120 !important;
}
.modal-localisation .item-selector a {
    background-color: #111827 !important;
    border: 1px solid #1A2236 !important;
    color: #B8C0D2 !important;
}
.modal-localisation .item-selector a:hover,
.modal-localisation .item-selector a.active {
    border-color: rgba(201,168,76,0.4) !important;
    color: #C9A84C !important;
    background-color: rgba(201,168,76,0.08) !important;
}

/* ============================================
   FOOTER
   ============================================ */
#footer.footer {
    background-color: #060A18 !important;
    border-top: 1px solid #1A2236;
    color: #7780A0 !important;
}
#footer .nav-link {
    color: #929BB5 !important;
}
#footer .nav-link:hover {
    color: #C9A84C !important;
}
#footer .copyright {
    color: #7780A0 !important;
}
#footer .btn {
    color: #929BB5 !important;
}

/* ============================================
   LINKS
   ============================================ */
a {
    color: #C9A84C;
}
a:hover {
    color: #D4BC6A;
}

/* ============================================
   TEXT UTILITIES
   ============================================ */
.text-muted {
    color: #7780A0 !important;
}
.text-primary {
    color: #C9A84C !important;
}
.text-success {
    color: #10B981 !important;
}
.text-danger {
    color: #EF4444 !important;
}
.text-warning {
    color: #D4BC6A !important;
}
.text-info {
    color: #60A5FA !important;
}
.text-dark {
    color: #E2E6F0 !important;
}
h1, h2, h3, h4, h5, h6 {
    color: #FAFBFF;
}

/* ============================================
   MISC
   ============================================ */
hr {
    border-top-color: #1A2236 !important;
}
.border {
    border-color: #1A2236 !important;
}
.border-top {
    border-top-color: #1A2236 !important;
}
.border-bottom {
    border-bottom-color: #1A2236 !important;
}
.list-group-item {
    background-color: #0B1120 !important;
    border-color: #1A2236 !important;
    color: #E2E6F0 !important;
}

/* Panels (legacy Bootstrap) */
.panel {
    background-color: #0B1120 !important;
    border-color: #1A2236 !important;
}
.panel-heading {
    background-color: #111827 !important;
    border-color: #1A2236 !important;
    color: #C9A84C !important;
}
.panel-body {
    color: #E2E6F0 !important;
}

/* Well */
.well {
    background-color: #111827 !important;
    border-color: #1A2236 !important;
    color: #E2E6F0 !important;
}

/* Client area specific */
.client-alerts li a {
    color: #B8C0D2 !important;
}
.client-alerts li a:hover {
    color: #C9A84C !important;
    background-color: #111827 !important;
}

/* Notification popover */
.popover {
    background-color: #111827 !important;
    border-color: #1A2236 !important;
}
.popover-body {
    color: #E2E6F0 !important;
}

/* Full page overlay */
#fullpage-overlay {
    background-color: rgba(3,4,11,0.85) !important;
}
#fullpage-overlay .msg {
    color: #E2E6F0 !important;
}

/* Custom checkbox / radio */
.custom-control-label {
    color: #B8C0D2 !important;
}

/* Tooltip */
.tooltip-inner {
    background-color: #111827 !important;
    color: #E2E6F0 !important;
}

/* Scrollbar (webkit) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #060A18;
}
::-webkit-scrollbar-thumb {
    background: #1A2236;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #C9A84C;
}

/* Selection */
::selection {
    background: rgba(201,168,76,0.3);
    color: #FAFBFF;
}

/* ============================================
   CART / ORDER FORM (standard_cart) - FULL THEME
   Inspired by elyonhost.com.br design system
   ============================================ */
#order-standard_cart {
    color: #E2E6F0 !important;
}

/* ------- SIDEBAR (categories menu) ------- */
#order-standard_cart .cart-sidebar .card,
#order-standard_cart .cart-sidebar .panel {
    background: rgba(11,17,32,0.6) !important;
    border: 1px solid rgba(26,34,54,0.5) !important;
    border-radius: 12px !important;
    overflow: hidden;
}
#order-standard_cart .cart-sidebar .card-header,
#order-standard_cart .cart-sidebar .panel-heading {
    background: #111827 !important;
    border-bottom: 1px solid #1A2236 !important;
}
#order-standard_cart .cart-sidebar h3 {
    color: #C9A84C !important;
}
#order-standard_cart .cart-sidebar .list-group-item {
    background: transparent !important;
    border-color: rgba(26,34,54,0.4) !important;
    color: #B8C0D2 !important;
    transition: all 0.2s;
}
#order-standard_cart .cart-sidebar .list-group-item:hover {
    background: rgba(201,168,76,0.05) !important;
    color: #C9A84C !important;
}
#order-standard_cart .cart-sidebar .list-group-item.active {
    background: rgba(201,168,76,0.1) !important;
    border-color: rgba(201,168,76,0.2) !important;
    color: #C9A84C !important;
}
#order-standard_cart .sidebar-collapsed {
    background: rgba(11,17,32,0.6) !important;
    border: 1px solid rgba(26,34,54,0.5) !important;
    border-radius: 10px !important;
}
#order-standard_cart .sidebar-collapsed h3 {
    color: #C9A84C !important;
}

/* ------- HEADER "Configurar" ------- */
#order-standard_cart .header-lined {
    border-bottom: 1px solid rgba(26,34,54,0.5) !important;
    margin-bottom: 16px !important;
    padding-bottom: 12px !important;
}
#order-standard_cart .header-lined h1 {
    color: #FAFBFF !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    margin: 0 !important;
}
#order-standard_cart .header-lined + .sidebar-collapsed,
#order-standard_cart .secondary-cart-body > p:first-child {
    color: #929BB5 !important;
    font-size: 13px !important;
    margin-bottom: 16px !important;
}

/* ------- LAYOUT WIDTHS ------- */
#order-standard_cart .secondary-cart-body {
    width: 70% !important;
}
#order-standard_cart .secondary-cart-sidebar {
    width: 30% !important;
}
@media only screen and (max-width: 1199px) {
    #order-standard_cart .secondary-cart-body {
        width: 65% !important;
    }
    #order-standard_cart .secondary-cart-sidebar {
        width: 35% !important;
    }
}
@media only screen and (max-width: 991px) {
    #order-standard_cart .secondary-cart-body {
        width: 100% !important;
        float: none !important;
    }
    #order-standard_cart .secondary-cart-sidebar {
        width: 100% !important;
        max-width: 400px;
        float: none !important;
        margin: 20px auto 0 !important;
    }
}

/* ------- PRODUCT INFO (original) ------- */
#order-standard_cart .product-info {
    display: none !important;
}

/* ------- SERVER CONFIG FIELDS ------- */
#order-standard_cart .field-container .form-control {
    background-color: #060A18 !important;
    border: 1px solid #1A2236 !important;
    color: #E2E6F0 !important;
    border-radius: 8px !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
    height: auto !important;
    width: 100% !important;
    display: block !important;
}
#order-standard_cart .field-container .form-control:focus {
    border-color: rgba(201,168,76,0.5) !important;
    box-shadow: 0 0 0 0.2rem rgba(201,168,76,0.15) !important;
}
#order-standard_cart .field-container .form-control::placeholder {
    color: #7780A0 !important;
}
#order-standard_cart .field-container .row {
    margin-bottom: 4px;
}
#order-standard_cart .field-container .form-group {
    margin-bottom: 12px !important;
}
#order-standard_cart .field-container .form-group label {
    color: #929BB5 !important;
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 6px !important;
    display: block;
}
/* Password wrapper with action buttons inside input */
#order-standard_cart .input-pw-wrapper {
    position: relative;
}
#order-standard_cart .input-pw-wrapper .form-control {
    padding-right: 100px !important;
}
#order-standard_cart .pw-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #7780A0;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0;
}
#order-standard_cart .pw-btn:hover {
    color: #C9A84C;
}
#order-standard_cart .pw-btn.copied {
    color: #10B981;
}
#order-standard_cart #btnTogglePw {
    right: 64px;
}
#order-standard_cart #btnGenPw {
    right: 36px;
}
#order-standard_cart #btnCopyPw {
    right: 8px;
}

/* Validation messages */
#order-standard_cart .field-validation {
    display: block;
    font-size: 11px;
    margin-top: 4px;
    min-height: 16px;
}
#order-standard_cart .field-validation.error { color: #EF4444; }
#order-standard_cart .field-validation.warning { color: #F59E0B; }
#order-standard_cart .field-validation.success { color: #10B981; }
#order-standard_cart .form-control.is-invalid {
    border-color: rgba(239,68,68,0.5) !important;
}
#order-standard_cart .form-control.is-valid {
    border-color: rgba(16,185,129,0.4) !important;
    box-shadow: 0 0 8px rgba(16,185,129,0.2) !important;
    background-image: none !important;
}
/* Password strength bar */
#order-standard_cart .pw-strength {
    display: none;
    height: 3px;
    background: rgba(26,34,54,0.5);
    border-radius: 3px;
    margin-top: 6px;
    overflow: hidden;
}
#order-standard_cart .pw-strength-bar {
    height: 100%;
    width: 0;
    border-radius: 3px;
    transition: width 0.3s, background 0.3s;
}

/* Password Generator Modal */
.pw-gen-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(3,4,11,0.85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}
.pw-gen-box {
    background: #0B1120;
    border: 1px solid rgba(26,34,54,0.8);
    border-radius: 14px;
    width: 380px;
    max-width: 90vw;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.pw-gen-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(26,34,54,0.5);
    color: #C9A84C;
    font-size: 14px;
    font-weight: 600;
}
.pw-gen-close {
    margin-left: auto;
    background: none;
    border: none;
    color: #7780A0;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}
.pw-gen-close:hover { color: #EF4444; }
.pw-gen-result-box {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 18px;
    padding: 12px 14px;
    background: #060A18;
    border: 1px solid #1A2236;
    border-radius: 8px;
}
.pw-gen-result {
    flex: 1;
    font-family: monospace;
    font-size: 15px;
    font-weight: 700;
    color: #FAFBFF;
    letter-spacing: 0.5px;
    word-break: break-all;
    user-select: all;
}
.pw-gen-refresh {
    background: none;
    border: none;
    color: #7780A0;
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: color 0.2s;
}
.pw-gen-refresh:hover { color: #C9A84C; }
.pw-gen-option {
    padding: 0 18px 8px;
}
.pw-gen-option label {
    font-size: 11px;
    color: #7780A0 !important;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 6px !important;
    display: block;
}
.pw-gen-slider-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.pw-gen-range {
    flex: 1;
    -webkit-appearance: none;
    height: 4px;
    background: #1A2236;
    border-radius: 4px;
    outline: none;
}
.pw-gen-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: #C9A84C;
    border-radius: 50%;
    cursor: pointer;
}
.pw-gen-range::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #C9A84C;
    border-radius: 50%;
    border: none;
    cursor: pointer;
}
.pw-gen-length-val {
    font-size: 14px;
    font-weight: 700;
    color: #C9A84C;
    min-width: 24px;
    text-align: center;
}
.pw-gen-toggles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    padding: 8px 18px 14px;
}
.pw-gen-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(6,10,24,0.6);
    border: 1px solid rgba(26,34,54,0.4);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #E2E6F0 !important;
    cursor: pointer;
    transition: border-color 0.2s;
}
.pw-gen-toggle:hover {
    border-color: rgba(201,168,76,0.3);
}
.pw-gen-toggle input {
    accent-color: #C9A84C;
}
.pw-gen-toggle span {
    color: #7780A0;
    font-weight: 400;
    font-size: 11px;
}
.pw-gen-actions {
    display: flex;
    gap: 8px;
    padding: 0 18px 16px;
}
.pw-gen-btn-copy {
    flex: 1;
    padding: 10px;
    background: rgba(26,34,54,0.6);
    border: 1px solid #1A2236;
    border-radius: 8px;
    color: #B8C0D2;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.pw-gen-btn-copy:hover {
    border-color: rgba(201,168,76,0.3);
    color: #C9A84C;
}
.pw-gen-btn-use {
    flex: 2;
    padding: 10px;
    background: linear-gradient(135deg, #B8930F 0%, #C9A84C 100%);
    border: none;
    border-radius: 8px;
    color: #03040B;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: box-shadow 0.2s;
}
.pw-gen-btn-use:hover {
    box-shadow: 0 0 16px rgba(201,168,76,0.3);
}

#order-standard_cart .field-container input[type="text"],
#order-standard_cart .field-container input[type="password"] {
    background-color: #060A18 !important;
    border: 1px solid #1A2236 !important;
    color: #E2E6F0 !important;
    border-radius: 8px !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
    width: 100% !important;
}

/* ------- ELYON PRODUCT CARD ------- */
#order-standard_cart .elyon-product-card {
    background: rgba(11,17,32,0.6);
    border: 1px solid rgba(26,34,54,0.6);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    position: relative;
}
#order-standard_cart .elyon-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #C9A84C, transparent);
}
#order-standard_cart .elyon-product-card-header {
    padding: 7px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(17,24,39,0.5);
    border-bottom: 1px solid rgba(26,34,54,0.4);
}
#order-standard_cart .elyon-product-card-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201,168,76,0.08);
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 8px;
}
#order-standard_cart .elyon-product-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
#order-standard_cart .elyon-product-card-name {
    font-size: 13px;
    font-weight: 700;
    color: #FAFBFF;
}
#order-standard_cart .elyon-product-card-badge {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(201,168,76,0.1);
    color: #C9A84C;
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 50px;
    padding: 2px 10px;
    white-space: nowrap;
}
#order-standard_cart .elyon-product-card-body {
    padding: 0;
    font-size: 13px;
    color: #B8C0D2;
}
#order-standard_cart .elyon-product-card-body ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
}
#order-standard_cart .elyon-product-card-body ul li {
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #B8C0D2;
    list-style: none !important;
    border-bottom: 1px solid rgba(26,34,54,0.3);
    line-height: 1.4;
}
#order-standard_cart .elyon-product-card-body ul li:last-child {
    border-bottom: none;
}
#order-standard_cart .elyon-product-card-body ul li:nth-child(odd) {
    background: rgba(6,10,24,0.4);
}
#order-standard_cart .elyon-product-card-body ul li::before {
    content: none !important;
    display: none !important;
}
#order-standard_cart .elyon-product-card-body ul li::marker {
    content: none !important;
    display: none !important;
}
/* Spec label:value styling (injected by JS) */
#order-standard_cart .elyon-product-card-body ul li .spec-label {
    color: #929BB5;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}
#order-standard_cart .elyon-product-card-body ul li .spec-value {
    color: #FAFBFF;
    font-weight: 600;
    font-size: 13px;
    text-align: right;
}
#order-standard_cart .elyon-product-card-body strong,
#order-standard_cart .elyon-product-card-body b {
    color: #FAFBFF;
    font-weight: 600;
}
#order-standard_cart .elyon-product-card-body p {
    margin: 0;
    padding: 8px 18px;
    color: #B8C0D2;
    font-size: 12.5px;
}

/* ------- LABELS & TEXT ------- */
#order-standard_cart label,
#order-standard_cart p.domain-renewal-desc,
.service-renewals .div-renewal-period-label {
    color: #B8C0D2 !important;
}
#order-standard_cart p {
    color: #B8C0D2;
}

/* ------- SUB-HEADINGS (section dividers) ------- */
#order-standard_cart .sub-heading {
    height: auto !important;
    border-top: none !important;
    margin-top: 8px !important;
    margin-bottom: 16px !important;
}
#order-standard_cart .sub-heading span {
    display: block !important;
    position: static !important;
    top: auto !important;
    padding: 12px 16px !important;
    background: rgba(11,17,32,0.6) !important;
    border: 1px solid rgba(26,34,54,0.5) !important;
    border-radius: 8px !important;
    color: #C9A84C !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}
#order-standard_cart .sub-heading-borderless {
    margin-top: 8px !important;
    margin-bottom: 16px !important;
}
#order-standard_cart .sub-heading-borderless span {
    background: transparent !important;
    color: #C9A84C !important;
}

/* ------- FIELD CONTAINER (sections) ------- */
#order-standard_cart .field-container {
    background: rgba(11,17,32,0.4);
    border: 1px solid rgba(26,34,54,0.4);
    border-radius: 10px;
    padding: 16px !important;
    margin-bottom: 16px !important;
}

/* ------- CART SELECT DROPDOWNS ------- */
#order-standard_cart select,
#order-standard_cart .custom-select,
#order-standard_cart select.form-control {
    background-color: #060A18 !important;
    border: 1px solid #1A2236 !important;
    color: #E2E6F0 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C9A84C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 12px !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    padding-right: 36px !important;
    border-radius: 8px !important;
    padding: 10px 36px 10px 12px !important;
    font-size: 14px !important;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}
#order-standard_cart select:focus,
#order-standard_cart .custom-select:focus,
#order-standard_cart select.form-control:focus {
    border-color: rgba(201,168,76,0.5) !important;
    box-shadow: 0 0 0 0.2rem rgba(201,168,76,0.15) !important;
}
#order-standard_cart select:hover,
#order-standard_cart .custom-select:hover,
#order-standard_cart select.form-control:hover {
    border-color: rgba(201,168,76,0.3) !important;
}
#order-standard_cart select option {
    background-color: #0B1120 !important;
    color: #E2E6F0 !important;
    padding: 8px !important;
}

/* ------- SELECT INLINE FIX (override theme.css width:auto) ------- */
#order-standard_cart .select-inline {
    display: block !important;
    width: 100% !important;
}

/* ------- FULL-WIDTH CONTENT BLOCKS ------- */
#order-standard_cart .elyon-product-card,
#order-standard_cart .field-container,
#order-standard_cart .sub-heading,
#order-standard_cart .product-configurable-options,
#order-standard_cart .info-text-sm,
#order-standard_cart #productAddonsContainer {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* ------- HELP / QUESTIONS ALERT ------- */
#order-standard_cart .info-text-sm {
    background: rgba(201,168,76,0.04) !important;
    border: 1px solid rgba(201,168,76,0.12) !important;
    border-radius: 10px !important;
    color: #929BB5 !important;
}
#order-standard_cart .info-text-sm .alert-link {
    color: #C9A84C !important;
}
#order-standard_cart .info-text-sm i {
    color: #C9A84C !important;
}

/* ------- PRODUCTS LISTING PAGE ------- */
#order-standard_cart .products .product {
    background: rgba(11,17,32,0.6) !important;
    border: 1px solid rgba(26,34,54,0.5) !important;
    border-radius: 12px !important;
    overflow: hidden;
    transition: border-color 0.3s;
}
#order-standard_cart .products .product:hover {
    border-color: rgba(201,168,76,0.2) !important;
}
#order-standard_cart .products .product header {
    background: #111827 !important;
    border-bottom: 1px solid #1A2236;
}
#order-standard_cart .products .product header span {
    color: #FAFBFF !important;
    font-weight: 600;
}
#order-standard_cart .products .product header .qty {
    color: #929BB5 !important;
}
#order-standard_cart .products .product div.product-desc {
    color: #B8C0D2 !important;
}
#order-standard_cart .products .product div.product-desc ul {
    list-style: none;
    padding: 0;
}
#order-standard_cart .products .product div.product-desc ul li {
    padding: 6px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #B8C0D2;
    font-size: 12px;
    border-bottom: 1px solid rgba(26,34,54,0.3);
}
#order-standard_cart .products .product div.product-desc ul li:last-child {
    border-bottom: none;
}
#order-standard_cart .products .product div.product-desc ul li:nth-child(odd) {
    background: rgba(6,10,24,0.4);
}
#order-standard_cart .products .product div.product-desc ul li::before {
    display: none;
}
#order-standard_cart .products .product div.product-desc ul li .spec-label {
    color: #929BB5;
    font-weight: 500;
}
#order-standard_cart .products .product div.product-desc ul li .spec-value,
#order-standard_cart .products .product span.feature-value {
    color: #FAFBFF !important;
    font-weight: 600;
    text-align: right;
}

/* ------- CHECKOUT - Account selection cards ------- */
#order-standard_cart .account-select-container div.account,
#order-standard_cart .account-select-container div.account.active {
    background: rgba(11,17,32,0.7) !important;
    border: 1px solid rgba(26,34,54,0.6) !important;
    border-radius: 10px !important;
    padding: 16px !important;
    margin-bottom: 10px !important;
    transition: all 0.2s;
    color: #B8C0D2 !important;
}
#order-standard_cart .account-select-container div.account.active {
    background: rgba(201,168,76,0.08) !important;
    border-color: rgba(201,168,76,0.4) !important;
    box-shadow: 0 0 0 1px rgba(201,168,76,0.15);
}
#order-standard_cart .account-select-container div.account:hover {
    border-color: rgba(201,168,76,0.35) !important;
}
#order-standard_cart .account-select-container div.account label.radio-inline {
    color: #B8C0D2 !important;
    font-weight: 400;
    padding-left: 30px;
    position: relative;
    cursor: pointer;
    margin: 0;
    width: 100%;
}
#order-standard_cart .account-select-container div.account .address strong {
    color: #FAFBFF !important;
    font-weight: 600;
}
#order-standard_cart .account-select-container div.account .address .small,
#order-standard_cart .account-select-container div.account .address .small span {
    color: #929BB5 !important;
}
#order-standard_cart .account-select-container div.account .label {
    background: rgba(201,168,76,0.15) !important;
    color: #C9A84C !important;
    border: 1px solid rgba(201,168,76,0.3) !important;
    border-radius: 6px;
    padding: 3px 8px;
    font-weight: 600;
    font-size: 10px;
    vertical-align: middle;
}
#order-standard_cart .account-select-container div.account .label-default {
    background: rgba(239,68,68,0.12) !important;
    color: #EF4444 !important;
    border-color: rgba(239,68,68,0.3) !important;
}
#order-standard_cart .account-select-container div.account.border-bottom {
    border-bottom: 1px solid rgba(26,34,54,0.6) !important;
}

/* Sub-heading borders on checkout */
#order-standard_cart .sub-heading-borderless span,
#order-standard_cart .sub-heading span.primary-bg-color {
    color: #C9A84C !important;
    font-weight: 600;
}

/* Already registered / buttons on checkout header */
#order-standard_cart .already-registered .btn-info,
#order-standard_cart .already-registered .btn-warning {
    background: rgba(201,168,76,0.1) !important;
    border: 1px solid rgba(201,168,76,0.3) !important;
    color: #C9A84C !important;
    border-radius: 8px !important;
}
#order-standard_cart .already-registered .btn-info:hover,
#order-standard_cart .already-registered .btn-warning:hover {
    background: rgba(201,168,76,0.2) !important;
    color: #D4BC6A !important;
}

/* Checkout error alert — red theme */
#order-standard_cart .alert-danger.checkout-error-feedback,
.alert-danger {
    background: rgba(239,68,68,0.08) !important;
    border: 1px solid rgba(239,68,68,0.3) !important;
    color: #EF4444 !important;
}
.alert-danger a,
.alert-danger strong {
    color: #EF4444 !important;
}
#order-standard_cart .products .product {
    display: flex !important;
    flex-direction: column;
    height: 100%;
    padding: 0 !important;
}
#order-standard_cart .products .product div.product-desc {
    flex: 1 1 auto;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
}
#order-standard_cart .products .row > [class*="col-"] {
    margin-bottom: 20px;
}
#order-standard_cart .products .row {
    margin-bottom: 0;
}
#order-standard_cart .products .product footer {
    color: #B8C0D2;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
    border-top: 1px solid rgba(26,34,54,0.5);
    background: rgba(6,10,24,0.3);
}
#order-standard_cart .products .product div.product-pricing {
    color: #929BB5 !important;
    margin: 0 !important;
    text-align: left;
    flex: 0 0 auto;
    font-size: 11px;
    line-height: 1.2;
}
#order-standard_cart .products .product div.product-pricing span.price {
    color: #C9A84C !important;
    font-weight: 700;
    font-size: 18px;
    display: block;
    margin-bottom: 2px;
}
#order-standard_cart .products .product div.product-pricing br {
    display: none;
}
#order-standard_cart .products .product .btn-order-now {
    background: linear-gradient(135deg, #B8930F 0%, #C9A84C 100%) !important;
    border: none !important;
    color: #03040B !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    padding: 10px 18px !important;
    margin: 0 !important;
    white-space: nowrap;
    flex: 0 0 auto;
}
#order-standard_cart .products .product .btn-order-now:hover {
    box-shadow: 0 0 16px rgba(201,168,76,0.3) !important;
}

/* ------- VIEW CART / REVIEW PAGE ------- */
#order-standard_cart .view-cart-items-header {
    background: linear-gradient(135deg, #B8930F 0%, #C9A84C 100%) !important;
    color: #03040B !important;
    border-radius: 8px 8px 0 0 !important;
    font-weight: 600;
}
#order-standard_cart .view-cart-items {
    border-bottom: 2px solid #C9A84C !important;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}
#order-standard_cart .view-cart-items .item {
    background: rgba(11,17,32,0.6) !important;
    border-bottom: 1px solid rgba(26,34,54,0.4);
    transition: background 0.2s;
}
#order-standard_cart .view-cart-items .item:nth-child(even) {
    background: rgba(17,24,39,0.5) !important;
}
#order-standard_cart .view-cart-items .item:hover {
    background: rgba(201,168,76,0.04) !important;
}
#order-standard_cart .view-cart-items .item-title {
    color: #FAFBFF !important;
    font-weight: 600;
}
#order-standard_cart .view-cart-items .item-group {
    color: #929BB5 !important;
}
#order-standard_cart .view-cart-items .item-domain {
    color: #C9A84C !important;
}
#order-standard_cart .view-cart-items .item-price {
    color: #E2E6F0 !important;
}
#order-standard_cart .view-cart-items .item-price span {
    color: #FAFBFF !important;
}
#order-standard_cart .view-cart-items .item-price .cycle {
    color: #929BB5 !important;
}
#order-standard_cart .view-cart-items .item small {
    color: #7780A0 !important;
}
#order-standard_cart .btn-remove-from-cart {
    color: #7780A0 !important;
}
#order-standard_cart .btn-remove-from-cart:hover {
    color: #EF4444 !important;
}
#order-standard_cart .view-cart-empty {
    color: #7780A0 !important;
}
#order-standard_cart .empty-cart .btn {
    background: rgba(239,68,68,0.1) !important;
    border: 1px solid rgba(239,68,68,0.2) !important;
    color: #EF4444 !important;
    border-radius: 0 0 8px 8px !important;
}

/* ------- VIEW CART TABS (promo / taxes) ------- */
#order-standard_cart .view-cart-tabs .nav-tabs {
    border-bottom-color: #1A2236 !important;
}
#order-standard_cart .view-cart-tabs .nav-tabs a {
    color: #929BB5 !important;
    border-color: transparent !important;
}
#order-standard_cart .view-cart-tabs .nav-tabs a:hover {
    color: #C9A84C !important;
    border-color: #1A2236 #1A2236 transparent !important;
}
#order-standard_cart .view-cart-tabs .nav-tabs a[aria-selected="true"],
#order-standard_cart .view-cart-tabs .nav-tabs a[aria-expanded="true"],
#order-standard_cart .view-cart-tabs .nav-tabs .active {
    background: rgba(11,17,32,0.6) !important;
    border-color: #1A2236 #1A2236 rgba(11,17,32,0.6) !important;
    color: #C9A84C !important;
}
#order-standard_cart .view-cart-tabs .tab-content {
    background: rgba(11,17,32,0.6) !important;
    border: 1px solid #1A2236 !important;
    border-top: none !important;
    border-radius: 0 0 8px 8px !important;
    color: #E2E6F0 !important;
}
#order-standard_cart .view-cart-promotion-code {
    background: rgba(201,168,76,0.06) !important;
    border: 1px dashed rgba(201,168,76,0.3) !important;
    color: #C9A84C !important;
    border-radius: 6px !important;
}
#order-standard_cart .view-cart-gateway-checkout {
    background: rgba(11,17,32,0.6) !important;
    border: 1px solid #1A2236 !important;
    border-radius: 8px !important;
    color: #E2E6F0 !important;
}

/* ------- ORDER SUMMARY ------- */
#order-standard_cart #orderSummary {
    position: sticky;
    top: 20px;
}
#order-standard_cart .order-summary {
    background: rgba(11,17,32,0.6) !important;
    border: 1px solid rgba(26,34,54,0.5) !important;
    border-bottom: 3px solid #C9A84C !important;
    border-radius: 12px !important;
    overflow: hidden;
}
#order-standard_cart .order-summary h2 {
    background: linear-gradient(135deg, #B8930F 0%, #C9A84C 100%) !important;
    color: #03040B !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    padding: 12px 16px !important;
}
#order-standard_cart #orderSummary .text-center {
    margin-top: 12px;
}
#order-standard_cart #btnCompleteProductConfig {
    background: linear-gradient(135deg, #B8930F 0%, #C9A84C 100%) !important;
    border: none !important;
    color: #03040B !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    padding: 12px 24px !important;
    font-size: 15px !important;
    width: 100% !important;
    transition: box-shadow 0.2s;
}
#order-standard_cart #btnCompleteProductConfig:hover {
    box-shadow: 0 0 20px rgba(201,168,76,0.3) !important;
}
#order-standard_cart .summary-container {
    background: transparent !important;
    color: #E2E6F0 !important;
}
#order-standard_cart .order-summary .product-name {
    color: #FAFBFF !important;
}
#order-standard_cart .order-summary .product-group {
    color: #929BB5 !important;
}
#order-standard_cart .order-summary .summary-totals,
#order-standard_cart .order-summary .subtotal {
    border-color: rgba(26,34,54,0.6) !important;
}
#order-standard_cart .order-summary .bordered-totals {
    border-color: rgba(26,34,54,0.6) !important;
}
#order-standard_cart .order-summary .recurring-charges {
    color: #929BB5 !important;
}
#order-standard_cart .order-summary .total-due-today {
    color: #C9A84C !important;
}
#order-standard_cart .order-summary .total-due-today .amt {
    color: #C9A84C !important;
    font-weight: 700;
}
#order-standard_cart .order-summary .total-due-today span {
    color: #929BB5;
}
#order-standard_cart .order-summary .total-due-today .amt {
    color: #C9A84C !important;
}
#order-standard_cart .order-summary .loader {
    color: #929BB5 !important;
}
#order-standard_cart .order-summary .btn-continue-shopping {
    color: #929BB5 !important;
}
#order-standard_cart .order-summary .btn-continue-shopping:hover {
    color: #C9A84C !important;
}
#order-standard_cart .order-summary .btn-checkout {
    background: linear-gradient(135deg, #B8930F 0%, #C9A84C 100%) !important;
    border: none !important;
    color: #03040B !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
}
#order-standard_cart .express-checkout-buttons .separator {
    color: #7780A0 !important;
}

/* ------- ADDON PANELS ------- */
#order-standard_cart .panel-addon {
    background: rgba(11,17,32,0.6) !important;
    border: 1px solid rgba(26,34,54,0.5) !important;
    border-radius: 10px !important;
    overflow: hidden;
    transition: border-color 0.2s;
}
#order-standard_cart .panel-addon:hover {
    border-color: rgba(201,168,76,0.3) !important;
}
#order-standard_cart .panel-addon-selected {
    border-color: rgba(201,168,76,0.4) !important;
}
#order-standard_cart .panel-addon .panel-body {
    background: transparent !important;
}
#order-standard_cart .panel-addon .panel-body label {
    color: #FAFBFF !important;
    font-weight: 600 !important;
}
#order-standard_cart .panel-addon .panel-price {
    background: #111827 !important;
    color: #B8C0D2 !important;
}
#order-standard_cart .panel-addon .panel-add {
    background: linear-gradient(135deg, #059669 0%, #10B981 100%) !important;
    color: #fff !important;
}

/* ------- CONFIGURABLE OPTIONS ------- */
#order-standard_cart .product-configurable-options {
    color: #E2E6F0 !important;
    background: rgba(11,17,32,0.4);
    border: 1px solid rgba(26,34,54,0.4);
    border-radius: 10px;
    padding: 16px !important;
}
#order-standard_cart .product-configurable-options label {
    color: #B8C0D2 !important;
}
#order-standard_cart .product-configurable-options .form-group label {
    color: #929BB5 !important;
    font-size: 12px !important;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 8px !important;
}
#order-standard_cart .product-configurable-options input[type="radio"],
#order-standard_cart .product-configurable-options input[type="checkbox"] {
    accent-color: #C9A84C;
}
#order-standard_cart .product-configurable-options input[type="number"] {
    background-color: #060A18 !important;
    border: 1px solid #1A2236 !important;
    color: #E2E6F0 !important;
    border-radius: 8px !important;
}
#order-standard_cart .product-configurable-options .form-control-static {
    color: #929BB5 !important;
}

/* ------- FIELD HELP TEXT ------- */
#order-standard_cart .field-help-text {
    color: #7780A0 !important;
}

/* ------- CHECKOUT PAGE ------- */
#order-standard_cart .already-registered .btn {
    border-radius: 8px !important;
}
#order-standard_cart .sub-heading-borderless {
    color: #C9A84C !important;
}
#order-standard_cart .control-label {
    color: #B8C0D2 !important;
}
#order-standard_cart .panel-default {
    background: rgba(11,17,32,0.6) !important;
    border: 1px solid rgba(26,34,54,0.5) !important;
    border-radius: 10px !important;
}
#order-standard_cart .panel-default > .panel-heading {
    background: #111827 !important;
    color: #C9A84C !important;
    border-bottom: 1px solid #1A2236 !important;
}
#order-standard_cart .payment-methods label {
    color: #B8C0D2 !important;
}
#order-standard_cart .payment-method {
    background: rgba(11,17,32,0.4) !important;
    border: 1px solid #1A2236 !important;
    border-radius: 8px !important;
    transition: border-color 0.2s;
}
#order-standard_cart .payment-method:hover,
#order-standard_cart .payment-method.active {
    border-color: rgba(201,168,76,0.3) !important;
}

/* ------- COMPLETION PAGE ------- */
#order-standard_cart .order-confirmation {
    color: #E2E6F0 !important;
}
#order-standard_cart .order-confirmation span {
    color: #C9A84C !important;
}

/* ------- DOMAIN SEARCH ------- */
#order-standard_cart .domain-checker-result-headline {
    color: #FAFBFF !important;
}
#order-standard_cart .domain-checker-available {
    background: rgba(16,185,129,0.08) !important;
    border: 1px solid rgba(16,185,129,0.2) !important;
    border-radius: 8px !important;
    color: #10B981 !important;
}
#order-standard_cart .domain-checker-unavailable {
    background: rgba(239,68,68,0.08) !important;
    border: 1px solid rgba(239,68,68,0.2) !important;
    border-radius: 8px !important;
    color: #EF4444 !important;
}

/* ------- UPGRADE CREDIT ------- */
#order-standard_cart .row-upgrade-credit .item-group,
#order-standard_cart .upgrade-calc-msg {
    color: #7780A0 !important;
}

/* ============================================
   PRINT - keep readable on paper
   ============================================ */
@media print {
    body,
    .primary-bg-color,
    section#main-body,
    .card, .card-body, .card-header,
    .table thead th,
    .form-control {
        background-color: #fff !important;
        color: #212529 !important;
        border-color: #ddd !important;
    }
    .btn-primary {
        background: #336699 !important;
        color: #fff !important;
    }
}
