/* 
 * Portal Premium Stylesheet - Visiodecor
 * Sleek Dark Mode with Purple/Pink & Gold Accents
 */

:root {
    /* Renk Paleti (Doku Standartları) */
    --primary: #8b5cf6;
    --primary-hover: #7c3aed;
    --secondary: #ec4899;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* Arka Planlar (Doku Standartları) */
    --bg-dark: #09090b;
    --bg-panel: rgba(24, 24, 27, 0.7);
    --bg-nav: rgba(9, 9, 11, 0.85);
    --glass: rgba(255, 255, 255, 0.04);
    --glass-hover: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.08);

    /* Metin Renkleri */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Portal Eşlemeleri */
    --bg-primary: var(--bg-dark);
    --bg-secondary: rgba(24, 24, 27, 0.9);
    --bg-card: var(--bg-panel);
    --border-color: var(--glass-border);
    --gold: var(--warning);
    --gold-hover: #d97706;
    --error: var(--danger);

    /* Kenarlık Yarıçapı - Standart Ölçek */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    /* Boşluklar - Standart Ölçek */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 15px;
    --spacing-lg: 20px;
    --spacing-xl: 30px;

    /* Gölgeler */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.2);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.4);

    /* Animasyonlar */
    --transition: all 0.3s ease;
}

/* LIGHT THEME OVERRIDES */
:root[data-theme="light"] {
    --bg-dark: #f0f4f8;
    --bg-panel: #ffffff;
    --bg-nav: rgba(255, 255, 255, 0.9);
    --glass: #ffffff;
    --glass-hover: #f8fafc;
    --glass-border: rgba(0, 0, 0, 0.08);
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    
    /* Portal light overrides */
    --bg-secondary: #e2e8f0;
    --gold-hover: #b45309;
}

:root[data-theme="light"] .hero-title {
    background: linear-gradient(135deg, #09090b 0%, #4f46e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

:root[data-theme="light"] .plan-name.standard { color: #6d28d9; }
:root[data-theme="light"] .plan-name.pro { color: #db2777; }
:root[data-theme="light"] .plan-name.ultra { color: #1d4ed8; }

:root[data-theme="light"] .vr-promo-card {
    background: var(--bg-panel) !important;
    border-color: var(--glass-border) !important;
    box-shadow: var(--shadow-md) !important;
}

:root[data-theme="light"] .vr-title {
    color: #d97706 !important;
}

:root[data-theme="light"] .buy-credits-card {
    background: var(--bg-panel) !important;
    border-color: var(--glass-border) !important;
    box-shadow: var(--shadow-md) !important;
}

:root[data-theme="light"] .buy-credits-title {
    color: #d97706 !important;
}

:root[data-theme="light"] .btn-outline {
    border-color: rgba(0, 0, 0, 0.2);
    color: var(--text-primary);
}
:root[data-theme="light"] .btn-outline:hover {
    background: rgba(0, 0, 0, 0.05);
}

:root[data-theme="light"] .btn-secondary {
    background: rgba(0, 0, 0, 0.05);
}
:root[data-theme="light"] .btn-secondary:hover {
    background: rgba(0, 0, 0, 0.1);
}

:root[data-theme="light"] .bg-glow {
    opacity: 0.25;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Outfit', 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}


/* Background Ambient Glows */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(236, 72, 153, 0.05) 50%, rgba(0,0,0,0) 100%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}
.bg-glow.top-left {
    top: -200px;
    left: -200px;
}
.bg-glow.bottom-right {
    bottom: -200px;
    right: -200px;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Nav */
header {
    padding: 40px 0 20px 0;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.logo-img {
    height: 35px;
}

.logo-img-auth {
    height: 50px;
    margin-bottom: 20px;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Navigation Bar for Pages */
.navbar {
    background: var(--bg-nav);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary);
}

.nav-username {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--glass);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: var(--glass-hover);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.btn-gold {
    background: var(--gold);
    color: #09090b;
    font-weight: 700;
    border: 1px solid transparent;
}

.btn-gold:hover {
    background: var(--gold-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    background: var(--glass-hover);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

.btn-danger:hover {
    background: var(--danger);
    color: white;
    transform: translateY(-1px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

.theme-toggle-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-secondary);
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    background: transparent;
    font-size: 1.1rem;
}
.theme-toggle-btn:hover {
    background: var(--glass-hover);
    color: var(--text-primary);
    border-color: var(--glass-border);
    transform: rotate(5deg);
}

/* Glass Cards */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Pricing Grid */
.billing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-toggle {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.1);
    transition: .4s;
    border-radius: 34px;
    border: 1px solid var(--border-color);
}

.slider-toggle:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider-toggle {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

input:checked + .slider-toggle:before {
    transform: translateX(26px);
}

.toggle-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.toggle-label.active {
    color: var(--text-primary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card.popular {
    border: 1.5px solid var(--primary);
    position: relative;
}

.popular-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.plan-name.standard { color: #a78bfa; }
.plan-name.pro { color: #ec4899; }
.plan-name.ultra { color: #60a5fa; }
.plan-name.vr { color: var(--gold); }

.price {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 15px 0;
}

.price-sub {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.currency {
    font-size: 1.8rem;
    vertical-align: top;
}

.features-list {
    list-style: none;
    margin: 20px 0 30px 0;
    flex-grow: 1;
}

.features-list li {
    margin-bottom: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list li::before {
    content: "✓";
    color: var(--success);
    font-weight: bold;
}

/* VR Banner Extra */
.vr-promo-card {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: center;
    background: linear-gradient(135deg, rgba(22, 28, 45, 0.9) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-color: rgba(139, 92, 246, 0.2);
}

.vr-title {
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.vr-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.vr-price {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.vr-price-sub {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
}

@media (max-width: 768px) {
    .vr-promo-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Forms & Auth Pages */
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 0;
}

.auth-container {
    max-width: 480px;
    width: 100%;
    margin: 40px auto;
}

.auth-container-large {
    max-width: 550px;
    width: 100%;
    margin: 40px auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    font-weight: 700;
    color: var(--text-primary);
}

.auth-header p {
    color: var(--text-secondary);
    margin-top: 5px;
}

.auth-footer-link {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 20px;
}

.auth-footer-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--glass);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: 0.3s;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

select.form-control option {
    background-color: #1c1c1f;
    color: var(--text-primary);
}

:root[data-theme="light"] select.form-control option {
    background-color: #ffffff;
    color: var(--text-primary);
}

/* Verification Specific */
.verify-card {
    text-align: center;
    padding: 40px 30px;
}

.verify-icon-success {
    font-size: 3.5rem;
    color: var(--success);
    margin-bottom: 20px;
}

.verify-icon-error {
    font-size: 3.5rem;
    color: var(--error);
    margin-bottom: 20px;
}

.verify-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.verify-description {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Alerts */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--success);
    color: var(--success);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid var(--error);
    color: var(--error);
}

.alert-success-column {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.simulation-box {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
    width: 100%;
}

.simulation-label {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Dashboard Layout */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

.welcome-banner {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(139, 92, 246, 0.08) 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.welcome-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.welcome-text {
    color: var(--text-secondary);
}

.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-box {
    background: var(--glass);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.stat-val {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 5px 0;
    color: var(--primary);
}

.stat-val.credits {
    color: var(--secondary);
}

.stat-lbl {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Progress Bars */
.quota-container {
    margin-bottom: 20px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 500;
}

.progress-bar-container {
    width: 100%;
    background: var(--glass-hover);
    border-radius: 8px;
    height: 10px;
    margin-top: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 8px;
    transition: width 0.5s;
}

.progress-bar.blue {
    background: linear-gradient(90deg, #60a5fa 0%, #3b82f6 100%);
}

/* Sub & Billing Card extensions */
.subscription-card {
    border-left: 4px solid var(--primary);
}

.subscription-plan-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.buy-credits-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(22, 28, 45, 0.7) 100%);
    border-color: rgba(245, 158, 11, 0.15);
}

.buy-credits-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--gold);
}

.buy-credits-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.price-box {
    background: var(--glass-hover);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.price-box-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: block;
}

.price-box-val {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
}

/* Tables */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    text-align: left;
}

th, td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

th {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
}

tr:hover td {
    background: var(--glass-hover);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.badge-trial {
    background: rgba(245, 158, 11, 0.15);
    color: var(--gold);
}

.badge-expired {
    background: rgba(239, 68, 68, 0.15);
    color: var(--error);
}

/* Modal styling */
.modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(6px);
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    max-width: 500px;
    width: 100%;
    padding: 30px;
    border-radius: 16px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    top: 15px; right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
}

.close:hover {
    color: var(--text-primary);
}

/* Admin Specific */
.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.main-footer {
    margin-top: auto;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.logo-link {
    text-decoration: none;
}

.yearly-badge {
    margin-left: 5px;
}

.trial-badge-pricing {
    align-self: flex-start;
    margin-bottom: 15px;
}

.plan-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.simulation-btn {
    margin-top: 5px;
    font-size: 0.8rem;
    display: inline-flex;
}

.plan-badge-label {
    color: var(--primary);
    text-transform: uppercase;
}

.auth-submit {
    margin-top: 10px;
}

.subscription-status-box {
    margin-bottom: 20px;
}

.impersonation-banner {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 12px 24px;
    margin-bottom: 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

/* Premium Admin Action Buttons */
.btn-action-group {
    display: flex;
    gap: 6px;
    align-items: center;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--glass);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0;
    margin: 0;
}

.btn-action:hover {
    color: var(--text-primary);
    background: var(--glass-hover);
    border-color: var(--border-color);
    transform: translateY(-2px);
}

.btn-action-gold {
    color: var(--gold);
    border-color: rgba(212, 175, 55, 0.15);
    background: rgba(212, 175, 55, 0.03);
}

.btn-action-gold:hover {
    background: var(--gold);
    color: #000000;
    border-color: var(--gold);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.btn-action-success {
    color: var(--success);
    border-color: rgba(16, 185, 129, 0.15);
    background: rgba(16, 185, 129, 0.03);
}

.btn-action-success:hover {
    background: var(--success);
    color: #ffffff;
    border-color: var(--success);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.btn-action-warning {
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.15);
    background: rgba(245, 158, 11, 0.03);
}

.btn-action-warning:hover {
    background: #f59e0b;
    color: #ffffff;
    border-color: #f59e0b;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.btn-action-danger {
    color: var(--error);
    border-color: rgba(239, 68, 68, 0.15);
    background: rgba(239, 68, 68, 0.03);
}

.btn-action-danger:hover {
    background: var(--error);
    color: #ffffff;
    border-color: var(--error);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

/* Dashboard Nav Tabs */
.dashboard-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
}

.dashboard-nav-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 20px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.dashboard-nav-btn:hover {
    color: var(--text-primary);
}

.dashboard-nav-btn.active {
    color: var(--gold);
    border-bottom: 2px solid var(--gold);
}

/* Modal Tabs */
.modal-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
}

.modal-tab-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 16px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.modal-tab-btn:hover {
    color: var(--text-primary);
}

.modal-tab-btn.active {
    color: var(--gold);
    border-bottom: 2px solid var(--gold);
}

.modal-tab-content {
    animation: fadeInTab 0.25s ease-out;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Premium Admin Dashboard Improvements */
.empty-field-indicator {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.email-link {
    color: var(--primary);
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.email-link:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* Quota Mini Items styling */
.quota-mini-item {
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    padding: 6px 10px;
}
.quota-mini-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
    align-items: center;
}
.quota-mini-label strong {
    color: var(--text-primary);
}
.quota-mini-label i {
    margin-right: 4px;
    width: 14px;
    text-align: center;
}
.quota-mini-pct {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
}
.quota-mini-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
}
.quota-mini-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
}
.quota-mini-progress.bg-warning {
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
}
.quota-mini-progress.bg-danger {
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
}
.credit-pill {
    background: rgba(236, 72, 153, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(236, 72, 153, 0.2);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Plan Badge Pills */
.plan-badge-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
}
.plan-badge-standard {
    background: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
    border-color: rgba(139, 92, 246, 0.2);
}
.plan-badge-pro {
    background: rgba(236, 72, 153, 0.1);
    color: #f472b6;
    border-color: rgba(236, 72, 153, 0.2);
}
.plan-badge-ultra {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.2);
}
.plan-badge-vr {
    background: rgba(245, 158, 11, 0.1);
    color: var(--gold);
    border-color: rgba(245, 158, 11, 0.2);
}
.plan-badge-legacy {
    background: rgba(100, 116, 139, 0.1);
    color: #94a3b8;
    border-color: rgba(100, 116, 139, 0.2);
}

/* Status Pulsing Indicator */
.status-pill-container {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid transparent;
}
.status-pill-container.active {
    background: rgba(16, 185, 129, 0.08);
    color: var(--success);
    border-color: rgba(16, 185, 129, 0.15);
}
.status-pill-container.trial {
    background: rgba(245, 158, 11, 0.08);
    color: var(--gold);
    border-color: rgba(245, 158, 11, 0.15);
}
.status-pill-container.expired {
    background: rgba(239, 68, 68, 0.08);
    color: var(--error);
    border-color: rgba(239, 68, 68, 0.15);
}
.status-pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}
.status-pill-container.active .status-pill-dot {
    background-color: var(--success);
    box-shadow: 0 0 8px var(--success);
    animation: status-pulse 2s infinite;
}
.status-pill-container.trial .status-pill-dot {
    background-color: var(--gold);
    box-shadow: 0 0 8px var(--gold);
    animation: status-pulse 2s infinite;
}
.status-pill-container.expired .status-pill-dot {
    background-color: var(--error);
    box-shadow: 0 0 8px var(--error);
}

@keyframes status-pulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.6; }
}

/* Email Badge & Verify Micro Button */
.email-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}
.email-badge.verified {
    color: var(--success);
}
.email-badge.unverified {
    color: var(--text-muted);
}
.micro-verify-btn {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.2s ease;
    margin-left: 5px;
    text-decoration: none;
}
.micro-verify-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Timeline/Dates display */
.dates-container {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 6px;
}
.date-item {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.date-item i {
    width: 12px;
    text-align: center;
}
.date-item.trial i {
    color: var(--gold);
}
.date-item.active i {
    color: var(--primary);
}
.date-item.end i {
    color: var(--secondary);
}
.date-item.cancel i {
    color: var(--error);
}

/* Table Enhancements */
.user-row {
    transition: background-color 0.2s ease;
}
.user-row td {
    vertical-align: top;
}
.name-fallback {
    color: var(--text-secondary);
    font-weight: 500;
}







