/* Reset & Base Variables */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-base: #000000;
    --bg-elevated: #0a0a0a;
    --bg-card: #111111;
    --bg-highlight: #1a1a1a;
    --border-dim: #222222;
    --border-med: #333333;
    --border-bright: #444444;
    --text-main: #ededed;
    --text-muted: #888888;
    --text-dim: #666666;
    --accent: #ffffff;
    --primary: #0070f3;
    --success: #50e3c2;
    --warning: #f5a623;
    --danger: #ff0000;
    --purple: #7928ca;
    --cyan: #79ffe1;
    --glow-primary: rgba(0, 112, 243, 0.2);
    --glow-purple: rgba(121, 40, 202, 0.2);
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-mono: 'JetBrains Mono', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
    --max-width: 1280px;
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.5;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: 8px;
}

.gap-4 {
    gap: 16px;
}

.gap-6 {
    gap: 24px;
}

.gap-8 {
    gap: 32px;
}

/* ==============================================================
   PROMO BAR (Vercel-style gradient)
============================================================== */
.promo-bar {
    background: linear-gradient(90deg, #0070f3, #7928ca, #ff0080);
    padding: 10px 24px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
}

.promo-bar a {
    text-decoration: underline;
    text-underline-offset: 2px;
    margin-left: 4px;
    font-weight: 500;
}

.promo-bar a:hover {
    color: #f0f0f0;
}

/* ==============================================================
   HEADER
============================================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--border-dim);
    transition: background var(--transition-smooth);
}

.header-inner {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.logo-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    border-radius: 6px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon::after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--bg-base);
    border-radius: 2px;
    transform: rotate(45deg);
}

.logo-text-ai {
    color: var(--accent);
}

.logo-text-hub {
    color: var(--text-muted);
}

.logo-dot {
    color: var(--primary);
    font-size: 24px;
    font-weight: bold;
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin-left: 32px;
}

.nav-links li {
    position: relative;
}

.nav-link {
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    user-select: none;
}

.nav-link[data-active="true"],
.nav-link:hover {
    color: var(--accent);
    background: var(--bg-highlight);
}

.nav-link i.fa-chevron-down {
    font-size: 10px;
    opacity: 0.5;
    margin-left: 2px;
}

/* Dropdown */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    width: 260px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
}

.nav-links li:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 10px 12px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: background var(--transition-fast);
}

.dropdown-item:hover {
    background: var(--bg-highlight);
}

.dropdown-icon {
    font-size: 16px;
    width: 20px;
    display: flex;
    justify-content: center;
    margin-top: 2px;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.dropdown-item:hover .dropdown-icon {
    color: var(--accent);
}

.dropdown-text h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 2px;
}

.dropdown-text p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 36px;
    padding: 0 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.btn-ghost {
    color: var(--text-muted);
    background: transparent;
    border: 1px solid transparent;
}

.btn-ghost:hover {
    color: var(--accent);
    background: var(--bg-highlight);
}

.btn-outline {
    color: var(--accent);
    background: transparent;
    border: 1px solid var(--border-med);
}

.btn-outline:hover {
    background: var(--bg-highlight);
    border-color: var(--border-bright);
}

.btn-primary {
    color: var(--bg-base);
    background: var(--accent);
    border: 1px solid var(--accent);
}

.btn-primary:focus,
.btn-primary:hover {
    background: #ccc;
    border-color: #ccc;
}

.divider {
    width: 1px;
    height: 24px;
    background: var(--border-dim);
    margin: 0 8px;
}

/* ==============================================================
   HERO SECTION
============================================================== */
.hero {
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
}

.hero-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, var(--glow-primary) 0%, transparent 70%);
    filter: blur(80px);
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--accent);
}

.hero h1 span {
    background: linear-gradient(to right, var(--accent), var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 40px;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.hero .btn {
    height: 48px;
    padding: 0 24px;
    font-size: 16px;
    border-radius: var(--radius-md);
}

/* Command Line Preview (Vercel style) */
.cli-preview {
    margin: 60px auto 0;
    max-width: 640px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-med);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px inset rgba(255, 255, 255, 0.05);
    text-align: left;
    overflow: hidden;
}

.cli-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-dim);
    background: var(--bg-highlight);
}

.cli-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.cli-dot.red {
    background: #ff5f56;
}

.cli-dot.yellow {
    background: #ffbd2e;
}

.cli-dot.green {
    background: #27c93f;
}

.cli-body {
    padding: 24px;
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--accent);
    line-height: 1.6;
}

.cli-path {
    color: var(--success);
}

.cli-cmd {
    color: var(--accent);
}

.cli-comment {
    color: var(--text-muted);
    margin-top: 12px;
}

.cli-cursor {
    width: 8px;
    height: 16px;
    background: var(--accent);
    display: inline-block;
    vertical-align: middle;
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ==============================================================
   SECTION: FEATURES (Grid)
============================================================== */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    text-align: center;
}

.section-desc {
    font-size: 18px;
    color: var(--text-muted);
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: border var(--transition-smooth), transform var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, -100%), rgba(255, 255, 255, 0.06), transparent 40%);
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.feature-card:hover {
    border-color: var(--border-med);
    transform: translateY(-2px);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--bg-highlight);
    border: 1px solid var(--border-med);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent);
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
}

.feature-link:hover {
    color: var(--accent);
}

.feature-link i {
    font-size: 12px;
    transition: transform var(--transition-fast);
}

.feature-link:hover i {
    transform: translateX(4px);
}

/* ==============================================================
   FOOTER (Professional & Minimal)
============================================================== */
.footer {
    border-top: 1px solid var(--border-dim);
    padding: 80px 0 40px;
    background: var(--bg-base);
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand {
    max-width: 280px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Status component */
.footer-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--bg-highlight);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-main);
    transition: background var(--transition-fast);
}

.footer-status:hover {
    background: var(--border-dim);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    position: relative;
}

.status-indicator::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid var(--success);
    opacity: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Footer Links */
.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--accent);
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border-dim);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copy {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-social a {
    color: var(--text-muted);
    font-size: 18px;
    transition: color var(--transition-fast);
}

.footer-social a:hover {
    color: var(--accent);
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: span 2;
        max-width: 100%;
    }

    .grid-3 {
        grid-template-columns: 1fr 1fr;
    }

    .hero h1 {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .header-actions .btn {
        display: none;
    }

    .header-actions .btn-primary {
        display: inline-flex;
    }

    .mobile-menu-btn {
        display: block;
        background: transparent;
        border: none;
        color: var(--accent);
        font-size: 20px;
        padding: 8px;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 80px 0 40px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        padding: 0 24px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: 1;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* ==============================================================
   WHMCS OVERRIDES — Kill CloudHub/Bootstrap defaults
============================================================== */

/* Body: kill padding-top:120px from main.min.css, force black bg, fix flex overlap */
body.srf-whmcs {
    padding-top: 0 !important;
    margin-top: 0 !important;
    background-color: #000000 !important;
    background: #000000 !important;
    color: #ededed !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    -webkit-font-smoothing: antialiased !important;
    line-height: 1.5 !important;
    display: block !important;
    min-height: auto !important;
}

/* Footer: normal flow, no margin-top:auto (that's for flex body only) */
.footer-vercel {
    position: relative !important;
    margin-top: 0 !important;
}

/* Hide CloudHub's original header and nav */
#header, .header-fixed, #main-menu, #nav-overlay, #nav-overlay-open, #nav-overlay-close, #nav-overlay-background {
    display: none !important;
}

/* Force black on all sections */
section.hero, section.section, .hero, .section,
section#home-banner, section#main-body, .home-shortcuts,
.main-content, .footer-vercel {
    background-color: #000000 !important;
}

/* Container transparency */
body.srf-whmcs .container,
body.srf-whmcs .container-fluid,
body.srf-whmcs .row {
    background-color: transparent !important;
}

/* Remap classes: .header -> .header-vercel, .logo -> .v-logo, .divider -> .header-divider, .footer -> .footer-vercel */
.header-vercel {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid #222222 !important;
    transition: background 300ms ease;
}
.header-vercel .container {
    max-width: 1280px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
}
.v-logo {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    letter-spacing: -0.04em !important;
    text-decoration: none !important;
    border: none !important;
}
.v-logo .logo-icon {
    width: 24px !important;
    height: 24px !important;
    background: linear-gradient(135deg, #0070f3, #79ffe1) !important;
    border-radius: 6px !important;
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}
.v-logo .logo-icon::after {
    content: '' !important;
    width: 10px !important;
    height: 10px !important;
    background: #000000 !important;
    border-radius: 2px !important;
    transform: rotate(45deg) !important;
}
.v-logo .logo-text-ai { color: #ffffff !important; }
.v-logo .logo-text-hub { color: #888888 !important; }
.v-logo .logo-dot { color: #0070f3 !important; font-size: 24px !important; font-weight: bold !important; }
.header-divider { width: 1px; height: 24px; background: #222222; margin: 0 8px; }
.footer-vercel {
    border-top: 1px solid #222222;
    padding: 80px 0 40px;
    background: #000000;
    margin-top: auto;
}

/* v-btn aliases for header buttons (avoid WHMCS .btn conflicts) */
.v-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    height: 36px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-radius: 6px !important;
    transition: all 150ms ease !important;
    cursor: pointer !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: none !important;
}
.v-btn.btn-ghost { color: #888888 !important; background: transparent !important; border: 1px solid transparent !important; }
.v-btn.btn-ghost:hover { color: #ffffff !important; background: #1a1a1a !important; }
.v-btn.btn-vercel-outline { color: #ffffff !important; background: transparent !important; border: 1px solid #333333 !important; }
.v-btn.btn-vercel-outline:hover { background: #1a1a1a !important; border-color: #555555 !important; }
.v-btn.btn-vercel-primary { color: #000000 !important; background: #ffffff !important; border: 1px solid #ffffff !important; }
.v-btn.btn-vercel-primary:hover { background: #cccccc !important; border-color: #cccccc !important; color: #000000 !important; }

/* Force ALL header link colors — kill blue a{color:#0098ef} from main.min.css */
.header-vercel a,
.header-vercel a:link,
.header-vercel a:visited {
    color: #888888 !important;
    text-decoration: none !important;
}
.header-vercel a:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}
.header-vercel .nav-link {
    color: #888888 !important;
}
.header-vercel .nav-link:hover {
    color: #ffffff !important;
    background: #1a1a1a !important;
}

/* Dropdown: bridge gap fix + inner wrapper */
.nav-dropdown {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    margin-top: 0 !important;
    padding-top: 12px !important;
    width: 280px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
    pointer-events: none;
}
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 12px;
}
.nav-dropdown-inner {
    background: #0a0a0a !important;
    border: 1px solid #222222 !important;
    border-radius: 12px !important;
    padding: 8px !important;
    box-shadow: 0 24px 48px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.04) inset !important;
}
.nav-links li:hover .nav-dropdown,
.nav-dropdown.open {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

/* Dropdown items: nuke ALL WHMCS borders */
.nav-dropdown .dropdown-item,
.nav-dropdown-inner .dropdown-item,
.nav-dropdown a,
.nav-dropdown-inner a {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent !important;
    text-decoration: none !important;
    color: #ededed !important;
    padding: 10px 12px !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
}
.nav-dropdown .dropdown-item:hover,
.nav-dropdown-inner .dropdown-item:hover {
    background: #1a1a1a !important;
}
.nav-dropdown .dropdown-text h4,
.nav-dropdown-inner .dropdown-text h4 {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    margin: 0 0 2px 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    background: transparent !important;
}
.nav-dropdown .dropdown-text p,
.nav-dropdown-inner .dropdown-text p {
    font-size: 12px !important;
    color: #888888 !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}
.nav-dropdown .dropdown-icon,
.nav-dropdown-inner .dropdown-icon {
    font-size: 16px !important;
    width: 20px !important;
    color: #888888 !important;
    flex-shrink: 0 !important;
}
.nav-dropdown .dropdown-item:hover .dropdown-icon,
.nav-dropdown-inner .dropdown-item:hover .dropdown-icon {
    color: #ffffff !important;
}

/* Nav links: kill WHMCS list styles */
.nav-links {
    margin: 0 0 0 32px !important;
    padding: 0 !important;
    list-style: none !important;
}
.nav-links > li {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    list-style: none !important;
}
.nav-links > li > a {
    border: none !important;
    box-shadow: none !important;
}

/* Promo bar link */
.promo-bar a,
.promo-bar a:link,
.promo-bar a:visited,
.promo-bar a:hover {
    color: #ffffff !important;
}

/* Admin banner */
.admin-banner { background-color: #f5a623 !important; text-align: center !important; }
.admin-banner a, .admin-banner p a { color: #000000 !important; }

/* GLOBAL DARK FORM CONTROLS — nuke Bootstrap white backgrounds */
body.srf-whmcs .form-control,
body.srf-whmcs input[type="text"],
body.srf-whmcs input[type="email"],
body.srf-whmcs input[type="password"],
body.srf-whmcs input[type="number"],
body.srf-whmcs input[type="search"],
body.srf-whmcs input[type="tel"],
body.srf-whmcs input[type="url"],
body.srf-whmcs textarea,
body.srf-whmcs select {
    background-color: #111111 !important;
    background: #111111 !important;
    color: #ededed !important;
    border: 1px solid #333333 !important;
    border-radius: 6px !important;
    box-shadow: none !important;
}
body.srf-whmcs .form-control:focus,
body.srf-whmcs input:focus,
body.srf-whmcs textarea:focus,
body.srf-whmcs select:focus {
    background-color: #111111 !important;
    border-color: #ffffff !important;
    box-shadow: none !important;
    outline: none !important;
    color: #ededed !important;
}
body.srf-whmcs .form-control::placeholder,
body.srf-whmcs input::placeholder,
body.srf-whmcs textarea::placeholder {
    color: #666666 !important;
    opacity: 1 !important;
}

/* ORDER FORM: product-info dark fix */
body.srf-whmcs #order-standard_cart .product-info {
    background-color: #0a0a0a !important;
    background: #0a0a0a !important;
    border: 1px solid #333333 !important;
    border-radius: 8px !important;
}
body.srf-whmcs #order-standard_cart .product-info .product-title,
body.srf-whmcs #order-standard_cart .product-title {
    background-color: transparent !important;
    background: transparent !important;
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 600 !important;
}
body.srf-whmcs #order-standard_cart .product-info p {
    background: transparent !important;
    color: #888888 !important;
}

/* ==============================================================
   THEME TOGGLE BUTTON
============================================================== */
.theme-toggle {
    position: relative;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    transition: background 150ms ease, color 150ms ease;
}
.theme-toggle:hover {
    background: var(--bg-highlight) !important;
}
.theme-toggle .theme-icon-dark,
.theme-toggle .theme-icon-light {
    position: absolute;
    font-size: 16px;
    transition: opacity 200ms ease, transform 200ms ease;
}
/* Dark mode (default): show moon, hide sun */
.theme-toggle .theme-icon-dark {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    color: var(--text-muted);
}
.theme-toggle .theme-icon-light {
    opacity: 0;
    transform: scale(0.5) rotate(90deg);
    color: var(--text-muted);
}
/* Light mode: show sun, hide moon */
[data-theme="light"] .theme-toggle .theme-icon-dark {
    opacity: 0;
    transform: scale(0.5) rotate(-90deg);
}
[data-theme="light"] .theme-toggle .theme-icon-light {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    color: #555555;
}
.theme-toggle:hover .theme-icon-dark,
.theme-toggle:hover .theme-icon-light {
    color: var(--accent);
}

/* ==============================================================
   LIGHT MODE — Override CSS variables on [data-theme="light"]
============================================================== */
[data-theme="light"] {
    --bg-base: #ffffff;
    --bg-elevated: #fafafa;
    --bg-card: #f5f5f5;
    --bg-highlight: #eeeeee;
    --border-dim: #e5e5e5;
    --border-med: #d4d4d4;
    --border-bright: #a3a3a3;
    --text-main: #171717;
    --text-muted: #525252;
    --text-dim: #737373;
    --accent: #000000;
    --glow-primary: rgba(0, 112, 243, 0.08);
    --glow-purple: rgba(121, 40, 202, 0.08);
}

/* Body overrides for light mode */
[data-theme="light"] body,
[data-theme="light"] body.srf-whmcs {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #171717 !important;
}

/* Header glass effect — light */
[data-theme="light"] .header-vercel {
    background: rgba(255, 255, 255, 0.7) !important;
    border-bottom-color: #e5e5e5 !important;
}

/* Logo adjustments */
[data-theme="light"] .v-logo .logo-icon::after {
    background: #ffffff !important;
}
[data-theme="light"] .v-logo .logo-text-ai { color: #000000 !important; }
[data-theme="light"] .v-logo .logo-text-hub { color: #525252 !important; }
[data-theme="light"] .v-logo .logo-dot { color: #0070f3 !important; }

/* Nav links — light */
[data-theme="light"] .header-vercel a,
[data-theme="light"] .header-vercel a:link,
[data-theme="light"] .header-vercel a:visited {
    color: #525252 !important;
}
[data-theme="light"] .header-vercel a:hover,
[data-theme="light"] .header-vercel .nav-link:hover {
    color: #000000 !important;
    background: #eeeeee !important;
}
[data-theme="light"] .header-vercel .nav-link {
    color: #525252 !important;
}

/* Dropdown — light */
[data-theme="light"] .nav-dropdown-inner {
    background: #ffffff !important;
    border: 1px solid #e5e5e5 !important;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04) inset !important;
}
[data-theme="light"] .nav-dropdown .dropdown-item:hover,
[data-theme="light"] .nav-dropdown-inner .dropdown-item:hover {
    background: #f5f5f5 !important;
}
[data-theme="light"] .nav-dropdown .dropdown-text h4,
[data-theme="light"] .nav-dropdown-inner .dropdown-text h4 {
    color: #000000 !important;
}
[data-theme="light"] .nav-dropdown .dropdown-text p,
[data-theme="light"] .nav-dropdown-inner .dropdown-text p {
    color: #525252 !important;
}
[data-theme="light"] .nav-dropdown .dropdown-icon,
[data-theme="light"] .nav-dropdown-inner .dropdown-icon {
    color: #737373 !important;
}
[data-theme="light"] .nav-dropdown .dropdown-item:hover .dropdown-icon,
[data-theme="light"] .nav-dropdown-inner .dropdown-item:hover .dropdown-icon {
    color: #000000 !important;
}
[data-theme="light"] .nav-dropdown .dropdown-item,
[data-theme="light"] .nav-dropdown-inner .dropdown-item,
[data-theme="light"] .nav-dropdown a,
[data-theme="light"] .nav-dropdown-inner a {
    color: #171717 !important;
}

/* Buttons — light */
[data-theme="light"] .v-btn.btn-ghost {
    color: #525252 !important;
}
[data-theme="light"] .v-btn.btn-ghost:hover {
    color: #000000 !important;
    background: #eeeeee !important;
}
[data-theme="light"] .v-btn.btn-vercel-outline {
    color: #000000 !important;
    border-color: #d4d4d4 !important;
}
[data-theme="light"] .v-btn.btn-vercel-outline:hover {
    background: #f5f5f5 !important;
    border-color: #a3a3a3 !important;
}
[data-theme="light"] .v-btn.btn-vercel-primary {
    color: #ffffff !important;
    background: #000000 !important;
    border-color: #000000 !important;
}
[data-theme="light"] .v-btn.btn-vercel-primary:hover {
    background: #333333 !important;
    border-color: #333333 !important;
    color: #ffffff !important;
}

/* Divider — light */
[data-theme="light"] .header-divider {
    background: #e5e5e5 !important;
}

/* Promo bar stays gradient (no change needed) */

/* Sections — light backgrounds */
[data-theme="light"] section.hero,
[data-theme="light"] section.section,
[data-theme="light"] .hero,
[data-theme="light"] .section,
[data-theme="light"] section#home-banner,
[data-theme="light"] section#main-body,
[data-theme="light"] .home-shortcuts,
[data-theme="light"] .main-content {
    background-color: #ffffff !important;
}

/* Hero text — light */
[data-theme="light"] .hero h1 { color: #000000 !important; }
[data-theme="light"] .hero h1 span {
    background: linear-gradient(to right, #000000, #737373) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}
[data-theme="light"] .hero p { color: #525252 !important; }

/* CLI preview — light */
[data-theme="light"] .cli-preview {
    background: #fafafa !important;
    border-color: #e5e5e5 !important;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.03) inset !important;
}
[data-theme="light"] .cli-header { background: #eeeeee !important; border-bottom-color: #e5e5e5 !important; }
[data-theme="light"] .cli-body { color: #171717 !important; }
[data-theme="light"] .cli-path { color: #059669 !important; }
[data-theme="light"] .cli-cmd { color: #171717 !important; }
[data-theme="light"] .cli-comment { color: #737373 !important; }
[data-theme="light"] .cli-cursor { background: #171717 !important; }

/* Feature cards — light */
[data-theme="light"] .feature-card {
    background: #fafafa !important;
    border-color: #e5e5e5 !important;
}
[data-theme="light"] .feature-card:hover { border-color: #d4d4d4 !important; }
[data-theme="light"] .feature-card h3 { color: #000000 !important; }
[data-theme="light"] .feature-card p { color: #525252 !important; }
[data-theme="light"] .feature-icon { background: #eeeeee !important; border-color: #d4d4d4 !important; color: #000000 !important; }

/* Section titles — light */
[data-theme="light"] .section-title { color: #000000 !important; }
[data-theme="light"] .section-desc { color: #525252 !important; }

/* Footer — light */
[data-theme="light"] .footer-vercel {
    background: #fafafa !important;
    border-top-color: #e5e5e5 !important;
}
[data-theme="light"] .footer-vercel .footer-brand p { color: #525252 !important; }
[data-theme="light"] .footer-vercel .footer-col h4 { color: #000000 !important; }
[data-theme="light"] .footer-vercel .footer-nav a { color: #525252 !important; }
[data-theme="light"] .footer-vercel .footer-nav a:hover { color: #000000 !important; }
[data-theme="light"] .footer-vercel .footer-bottom { border-top-color: #e5e5e5 !important; }
[data-theme="light"] .footer-vercel .footer-copy { color: #737373 !important; }
[data-theme="light"] .footer-vercel .footer-social a { color: #737373 !important; }
[data-theme="light"] .footer-vercel .footer-social a:hover { color: #000000 !important; }
[data-theme="light"] .footer-status { background: #eeeeee !important; border-color: #d4d4d4 !important; color: #171717 !important; }

/* Sidebar — light */
[data-theme="light"] .sidebar a,
[data-theme="light"] .sidebar .list-group-item {
    background: #fafafa !important;
    color: #171717 !important;
    border-color: #e5e5e5 !important;
}
[data-theme="light"] .sidebar .list-group-item:hover,
[data-theme="light"] .sidebar a:hover {
    background: #eeeeee !important;
    color: #000000 !important;
}
[data-theme="light"] .sidebar .list-group-item.active {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}

/* Form controls — light */
[data-theme="light"] body.srf-whmcs .form-control,
[data-theme="light"] body.srf-whmcs input[type="text"],
[data-theme="light"] body.srf-whmcs input[type="email"],
[data-theme="light"] body.srf-whmcs input[type="password"],
[data-theme="light"] body.srf-whmcs input[type="number"],
[data-theme="light"] body.srf-whmcs input[type="search"],
[data-theme="light"] body.srf-whmcs input[type="tel"],
[data-theme="light"] body.srf-whmcs input[type="url"],
[data-theme="light"] body.srf-whmcs textarea,
[data-theme="light"] body.srf-whmcs select {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #171717 !important;
    border: 1px solid #d4d4d4 !important;
}
[data-theme="light"] body.srf-whmcs .form-control:focus,
[data-theme="light"] body.srf-whmcs input:focus,
[data-theme="light"] body.srf-whmcs textarea:focus,
[data-theme="light"] body.srf-whmcs select:focus {
    background-color: #ffffff !important;
    border-color: #000000 !important;
    color: #171717 !important;
}
[data-theme="light"] body.srf-whmcs .form-control::placeholder,
[data-theme="light"] body.srf-whmcs input::placeholder,
[data-theme="light"] body.srf-whmcs textarea::placeholder {
    color: #a3a3a3 !important;
}

/* Order form — light */
[data-theme="light"] body.srf-whmcs #order-standard_cart .product-info {
    background-color: #fafafa !important;
    background: #fafafa !important;
    border: 1px solid #e5e5e5 !important;
}
[data-theme="light"] body.srf-whmcs #order-standard_cart .product-info .product-title,
[data-theme="light"] body.srf-whmcs #order-standard_cart .product-title {
    background-color: transparent !important;
    background: transparent !important;
    color: #000000 !important;
}
[data-theme="light"] body.srf-whmcs #order-standard_cart .product-info p {
    background: transparent !important;
    color: #525252 !important;
}

/* Panels, tables, alerts — light */
[data-theme="light"] .panel { background: #ffffff !important; border-color: #e5e5e5 !important; }
[data-theme="light"] .panel-heading { background: #fafafa !important; border-color: #e5e5e5 !important; color: #000000 !important; }
[data-theme="light"] .panel-body { background: #ffffff !important; color: #171717 !important; }
[data-theme="light"] .table > thead > tr > th { background: #fafafa !important; color: #000000 !important; border-color: #e5e5e5 !important; }
[data-theme="light"] .table > tbody > tr > td { background: #ffffff !important; color: #171717 !important; border-color: #e5e5e5 !important; }
[data-theme="light"] .table-striped > tbody > tr:nth-of-type(odd) > td { background: #fafafa !important; }
[data-theme="light"] .well { background: #fafafa !important; border-color: #e5e5e5 !important; color: #171717 !important; }

/* Text color catch-all for WHMCS content areas */
[data-theme="light"] body.srf-whmcs .container,
[data-theme="light"] body.srf-whmcs .main-content,
[data-theme="light"] body.srf-whmcs p,
[data-theme="light"] body.srf-whmcs li,
[data-theme="light"] body.srf-whmcs label,
[data-theme="light"] body.srf-whmcs h1,
[data-theme="light"] body.srf-whmcs h2,
[data-theme="light"] body.srf-whmcs h3,
[data-theme="light"] body.srf-whmcs h4,
[data-theme="light"] body.srf-whmcs h5,
[data-theme="light"] body.srf-whmcs h6 {
    color: #171717 !important;
}
[data-theme="light"] body.srf-whmcs a {
    color: #0070f3 !important;
}
[data-theme="light"] body.srf-whmcs a:hover {
    color: #0051a8 !important;
}
/* Keep header/footer links using their own styles */
[data-theme="light"] .header-vercel a,
[data-theme="light"] .header-vercel a:hover,
[data-theme="light"] .footer-vercel a {
    color: #525252 !important;
}
[data-theme="light"] .header-vercel a:hover { color: #000000 !important; }
[data-theme="light"] .footer-vercel a:hover { color: #000000 !important; }

/* ==============================================================
   WHMCS CONTENT PAGES — Dark theme overrides
============================================================== */

/* Page header */
body.srf-whmcs .header-lined {
    border-bottom: 1px solid #222222 !important;
    margin-bottom: 24px !important;
    padding-bottom: 16px !important;
}
body.srf-whmcs .header-lined h1 {
    color: #ededed !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    letter-spacing: -0.03em !important;
}
body.srf-whmcs .header-lined h1 small {
    color: #888888 !important;
    font-size: 14px !important;
}

/* Breadcrumb */
body.srf-whmcs .breadcrumb {
    background: transparent !important;
    padding: 0 !important;
    margin: 8px 0 0 0 !important;
}
body.srf-whmcs .breadcrumb > li,
body.srf-whmcs .breadcrumb > li.active {
    color: #666666 !important;
    font-size: 13px !important;
}
body.srf-whmcs .breadcrumb > li a {
    color: #888888 !important;
}
body.srf-whmcs .breadcrumb > li a:hover {
    color: #ffffff !important;
}
body.srf-whmcs .breadcrumb > li + li::before {
    color: #444444 !important;
}

/* Sidebar panels */
body.srf-whmcs .panel,
body.srf-whmcs .panel-sidebar {
    background: #0a0a0a !important;
    border: 1px solid #222222 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    overflow: hidden !important;
}
body.srf-whmcs .panel-heading,
body.srf-whmcs .panel-sidebar .panel-heading {
    background: #111111 !important;
    border-bottom: 1px solid #222222 !important;
    color: #ededed !important;
    padding: 14px 16px !important;
}
body.srf-whmcs .panel-heading h3,
body.srf-whmcs .panel-heading .panel-title,
body.srf-whmcs .panel-heading h3.panel-title {
    color: #ededed !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin: 0 !important;
}
body.srf-whmcs .panel-heading .panel-title i,
body.srf-whmcs .panel-heading i {
    color: #888888 !important;
}
body.srf-whmcs .panel-body {
    background: #0a0a0a !important;
    color: #ededed !important;
    border: none !important;
}
body.srf-whmcs .panel-footer {
    background: #0a0a0a !important;
    border-top: 1px solid #222222 !important;
    color: #888888 !important;
}

/* List group (sidebar nav) */
body.srf-whmcs .list-group-item {
    background: #0a0a0a !important;
    border: none !important;
    border-bottom: 1px solid #1a1a1a !important;
    color: #cccccc !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    transition: all 150ms ease !important;
}
body.srf-whmcs .list-group-item:last-child {
    border-bottom: none !important;
}
body.srf-whmcs .list-group-item:hover,
body.srf-whmcs a.list-group-item:hover {
    background: #1a1a1a !important;
    color: #ffffff !important;
}
body.srf-whmcs .list-group-item.active,
body.srf-whmcs .list-group-item.active:hover {
    background: #ffffff !important;
    color: #000000 !important;
    border-color: #ffffff !important;
    font-weight: 600 !important;
}
body.srf-whmcs .list-group-item .badge {
    background: #333333 !important;
    color: #ededed !important;
    font-size: 11px !important;
    border-radius: 9999px !important;
    padding: 3px 8px !important;
}

/* Collapse chevron in sidebar */
body.srf-whmcs .panel-heading .pull-right i,
body.srf-whmcs .panel-heading a {
    color: #888888 !important;
}

/* Links inside content area — kill WHMCS blue */
body.srf-whmcs #main-body a,
body.srf-whmcs .main-content a {
    color: #ededed !important;
    transition: color 150ms ease !important;
}
body.srf-whmcs #main-body a:hover,
body.srf-whmcs .main-content a:hover {
    color: #ffffff !important;
}

/* KB Search */
body.srf-whmcs .kb-search .form-control {
    background: #111111 !important;
    border: 1px solid #333333 !important;
    color: #ededed !important;
    border-radius: 8px 0 0 8px !important;
    height: 48px !important;
    font-size: 15px !important;
}
body.srf-whmcs .kb-search .btn,
body.srf-whmcs .kb-search .btn-primary {
    background: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #ffffff !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    border-radius: 0 8px 8px 0 !important;
    height: 48px !important;
    padding: 0 24px !important;
}
body.srf-whmcs .kb-search .btn:hover,
body.srf-whmcs .kb-search .btn-primary:hover {
    background: #cccccc !important;
    border-color: #cccccc !important;
}

/* KB Categories grid */
body.srf-whmcs .kbcategories {
    margin-top: 16px !important;
}
body.srf-whmcs .kbcategories a {
    display: block !important;
    color: #ededed !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    padding: 12px 0 !important;
}
body.srf-whmcs .kbcategories a:hover {
    color: #ffffff !important;
}
body.srf-whmcs .kbcategories a i,
body.srf-whmcs .kbcategories a .glyphicon {
    color: #0070f3 !important;
    margin-right: 6px !important;
}
body.srf-whmcs .kbcategories p {
    color: #888888 !important;
    font-size: 13px !important;
}

/* KB Articles list */
body.srf-whmcs .kbarticles a {
    color: #ededed !important;
    font-weight: 500 !important;
}
body.srf-whmcs .kbarticles a:hover {
    color: #ffffff !important;
}
body.srf-whmcs .kbarticles a .glyphicon,
body.srf-whmcs .kbarticles a i {
    color: #0070f3 !important;
}
body.srf-whmcs .kbarticles p {
    color: #888888 !important;
}

/* Content h2 headings */
body.srf-whmcs #main-body h2,
body.srf-whmcs .main-content h2 {
    color: #ededed !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    margin: 32px 0 16px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #222222 !important;
}
body.srf-whmcs #main-body h3,
body.srf-whmcs .main-content h3 {
    color: #ededed !important;
    font-weight: 600 !important;
}

/* KB Article content */
body.srf-whmcs .kb-article-title h2 {
    border-bottom: none !important;
}
body.srf-whmcs .kb-article-content {
    color: #cccccc !important;
    line-height: 1.7 !important;
}
body.srf-whmcs .kb-rate-article {
    background: #111111 !important;
    border: 1px solid #222222 !important;
    border-radius: 8px !important;
    color: #ededed !important;
}

/* Buttons — global WHMCS overrides */
body.srf-whmcs .btn-primary {
    background: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #ffffff !important;
    font-weight: 500 !important;
    border-radius: 6px !important;
}
body.srf-whmcs .btn-primary:hover,
body.srf-whmcs .btn-primary:focus {
    background: #cccccc !important;
    border-color: #cccccc !important;
    color: #000000 !important;
}
body.srf-whmcs .btn-default {
    background: transparent !important;
    color: #ededed !important;
    border: 1px solid #333333 !important;
    border-radius: 6px !important;
}
body.srf-whmcs .btn-default:hover,
body.srf-whmcs .btn-default:focus {
    background: #1a1a1a !important;
    color: #ffffff !important;
    border-color: #555555 !important;
}
body.srf-whmcs .btn-success {
    background: #50e3c2 !important;
    color: #000000 !important;
    border: 1px solid #50e3c2 !important;
    border-radius: 6px !important;
}
body.srf-whmcs .btn-danger {
    background: #ff0000 !important;
    color: #ffffff !important;
    border: 1px solid #ff0000 !important;
    border-radius: 6px !important;
}

/* Tables */
body.srf-whmcs .table {
    color: #ededed !important;
}
body.srf-whmcs .table > thead > tr > th {
    background: #111111 !important;
    color: #ededed !important;
    border-bottom: 1px solid #333333 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
}
body.srf-whmcs .table > tbody > tr > td {
    background: #0a0a0a !important;
    color: #cccccc !important;
    border-bottom: 1px solid #1a1a1a !important;
}
body.srf-whmcs .table > tbody > tr:hover > td {
    background: #111111 !important;
}
body.srf-whmcs .table-striped > tbody > tr:nth-of-type(odd) > td {
    background: #0f0f0f !important;
}

/* Alerts */
body.srf-whmcs .alert-info {
    background: rgba(0, 112, 243, 0.1) !important;
    border: 1px solid rgba(0, 112, 243, 0.3) !important;
    color: #7bb8f5 !important;
    border-radius: 8px !important;
}
body.srf-whmcs .alert-success {
    background: rgba(80, 227, 194, 0.1) !important;
    border: 1px solid rgba(80, 227, 194, 0.3) !important;
    color: #50e3c2 !important;
    border-radius: 8px !important;
}
body.srf-whmcs .alert-warning {
    background: rgba(245, 166, 35, 0.1) !important;
    border: 1px solid rgba(245, 166, 35, 0.3) !important;
    color: #f5a623 !important;
    border-radius: 8px !important;
}
body.srf-whmcs .alert-danger {
    background: rgba(255, 0, 0, 0.1) !important;
    border: 1px solid rgba(255, 0, 0, 0.3) !important;
    color: #ff6666 !important;
    border-radius: 8px !important;
}

/* Wells */
body.srf-whmcs .well {
    background: #0a0a0a !important;
    border: 1px solid #222222 !important;
    border-radius: 8px !important;
    color: #ededed !important;
    box-shadow: none !important;
}

/* Modals */
body.srf-whmcs .modal-content {
    background: #111111 !important;
    border: 1px solid #333333 !important;
    border-radius: 12px !important;
    color: #ededed !important;
}
body.srf-whmcs .modal-header {
    border-bottom: 1px solid #222222 !important;
    background: #0a0a0a !important;
    border-radius: 12px 12px 0 0 !important;
}
body.srf-whmcs .modal-header .modal-title,
body.srf-whmcs .modal-header h4 {
    color: #ededed !important;
}
body.srf-whmcs .modal-header .close {
    color: #888888 !important;
    text-shadow: none !important;
    opacity: 0.8 !important;
}
body.srf-whmcs .modal-body {
    background: #111111 !important;
    color: #cccccc !important;
}
body.srf-whmcs .modal-footer {
    border-top: 1px solid #222222 !important;
    background: #0a0a0a !important;
    border-radius: 0 0 12px 12px !important;
}

/* Pagination */
body.srf-whmcs .pagination > li > a,
body.srf-whmcs .pagination > li > span {
    background: #0a0a0a !important;
    border: 1px solid #333333 !important;
    color: #ededed !important;
    border-radius: 6px !important;
    margin: 0 2px !important;
}
body.srf-whmcs .pagination > li > a:hover {
    background: #1a1a1a !important;
    color: #ffffff !important;
}
body.srf-whmcs .pagination > .active > a,
body.srf-whmcs .pagination > .active > span {
    background: #ffffff !important;
    color: #000000 !important;
    border-color: #ffffff !important;
}

/* General text/label colors */
body.srf-whmcs label {
    color: #ededed !important;
}
body.srf-whmcs p {
    color: #cccccc !important;
}
body.srf-whmcs small,
body.srf-whmcs .help-block {
    color: #888888 !important;
}
body.srf-whmcs hr {
    border-color: #222222 !important;
}

/* Admin edit links (only visible to admins) */
body.srf-whmcs a[href*="admin/"] {
    color: #f5a623 !important;
    font-size: 12px !important;
}

/* Badge */
body.srf-whmcs .badge {
    background: #333333 !important;
    color: #ededed !important;
}
body.srf-whmcs .badge-info {
    background: rgba(0, 112, 243, 0.2) !important;
    color: #7bb8f5 !important;
}

/* ============ LIGHT MODE — Content page overrides ============ */
[data-theme="light"] body.srf-whmcs .header-lined {
    border-bottom-color: #e5e5e5 !important;
}
[data-theme="light"] body.srf-whmcs .header-lined h1 {
    color: #000000 !important;
}
[data-theme="light"] body.srf-whmcs .header-lined h1 small {
    color: #737373 !important;
}
[data-theme="light"] body.srf-whmcs .breadcrumb > li,
[data-theme="light"] body.srf-whmcs .breadcrumb > li.active {
    color: #a3a3a3 !important;
}
[data-theme="light"] body.srf-whmcs .breadcrumb > li a {
    color: #525252 !important;
}
[data-theme="light"] body.srf-whmcs .breadcrumb > li a:hover {
    color: #000000 !important;
}
[data-theme="light"] body.srf-whmcs .panel,
[data-theme="light"] body.srf-whmcs .panel-sidebar {
    background: #ffffff !important;
    border-color: #e5e5e5 !important;
}
[data-theme="light"] body.srf-whmcs .panel-heading {
    background: #fafafa !important;
    border-bottom-color: #e5e5e5 !important;
    color: #000000 !important;
}
[data-theme="light"] body.srf-whmcs .panel-heading h3,
[data-theme="light"] body.srf-whmcs .panel-heading .panel-title {
    color: #000000 !important;
}
[data-theme="light"] body.srf-whmcs .list-group-item {
    background: #ffffff !important;
    border-bottom-color: #f0f0f0 !important;
    color: #171717 !important;
}
[data-theme="light"] body.srf-whmcs .list-group-item:hover,
[data-theme="light"] body.srf-whmcs a.list-group-item:hover {
    background: #f5f5f5 !important;
    color: #000000 !important;
}
[data-theme="light"] body.srf-whmcs .list-group-item.active {
    background: #000000 !important;
    color: #ffffff !important;
}
[data-theme="light"] body.srf-whmcs #main-body a,
[data-theme="light"] body.srf-whmcs .main-content a {
    color: #0070f3 !important;
}
[data-theme="light"] body.srf-whmcs #main-body a:hover,
[data-theme="light"] body.srf-whmcs .main-content a:hover {
    color: #0051a8 !important;
}
[data-theme="light"] body.srf-whmcs #main-body h2,
[data-theme="light"] body.srf-whmcs .main-content h2 {
    color: #000000 !important;
    border-bottom-color: #e5e5e5 !important;
}
[data-theme="light"] body.srf-whmcs .kb-search .btn,
[data-theme="light"] body.srf-whmcs .kb-search .btn-primary {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}
[data-theme="light"] body.srf-whmcs .kb-search .btn:hover {
    background: #333333 !important;
}
[data-theme="light"] body.srf-whmcs .btn-primary {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}
[data-theme="light"] body.srf-whmcs .btn-primary:hover {
    background: #333333 !important;
}
[data-theme="light"] body.srf-whmcs .btn-default {
    background: #ffffff !important;
    color: #171717 !important;
    border-color: #d4d4d4 !important;
}
[data-theme="light"] body.srf-whmcs .btn-default:hover {
    background: #f5f5f5 !important;
}
[data-theme="light"] body.srf-whmcs .table > thead > tr > th {
    background: #fafafa !important;
    color: #000000 !important;
    border-bottom-color: #e5e5e5 !important;
}
[data-theme="light"] body.srf-whmcs .table > tbody > tr > td {
    background: #ffffff !important;
    color: #171717 !important;
    border-bottom-color: #f0f0f0 !important;
}
[data-theme="light"] body.srf-whmcs .table > tbody > tr:hover > td {
    background: #fafafa !important;
}
[data-theme="light"] body.srf-whmcs .well {
    background: #fafafa !important;
    border-color: #e5e5e5 !important;
    color: #171717 !important;
}
[data-theme="light"] body.srf-whmcs .modal-content {
    background: #ffffff !important;
    border-color: #e5e5e5 !important;
}
[data-theme="light"] body.srf-whmcs .modal-header {
    background: #fafafa !important;
    border-bottom-color: #e5e5e5 !important;
}
[data-theme="light"] body.srf-whmcs .modal-body { background: #ffffff !important; color: #171717 !important; }
[data-theme="light"] body.srf-whmcs .modal-footer { background: #fafafa !important; border-top-color: #e5e5e5 !important; }
[data-theme="light"] body.srf-whmcs p { color: #525252 !important; }
[data-theme="light"] body.srf-whmcs label { color: #171717 !important; }
[data-theme="light"] body.srf-whmcs hr { border-color: #e5e5e5 !important; }
[data-theme="light"] body.srf-whmcs .badge { background: #e5e5e5 !important; color: #171717 !important; }
[data-theme="light"] body.srf-whmcs .kb-rate-article { background: #fafafa !important; border-color: #e5e5e5 !important; color: #171717 !important; }
[data-theme="light"] body.srf-whmcs .pagination > li > a { background: #ffffff !important; border-color: #d4d4d4 !important; color: #171717 !important; }
[data-theme="light"] body.srf-whmcs .pagination > .active > a { background: #000000 !important; color: #ffffff !important; border-color: #000000 !important; }

/* VERCEL LIGHT MODE IMPROVEMENTS */

/* Mute standard links, highlight on hover */
[data-theme="light"] body.srf-whmcs a {
    color: #444444 !important;
    text-decoration: none !important;
    transition: color 150ms ease !important;
}
[data-theme="light"] body.srf-whmcs a:hover {
    color: #000000 !important;
}

/* Sidebar List Group specifically */
[data-theme="light"] body.srf-whmcs a.list-group-item {
    color: #525252 !important;
    font-size: 14px !important;
    text-decoration: none !important;
}
[data-theme="light"] body.srf-whmcs a.list-group-item:hover {
    color: #000000 !important;
}
[data-theme="light"] body.srf-whmcs a.list-group-item.active {
    color: #ffffff !important;
    background: #000000 !important;
}

/* KB Categories Grid Links */
[data-theme="light"] body.srf-whmcs .kbcategories a,
[data-theme="light"] body.srf-whmcs .kbarticles a {
    color: #171717 !important;
    font-weight: 500 !important;
}
[data-theme="light"] body.srf-whmcs .kbcategories a:hover,
[data-theme="light"] body.srf-whmcs .kbarticles a:hover {
    color: #0070f3 !important;
}
[data-theme="light"] body.srf-whmcs .kbcategories a i,
[data-theme="light"] body.srf-whmcs .kbcategories a .glyphicon,
[data-theme="light"] body.srf-whmcs .kbarticles a i,
[data-theme="light"] body.srf-whmcs .kbarticles a .glyphicon {
    color: #666666 !important;
}

/* Admin Banner (The orange bar at top) */
body.srf-whmcs .admin-banner {
    background-color: #000000 !important;
    border-bottom: 1px solid #333333 !important;
    padding: 10px 0 !important;
}
body.srf-whmcs .admin-banner p,
body.srf-whmcs .admin-banner a {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    margin: 0 !important;
}
body.srf-whmcs .admin-banner a:hover {
    color: #0070f3 !important;
}
[data-theme="light"] body.srf-whmcs .admin-banner {
    background-color: #fafafa !important;
    border-bottom: 1px solid #e5e5e5 !important;
}
[data-theme="light"] body.srf-whmcs .admin-banner p,
[data-theme="light"] body.srf-whmcs .admin-banner a {
    color: #171717 !important;
}

/* Edit links (visible to admins) */
[data-theme="light"] body.srf-whmcs a[href*="admin/"] {
    color: #d97706 !important; /* Muted orange/amber */
    font-size: 12px !important;
    margin-left: 8px !important;
}


/* VERCEL LIGHT MODE IMPROVEMENTS */

/* Mute standard links, highlight on hover */
[data-theme="light"] body.srf-whmcs a {
    color: #444444 !important;
    text-decoration: none !important;
    transition: color 150ms ease !important;
}
[data-theme="light"] body.srf-whmcs a:hover {
    color: #000000 !important;
}

/* Sidebar List Group specifically */
[data-theme="light"] body.srf-whmcs a.list-group-item {
    color: #525252 !important;
    font-size: 14px !important;
    text-decoration: none !important;
}
[data-theme="light"] body.srf-whmcs a.list-group-item:hover {
    color: #000000 !important;
}
[data-theme="light"] body.srf-whmcs a.list-group-item.active {
    color: #ffffff !important;
    background: #000000 !important;
}

/* KB Categories Grid Links */
[data-theme="light"] body.srf-whmcs .kbcategories a,
[data-theme="light"] body.srf-whmcs .kbarticles a {
    color: #171717 !important;
    font-weight: 500 !important;
}
[data-theme="light"] body.srf-whmcs .kbcategories a:hover,
[data-theme="light"] body.srf-whmcs .kbarticles a:hover {
    color: #0070f3 !important;
}
[data-theme="light"] body.srf-whmcs .kbcategories a i,
[data-theme="light"] body.srf-whmcs .kbcategories a .glyphicon,
[data-theme="light"] body.srf-whmcs .kbarticles a i,
[data-theme="light"] body.srf-whmcs .kbarticles a .glyphicon {
    color: #666666 !important;
}

/* Admin Banner (The orange bar at top) */
body.srf-whmcs .admin-banner {
    background-color: #000000 !important;
    border-bottom: 1px solid #333333 !important;
    padding: 10px 0 !important;
}
body.srf-whmcs .admin-banner p,
body.srf-whmcs .admin-banner a {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    margin: 0 !important;
}
body.srf-whmcs .admin-banner a:hover {
    color: #0070f3 !important;
}
[data-theme="light"] body.srf-whmcs .admin-banner {
    background-color: #fafafa !important;
    border-bottom: 1px solid #e5e5e5 !important;
}
[data-theme="light"] body.srf-whmcs .admin-banner p,
[data-theme="light"] body.srf-whmcs .admin-banner a {
    color: #171717 !important;
}

/* Edit links (visible to admins) */
[data-theme="light"] body.srf-whmcs a[href*="admin/"] {
    color: #d97706 !important; /* Muted orange/amber */
    font-size: 12px !important;
    margin-left: 8px !important;
}


/* Article View specific improvements */
[data-theme="light"] body.srf-whmcs .kb-article-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    color: #000000 !important;
    margin-bottom: 24px !important;
}
[data-theme="light"] body.srf-whmcs .hidden-print a {
    color: #666666 !important;
}
[data-theme="light"] body.srf-whmcs .hidden-print a:hover {
    color: #000000 !important;
}

/* Breadcrumbs Vercel Style */
[data-theme="light"] body.srf-whmcs .breadcrumb {
    background: transparent !important;
    padding: 0 0 24px 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
}
[data-theme="light"] body.srf-whmcs .breadcrumb > li,
[data-theme="light"] body.srf-whmcs .breadcrumb > li > a {
    color: #666666 !important;
    font-size: 14px !important;
}
[data-theme="light"] body.srf-whmcs .breadcrumb > li > a:hover {
    color: #000000 !important;
}
[data-theme="light"] body.srf-whmcs .breadcrumb > .active {
    color: #111111 !important;
    font-weight: 500 !important;
}


/* Fix generic links hitting buttons in light mode */
[data-theme="light"] body.srf-whmcs a.btn-vercel-primary,
[data-theme="light"] body.srf-whmcs .btn-vercel-primary {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #000000 !important;
}
[data-theme="light"] body.srf-whmcs a.btn-vercel-primary:hover,
[data-theme="light"] body.srf-whmcs .btn-vercel-primary:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #000000 !important;
}

/* Fix generic links hitting panel titles in light mode */
[data-theme="light"] body.srf-whmcs .panel-heading {
    background: transparent !important;
    color: #000000 !important;
    border-bottom: 1px solid #eaeaea !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    font-weight: 600 !important;
}
[data-theme="light"] body.srf-whmcs .panel-heading .panel-title {
    color: #000000 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}
[data-theme="light"] body.srf-whmcs .panel-title a {
    color: #000000 !important;
}

/* Fix the generic blue panel default heading */
[data-theme="light"] body.srf-whmcs .panel-default > .panel-heading {
    background-color: transparent !important;
    border-color: #eaeaea !important;
}

/* Fix the sub-categories list */
[data-theme="light"] body.srf-whmcs .nav-list > li > a {
    color: #666666 !important;
}
[data-theme="light"] body.srf-whmcs .nav-list > li > a:hover {
    color: #000000 !important;
    background-color: #f5f5f5 !important;
}


/* Restore proper padding for panels */
[data-theme="light"] body.srf-whmcs .panel-heading {
    padding: 15px 20px !important;
    border-bottom: 1px solid #eaeaea !important;
    background-color: transparent !important;
}
[data-theme="light"] body.srf-whmcs .panel-primary > .panel-heading,
[data-theme="light"] body.srf-whmcs .panel-info > .panel-heading,
[data-theme="light"] body.srf-whmcs .panel-default > .panel-heading,
[data-theme="light"] body.srf-whmcs .panel-success > .panel-heading,
[data-theme="light"] body.srf-whmcs .panel-warning > .panel-heading,
[data-theme="light"] body.srf-whmcs .panel-danger > .panel-heading {
    background-color: transparent !important;
    background-image: none !important;
    border-color: #eaeaea !important;
    color: #000000 !important;
}

/* Also handle badges (like the grey zero count) next to the categories */
[data-theme="light"] body.srf-whmcs .badge {
    background-color: #f5f5f5 !important;
    color: #666666 !important;
    border: 1px solid #e5e5e5 !important;
    font-weight: 500 !important;
}

/* The print icon (which was still blue) */
[data-theme="light"] body.srf-whmcs .hidden-print .fa,
[data-theme="light"] body.srf-whmcs .hidden-print .fas,
[data-theme="light"] body.srf-whmcs .hidden-print .far,
[data-theme="light"] body.srf-whmcs .hidden-print .glyphicon {
    color: #666666 !important;
}


/* VERCEL SIDEBAR OVERHAUL (Both Light & Dark) */
body.srf-whmcs .panel-sidebar {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.srf-whmcs .panel-sidebar .panel-heading {
    background: transparent !important;
    border: none !important;
    padding: 0 10px 10px 10px !important;
}

body.srf-whmcs .panel-sidebar .panel-heading .panel-title {
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    font-weight: 500 !important;
    color: #888888 !important; /* Muted subtitle color */
}

/* Hide toggle icon in heading if present as it looks clunky without borders */
body.srf-whmcs .panel-sidebar .panel-heading .pull-right {
    display: none !important; 
}

/* Sidebar List items - flat, borderless, subtle hover */
body.srf-whmcs .panel-sidebar .list-group {
    border: none !important;
    box-shadow: none !important;
}

body.srf-whmcs .panel-sidebar .list-group-item {
    background: transparent !important;
    border: none !important;
    padding: 8px 12px !important;
    margin-bottom: 2px !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

body.srf-whmcs .panel-sidebar a.list-group-item i,
body.srf-whmcs .panel-sidebar a.list-group-item .glyphicon {
    display: none !important; /* Hide standard icons to make it minimal */
}

/* Dark Mode specific */
body.srf-whmcs .panel-sidebar a.list-group-item {
    color: #a0a0a0 !important;
}
body.srf-whmcs .panel-sidebar a.list-group-item:hover {
    background: #1a1a1a !important;
    color: #ffffff !important;
}
body.srf-whmcs .panel-sidebar a.list-group-item.active {
    background: #ededed !important;
    color: #000000 !important;
    font-weight: 500 !important;
}

/* Light Mode specific */
[data-theme="light"] body.srf-whmcs .panel-sidebar .panel-heading .panel-title {
    color: #666666 !important;
}
[data-theme="light"] body.srf-whmcs .panel-sidebar a.list-group-item {
    color: #666666 !important;
    background: transparent !important;
}
[data-theme="light"] body.srf-whmcs .panel-sidebar a.list-group-item:hover {
    background: #f5f5f5 !important;
    color: #000000 !important;
}
[data-theme="light"] body.srf-whmcs .panel-sidebar a.list-group-item.active {
    background: #000000 !important;
    color: #ffffff !important;
    font-weight: 500 !important;
}

/* Sidebar Badges */
body.srf-whmcs .panel-sidebar .badge {
    float: none !important;
    background: #222222 !important;
    color: #888888 !important;
    border: none !important;
    font-size: 11px !important;
    padding: 3px 8px !important;
    border-radius: 12px !important;
}
[data-theme="light"] body.srf-whmcs .panel-sidebar .badge {
    background: #eaeaea !important;
    color: #666666 !important;
}
body.srf-whmcs .panel-sidebar a.list-group-item.active .badge {
    background: #000000 !important;
    color: #ffffff !important;
}
[data-theme="light"] body.srf-whmcs .panel-sidebar a.list-group-item.active .badge {
    background: #ffffff !important;
    color: #000000 !important;
}


/* Vercel-like Language Selector */
.language-selector {
    position: relative;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #a0a0a0;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 6px;
}
.language-selector span {
    display: none; /* Hide full text on small screens */
}
@media (min-width: 1024px) {
    .language-selector span {
        display: inline;
    }
}
.language-selector:hover {
    color: #ffffff;
    background: #111111;
}
[data-theme="light"] .language-selector:hover {
    color: #000000;
    background: #f5f5f5;
}

.language-selector .lang-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: -10px; /* Align specifically to right edge */
    width: 200px;
    background: #000000;
    border: 1px solid #333333;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.5);
    z-index: 1000;
    pointer-events: none;
    padding: 8px;
}
[data-theme="light"] .language-selector .lang-dropdown {
    background: #ffffff;
    border-color: #eaeaea;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.1);
}

/* Hover trigger for language dropdown */
.language-selector.open .lang-dropdown,
.language-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.lang-item {
    display: block;
    padding: 8px 12px;
    color: #a0a0a0;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.15s ease;
}
.lang-item:hover {
    background: #111111;
    color: #ffffff;
    text-decoration: none;
}
[data-theme="light"] .lang-item {
    color: #666666;
}
[data-theme="light"] .lang-item:hover {
    background: #f5f5f5;
    color: #000000;
}


/* Fix Lang Dropdown Grid formatting so it's not a giant single column */
.language-selector .nav-dropdown-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    max-height: 400px;
    overflow-y: auto;
    padding: 8px;
}
.language-selector .lang-dropdown {
    width: 320px;
}

/* Custom Webkit scrollbar for the long lang list */
.language-selector .nav-dropdown-inner::-webkit-scrollbar {
    width: 6px;
}
.language-selector .nav-dropdown-inner::-webkit-scrollbar-track {
    background: transparent;
}
.language-selector .nav-dropdown-inner::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 4px;
}
[data-theme="light"] .language-selector .nav-dropdown-inner::-webkit-scrollbar-thumb {
    background: #eaeaea;
}

/* VERCEL GLOBAL FORM STYLES (Light & Dark Mode) */

/* Modern inputs override for Dark Mode */
body.srf-whmcs .form-control,
body.srf-whmcs input[type="text"],
body.srf-whmcs input[type="email"],
body.srf-whmcs input[type="password"],
body.srf-whmcs input[type="number"],
body.srf-whmcs input[type="search"],
body.srf-whmcs input[type="tel"],
body.srf-whmcs select,
body.srf-whmcs textarea {
    background: transparent !important;
    border: 1px solid #333333 !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    opacity: 1 !important;
    box-shadow: none !important;
    transition: border 0.2s ease, color 0.2s ease !important;
}
body.srf-whmcs .form-control:focus,
body.srf-whmcs input[type="text"]:focus,
body.srf-whmcs input[type="email"]:focus,
body.srf-whmcs input[type="password"]:focus,
body.srf-whmcs select:focus,
body.srf-whmcs textarea:focus {
    border-color: #888888 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Modern inputs override for Light Mode */
[data-theme="light"] body.srf-whmcs .form-control,
[data-theme="light"] body.srf-whmcs input[type="text"],
[data-theme="light"] body.srf-whmcs input[type="email"],
[data-theme="light"] body.srf-whmcs input[type="password"],
[data-theme="light"] body.srf-whmcs input[type="number"],
[data-theme="light"] body.srf-whmcs input[type="search"],
[data-theme="light"] body.srf-whmcs input[type="tel"],
[data-theme="light"] body.srf-whmcs select,
[data-theme="light"] body.srf-whmcs textarea {
    background: #ffffff !important;
    border: 1px solid #eaeaea !important;
    color: #000000 !important;
}
[data-theme="light"] body.srf-whmcs .form-control:focus,
[data-theme="light"] body.srf-whmcs input[type="text"]:focus,
[data-theme="light"] body.srf-whmcs input[type="email"]:focus,
[data-theme="light"] body.srf-whmcs input[type="password"]:focus,
[data-theme="light"] body.srf-whmcs select:focus,
[data-theme="light"] body.srf-whmcs textarea:focus {
    border-color: #000000 !important;
    color: #000000 !important;
}

/* Smooth Vercel styling for placeholder text */
body.srf-whmcs input::placeholder,
body.srf-whmcs textarea::placeholder {
    color: #666666 !important;
    opacity: 1 !important;
}
[data-theme="light"] body.srf-whmcs input::placeholder,
[data-theme="light"] body.srf-whmcs textarea::placeholder {
    color: #888888 !important;
}

/* Base scrollbar hidden natively in Webkit, Vercel hides them entirely on page level usually */
body.srf-whmcs ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
body.srf-whmcs ::-webkit-scrollbar-track {
    background: transparent;
}
body.srf-whmcs ::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 4px;
}
[data-theme="light"] body.srf-whmcs ::-webkit-scrollbar-thumb {
    background: #eaeaea;
}

