/* MSD-SMM — Modern client theme (Glassmorphism / Dark / Animated) */

/* ─── Base ─── */
body.saas-app {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.9375rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.saas-app::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 10%, rgba(124, 58, 237, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 40% 30% at 50% 50%, rgba(236, 72, 153, 0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* ─── Animations ─── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(124, 58, 237, 0.15); }
    50% { box-shadow: 0 0 40px rgba(124, 58, 237, 0.3); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes border-glow {
    0%, 100% { border-color: rgba(124, 58, 237, 0.2); }
    50% { border-color: rgba(124, 58, 237, 0.5); }
}

/* ─── Sidebar ─── */
.saas-sidebar {
    width: var(--saas-sidebar-w, 260px);
    background: var(--gradient-sidebar);
    border-right: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.saas-sidebar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.3) 0%, transparent 50%, rgba(59, 130, 246, 0.3) 100%);
}

@media (min-width: 992px) {
    .saas-sidebar.offcanvas-lg {
        position: sticky;
        top: 0;
        height: 100vh;
        transform: none !important;
        visibility: visible !important;
        z-index: auto;
    }
}

@media (max-width: 991.98px) {
    .offcanvas.saas-sidebar,
    #clientSidebar.offcanvas {
        z-index: 1095 !important;
    }
    .saas-main { position: relative; z-index: 1; }
    .saas-topbar { position: relative; z-index: 1030 !important; }
    body.offcanvas-open .saas-topbar,
    body.offcanvas-open .client-notify-dropdown { z-index: 1020 !important; }
}

.sidebar-inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.5rem 1rem;
}

.sidebar-logo {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.04em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    margin-bottom: 2rem;
    display: block;
    animation: fadeIn 0.5s ease;
}

.sidebar-nav .nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.6rem 0.85rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.2rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.sidebar-nav .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: all var(--transition-normal);
    border-radius: var(--radius-md);
}

.sidebar-nav .nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-glass-hover);
    transform: translateX(4px);
}

.sidebar-nav .nav-link:hover::before {
    width: 3px;
    opacity: 1;
}

.sidebar-nav .nav-link.active {
    color: #fff;
    background: rgba(124, 58, 237, 0.15);
    font-weight: 600;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.sidebar-nav .nav-link.active::before {
    width: 3px;
    opacity: 1;
}

.sidebar-nav .nav-link.nav-admin {
    color: var(--accent-secondary);
}

.sidebar-nav .nav-link i {
    font-size: 1.1rem;
    width: 1.3rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.sidebar-nav .nav-link span {
    position: relative;
    z-index: 1;
}

.sidebar-footer {
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

.sidebar-user {
    color: var(--text-primary);
    font-weight: 600;
}

.text-muted-saas {
    color: var(--text-secondary) !important;
}

.sidebar-balance-value {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* ─── Main Content ─── */
.saas-main {
    background: var(--bg-secondary);
    min-width: 0;
    position: relative;
    z-index: 1;
}

.saas-topbar {
    background: rgba(15, 15, 35, 0.8);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    border-bottom: 1px solid var(--border-color);
    min-height: 64px;
    position: sticky;
    top: 0;
    z-index: 1030;
    animation: fadeIn 0.3s ease;
}

.saas-content {
    max-width: 1200px;
    animation: fadeInUp 0.4s ease;
}

/* ─── Cards ─── */
.saas-card {
    background: var(--bg-glass);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    padding: 1.75rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.saas-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.saas-card:hover {
    border-color: var(--border-color-hover);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.saas-card-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

/* ─── Stat Cards ─── */
.stat-card {
    background: var(--bg-glass);
    backdrop-filter: var(--blur-glass);
    -webkit-backdrop-filter: var(--blur-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    padding: 1.75rem 2rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.3), transparent);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(124, 58, 237, 0.2);
}

.stat-card-balance .stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card .stat-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.stat-card .stat-value {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ─── Welcome Banner ─── */
.welcome-banner {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 2rem 2.5rem;
    margin-bottom: 1.75rem;
    box-shadow: var(--shadow-glow-accent);
    position: relative;
    overflow: hidden;
}

.welcome-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.welcome-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

.welcome-banner h2 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin: 0 0 0.5rem;
    position: relative;
    z-index: 1;
}

.welcome-banner p {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* ─── Buttons ─── */
.btn-saas-primary {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    color: #fff !important;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    padding: 0.6rem 1.25rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-saas-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s;
}

.btn-saas-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
    background-position: right center;
    color: #fff !important;
}

.btn-saas-primary:hover::before {
    left: 100%;
}

.btn-saas-primary:active {
    transform: translateY(0);
}

.btn-saas-ghost {
    background: var(--bg-glass);
    color: var(--text-primary) !important;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.btn-saas-ghost:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-color-hover);
    color: var(--text-primary) !important;
    transform: translateY(-1px);
}

/* ─── Forms ─── */
.form-control, .form-select {
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    font-size: 0.9rem;
    padding: 0.65rem 0.9rem;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.form-control:focus, .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15), var(--shadow-glow);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

/* ─── Alerts ─── */
.alert-saas {
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    font-size: 0.875rem;
    padding: 0.85rem 1.15rem;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.3s ease;
}

.alert-saas-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #6ee7b7;
}

.alert-saas-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #fca5a5;
}

/* ─── API Block ─── */
.api-key-block {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.15rem 1.35rem;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    backdrop-filter: blur(10px);
}

.api-key-block code {
    color: var(--accent-color);
    word-break: break-all;
}

.empty-state {
    border-color: var(--border-color) !important;
    background: var(--bg-glass);
}

/* ─── Premium Order Form ─── */
.premium-order { max-width: 1200px; }

.premium-order-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    margin: 0 0 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.premium-order-subtitle {
    margin: 0;
    font-size: 1rem;
    color: var(--text-secondary);
}

.order-mode-tabs .nav-link.order-mode-tab {
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.25rem;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.order-mode-tabs .nav-link.order-mode-tab:hover {
    color: var(--text-primary);
    background: var(--bg-glass-hover);
    border-color: var(--border-color-hover);
}

.order-mode-tabs .nav-link.order-mode-tab.active {
    color: #fff;
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
}

.premium-order-card {
    background: var(--bg-glass);
    backdrop-filter: var(--blur-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.premium-order-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

.premium-order-card:hover {
    box-shadow: var(--shadow-glow);
    border-color: rgba(124, 58, 237, 0.15);
}

.premium-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.premium-input {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    transition: all var(--transition-normal);
}

.premium-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12), var(--shadow-glow);
    background: rgba(255, 255, 255, 0.05);
    outline: none;
}

.premium-input-quantity {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    padding: 1rem 1.15rem;
}

.premium-total-box {
    padding: 1.5rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-glow-accent);
    position: relative;
    overflow: hidden;
}

.premium-total-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

.premium-total-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.premium-total-value {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: #fff;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

.premium-total-value small {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
}

.premium-submit-btn {
    width: 100%;
    border-radius: var(--radius-lg);
    font-weight: 700;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.premium-input-bulk {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.8rem;
    line-height: 1.6;
    min-height: 14rem;
}

/* Dashboard summary bar */
.dashboard-summary-bar {
    padding: 0.85rem 1.25rem;
    background: var(--bg-glass);
    backdrop-filter: var(--blur-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.dashboard-summary-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.dashboard-summary-value {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.dashboard-summary-value-muted {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
    -webkit-text-fill-color: var(--text-secondary);
}

.dashboard-summary-divider {
    width: 1px;
    height: 2rem;
    background: var(--border-color);
    flex-shrink: 0;
}

.dashboard-summary-wheel-btn {
    border-radius: var(--radius-full);
    margin-left: auto;
    border-color: var(--accent-color);
    color: var(--accent-color);
    transition: all var(--transition-normal);
}

.dashboard-summary-wheel-btn:hover {
    background: var(--accent-color);
    color: #fff !important;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

/* Dripfeed */
#dripfeed-options {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
    margin-top: 0;
}

#dripfeed-options.is-visible {
    max-height: 14rem;
    opacity: 1;
    margin-top: 0.5rem;
}

.dripfeed-options-inner {
    padding: 1rem;
    background: rgba(124, 58, 237, 0.05);
    border: 1px dashed rgba(124, 58, 237, 0.25);
    border-radius: var(--radius-md);
}

/* ─── Custom Dropdown (Glassmorphism) ─── */
.custom-dropdown { position: relative; }

.custom-dropdown.is-disabled .custom-dropdown-trigger {
    opacity: 0.4;
    cursor: not-allowed;
}

.custom-dropdown-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    text-align: left;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.custom-dropdown-trigger:hover:not(:disabled) {
    border-color: var(--border-color-hover);
    background: rgba(255, 255, 255, 0.05);
}

.custom-dropdown-trigger:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}

.custom-dropdown-chevron {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: transform var(--transition-normal);
}

.custom-dropdown-panel.is-open .custom-dropdown-chevron,
.custom-dropdown-trigger[aria-expanded="true"] .custom-dropdown-chevron {
    transform: rotate(180deg);
}

.custom-dropdown-panel {
    position: absolute;
    z-index: 1050;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    background: rgba(20, 20, 50, 0.95);
    backdrop-filter: var(--blur-glass-heavy);
    -webkit-backdrop-filter: var(--blur-glass-heavy);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(124, 58, 237, 0.1);
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: all var(--transition-normal);
}

.custom-dropdown-panel.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.custom-dropdown-search-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
}

.custom-dropdown-search-wrap i { color: var(--text-muted); font-size: 0.9rem; }

.custom-dropdown-search {
    flex: 1;
    border: 0;
    background: transparent;
    font-size: 0.875rem;
    padding: 0.3rem 0;
    outline: none;
    color: var(--text-primary);
}

.custom-dropdown-list {
    list-style: none;
    margin: 0;
    padding: 0.4rem;
    max-height: 280px;
    overflow-y: auto;
}

.custom-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.custom-dropdown-item:hover {
    background: rgba(124, 58, 237, 0.1);
}

.custom-dropdown-item.is-selected {
    background: rgba(124, 58, 237, 0.15);
    color: #a78bfa;
}

.custom-dropdown-item i {
    font-size: 1.1rem;
    color: var(--accent-color);
    width: 1.25rem;
    text-align: center;
}

.service-item-name { font-weight: 600; }
.service-item-id { font-size: 0.7rem; color: var(--text-muted); }
.service-item-price {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-secondary);
    white-space: nowrap;
    margin-left: auto;
}

.custom-dropdown-empty {
    padding: 1.25rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ─── Service Hub ─── */
.premium-service-hub {
    min-height: 340px;
    background: var(--bg-glass);
    backdrop-filter: var(--blur-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.premium-service-hub::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.2), transparent);
}

.premium-service-hub-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 300px;
    color: var(--text-muted);
}

.premium-service-hub-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.3;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.premium-service-hub-inner { animation: fadeInUp 0.3s ease; }

.premium-hub-title {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 1.25rem;
}

.premium-hub-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.premium-hub-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.45rem 0.8rem;
    border-radius: var(--radius-full);
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.premium-hub-badge i { color: var(--accent-color); }

.premium-hub-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
    white-space: pre-wrap;
}

/* Service info panel */
.service-info-callout,
.service-info-panel {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(124, 58, 237, 0.15);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(59, 130, 246, 0.03) 100%);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-info-callout-inner,
.service-info-panel-inner {
    padding: 1.25rem 1.5rem;
}

.service-info-row i { color: var(--accent-color); }

.service-info-tile {
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.service-info-tile > i { color: var(--accent-color); }

.service-info-tile .tile-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.service-info-tile .tile-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.service-flag {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.service-info-panel-head {
    border-bottom-color: rgba(124, 58, 237, 0.1);
}

/* ─── Premium Balance Pill ─── */
.premium-balance-pill {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 1rem 1.35rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    min-width: 170px;
    backdrop-filter: blur(10px);
}

.premium-balance-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.premium-balance-value {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.premium-balance-spent {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* ─── Auth Pages ─── */
.auth-card {
    background: var(--bg-glass);
    backdrop-filter: var(--blur-glass-heavy);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    max-width: 440px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.5s ease;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
}

.auth-card-wide { max-width: 520px; }

.auth-card h1 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin: 0 0 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-sub {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.auth-footer-links {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
}

.auth-footer-links a {
    color: var(--accent-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.auth-footer-links a:hover { color: var(--accent-color); text-decoration: underline; }

/* ─── Client Orders ─── */
.client-orders__hero {
    margin-bottom: 1.5rem;
}

.client-orders__title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    margin: 0 0 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.client-orders__subtitle {
    color: var(--text-secondary);
    margin: 0 0 1.25rem;
}

.client-orders-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.35rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
}

.client-orders-tab {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.client-orders-tab:hover {
    color: var(--text-primary);
    background: var(--bg-glass-hover);
}

.client-orders-tab.is-active {
    color: #fff;
    background: var(--gradient-primary);
    box-shadow: 0 2px 12px rgba(124, 58, 237, 0.3);
}

.client-orders-tab__count {
    background: rgba(255,255,255,0.15);
    padding: 0.1rem 0.45rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
}

.client-orders-card {
    background: var(--bg-glass);
    backdrop-filter: var(--blur-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    animation: fadeInUp 0.4s ease;
}

.client-orders-search {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    gap: 0.75rem;
}

.client-orders-search__wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.client-orders-search__wrap:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.client-orders-search__wrap i { color: var(--text-muted); }

.client-orders-search__input {
    flex: 1;
    border: 0;
    background: transparent;
    font-size: 0.875rem;
    color: var(--text-primary);
    outline: none;
}

.client-orders-search__btn {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    padding: 0.6rem 1.25rem;
    transition: all var(--transition-normal);
}

.client-orders-search__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.client-orders-table {
    --bs-table-bg: transparent;
    --bs-table-hover-bg: rgba(124, 58, 237, 0.05);
    color: var(--text-primary);
    margin: 0;
}

.client-orders-table thead th {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    padding: 0.85rem 1rem;
}

.client-orders-table tbody td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    font-size: 0.875rem;
    vertical-align: middle;
}

.client-orders-table tbody tr {
    transition: background var(--transition-fast);
}

.client-orders-table tbody tr:hover {
    background: rgba(124, 58, 237, 0.04);
}

.client-orders-id__num {
    font-weight: 700;
    color: var(--accent-secondary);
}

.client-orders-copy {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.2rem;
    transition: color var(--transition-fast);
}

.client-orders-copy:hover { color: var(--accent-color); }

.client-orders-link { color: var(--accent-secondary); text-decoration: none; }
.client-orders-link:hover { color: var(--accent-color); text-decoration: underline; }

.client-order-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.client-order-badge.badge-pending { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }
.client-order-badge.badge-processing { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.client-order-badge.badge-in_progress { background: rgba(124, 58, 237, 0.15); color: #a78bfa; }
.client-order-badge.badge-completed { background: rgba(16, 185, 129, 0.15); color: #6ee7b7; }
.client-order-badge.badge-partial { background: rgba(251, 146, 60, 0.15); color: #fb923c; }
.client-order-badge.badge-canceled, .client-order-badge.badge-refunded { background: rgba(239, 68, 68, 0.15); color: #fca5a5; }

.client-order-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    background: rgba(124, 58, 237, 0.08);
    color: var(--accent-color);
    margin-left: 0.35rem;
}

.client-orders-actions {
    display: flex;
    gap: 0.35rem;
    justify-content: flex-end;
}

.client-orders-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
    background: var(--bg-glass);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.client-orders-btn:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-color-hover);
    transform: translateY(-1px);
}

.client-orders-btn--refill { border-color: rgba(16, 185, 129, 0.3); color: #6ee7b7; }
.client-orders-btn--refill:hover { background: rgba(16, 185, 129, 0.1); }
.client-orders-btn--cancel { border-color: rgba(239, 68, 68, 0.3); color: #fca5a5; }
.client-orders-btn--cancel:hover { background: rgba(239, 68, 68, 0.1); }
.client-orders-btn--buy { border-color: rgba(59, 130, 246, 0.3); color: #60a5fa; }
.client-orders-btn--buy:hover { background: rgba(59, 130, 246, 0.1); }

.client-orders-empty {
    padding: 4rem 2rem;
    text-align: center;
    color: var(--text-muted);
}

.client-orders-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.3;
    display: block;
}

.client-orders-modal .modal-content {
    background: rgba(20, 20, 50, 0.95);
    backdrop-filter: var(--blur-glass-heavy);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    color: var(--text-primary);
}

/* ─── Services Catalog ─── */
.services-public__header { margin-bottom: 2rem; }

.services-public__title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-public__lead {
    color: var(--text-secondary);
    font-size: 1rem;
}

.services-public__toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.services-public__search-wrap {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.services-public__search-wrap:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.services-public__search-wrap i { color: var(--text-muted); }

.premium-search-bar {
    flex: 1;
    border: 0;
    background: transparent;
    font-size: 0.9rem;
    color: var(--text-primary);
    outline: none;
}

.services-catalog-card {
    background: var(--bg-glass);
    backdrop-filter: var(--blur-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    animation: fadeInUp 0.4s ease;
}

.services-catalog-table {
    --bs-table-bg: transparent;
    --bs-table-hover-bg: rgba(124, 58, 237, 0.05);
    width: 100%;
    color: var(--text-primary);
}

.services-catalog-table thead th {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    padding: 0.85rem 1rem;
}

.services-catalog-table tbody td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    font-size: 0.875rem;
}

.category-separator td {
    background: rgba(124, 58, 237, 0.04) !important;
    padding: 0.65rem 1rem !important;
}

.category-separator__label {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--accent-color);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-id-badge {
    font-weight: 700;
    color: var(--accent-secondary);
    font-size: 0.8rem;
}

.service-price { color: var(--text-primary); font-weight: 600; }
.service-price--discounted { color: var(--accent-emerald); }
.service-price-original { color: var(--text-muted); }

.services-catalog-drip {
    font-size: 0.7rem;
    color: var(--accent-secondary);
    margin-left: 0.5rem;
}

.btn-favorite-toggle { transition: all var(--transition-fast); }
.btn-favorite-toggle:hover { transform: scale(1.2); }
.btn-favorite-toggle.is-favorite i { animation: pulse-glow 2s infinite; }

.btn-service-buy {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
    transition: all var(--transition-normal);
}

.btn-service-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    color: #fff;
}

.btn-service-view {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    padding: 0.4rem 0.85rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-service-view:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.services-public-modal .modal-content {
    background: rgba(20, 20, 50, 0.95);
    backdrop-filter: var(--blur-glass-heavy);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    color: var(--text-primary);
}

.services-modal-close-btn {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--radius-md);
}

.services-empty-state {
    padding: 4rem 2rem;
    text-align: center;
    color: var(--text-muted);
}

.services-filter-favorites {
    border-color: var(--border-color) !important;
    color: var(--text-secondary) !important;
    background: var(--bg-glass) !important;
    border-radius: var(--radius-full) !important;
}

.services-filter-favorites.active {
    background: var(--gradient-primary) !important;
    color: #fff !important;
    border-color: transparent !important;
}

/* ─── Add Funds ─── */
.add-funds-layout .saas-card {
    height: 100%;
}

.add-funds-history-table {
    max-height: 500px;
    overflow-y: auto;
}

.add-funds-bonus-hint {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.85rem;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.add-funds-coupon-hint {
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    margin-top: 0.4rem;
}

.add-funds-payment-summary {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}

.add-funds-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    font-size: 0.875rem;
}

.add-funds-summary-row--total {
    font-weight: 700;
    font-size: 1rem;
    border-bottom: none;
    padding-top: 0.75rem;
    margin-top: 0.25rem;
    border-top: 1px solid var(--border-color);
}

.payment-method-option {
    cursor: pointer;
    transition: all var(--transition-normal);
}

.payment-method-option:has(.payment-method-radio:checked) {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.15);
}

.payment-method-radio:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* ─── Pagination ─── */
.client-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 1.25rem;
}

.client-pagination .page-link {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.client-pagination .page-link:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-color-hover);
    color: var(--text-primary);
}

.client-pagination .page-item.active .page-link {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 2px 10px rgba(124, 58, 237, 0.3);
}

/* ─── Toast ─── */
.client-orders-toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.client-orders-toast {
    background: rgba(20, 20, 50, 0.95);
    backdrop-filter: var(--blur-glass-heavy);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.25rem;
    color: var(--text-primary);
    font-size: 0.875rem;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.3s ease;
}

/* ─── Profile / Misc ─── */
.profile-section {
    background: var(--bg-glass);
    backdrop-filter: var(--blur-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 1.75rem;
    margin-bottom: 1.25rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.profile-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
}

.profile-section:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
}

/* ─── Tables generic ─── */
.table {
    --bs-table-bg: transparent;
    --bs-table-hover-bg: rgba(124, 58, 237, 0.04);
    color: var(--text-primary);
}

.table thead th {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
}

.table td {
    border-bottom: 1px solid rgba(255,255,255,0.03);
    vertical-align: middle;
}

/* ─── Badge generic ─── */
.badge {
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: var(--radius-full);
}

/* ─── Modal generic ─── */
.modal-content {
    background: rgba(20, 20, 50, 0.95);
    backdrop-filter: var(--blur-glass-heavy);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    color: var(--text-primary);
}

.modal-header { border-bottom-color: var(--border-color); }
.modal-footer { border-top-color: var(--border-color); }

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* ─── Responsive ─── */
@media (max-width: 575.98px) {
    .dashboard-summary-wheel-btn {
        margin-left: 0;
        width: 100%;
    }
    .dashboard-summary-divider { display: none; }
    .premium-order-title { font-size: 1.5rem; }
    .services-public__toolbar { flex-direction: column; }
    .client-orders-tabs { border-radius: var(--radius-md); }
}

/* ─── Transition for page content ─── */
.saas-content > * {
    animation: fadeInUp 0.4s ease;
}

/* ═══════════════════════════════════════════════════════════════
   DARK THEME OVERRIDE — Sayfa-spesifik CSS renk düzeltmeleri
   ═══════════════════════════════════════════════════════════════ */

/* client-orders.css override */
.theme-modern .client-orders {
    --co-accent: #7c3aed;
    --co-accent-soft: rgba(124, 58, 237, 0.12);
    --co-surface: rgba(255, 255, 255, 0.04);
    --co-border: rgba(255, 255, 255, 0.08);
    --co-text: #f0f0ff;
    --co-muted: #8888aa;
    --co-hero: var(--gradient-primary);
}

.theme-modern .client-orders-card {
    background: var(--bg-glass);
    border-color: var(--border-color);
}

.theme-modern .client-orders-table tbody td {
    color: var(--text-primary);
    border-bottom-color: rgba(255,255,255,0.03);
}

.theme-modern .client-orders-table thead th {
    color: var(--text-muted);
    border-bottom-color: var(--border-color);
}

.theme-modern .client-orders-search__wrap {
    background: rgba(255,255,255,0.03);
    border-color: var(--border-color);
}

.theme-modern .client-orders-search__input {
    color: var(--text-primary);
}

.theme-modern .client-orders-date,
.theme-modern .client-orders-col-link,
.theme-modern .client-orders-charge {
    color: var(--text-primary);
}

.theme-modern .client-orders-service__name { color: var(--text-primary); }
.theme-modern .client-orders-service__hint { color: var(--accent-secondary); }

/* services-public.css override */
.theme-modern .services-public__title {
    color: var(--text-primary);
}

.theme-modern .services-public__lead {
    color: var(--text-secondary);
}

.theme-modern .services-catalog-table tbody td {
    color: var(--text-primary);
    border-bottom-color: rgba(255,255,255,0.03);
}

.theme-modern .services-catalog-table thead th {
    color: var(--text-muted);
    border-bottom-color: var(--border-color);
}

.theme-modern .services-public__search-wrap {
    background: rgba(255,255,255,0.03);
    border-color: var(--border-color);
}

.theme-modern .premium-search-bar {
    color: var(--text-primary);
    background: transparent;
}

.theme-modern .services-public__search-wrap .bi-search {
    color: var(--text-muted);
}

.theme-modern .services-catalog-card {
    background: var(--bg-glass);
    border-color: var(--border-color);
}

.theme-modern .service-row td { color: var(--text-primary); }
.theme-modern .service-price { color: var(--text-primary); }

.theme-modern .form-select {
    background-color: rgba(255,255,255,0.03);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.theme-modern .form-select option {
    background: #1a1a3e;
    color: var(--text-primary);
}

/* tickets.css override */
.theme-modern .ticket-history-item {
    border-color: var(--border-color);
    color: var(--text-primary);
}

.theme-modern .ticket-history-item:hover {
    background-color: var(--bg-glass-hover);
    border-color: var(--accent-color);
}

.theme-modern .ticket-bubble {
    color: var(--text-primary);
}

.theme-modern .ticket-bubble--user .ticket-bubble {
    background: rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.2);
}

.theme-modern .ticket-bubble--admin .ticket-bubble {
    background: var(--bg-glass);
    border-color: var(--border-color);
}

/* add-funds.css override */
.theme-modern .add-funds-payment-summary {
    background: var(--bg-glass);
    border-color: var(--border-color);
}

.theme-modern .add-funds-summary-row {
    color: var(--text-primary);
}

.theme-modern .add-funds-summary-row dt { color: var(--text-secondary); }
.theme-modern .add-funds-summary-row dd { color: var(--text-primary); font-weight: 600; }

.theme-modern .add-funds-history .table td {
    color: var(--text-primary);
    border-bottom-color: rgba(255,255,255,0.03);
}

.theme-modern .add-funds-history .table th {
    color: var(--text-muted);
    border-bottom-color: var(--border-color);
}

.theme-modern .add-funds-coupon-hint.is-valid { color: #6ee7b7; }
.theme-modern .add-funds-coupon-hint.is-invalid { color: #fca5a5; }
.theme-modern .add-funds-bonus-hint { color: #6ee7b7; }

/* client-order.css override (single order detail) */
.theme-modern .order-detail-card {
    background: var(--bg-glass);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.theme-modern .order-detail-label { color: var(--text-secondary); }
.theme-modern .order-detail-value { color: var(--text-primary); }

/* profile sections */
.theme-modern .profile-section,
.theme-modern .profile-card {
    background: var(--bg-glass);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.theme-modern .profile-label { color: var(--text-secondary); }
.theme-modern .profile-value { color: var(--text-primary); }

/* announcements */
.theme-modern .announcement-card {
    background: var(--bg-glass);
    border-color: var(--border-color);
    color: var(--text-primary);
}

/* referrals */
.theme-modern .referral-stat-card {
    background: var(--bg-glass);
    border-color: var(--border-color);
    color: var(--text-primary);
}

/* wheel */
.theme-modern .wheel-container {
    background: var(--bg-glass);
    border-color: var(--border-color);
}

/* child panels */
.theme-modern .child-panel-card {
    background: var(--bg-glass);
    border-color: var(--border-color);
    color: var(--text-primary);
}

/* Generic overrides for all page-specific cards */
.theme-modern .saas-card h2,
.theme-modern .saas-card h3,
.theme-modern .saas-card h4,
.theme-modern .saas-card h5,
.theme-modern .saas-card h6 {
    color: var(--text-primary);
}

.theme-modern .saas-card p {
    color: var(--text-secondary);
}

.theme-modern .saas-card label {
    color: var(--text-secondary);
}

.theme-modern .saas-card .form-text {
    color: var(--text-muted);
}

/* Bootstrap overrides for dark theme */
.theme-modern .text-muted { color: var(--text-muted) !important; }
.theme-modern .text-dark { color: var(--text-primary) !important; }

.theme-modern .table > :not(caption) > * > * {
    background-color: transparent;
    color: var(--text-primary);
}

.theme-modern .badge.bg-success-subtle { background: rgba(16,185,129,0.15) !important; color: #6ee7b7 !important; }
.theme-modern .badge.bg-danger-subtle { background: rgba(239,68,68,0.15) !important; color: #fca5a5 !important; }
.theme-modern .badge.bg-warning-subtle { background: rgba(251,191,36,0.15) !important; color: #fbbf24 !important; }
.theme-modern .badge.bg-info-subtle { background: rgba(59,130,246,0.15) !important; color: #60a5fa !important; }
.theme-modern .badge.bg-primary-subtle { background: rgba(124,58,237,0.15) !important; color: #a78bfa !important; }

.theme-modern .badge.bg-success { background: rgba(16,185,129,0.2) !important; color: #6ee7b7 !important; }
.theme-modern .badge.bg-danger { background: rgba(239,68,68,0.2) !important; color: #fca5a5 !important; }
.theme-modern .badge.bg-warning { background: rgba(251,191,36,0.2) !important; color: #fbbf24 !important; }
.theme-modern .badge.bg-info { background: rgba(59,130,246,0.2) !important; color: #60a5fa !important; }
.theme-modern .badge.bg-primary { background: rgba(124,58,237,0.2) !important; color: #a78bfa !important; }
.theme-modern .badge.bg-secondary { background: rgba(255,255,255,0.1) !important; color: var(--text-secondary) !important; }

.theme-modern .badge.bg-success-subtle.text-success-emphasis { color: #6ee7b7 !important; }
.theme-modern .badge.bg-info-subtle.text-info-emphasis { color: #60a5fa !important; }

.theme-modern .btn-outline-primary {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.theme-modern .btn-outline-primary:hover {
    background: var(--accent-color);
    color: #fff;
}

.theme-modern .btn-outline-secondary {
    color: var(--text-secondary);
    border-color: var(--border-color);
}

.theme-modern .btn-outline-secondary:hover {
    background: var(--bg-glass-hover);
    color: var(--text-primary);
    border-color: var(--border-color-hover);
}

.theme-modern .btn-outline-dark {
    color: var(--text-primary);
    border-color: var(--border-color);
}

.theme-modern .btn-outline-dark:hover {
    background: var(--bg-glass-hover);
    color: var(--text-primary);
}

.theme-modern .btn-outline-danger {
    color: #fca5a5;
    border-color: rgba(239,68,68,0.3);
}

.theme-modern .btn-outline-danger:hover {
    background: rgba(239,68,68,0.15);
    color: #fca5a5;
}

.theme-modern .btn-danger {
    background: rgba(239,68,68,0.2);
    border-color: rgba(239,68,68,0.3);
    color: #fca5a5;
}

.theme-modern .btn-danger:hover {
    background: rgba(239,68,68,0.3);
    color: #fff;
}

.theme-modern .alert-success {
    background: rgba(16,185,129,0.1);
    border-color: rgba(16,185,129,0.2);
    color: #6ee7b7;
}

.theme-modern .alert-danger {
    background: rgba(239,68,68,0.1);
    border-color: rgba(239,68,68,0.2);
    color: #fca5a5;
}

.theme-modern .alert-warning {
    background: rgba(251,191,36,0.1);
    border-color: rgba(251,191,36,0.2);
    color: #fbbf24;
}

.theme-modern .alert-info {
    background: rgba(59,130,246,0.1);
    border-color: rgba(59,130,246,0.2);
    color: #60a5fa;
}

.theme-modern .form-check-input {
    background-color: rgba(255,255,255,0.05);
    border-color: var(--border-color);
}

.theme-modern .form-check-input:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.theme-modern .input-group-text {
    background: rgba(255,255,255,0.03);
    border-color: var(--border-color);
    color: var(--text-secondary);
}

.theme-modern code {
    color: var(--accent-secondary);
}

.theme-modern .text-danger { color: #fca5a5 !important; }
.theme-modern .text-success { color: #6ee7b7 !important; }
.theme-modern .text-warning { color: #fbbf24 !important; }
.theme-modern .text-info { color: #60a5fa !important; }
.theme-modern .text-primary { color: #a78bfa !important; }

.theme-modern hr {
    border-color: var(--border-color);
}

.theme-modern .border { border-color: var(--border-color) !important; }
.theme-modern .border-top { border-top-color: var(--border-color) !important; }
.theme-modern .border-bottom { border-bottom-color: var(--border-color) !important; }

/* ═══════════════════════════════════════════════════════════════
   LANDING PAGE — Genişletilmiş bölümler
   ═══════════════════════════════════════════════════════════════ */

/* Stats counter section */
.landing-stats {
    padding: 3rem 0;
    position: relative;
}

.landing-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.landing-stat-item {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.landing-stat-item:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 58, 237, 0.2);
    box-shadow: var(--shadow-glow);
}

.landing-stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.landing-stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* How it works section */
.landing-how {
    padding: 4rem 0;
}

.landing-how-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    text-align: center;
    margin-bottom: 0.75rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-how-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.05rem;
}

.landing-how-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.landing-step {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.landing-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

.landing-step-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.landing-step-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Pricing / Services preview */
.landing-pricing {
    padding: 4rem 0;
}

.landing-pricing-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    text-align: center;
    margin-bottom: 0.75rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-pricing-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.05rem;
}

.landing-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.landing-pricing-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.landing-pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.landing-pricing-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 58, 237, 0.2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 30px rgba(124, 58, 237, 0.1);
}

.landing-pricing-card:hover::before { opacity: 1; }

.landing-pricing-card.featured {
    border-color: rgba(124, 58, 237, 0.3);
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.15);
}

.landing-pricing-card.featured::before { opacity: 1; }

.landing-pricing-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--gradient-primary);
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.25);
}

.landing-pricing-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.landing-pricing-price {
    font-size: 2.25rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    margin-bottom: 0.25rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-pricing-period {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.landing-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    text-align: left;
}

.landing-pricing-features li {
    padding: 0.4rem 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.landing-pricing-features li i {
    color: var(--accent-emerald);
    font-size: 0.9rem;
}

.landing-pricing-features li.disabled {
    color: var(--text-muted);
    text-decoration: line-through;
}

.landing-pricing-features li.disabled i {
    color: var(--text-muted);
}

/* Testimonials */
.landing-testimonials {
    padding: 4rem 0;
}

.landing-testimonials-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.landing-testimonial {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: all var(--transition-normal);
}

.landing-testimonial:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 58, 237, 0.15);
    box-shadow: var(--shadow-glow);
}

.landing-testimonial-stars {
    color: #fbbf24;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.landing-testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.landing-testimonial-author {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.landing-testimonial-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* FAQ */
.landing-faq {
    padding: 4rem 0;
}

.landing-faq-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-faq-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.landing-faq-item {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.landing-faq-item:hover {
    border-color: var(--border-color-hover);
}

.landing-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: color var(--transition-fast);
}

.landing-faq-question:hover { color: var(--accent-color); }

.landing-faq-question i {
    transition: transform var(--transition-normal);
    color: var(--text-muted);
}

.landing-faq-item.is-open .landing-faq-question i {
    transform: rotate(180deg);
    color: var(--accent-color);
}

.landing-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.landing-faq-item.is-open .landing-faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.25rem;
}

.landing-faq-answer p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* CTA Section */
.landing-cta {
    padding: 5rem 0;
    text-align: center;
}

.landing-cta-box {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
    border-radius: var(--radius-xl);
    padding: 4rem 3rem;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glow-accent);
}

.landing-cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.landing-cta-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #fff;
    margin: 0 0 0.75rem;
    position: relative;
    z-index: 1;
}

.landing-cta-text {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin: 0 0 2rem;
    position: relative;
    z-index: 1;
}

.landing-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2.5rem;
    background: #fff;
    color: #7c3aed;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--transition-normal);
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.landing-cta-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    color: #7c3aed;
}

/* Platforms / Trust logos */
.landing-platforms {
    padding: 3rem 0;
    text-align: center;
}

.landing-platforms-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.landing-platforms-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    opacity: 0.5;
}

.landing-platforms-logos span {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: -0.02em;
}

/* Responsive landing */
@media (max-width: 767.98px) {
    .landing-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .landing-how-steps { grid-template-columns: repeat(2, 1fr); }
    .landing-pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
    .landing-pricing-card.featured { transform: none; }
    .landing-testimonials-grid { grid-template-columns: 1fr; }
    .landing-cta-box { padding: 3rem 1.5rem; }
    .landing-cta-title { font-size: 1.5rem; }
}

@media (max-width: 575.98px) {
    .landing-stats-grid { grid-template-columns: 1fr; }
    .landing-how-steps { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════
   NUCLEAR DARK OVERRIDE — !important ile tüm default CSS ezilir
   ═══════════════════════════════════════════════════════════════ */

/* -- Genel renk düzeltmeleri -- */
.theme-modern body.saas-app,
.theme-modern .saas-app {
    background: #0a0a1a !important;
    color: #f0f0ff !important;
}

.theme-modern a { color: #60a5fa !important; }
.theme-modern a:hover { color: #818cf8 !important; }

/* -- Landing CSS override (landing.css) -- */
.theme-modern .hero-badge {
    background: rgba(124, 58, 237, 0.12) !important;
    border-color: rgba(124, 58, 237, 0.25) !important;
    color: #a78bfa !important;
}

.theme-modern .hero-title {
    background: var(--gradient-primary) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.theme-modern .hero-lead { color: #8888aa !important; }

.theme-modern .feature-card {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
    color: #f0f0ff !important;
}

.theme-modern .feature-card:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 30px rgba(124, 58, 237, 0.1) !important;
    border-color: rgba(124, 58, 237, 0.2) !important;
}

.theme-modern .feature-icon {
    background: var(--gradient-primary) !important;
    color: #fff !important;
}

.theme-modern .feature-card h3 { color: #f0f0ff !important; }
.theme-modern .feature-card p { color: #8888aa !important; }

.theme-modern .btn-saas-primary {
    background: var(--gradient-primary) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3) !important;
}

.theme-modern .btn-saas-primary:hover {
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4) !important;
    color: #fff !important;
}

.theme-modern .btn-saas-ghost {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #f0f0ff !important;
}

.theme-modern .btn-saas-ghost:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #f0f0ff !important;
}

.theme-modern .auth-card {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #f0f0ff !important;
}

.theme-modern .auth-card h1 {
    background: var(--gradient-primary) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.theme-modern .auth-sub { color: #8888aa !important; }
.theme-modern .auth-footer-links a { color: #60a5fa !important; }

.theme-modern .form-control {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #f0f0ff !important;
}

.theme-modern .form-control:focus {
    border-color: #7c3aed !important;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.theme-modern .form-control::placeholder { color: #555577 !important; }
.theme-modern .form-label { color: #8888aa !important; }
.theme-modern .form-text { color: #555577 !important; }

.theme-modern .alert-saas-success {
    background: rgba(16, 185, 129, 0.1) !important;
    border-color: rgba(16, 185, 129, 0.25) !important;
    color: #6ee7b7 !important;
}

.theme-modern .alert-saas-danger {
    background: rgba(239, 68, 68, 0.1) !important;
    border-color: rgba(239, 68, 68, 0.25) !important;
    color: #fca5a5 !important;
}

/* -- client-orders.css override -- */
.theme-modern .client-orders {
    --co-accent: #7c3aed !important;
    --co-accent-soft: rgba(124, 58, 237, 0.12) !important;
    --co-surface: rgba(255, 255, 255, 0.04) !important;
    --co-border: rgba(255, 255, 255, 0.08) !important;
    --co-text: #f0f0ff !important;
    --co-muted: #8888aa !important;
    --co-hero: var(--gradient-primary) !important;
}

.theme-modern .client-orders__hero {
    background: var(--gradient-primary) !important;
}

.theme-modern .client-orders__title {
    background: none !important;
    -webkit-text-fill-color: #fff !important;
    color: #fff !important;
}

.theme-modern .client-orders__subtitle { color: rgba(255,255,255,0.85) !important; }

.theme-modern .client-orders-card {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
}

.theme-modern .client-orders-search {
    border-bottom-color: rgba(255,255,255,0.06) !important;
}

.theme-modern .client-orders-search__wrap {
    background: rgba(255,255,255,0.03) !important;
    border-color: rgba(255,255,255,0.08) !important;
}

.theme-modern .client-orders-search__input {
    background: transparent !important;
    color: #f0f0ff !important;
}

.theme-modern .client-orders-search__input:focus {
    background: rgba(255,255,255,0.05) !important;
    border-color: #7c3aed !important;
}

.theme-modern .client-orders-search__btn {
    background: var(--gradient-primary) !important;
}

.theme-modern .client-orders-table thead th {
    background: rgba(255,255,255,0.02) !important;
    color: #555577 !important;
    border-bottom-color: rgba(255,255,255,0.06) !important;
}

.theme-modern .client-orders-table tbody td {
    color: #f0f0ff !important;
    border-bottom-color: rgba(255,255,255,0.03) !important;
}

.theme-modern .client-orders-table tbody tr:hover td {
    background: rgba(124, 58, 237, 0.05) !important;
}

.theme-modern .client-orders-date { color: #8888aa !important; }
.theme-modern .client-orders-link { color: #60a5fa !important; }
.theme-modern .client-orders-charge { color: #f0f0ff !important; }
.theme-modern .client-orders-service__name { color: #f0f0ff !important; }
.theme-modern .client-orders-service__hint { color: #60a5fa !important; }
.theme-modern .client-orders-id__num { color: #a78bfa !important; }
.theme-modern .client-orders-copy { color: #a78bfa !important; }

.theme-modern .client-orders-tab {
    color: rgba(255,255,255,0.7) !important;
    background: rgba(255,255,255,0.08) !important;
}

.theme-modern .client-orders-tab:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.15) !important;
}

.theme-modern .client-orders-tab.is-active {
    background: #fff !important;
    color: #7c3aed !important;
}

.theme-modern .client-orders-tab__count {
    background: rgba(124, 58, 237, 0.12) !important;
}

.theme-modern .client-orders-tab.is-active .client-orders-tab__count {
    background: rgba(124, 58, 237, 0.12) !important;
    color: #7c3aed !important;
}

.theme-modern .client-orders-btn {
    background: rgba(255,255,255,0.04) !important;
    border-color: rgba(255,255,255,0.1) !important;
    color: #f0f0ff !important;
}

.theme-modern .client-orders-btn--buy {
    background: rgba(59, 130, 246, 0.1) !important;
    border-color: rgba(59, 130, 246, 0.25) !important;
    color: #60a5fa !important;
}

.theme-modern .client-orders-btn--refill {
    background: rgba(16, 185, 129, 0.1) !important;
    border-color: rgba(16, 185, 129, 0.25) !important;
    color: #6ee7b7 !important;
}

.theme-modern .client-orders-btn--cancel {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: rgba(239, 68, 68, 0.25) !important;
    color: #fca5a5 !important;
    box-shadow: none !important;
}

.theme-modern .client-orders-col-actions {
    background: rgba(10, 10, 26, 0.95) !important;
    box-shadow: -4px 0 8px rgba(0,0,0,0.3) !important;
}

.theme-modern .client-orders-empty { color: #555577 !important; }

.theme-modern .client-orders-modal__content {
    background: rgba(20, 20, 50, 0.95) !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #f0f0ff !important;
}

.theme-modern .client-order-type-badge--dripfeed {
    background: rgba(14, 165, 233, 0.12) !important;
    color: #38bdf8 !important;
}

.theme-modern .client-order-type-badge--bulk {
    background: rgba(124, 58, 237, 0.12) !important;
    color: #a78bfa !important;
}

/* -- rank-benefits.css override -- */
.theme-modern .rank-benefits-card {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #f0f0ff !important;
}

.theme-modern .rank-benefits-badge {
    background: color-mix(in srgb, var(--rank-color, #7c3aed) 15%, transparent) !important;
    border-color: color-mix(in srgb, var(--rank-color, #7c3aed) 30%, rgba(255,255,255,0.1)) !important;
}

.theme-modern .rank-benefits-badge__name { color: #f0f0ff !important; }
.theme-modern .rank-benefits-discount { color: #f0f0ff !important; }

.theme-modern .rank-benefits-progress__bar {
    background: rgba(255,255,255,0.08) !important;
}

/* -- services-public.css override -- */
.theme-modern .services-catalog-table tbody td { color: #f0f0ff !important; }
.theme-modern .services-catalog-table thead th { color: #555577 !important; }
.theme-modern .service-price { color: #f0f0ff !important; }
.theme-modern .service-price--discounted { color: #6ee7b7 !important; }
.theme-modern .service-price-original { color: #555577 !important; }
.theme-modern .service-id-badge { color: #60a5fa !important; }

/* -- tickets.css override -- */
.theme-modern .ticket-history-item {
    border-color: rgba(255,255,255,0.08) !important;
    color: #f0f0ff !important;
}

.theme-modern .ticket-history-item:hover {
    background: rgba(255,255,255,0.05) !important;
    border-color: #7c3aed !important;
}

.theme-modern .ticket-bubble {
    color: #f0f0ff !important;
}

/* -- add-funds.css override -- */
.theme-modern .add-funds-payment-summary {
    background: rgba(255,255,255,0.04) !important;
    border-color: rgba(255,255,255,0.08) !important;
}

.theme-modern .add-funds-summary-row { color: #f0f0ff !important; }
.theme-modern .add-funds-summary-row dt { color: #8888aa !important; }
.theme-modern .add-funds-summary-row dd { color: #f0f0ff !important; }
.theme-modern .add-funds-coupon-hint.is-valid { color: #6ee7b7 !important; }
.theme-modern .add-funds-coupon-hint.is-invalid { color: #fca5a5 !important; }
.theme-modern .add-funds-bonus-hint { color: #6ee7b7 !important; }

/* -- profile-api.css override -- */
.theme-modern .profile-api-key-display {
    background: rgba(255,255,255,0.04) !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #f0f0ff !important;
}

/* -- wheel.css override -- */
.theme-modern .wheel-container,
.theme-modern .wheel-section {
    background: rgba(255,255,255,0.04) !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #f0f0ff !important;
}

/* -- client-child-panels.css override -- */
.theme-modern .child-panel-card {
    background: rgba(255,255,255,0.04) !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #f0f0ff !important;
}

/* -- client-referrals.css override -- */
.theme-modern .referral-stat-card,
.theme-modern .referral-card {
    background: rgba(255,255,255,0.04) !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #f0f0ff !important;
}

/* -- client-updates.css override -- */
.theme-modern .update-card {
    background: rgba(255,255,255,0.04) !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #f0f0ff !important;
}

/* -- client-activity.css override -- */
.theme-modern .activity-card {
    background: rgba(255,255,255,0.04) !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #f0f0ff !important;
}

/* -- Bootstrap element overrides -- */
.theme-modern .table { color: #f0f0ff !important; }

.theme-modern .table > :not(caption) > * > * {
    background: transparent !important;
    color: #f0f0ff !important;
    border-bottom-color: rgba(255,255,255,0.03) !important;
}

.theme-modern .table-hover > tbody > tr:hover > * {
    background: rgba(124, 58, 237, 0.05) !important;
    color: #f0f0ff !important;
}

.theme-modern .form-select {
    background-color: rgba(255,255,255,0.03) !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #f0f0ff !important;
}

.theme-modern .form-select option {
    background: #1a1a3e !important;
    color: #f0f0ff !important;
}

.theme-modern .form-check-input {
    background-color: rgba(255,255,255,0.05) !important;
    border-color: rgba(255,255,255,0.15) !important;
}

.theme-modern .form-check-input:checked {
    background-color: #7c3aed !important;
    border-color: #7c3aed !important;
}

.theme-modern .form-check-label { color: #f0f0ff !important; }

.theme-modern .input-group-text {
    background: rgba(255,255,255,0.03) !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #8888aa !important;
}

.theme-modern .badge { color: #f0f0ff !important; }

.theme-modern code { color: #60a5fa !important; }

.theme-modern hr { border-color: rgba(255,255,255,0.08) !important; }

.theme-modern .text-muted { color: #555577 !important; }
.theme-modern .text-muted-saas { color: #8888aa !important; }
.theme-modern .text-dark { color: #f0f0ff !important; }
.theme-modern .text-body { color: #f0f0ff !important; }

.theme-modern strong, .theme-modern .fw-semibold, .theme-modern .fw-bold { color: #f0f0ff; }

.theme-modern .card {
    background: rgba(255,255,255,0.04) !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #f0f0ff !important;
}

.theme-modern .card-body { color: #f0f0ff !important; }

.theme-modern .offcanvas {
    background: #0f0f23 !important;
    color: #f0f0ff !important;
}

.theme-modern .offcanvas-backdrop { background: rgba(0,0,0,0.6) !important; }

.theme-modern .btn-close { filter: invert(1) grayscale(100%) brightness(200%) !important; }

.theme-modern .dropdown-menu {
    background: rgba(20, 20, 50, 0.95) !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #f0f0ff !important;
}

.theme-modern .dropdown-item { color: #f0f0ff !important; }
.theme-modern .dropdown-item:hover {
    background: rgba(124, 58, 237, 0.1) !important;
    color: #f0f0ff !important;
}

.theme-modern .modal-content {
    background: rgba(20, 20, 50, 0.95) !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #f0f0ff !important;
}

.theme-modern .pagination .page-link {
    background: rgba(255,255,255,0.04) !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #8888aa !important;
}

.theme-modern .pagination .page-item.active .page-link {
    background: var(--gradient-primary) !important;
    border-color: transparent !important;
    color: #fff !important;
}

.theme-modern .form-floating > label { color: #555577 !important; }
.theme-modern .form-floating > .form-control:focus ~ label,
.theme-modern .form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: #8888aa !important;
}

.theme-modern .nav-pills .nav-link { color: #8888aa !important; }
.theme-modern .nav-pills .nav-link.active { color: #fff !important; }

.theme-modern .accordion-button {
    background: rgba(255,255,255,0.04) !important;
    color: #f0f0ff !important;
    border-color: rgba(255,255,255,0.08) !important;
}

.theme-modern .accordion-button:not(.collapsed) {
    background: rgba(124, 58, 237, 0.08) !important;
    color: #a78bfa !important;
}

.theme-modern .accordion-body {
    background: rgba(255,255,255,0.02) !important;
    color: #f0f0ff !important;
}

/* Override any remaining light backgrounds */
.theme-modern .bg-white { background: rgba(255,255,255,0.04) !important; }
.theme-modern .bg-light { background: rgba(255,255,255,0.03) !important; }
.theme-modern .bg-body { background: #0a0a1a !important; }
.theme-modern .bg-body-secondary { background: rgba(255,255,255,0.03) !important; }
.theme-modern .border-light { border-color: rgba(255,255,255,0.06) !important; }

.theme-modern .shadow-sm { box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important; }
.theme-modern .shadow { box-shadow: 0 4px 24px rgba(0,0,0,0.4) !important; }
