:root {
    --primary: #1e40af;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --secondary: #64748b;
    --accent: #0ea5e9;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #0f172a;
    --light: #f8fafc;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--gray-50);
    color: var(--gray-900);
    line-height: 1.6;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--gray-900);
}

nav.navbar {
    background: var(--white) !important;
    border-bottom: 1px solid var(--gray-200);
    padding: 0.875rem 0;
    box-shadow: var(--shadow-sm);
}

.navbar-brand {
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-brand i {
    color: var(--primary-light) !important;
    font-size: 1.75rem;
}

.navbar-nav .nav-link {
    color: var(--gray-600) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary) !important;
    background: var(--gray-100);
}

.navbar-toggler {
    border: 1px solid var(--gray-300) !important;
    padding: 0.5rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23475569' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.btn {
    font-weight: 600;
    border-radius: var(--radius);
    padding: 0.625rem 1.25rem;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    box-shadow: var(--shadow-sm);
}

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

.btn-outline-primary {
    color: var(--primary) !important;
    border: 2px solid var(--primary) !important;
    background: transparent !important;
}

.btn-outline-primary:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
}

.btn-success {
    background: var(--success) !important;
    border-color: var(--success) !important;
}

.btn-outline-secondary {
    color: var(--gray-600) !important;
    border: 1px solid var(--gray-300) !important;
}

.btn-outline-secondary:hover {
    background: var(--gray-100) !important;
    border-color: var(--gray-400) !important;
    color: var(--gray-800) !important;
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    color: var(--white);
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.hero-section .btn-light {
    background: var(--white) !important;
    color: var(--primary) !important;
    border: none !important;
}

.hero-section .btn-light:hover {
    background: var(--gray-100) !important;
}

.hero-section .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    color: var(--white) !important;
}

.hero-section .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--white) !important;
}

section {
    padding: 80px 0;
}

section.bg-light {
    background: var(--white) !important;
}

section h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

section .lead {
    color: var(--gray-500);
    font-size: 1.125rem;
}

.card {
    background: var(--white) !important;
    border: 1px solid var(--gray-200) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow) !important;
    transition: all 0.3s ease !important;
}

.card:hover {
    box-shadow: var(--shadow-lg) !important;
    transform: translateY(-4px);
}

.card-body {
    padding: 1.75rem !important;
}

.card-title {
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.card p, .card .text-muted {
    color: var(--gray-500) !important;
}

.feature-icon {
    width: 72px !important;
    height: 72px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: var(--radius-lg) !important;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important;
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.25) !important;
    font-size: 1.75rem !important;
    color: var(--white) !important;
}

.feature-icon.green {
    background: linear-gradient(135deg, var(--success) 0%, #16a34a 100%) !important;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.25) !important;
}

.feature-icon.cyan {
    background: linear-gradient(135deg, var(--accent) 0%, #0284c7 100%) !important;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.25) !important;
}

.feature-icon.orange {
    background: linear-gradient(135deg, var(--warning) 0%, #d97706 100%) !important;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25) !important;
}

.feature-icon.purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.25) !important;
}

.badge {
    border-radius: 20px !important;
    padding: 0.5rem 1rem !important;
    font-weight: 600 !important;
    font-size: 0.75rem !important;
}

.badge.bg-primary {
    background: var(--primary) !important;
}

.badge.bg-success {
    background: var(--success) !important;
}

.badge.bg-info {
    background: var(--accent) !important;
}

.badge.bg-warning {
    background: var(--warning) !important;
    color: var(--dark) !important;
}

.badge.bg-danger {
    background: var(--danger) !important;
}

.badge.bg-secondary {
    background: var(--gray-500) !important;
}

section.bg-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important;
    color: var(--white);
}

section.bg-primary h2, section.bg-primary h3 {
    color: var(--white);
}

section.bg-primary code {
    background: rgba(255, 255, 255, 0.2) !important;
    color: var(--white) !important;
    border-radius: var(--radius);
    padding: 0.5rem 1rem !important;
    font-weight: 600;
}

.stats-section {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.stat-label {
    color: var(--gray-500);
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

footer {
    background: var(--gray-900) !important;
    color: var(--gray-400);
    padding: 4rem 0 2rem;
}

footer h5, footer h6 {
    color: var(--white);
}

footer a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--white);
}

footer .text-primary {
    color: var(--primary-light) !important;
}

.form-control, .form-select {
    background: var(--white) !important;
    border: 1px solid var(--gray-300) !important;
    border-radius: var(--radius) !important;
    color: var(--gray-900) !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.9375rem;
    transition: all 0.2s ease !important;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-light) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

.form-control::placeholder {
    color: var(--gray-400) !important;
}

.form-label {
    color: var(--gray-700);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.alert {
    border-radius: var(--radius) !important;
    border: none !important;
    padding: 1rem 1.25rem;
}

.alert-success {
    background: #dcfce7 !important;
    color: #166534 !important;
}

.alert-danger {
    background: #fee2e2 !important;
    color: #991b1b !important;
}

.alert-warning {
    background: #fef3c7 !important;
    color: #92400e !important;
}

.alert-info {
    background: #e0f2fe !important;
    color: #075985 !important;
}

.table {
    color: var(--gray-900);
}

.table th {
    color: var(--gray-600) !important;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-color: var(--gray-200) !important;
    padding: 1rem !important;
    background: var(--gray-50);
}

.table td {
    border-color: var(--gray-200) !important;
    padding: 1rem !important;
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background: var(--gray-50);
}

.admin-layout {
    display: flex;
    min-height: 100vh;
    background: var(--gray-100);
}

.admin-sidebar {
    width: 280px;
    background: var(--white);
    border-right: 1px solid var(--gray-200);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 1050;
    box-shadow: var(--shadow);
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--gray-900);
    font-weight: 700;
    font-size: 1.25rem;
}

.sidebar-brand i {
    color: var(--primary-light);
    font-size: 1.5rem;
}

.sidebar-section {
    padding: 1rem 0;
}

.sidebar-title {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    padding: 0 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: var(--gray-600);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.9375rem;
    border-left: 3px solid transparent;
}

.sidebar-nav a:hover {
    background: var(--gray-50);
    color: var(--gray-900);
}

.sidebar-nav a.active {
    background: rgba(30, 64, 175, 0.08);
    color: var(--primary);
    border-left-color: var(--primary);
}

.sidebar-nav a i {
    font-size: 1.125rem;
    width: 24px;
    text-align: center;
}

.admin-content {
    flex: 1;
    margin-left: 280px;
    padding: 2rem;
    min-height: 100vh;
}

.admin-header {
    margin-bottom: 2rem;
}

.admin-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    transition: all 0.2s ease;
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-icon.blue { 
    background: rgba(30, 64, 175, 0.1); 
    color: var(--primary); 
}

.stat-icon.green { 
    background: rgba(34, 197, 94, 0.1); 
    color: var(--success); 
}

.stat-icon.orange { 
    background: rgba(245, 158, 11, 0.1); 
    color: var(--warning); 
}

.stat-icon.purple { 
    background: rgba(139, 92, 246, 0.1); 
    color: #8b5cf6; 
}

.stat-icon.cyan { 
    background: rgba(14, 165, 233, 0.1); 
    color: var(--accent); 
}

.stat-info .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
}

.stat-info .stat-label {
    color: var(--gray-500);
    font-size: 0.875rem;
    font-weight: 500;
}

.dropdown-menu {
    background: var(--white) !important;
    border: 1px solid var(--gray-200) !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-lg) !important;
    padding: 0.5rem !important;
}

.dropdown-item {
    color: var(--gray-700) !important;
    padding: 0.625rem 1rem !important;
    border-radius: 6px !important;
    transition: all 0.15s ease !important;
    font-size: 0.9375rem;
}

.dropdown-item:hover {
    background: var(--gray-100) !important;
    color: var(--gray-900) !important;
}

.nav-pills .nav-link {
    color: var(--gray-600) !important;
    font-weight: 500;
    padding: 0.75rem 1.25rem !important;
    border-radius: var(--radius) !important;
    transition: all 0.2s ease !important;
}

.nav-pills .nav-link:hover {
    background: var(--gray-100) !important;
    color: var(--gray-900) !important;
}

.nav-pills .nav-link.active {
    background: var(--primary) !important;
    color: var(--white) !important;
}

.progress {
    background: var(--gray-200) !important;
    border-radius: var(--radius) !important;
    overflow: hidden;
    height: 12px;
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%) !important;
    border-radius: var(--radius) !important;
}

code {
    background: var(--gray-100) !important;
    color: var(--primary) !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 6px !important;
    font-size: 0.875rem;
}

.list-group-item {
    background: var(--white) !important;
    border-color: var(--gray-200) !important;
    color: var(--gray-900) !important;
    padding: 1rem 1.25rem;
}

.document-preview {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.verification-score {
    font-size: 3rem;
    font-weight: 800;
    color: var(--success);
}

#qrcode {
    display: inline-block;
    background: var(--white);
    padding: 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

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

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--gray-600);
    box-shadow: var(--shadow);
}

.trust-badge i {
    color: var(--success);
}

.cta-section {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    color: var(--white);
}

.cta-section p {
    color: var(--gray-400);
}

@media (max-width: 1024px) {
    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .admin-sidebar.open {
        transform: translateX(0);
    }
    
    .admin-content {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 80px !important;
    }
    
    .hero-section h1 {
        font-size: 2.25rem !important;
    }
    
    section {
        padding: 60px 0;
    }
    
    .card-body {
        padding: 1.25rem !important;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-content {
        padding: 1rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
}

.admin-mobile-toggle {
    display: none;
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 1040;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1024px) {
    .admin-mobile-toggle {
        display: flex;
    }
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

.sidebar-overlay.active {
    display: block;
}

.text-primary {
    color: var(--primary) !important;
}

.text-success {
    color: var(--success) !important;
}

.text-muted {
    color: var(--gray-500) !important;
}

.text-secondary {
    color: var(--gray-500) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-success {
    background-color: var(--success) !important;
}

.bg-light {
    background-color: var(--white) !important;
}

.settings-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.settings-card h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.settings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.settings-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.settings-item-info h6 {
    font-size: 0.9375rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: var(--gray-800);
}

.settings-item-info p {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin: 0;
}

.form-switch .form-check-input {
    width: 48px;
    height: 24px;
    cursor: pointer;
}

.form-switch .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border-color: var(--primary);
    position: relative;
}

.pricing-card.featured::before {
    content: 'Populaire';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gray-900);
}

.pricing-value span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-500);
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
}

.country-item {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
    transition: all 0.2s ease;
}

.country-item:hover {
    background: var(--white);
    box-shadow: var(--shadow);
}

.country-flag {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.country-name {
    font-size: 0.75rem;
    color: var(--gray-600);
    font-weight: 500;
}

.auth-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.auth-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent) 100%);
    z-index: -2;
}

.auth-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/static/images/african_cityscape_mo_3d35d41e.jpg') center/cover no-repeat;
    opacity: 0.15;
}

.auth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.auth-container {
    position: relative;
    z-index: 1;
}

.glass-card {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 
                0 0 0 1px rgba(255, 255, 255, 0.1) inset !important;
    padding: 2.5rem !important;
}

.auth-card-header {
    margin-bottom: 2rem;
}

.auth-logo .logo-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.auth-logo .logo-circle i {
    font-size: 2.5rem;
    color: var(--white);
}

.auth-title {
    color: var(--white) !important;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin: 0;
}

.glass-input {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: var(--radius) !important;
    color: var(--white) !important;
    padding: 1rem 1rem 1rem 1rem !important;
    height: auto !important;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.glass-input:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1) !important;
    color: var(--white) !important;
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

.form-floating > .glass-input:focus ~ label,
.form-floating > .glass-input:not(:placeholder-shown) ~ label {
    color: rgba(255, 255, 255, 0.9) !important;
    background: transparent;
    transform: scale(0.85) translateY(-1.5rem) translateX(0.15rem);
}

.form-floating > label {
    color: rgba(255, 255, 255, 0.6);
    padding: 1rem;
}

.auth-page .form-check-input {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.auth-page .form-check-input:checked {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
}

.auth-page .form-check-label {
    color: rgba(255, 255, 255, 0.8);
}

.auth-page a {
    color: rgba(255, 255, 255, 0.9);
}

.auth-page a:hover {
    color: var(--white);
}

.glass-btn {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%) !important;
    border: none !important;
    border-radius: var(--radius) !important;
    padding: 1rem 2rem !important;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.4) !important;
    transition: all 0.3s ease;
}

.glass-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(30, 64, 175, 0.5) !important;
}

.glass-btn-outline {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: var(--white) !important;
    border-radius: var(--radius) !important;
    padding: 0.75rem 1rem !important;
    transition: all 0.3s ease;
}

.glass-btn-outline:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: var(--white) !important;
}

.glass-btn-outline:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.auth-divider span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    white-space: nowrap;
}

.auth-footer p {
    color: rgba(255, 255, 255, 0.7);
}

.auth-footer a {
    color: var(--white) !important;
}

.requirement-badge {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.password-requirements .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

.glass-card-solid {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: var(--radius-xl) !important;
    box-shadow: var(--shadow-xl) !important;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
}

.glass-navbar {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.auth-page-light {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.auth-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(30, 64, 175, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(34, 197, 94, 0.05) 0%, transparent 40%);
    z-index: 0;
}

.auth-card-light {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-xl);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    padding: 2.5rem;
    position: relative;
    z-index: 1;
}

.auth-icon-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.3);
}

.auth-icon-circle i {
    font-size: 2rem;
    color: var(--white);
}

.auth-icon-circle.pro {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.auth-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.auth-subtext {
    color: var(--gray-500);
    font-size: 1rem;
    margin: 0;
}

.form-label-light {
    display: block;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.form-input-glass {
    background: rgba(255, 255, 255, 0.7) !important;
    border: 2px solid var(--gray-200) !important;
    border-radius: var(--radius) !important;
    padding: 0.875rem 1rem !important;
    font-size: 1rem;
    color: var(--gray-900) !important;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.form-input-glass:focus {
    background: var(--white) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

.form-input-glass::placeholder {
    color: var(--gray-400) !important;
}

.btn-glass-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important;
    border: none !important;
    border-radius: var(--radius) !important;
    color: var(--white) !important;
    font-weight: 600;
    padding: 1rem 2rem !important;
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.35);
    transition: all 0.3s ease;
}

.btn-glass-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(30, 64, 175, 0.45) !important;
    color: var(--white) !important;
}

.btn-glass-pro {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important;
    border: none !important;
    border-radius: var(--radius) !important;
    color: var(--white) !important;
    font-weight: 600;
    padding: 1rem 2rem !important;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.35);
    transition: all 0.3s ease;
}

.btn-glass-pro:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.45) !important;
    color: var(--white) !important;
}

.btn-social-glass {
    background: rgba(255, 255, 255, 0.5) !important;
    border: 2px solid var(--gray-200) !important;
    color: var(--gray-600) !important;
    border-radius: var(--radius) !important;
    padding: 0.75rem 1rem !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-social-glass:hover {
    background: var(--white) !important;
    border-color: var(--gray-300) !important;
    color: var(--gray-800) !important;
}

.btn-social-glass:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.divider-light {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.divider-light::before,
.divider-light::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.divider-light span {
    color: var(--gray-400);
    font-size: 0.875rem;
    white-space: nowrap;
}

.password-req-light {
    background: rgba(30, 64, 175, 0.05);
    border-radius: var(--radius);
    padding: 1rem;
}

.req-badge {
    background: var(--white);
    color: var(--gray-600);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    border: 1px solid var(--gray-200);
}

.req-badge i {
    color: var(--success);
}

.account-type-selector {
    margin-bottom: 1.5rem;
}

.account-type-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--gray-700);
    transition: all 0.3s ease;
    position: relative;
}

.account-type-card:hover {
    background: var(--white);
    border-color: var(--gray-300);
    color: var(--gray-800);
}

.account-type-card.active {
    background: rgba(30, 64, 175, 0.05);
    border-color: var(--primary);
}

.account-type-card.active .account-type-check {
    display: block;
}

.account-type-check {
    display: none;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    color: var(--primary);
    font-size: 1.25rem;
}

.account-type-icon {
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--gray-600);
}

.account-type-icon.pro {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.account-type-card.active .account-type-icon {
    background: var(--primary);
    color: var(--white);
}

.account-type-card.active .account-type-icon.pro {
    background: #8b5cf6;
    color: var(--white);
}

.account-type-info h6 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: inherit;
}

.account-type-info p {
    color: var(--gray-500);
    font-size: 0.8125rem;
}

.pro-info-banner {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(124, 58, 237, 0.05) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius);
    padding: 1rem;
}

.pro-info-icon {
    width: 40px;
    height: 40px;
    background: rgba(139, 92, 246, 0.15);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b5cf6;
    font-size: 1.25rem;
}

.pro-info-banner h6 {
    color: #7c3aed;
    font-weight: 600;
    font-size: 0.9375rem;
}

.form-section-title {
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 0.5rem;
}

.api-docs-page {
    background: var(--gray-50);
    min-height: 100vh;
}

.api-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.api-nav-link {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--gray-600);
    text-decoration: none;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    margin-bottom: 0.25rem;
}

.api-nav-link:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

.api-nav-link.active {
    background: var(--primary);
    color: var(--white);
}

.api-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
}

.api-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-200);
}

.api-info-card {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-top: 1rem;
}

.api-code-block {
    background: var(--gray-900);
    border-radius: var(--radius);
    overflow: hidden;
    margin: 1rem 0;
}

.api-code-block .code-header {
    background: var(--gray-800);
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    color: var(--gray-400);
}

.api-code-block pre {
    margin: 0;
    padding: 1rem;
    overflow-x: auto;
}

.api-code-block code {
    background: transparent !important;
    color: #a5d6ff !important;
    font-size: 0.875rem;
}

.endpoint-card {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary);
}

.endpoint-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.endpoint-header .method {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.endpoint-header .method.get {
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
}

.endpoint-header .method.post {
    background: rgba(30, 64, 175, 0.15);
    color: var(--primary);
}

.endpoint-header code {
    background: var(--white) !important;
    font-size: 1rem;
}

.api-support-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    padding: 2rem;
    color: var(--white);
}

.api-support-card h5 {
    color: var(--white);
}

.api-support-card p {
    color: rgba(255, 255, 255, 0.8);
}
