/* ByteCave DB Hosting - Dark Mode CSS Styles */
/* ==================================================== */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors */
    --primary-600: #6366f1;
    --primary-500: #8b5cf6;
    --primary-400: #a78bfa;
    --primary-300: #c4b5fd;
    --primary-200: #ddd6fe;
    
    /* Secondary Colors */
    --secondary-600: #10b981;
    --secondary-500: #34d399;
    --secondary-400: #6ee7b7;
    
    /* Dark Mode Colors */
    --neutral-900: #f8fafc;  /* Light text for dark bg */
    --neutral-800: #f1f5f9;
    --neutral-700: #e2e8f0;
    --neutral-600: #cbd5e1;
    --neutral-500: #94a3b8;
    --neutral-400: #64748b;
    --neutral-300: #475569;
    --neutral-200: #334155;
    --neutral-100: #1e293b;
    --neutral-50: #0f172a;
    
    /* Dark Background Colors */
    --bg-primary: #0f172a;      /* Very dark blue */
    --bg-secondary: #1e293b;    /* Dark slate */
    --bg-tertiary: #334155;     /* Medium slate */
    --bg-card: #1e293b;         /* Card background */
    --bg-elevated: #334155;     /* Elevated elements */
    
    /* Text Colors for Dark Mode */
    --text-primary: var(--neutral-900);   /* Light text */
    --text-secondary: var(--neutral-600); /* Medium gray text */
    --text-muted: var(--neutral-500);     /* Muted text */
    --text-inverse: #0f172a;               /* Dark text for light backgrounds */
    
    /* Gradients for Dark Mode */
    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
    --gradient-hero: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    
    /* Shadows for Dark Mode */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.4);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.5), 0 8px 10px -6px rgb(0 0 0 / 0.5);
    --shadow-glow: 0 0 20px rgb(139 92 246 / 0.3);
    
    /* Border Colors */
    --border-primary: var(--neutral-200);
    --border-secondary: var(--neutral-300);
    --border-accent: var(--primary-500);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Transitions */
    --transition-fast: all 0.15s ease-in-out;
    --transition-normal: all 0.3s ease-in-out;
    --transition-slow: all 0.5s ease-in-out;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Full page dark background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: -2;
}

/* Container & Layout */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-wide {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.main-content {
    flex: 1;
    padding-top: 80px; /* Navbar height */
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-primary);
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    transition: var(--transition-normal);
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

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

.nav-brand .logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    border-radius: var(--radius-md);
    background: transparent;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--primary-500);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link {
    cursor: pointer;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-primary);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-normal);
}

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

.dropdown-content a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.dropdown-content a:hover {
    background: var(--neutral-100);
    color: var(--text-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-brand a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1) drop-shadow(0 0 4px rgba(255,255,255,0.3));
    background: transparent;
    transition: all var(--transition-normal);
}

.logo:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(139, 92, 246, 0.6));
    transform: scale(1.05);
}

/* Logo variant for dark backgrounds */
.logo-dark {
    height: 32px;
    width: auto;
    filter: brightness(0) invert(1) drop-shadow(0 0 4px rgba(255,255,255,0.3));
}

/* Logo variant for light content (if needed) */
.logo-light {
    height: 32px;
    width: auto;
    filter: none;
    drop-shadow: 0 0 4px rgba(0,0,0,0.3);
}

/* Small logo variant */
.logo-sm {
    height: 24px;
    width: auto;
    filter: brightness(0) invert(1);
}

.nav-menu {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: white;
}

.nav-dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

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

.dropdown-content a {
    display: block;
    padding: 0.5rem 1rem;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.dropdown-content a:hover {
    background-color: #f1f5f9;
}

/* Buttons - Dark Mode */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
    gap: 0.5rem;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-500);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
    background: var(--primary-600);
}

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

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

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

.btn-outline:hover {
    border-color: var(--primary-500);
    color: var(--primary-500);
    background: rgba(139, 92, 246, 0.05);
}

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

.btn-full {
    width: 100%;
}

/* Additional button variants for Dark Mode */
.btn-admin {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border-color: #ef4444;
}

.btn-admin:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(239, 68, 68, 0.3);
}

.btn-success {
    background: var(--gradient-success);
    color: white;
    border-color: var(--secondary-600);
}

.btn-success:hover {
    background: var(--secondary-600);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)" /></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #f1f5f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.hero-features .feature {
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-features h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Pricing Section - Compact Dark Mode Design */
.pricing-section {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 0.5rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    display: inline-flex;
    position: relative;
    border: 1px solid var(--border-primary);
}

.toggle-label {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.toggle-label.active {
    background: var(--primary-600);
    color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-500);
    box-shadow: 0 20px 25px -5px rgba(139, 92, 246, 0.1);
}

.pricing-card.featured {
    border-color: var(--primary-500);
    background: rgba(139, 92, 246, 0.05);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: "Most Popular";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

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

.plan-price {
    margin-bottom: 1.5rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-500);
}

.price-period {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.plan-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.feature-list li::before {
    content: "✓";
    color: var(--success);
    font-weight: bold;
    margin-right: 0.75rem;
    width: 16px;
}

.plan-cta {
    width: 100%;
    padding: 0.875rem;
    background: var(--bg-primary);
    border: 2px solid var(--border-primary);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    text-align: center;
    display: block;
}

.plan-cta:hover {
    border-color: var(--primary-500);
    color: var(--primary-500);
}

.pricing-card.featured .plan-cta {
    background: var(--gradient-primary);
    border-color: var(--primary-500);
    color: white;
}

.pricing-card.featured .plan-cta:hover {
    background: var(--primary-600);
    color: white;
}

.tariff-description {
    margin-bottom: 2rem;
    color: #64748b;
}

/* Features Section - Dark Mode */
.features-section {
    padding: 6rem 2rem;
    background: var(--bg-secondary);
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.features-detailed {
    display: grid;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-primary);
}

.feature-icon-large {
    font-size: 3rem;
    flex-shrink: 0;
    color: var(--primary-500);
}

.feature-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Connection Info - Dark Mode */
.connection-info {
    padding: 4rem 2rem;
    background: var(--bg-tertiary);
    color: white;
    text-align: center;
    border: 1px solid var(--border-primary);
}

.connection-info h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.connection-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.connection-item {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-primary);
    color: var(--text-primary);
}

.connection-note {
    color: var(--text-secondary);
    font-style: italic;
}

/* CTA Section - Dark Mode */
.cta-section {
    padding: 6rem 2rem;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Auth Pages - Dark Mode */
.auth-container {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--bg-primary);
}

.auth-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    padding: 3rem;
    max-width: 800px;
    width: 100%;
    border: 1px solid var(--border-primary);
    background: var(--bg-secondary);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-secondary);
}

.auth-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-primary);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-hint {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--text-primary);
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

input[type="checkbox"]:checked + .checkmark {
    background: #667eea;
    border-color: #667eea;
}

input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
}

input[type="checkbox"] {
    display: none;
}

.auth-links {
    text-align: center;
}

.auth-divider {
    margin: 1rem 0;
    color: #64748b;
}

.auth-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* Selected Tariff in Registration */
.selected-tariff {
    background: #002952;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
}

.selected-tariff h3 {
    margin-bottom: 1rem;
    color: #ffffff;
}

.tariff-preview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.tariff-name {
    font-weight: 600;
    color: #ffffff !important;
}

.tariff-price {
    font-weight: 700;
    color: #ffffff;
}

.tariff-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tariff-features span {
    background: #e2e8f0;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    color: #475569;
}

.change-tariff {
    color: #667eea;
    text-decoration: none;
    font-size: 0.875rem;
}

.change-tariff:hover {
    text-decoration: underline;
}

/* ===================================== */
/* MODERN DASHBOARD STYLES */
/* ===================================== */
.dashboard-container {
    min-height: calc(100vh - 80px);
    background: var(--bg-primary);
    padding: 2rem 0;
}

.dashboard-header {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-primary);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.welcome-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.user-avatar {
    position: relative;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.welcome-text h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.welcome-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.user-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
}

.status-badge.active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--secondary-600);
    border: 1px solid var(--secondary-600);
}

.status-badge i {
    font-size: 0.75rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.member-info {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.dashboard-content-wide {
    max-width: 1800px;
    width: 100%;
}

/* Empty State Modern */
.empty-state-modern {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-primary);
    position: relative;
    overflow: hidden;
}

.empty-state-visual {
    position: relative;
    margin-bottom: 2rem;
}

.empty-icon-large {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-xl);
}

.empty-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

.empty-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.empty-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.empty-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.empty-features .feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-primary);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.empty-features .feature-item i {
    color: var(--primary-500);
}

.empty-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-500);
}

.stat-card .stat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    background: var(--gradient-primary);
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Section Headers */
.section-header {
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    color: #1e293b;
    font-size: 1.5rem;
}

/* Subscriptions */
.subscriptions-section {
    margin-bottom: 3rem;
}

.subscriptions-list {
    display: grid;
    gap: 1.5rem;
}

.subscription-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.subscription-card:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.subscription-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.subscription-info h3 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.subscription-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-active {
    background: #10b981;
    color: white;
}

.status-expired {
    background: #ef4444;
    color: white;
}

.status-cancelled {
    background: #f59e0b;
    color: white;
}

.subscription-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
}

.subscription-details {
    margin-bottom: 1.5rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: #64748b;
}

.detail-value {
    font-weight: 500;
    color: #1e293b;
}

.subscription-actions {
    display: flex;
    gap: 1rem;
}

/* Databases Grid */
.databases-section {
    margin-bottom: 3rem;
}

.databases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.database-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border-primary);
    backdrop-filter: blur(10px);
}

.database-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.database-header h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Courier New', monospace;
}

.database-size {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.database-usage {
    margin-bottom: 1rem;
}

.usage-bar {
    background: var(--bg-primary);
    border-radius: var(--radius-full);
    height: 8px;
    margin-bottom: 0.5rem;
    border: 1px solid var(--border-primary);
}

.usage-fill {
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    height: 100%;
    transition: width 0.3s ease;
}

.usage-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.connection-info {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: 1rem;
    font-size: 0.875rem;
    font-family: 'Courier New', monospace;
    color: var(--text-secondary);
    border: 1px solid var(--border-primary);
}

/* Activity Section - Dark Mode */
.activity-section {
    margin-bottom: 3rem;
}

.activity-list {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-primary);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.empty-activity {
    padding: 2rem;
    text-align: center;
    color: var(--text-secondary);
}

.activity-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-primary);
    transition: background-color 0.2s ease;
}

.activity-item:hover {
    background: var(--bg-primary);
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    font-size: 1.5rem;
    color: var(--primary-500);
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-action {
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.activity-time {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.25rem;
}

.activity-details {
    font-size: 0.875rem;
    color: #475569;
}

/* Checkout */
.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.checkout-header {
    text-align: center;
    margin-bottom: 3rem;
}

.checkout-header h1 {
    font-size: 2.5rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.order-summary {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 2rem;
}

.order-summary h2 {
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.order-item {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.item-details h3 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.item-details p {
    color: #64748b;
    margin-bottom: 1rem;
}

.item-features {
    list-style: none;
    margin-bottom: 1rem;
}

.item-features li {
    padding: 0.25rem 0;
    color: #475569;
    font-size: 0.875rem;
}

.item-features li:before {
    content: '✓ ';
    color: #10b981;
    font-weight: bold;
    margin-right: 0.5rem;
}

.item-price {
    text-align: right;
}

.item-price .price-period {
    color: #64748b;
    font-size: 0.875rem;
}

.order-total {
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.total-final {
    font-weight: 700;
    font-size: 1.125rem;
    color: #1e293b;
    border-top: 1px solid #e2e8f0;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
}

.billing-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.billing-info h3 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.customer-info {
    background: #102d4b;
    border-radius: 8px;
    padding: 1rem;
}

.payment-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.payment-section h2 {
    color: #1e293b !important;
    margin-bottom: 1.5rem;
}

.payment-method {
    margin-bottom: 2rem;
}

.payment-option {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option.active {
    border-color: #667eea;
    background: #f8fafc;
}

.payment-icon img {
    max-height: 32px;
}

.payment-info h3 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.payment-info p {
    color: #64748b;
    font-size: 0.875rem;
}

.connection-preview {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.connection-preview h3 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.connection-details {
    margin-top: 1rem;
}

.connection-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.875rem;
}

.connection-item:last-child {
    border-bottom: none;
}

.connection-label {
    color: #64748b;
    font-weight: 500;
}

.connection-value {
    font-family: 'Courier New', monospace;
    color: #1e293b;
}

.connection-value a {
    color: #667eea;
    text-decoration: none;
}

.connection-value a:hover {
    text-decoration: underline;
}

.terms-section {
    margin-bottom: 1.5rem;
}

.security-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
}

.security-icon {
    font-size: 1rem;
}

/* Registration Features */
.login-features {
    padding: 4rem 2rem;
    background: #f8fafc;
}

.login-features h2 {
    text-align: center;
    color: #1e293b;
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid .feature {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.features-grid .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.features-grid .feature h3 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.features-grid .feature p {
    color: #64748b;
    font-size: 0.875rem;
}

/* Registration Info */
.registration-info {
    padding: 4rem 2rem;
    background: #f8fafc;
}

.registration-info h2 {
    text-align: center;
    color: #1e293b;
    margin-bottom: 3rem;
}

.steps-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.step p {
    color: #64748b;
    font-size: 0.875rem;
}

/* Checkout FAQ */
.checkout-faq {
    padding: 4rem 2rem;
    background: #f8fafc;
}

.checkout-faq h2 {
    text-align: center;
    color: #1e293b;
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.faq-item p {
    color: #64748b;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid;
}

.alert-success {
    background: #f0fdf4;
    border-color: #10b981;
    color: #065f46;
}

.alert2 {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid;
}

.alert-success2 {
    background: #f0fdf4;
    border-color: #10b981;
    color: #065f46;
}

.alert-error {
    background: #fef2f2;
    border-color: #ef4444;
    color: #991b1b;
}

.alert-warning {
    background: #fffbeb;
    border-color: #f59e0b;
    color: #92400e;
}

.alert-info {
    background: #f0f9ff;
    border-color: #3b82f6;
    color: #1e40af;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 2rem 1rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: #f1f5f9;
}

.footer-section a {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* ===================================== */
/* ACCOUNT SETTINGS STYLES */
/* ===================================== */
.account-settings-container {
    min-height: calc(100vh - 80px);
    background: var(--bg-primary);
    padding: 2rem 0;
}

.breadcrumb {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--primary-500);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary-600);
}

.account-overview {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 3rem;
    border: 1px solid var(--border-primary);
}

.overview-header {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.account-overview .user-avatar {
    flex-shrink: 0;
}

.account-overview .avatar-circle {
    width: 100px;
    height: 100px;
    font-size: 2rem;
}

.user-info h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.user-email {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-family: 'Courier New', monospace;
}

.account-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.account-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary-600);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
}

.settings-sections {
    display: grid;
    gap: 2rem;
}

.settings-section {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-primary);
    overflow: hidden;
}

.settings-section.danger-section {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.05);
}

.settings-section .section-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-primary);
    background: var(--bg-primary);
}

.settings-section .section-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.settings-section .section-header p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.section-content {
    padding: 2rem;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-primary);
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.875rem;
    transition: border-color var(--transition-normal);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group input:disabled {
    background: var(--neutral-100);
    color: var(--text-muted);
    cursor: not-allowed;
}

.form-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--radius-sm);
    transition: color var(--transition-normal);
}

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

.password-requirements {
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-top: 1rem;
    border: 1px solid var(--border-primary);
}

.password-requirements h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.password-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.password-requirements li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
    font-size: 0.75rem;
    color: var(--text-secondary);
    transition: color var(--transition-normal);
}

.password-requirements li i {
    color: var(--neutral-400);
    transition: color var(--transition-normal);
}

.password-requirements li.met {
    color: var(--secondary-600);
}

.password-requirements li.met i {
    color: var(--secondary-600);
}

.form-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

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

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-primary);
}

.stat-item .stat-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.stat-details {
    flex: 1;
}

.stat-details .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stat-details .stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.danger-warning {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.warning-icon {
    flex-shrink: 0;
}

.warning-icon i {
    font-size: 2rem;
    color: #ef4444;
}

.warning-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 0.75rem;
}

.warning-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.warning-content ul {
    list-style: none;
    padding: 0;
}

.warning-content li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
    position: relative;
    padding-left: 1.5rem;
}

.warning-content li::before {
    content: "⚠";
    position: absolute;
    left: 0;
    color: #f59e0b;
}

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

.modal-content {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2xl);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    border: 1px solid var(--border-primary);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-primary);
    background: var(--bg-secondary);
}

.modal-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: color var(--transition-normal);
}

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

.modal-body {
    padding: 2rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-primary);
    background: var(--bg-secondary);
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1rem;
}

.checkbox-container input[type="checkbox"] {
    width: auto;
    margin: 0;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.checkbox-container label {
    margin: 0;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.5;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .overview-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .account-meta {
        justify-content: center;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .header-actions {
        width: 100%;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .danger-warning {
        flex-direction: column;
        text-align: center;
    }
    
    .empty-features {
        flex-direction: column;
        align-items: center;
    }
    
    .empty-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .welcome-section {
        flex-direction: column;
        text-align: center;
    }
    
    .welcome-text h1 {
        font-size: 1.75rem;
    }
    
    .container-wide {
        padding: 0 1rem;
    }
    
    .tariffs-grid {
        grid-template-columns: 1fr;
    }
    
    .features-detailed .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .security-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0 1rem;
    }
    
    .nav-brand a {
        font-size: 1rem;
    }
}

/* ===================================== */
/* WELCOME BACK SECTION */
/* ===================================== */
.welcome-back-section {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 0;
    margin-top: -80px;
    padding-top: calc(3rem + 80px);
}

.welcome-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.welcome-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.welcome-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.quick-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.quick-actions .btn {
    min-width: 200px;
}

.btn-admin {
    background: var(--gradient-secondary);
    color: white;
    border: none;
}

.btn-admin:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===================================== */
/* ADMIN PANEL STYLES */
/* ===================================== */
.admin-container {
    background: var(--bg-secondary);
    min-height: calc(100vh - 80px);
}

.admin-header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--neutral-200);
    padding: 2rem 0;
    margin-top: -80px;
    padding-top: calc(2rem + 80px);
}

.admin-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-nav h1 {
    color: var(--text-primary);
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-nav h1 i {
    color: var(--primary-500);
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

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

.stat-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--neutral-200);
    transition: var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.stat-icon.users { background: var(--gradient-primary); }
.stat-icon.subscriptions { background: var(--gradient-success); }
.stat-icon.revenue { background: var(--gradient-secondary); }
.stat-icon.tickets { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.stat-icon.databases { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }
.stat-icon.health { background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%); }

.stat-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stat-info p {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.stat-details {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.stat-details span {
    padding: 0.25rem 0.75rem;
    background: var(--neutral-100);
    border-radius: var(--radius-sm);
}

.admin-functions {
    margin-top: 3rem;
}

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

.function-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--neutral-200);
    transition: var(--transition-normal);
}

.function-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.function-header i {
    font-size: 1.5rem;
    color: var(--primary-500);
}

.function-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.function-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.function-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.function-actions .btn {
    flex: 1;
    min-width: 120px;
}

/* Status Indicators */
.status-ok { color: var(--secondary-500) !important; }
.status-error { color: #ef4444 !important; }

/* Responsive Design for Admin */
@media (max-width: 768px) {
    .admin-nav {
        text-align: center;
    }
    
    .admin-nav h1 {
        font-size: 1.5rem;
    }
    
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .function-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .quick-actions {
        flex-direction: column;
    }
    
    .welcome-content h2 {
        font-size: 2rem;
    }
}

/* ===================================== */
/* MODERN DARK MODE HERO SECTION */
/* ===================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    margin-top: -80px;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-tertiary) 100%);
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(2px 2px at 20px 30px, rgba(139, 92, 246, 0.2), transparent),
                      radial-gradient(2px 2px at 40px 70px, rgba(16, 185, 129, 0.15), transparent),
                      radial-gradient(1px 1px at 90px 40px, rgba(139, 92, 246, 0.3), transparent),
                      radial-gradient(1px 1px at 130px 80px, rgba(6, 182, 212, 0.2), transparent);
    background-repeat: repeat;
    background-size: 200px 150px;
    animation: particles 30s linear infinite;
}

@keyframes particles {
    from { transform: translateX(0px); }
    to { transform: translateX(200px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-primary);
    max-width: 650px;
    padding-right: 2rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    color: var(--primary-400);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.4);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-primary);
    backdrop-filter: blur(10px);
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.hero-visual {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    width: 400px;
    max-width: 100%;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

.card-dots {
    display: flex;
    gap: 0.25rem;
}

.card-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
}

.code-line {
    font-family: 'Fira Code', monospace;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.keyword { color: #fbbf24; }
.string { color: #34d399; }

.typing-indicator {
    display: flex;
    gap: 0.25rem;
    margin-top: 1rem;
}

.typing-indicator span {
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: typing 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 60%, 100% { opacity: 0.3; }
    30% { opacity: 1; }
}

/* ===================================== */
/* MODERN FEATURES SECTION */
/* ===================================== */
.features-section {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--neutral-200);
    transition: var(--transition-normal);
    position: relative;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-card.featured {
    border-color: var(--primary-500);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
}

.feature-badge {
    position: absolute;
    top: -12px;
    right: 1rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-card ul {
    list-style: none;
    padding: 0;
}

.feature-card ul li {
    padding: 0.25rem 0;
    color: var(--text-muted);
    font-size: 0.875rem;
    position: relative;
    padding-left: 1.5rem;
}

.feature-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-500);
    font-weight: 600;
}

/* ===================================== */
/* MODERN PRICING SECTION */
/* ===================================== */
.pricing-section {
    padding: 5rem 0;
    background: var(--bg-tertiary);
}

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

.pricing-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--neutral-200);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border-color: var(--primary-500);
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
    border-bottom: 1px solid var(--neutral-200);
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.price-currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
}

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

.pricing-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.pricing-features {
    padding: 1.5rem 2rem;
}

.feature-group {
    margin-bottom: 1.5rem;
}

.feature-group:last-child {
    margin-bottom: 0;
}

.feature-group h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-group ul {
    list-style: none;
    padding: 0;
}

.feature-group ul li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-group ul li i {
    color: var(--secondary-500);
    font-size: 0.75rem;
}

.pricing-footer {
    padding: 0 2rem 2rem;
}

.pricing-note {
    text-align: center;
    margin-top: 2rem;
}

.pricing-note p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ===================================== */
/* TECH SECTION */
/* ===================================== */
.tech-section {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.tech-item {
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    border: 1px solid var(--neutral-200);
    transition: var(--transition-normal);
}

.tech-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.tech-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: var(--radius-md);
}

.tech-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.tech-item p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ===================================== */
/* CTA SECTION */
/* ===================================== */
.cta-section {
    padding: 5rem 0;
    background: var(--gradient-primary);
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 2rem 0;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        margin-top: 2rem;
    }
    
    .hero-card {
        width: 100%;
        max-width: 350px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

/* ===================================== */
/* PAYMENT SUCCESS STYLES */
/* ===================================== */
.payment-success-container {
    padding: 5rem 0;
    background: var(--bg-secondary);
    min-height: calc(100vh - 80px);
}

.success-card, .error-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 3rem;
    text-align: center;
}

.success-icon, .error-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.success-icon {
    background: var(--gradient-success);
    color: white;
}

.error-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.success-card h1, .error-card h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.success-card h1 {
    color: var(--secondary-600);
}

.error-card h1 {
    color: #dc2626;
}

.success-subtitle, .error-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.order-summary, .database-info, .next-steps {
    text-align: left;
    margin: 3rem 0;
    padding: 2rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
}

.order-summary h3, .database-info h3, .next-steps h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.order-info {
    display: grid;
    gap: 1rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--neutral-200);
}

.info-row:last-child {
    border-bottom: none;
}

.db-access-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-top: 1.5rem;
}

.db-connection, .db-lists, .phpmyadmin-access {
    margin-bottom: 2rem;
}

.db-connection h4, .phpmyadmin-access h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.connection-details {
    display: grid;
    gap: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--neutral-100);
    border-radius: var(--radius-md);
}

.detail-item label {
    font-weight: 500;
    min-width: 60px;
}

.detail-item code {
    background: var(--neutral-200);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-family: 'Monaco', 'Courier New', monospace;
    flex: 1;
}

.copy-btn {
    background: var(--primary-500);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.375rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.copy-btn:hover {
    background: var(--primary-600);
}

.db-lists {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.db-list h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.db-list ul {
    list-style: none;
    padding: 0;
}

.db-list li {
    padding: 0.75rem;
    background: var(--neutral-100);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user-credentials {
    display: grid;
    gap: 0.5rem;
    flex: 1;
}

.user-credentials div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-500);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.action-buttons, .error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.error-details {
    text-align: left;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius-md);
    padding: 1rem;
    margin: 2rem 0;
}

/* ===================================== */
/* BILLING STYLES */
/* ===================================== */
.billing-container {
    padding: 2rem 0 5rem;
    background: var(--bg-secondary);
    min-height: calc(100vh - 80px);
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.page-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.billing-section {
    margin-bottom: 4rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

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

.subscription-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--neutral-200);
    transition: var(--transition-normal);
    overflow: hidden;
}

.subscription-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.subscription-header {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.subscription-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.subscription-status {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.status-active {
    background: rgba(34, 197, 94, 0.2);
    color: #059669;
}

.status-pending {
    background: rgba(251, 191, 36, 0.2);
    color: #d97706;
}

.status-expired, .status-cancelled {
    background: rgba(239, 68, 68, 0.2);
    color: #dc2626;
}

.subscription-price {
    text-align: right;
}

.subscription-price .price {
    font-size: 1.5rem;
    font-weight: 700;
}

.subscription-price .period {
    font-size: 0.875rem;
    opacity: 0.8;
}

.subscription-details {
    padding: 1.5rem;
}

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

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.detail-item i {
    color: var(--primary-500);
}

.subscription-actions {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    gap: 1rem;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--neutral-300);
}

.empty-icon {
    font-size: 3rem;
    color: var(--neutral-400);
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.orders-table-container, .invoices-table-container {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.orders-table, .invoices-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th, .invoices-table th {
    background: var(--neutral-100);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--neutral-200);
}

.orders-table td, .invoices-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--neutral-100);
}

.order-date strong, .tariff-name {
    color: var(--text-primary);
    font-weight: 500;
}

.order-date small {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.order-amount {
    color: var(--text-primary);
    font-weight: 600;
}

.order-status, .invoice-status {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-completed, .status-paid {
    background: rgba(34, 197, 94, 0.1);
    color: #059669;
}

.status-failed, .status-overdue {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.status-sent {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.paypal-id {
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.75rem;
    background: var(--neutral-100);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
}

.order-actions {
    display: flex;
    gap: 0.5rem;
}

.payment-methods {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.payment-method-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-md);
}

.payment-icon {
    font-size: 2rem;
    color: #0070ba;
}

.payment-info {
    flex: 1;
}

.payment-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.payment-info p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.support-card {
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.support-content {
    flex: 1;
}

.support-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.support-content p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.support-buttons {
    display: flex;
    gap: 1rem;
}

.support-icon {
    font-size: 3rem;
    opacity: 0.3;
}

/* Button Sizes */
.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .subscriptions-grid {
        grid-template-columns: 1fr;
    }
    
    .subscription-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .subscription-price {
        text-align: left;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .orders-table-container, .invoices-table-container {
        overflow-x: auto;
    }
    
    .support-card {
        flex-direction: column;
        text-align: center;
    }
    
    .support-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .action-buttons, .error-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* ===================================== */
/* CHECKOUT STYLES */
/* ===================================== */
.checkout-container {
    padding: 2rem 0 5rem;
    background: var(--bg-secondary);
    min-height: calc(100vh - 80px);
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Order Summary */
.order-summary {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    height: fit-content;
}

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

.summary-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.selected-plan {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.plan-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.plan-price {
    text-align: right;
}

.plan-price .price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-500);
}

.plan-price .price-period {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.plan-features h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.plan-features ul {
    list-style: none;
    padding: 0;
}

.plan-features li {
    padding: 0.375rem 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.plan-features li i {
    color: var(--secondary-500);
    font-size: 0.75rem;
}

.price-breakdown {
    border-top: 1px solid var(--neutral-200);
    padding-top: 1rem;
    margin-bottom: 2rem;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.breakdown-row.total {
    border-top: 1px solid var(--neutral-200);
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
}

.billing-info {
    background: var(--neutral-100);
    padding: 1rem;
    border-radius: var(--radius-md);
}

.billing-info h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.billing-info p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

/* Checkout Form */
.checkout-form {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
}

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

.form-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-header p {
    color: var(--text-secondary);
}

.customer-info, .payment-method {
    margin-bottom: 2rem;
}

.customer-info h3, .payment-method h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.info-card {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    position: relative;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.info-row .label {
    font-weight: 500;
    color: var(--text-secondary);
}

.edit-link {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--primary-500);
    text-decoration: none;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.edit-link:hover {
    color: var(--primary-600);
}

.payment-options {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.payment-option {
    padding: 1.5rem;
    border-bottom: 1px solid var(--neutral-200);
}

.payment-option:last-child {
    border-bottom: none;
}

.payment-option.selected {
    background: var(--bg-primary);
    border: 2px solid var(--primary-500);
}

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

.option-radio {
    position: relative;
}

.option-radio input {
    width: 20px;
    height: 20px;
    margin: 0;
}

.payment-icon {
    font-size: 1.5rem;
    color: #0070ba;
}

.option-header span {
    font-weight: 600;
    color: var(--text-primary);
}

.option-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-left: 3rem;
}

.terms-section {
    margin: 2rem 0;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.5;
}

.checkbox-container input {
    width: 18px;
    height: 18px;
    margin: 0;
}

.checkbox-container a {
    color: var(--primary-500);
    text-decoration: none;
}

.checkbox-container a:hover {
    text-decoration: underline;
}

.payment-submit {
    margin: 2rem 0;
}

.payment-submit.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.security-info {
    margin: 2rem 0;
    text-align: center;
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--neutral-100);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.security-badge i {
    color: var(--secondary-500);
}

.security-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.instant-setup {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(168, 85, 247, 0.05));
    border-radius: var(--radius-md);
    border: 1px solid var(--primary-200);
}

.instant-setup h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.setup-steps {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
    gap: 1rem;
}

.setup-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    text-align: center;
    flex-direction: column;
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--primary-500);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.setup-step span {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.instant-setup p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-align: center;
}

.support-notice {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
}

.notice-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.notice-content i {
    font-size: 2rem;
    color: var(--primary-500);
}

.notice-content div {
    flex: 1;
}

.notice-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.notice-content p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Footer - Dark Mode */
.footer {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-primary);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-section h4 {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-normal);
    font-size: 0.875rem;
}

.footer-section a:hover {
    color: var(--primary-400);
}

.footer-bottom {
    border-top: 1px solid var(--border-primary);
    margin-top: 2rem;
    padding: 1rem 2rem 0;
    text-align: center;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Welcome Back Section - Dark Mode */
.welcome-back-section {
    background: var(--gradient-hero);
    padding: 6rem 0;
    color: white;
    text-align: center;
}

.welcome-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.welcome-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.quick-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Dashboard Specific Styles - Dark Mode */
.dashboard-container {
    margin: 0 auto;
    padding: 2rem;
    background: var(--bg-primary);
    min-height: calc(100vh - 140px);
}

.dashboard-header {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    text-align: center;
}

.dashboard-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.dashboard-header p {
    opacity: 0.9;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-primary);
    transition: transform var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-card .stat-icon {
    font-size: 2rem;
    color: var(--primary-500);
    margin-bottom: 0.5rem;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stat-card .stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Subscription Cards */
.subscription-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.subscription-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.subscription-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.subscription-status {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

.status-active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--secondary-600);
    border: 1px solid var(--secondary-600);
}

.status-pending {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid #f59e0b;
}

.status-expired {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid #ef4444;
}

.subscription-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-primary);
}

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

.detail-value {
    color: var(--text-primary);
    font-weight: 500;
}

.subscription-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Copy to Clipboard */
.copy-credential {
    position: relative;
}

.copy-credential:hover {
    cursor: pointer;
}

.copy-credential .copy-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 0.5rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.copy-credential:hover .copy-tooltip {
    opacity: 1;
}

/* Tables */
.table {
    width: 100%;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-primary);
}

.table th,
.table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-primary);
}

.table th {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-weight: 600;
}

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

.table tbody tr:hover {
    background: var(--bg-primary);
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* Empty State - Dark Mode */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-primary);
    margin: 2rem 0;
}

.empty-state-content {
    max-width: 400px;
    margin: 0 auto;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.empty-state h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Alerts - Dark Mode */
.alert {
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid transparent;
}

.alert2 {
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid transparent;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #f87171;
}

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

.alert-success2 {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #34d399;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}

/* Code/Terminal styling */
.code-block {
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    padding: 1rem;
    font-family: 'Courier New', monospace;
    color: var(--text-primary);
    overflow-x: auto;
    margin: 1rem 0;
}

.inline-code {
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-sm);
    padding: 0.25rem 0.5rem;
    font-family: 'Courier New', monospace;
    color: var(--text-primary);
    font-size: 0.875rem;
}

/* Billing Specific Styles - Dark Mode */
.billing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--bg-primary);
    min-height: calc(100vh - 140px);
}

.page-header {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.page-header p {
    opacity: 0.9;
    font-size: 1.125rem;
}

.billing-section {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-primary);
}

.billing-section .section-header {
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-primary);
}

.billing-section .section-header h2 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
}

.subscriptions-grid {
    display: grid;
    gap: 1.5rem;
}

/* Payment Success Specific */
.success-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--bg-primary);
    min-height: calc(100vh - 140px);
}

.success-header {
    background: var(--gradient-success);
    color: white;
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-bottom: 2rem;
}

.success-header .success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: white;
}

.success-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.credentials-section {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border-primary);
    margin-bottom: 2rem;
}

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

.credential-item {
    background: var(--bg-primary);
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-primary);
}

.credential-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.credential-value {
    font-family: 'Courier New', monospace;
    color: var(--text-primary);
    font-size: 1rem;
    word-break: break-all;
    background: var(--bg-tertiary);
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-secondary);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--text-primary) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-success { color: var(--secondary-600) !important; }
.text-error { color: #ef4444 !important; }
.text-warning { color: #f59e0b !important; }

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

.border { border: 1px solid var(--border-primary) !important; }
.border-primary { border-color: var(--border-primary) !important; }
.border-accent { border-color: var(--primary-500) !important; }

.rounded { border-radius: var(--radius-md) !important; }
.rounded-lg { border-radius: var(--radius-lg) !important; }
.rounded-xl { border-radius: var(--radius-xl) !important; }

.shadow { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
.shadow-xl { box-shadow: var(--shadow-xl) !important; }

.p-1 { padding: 0.5rem !important; }
.p-2 { padding: 1rem !important; }
.p-3 { padding: 1.5rem !important; }
.p-4 { padding: 2rem !important; }

.m-1 { margin: 0.5rem !important; }
.m-2 { margin: 1rem !important; }
.m-3 { margin: 1.5rem !important; }
.m-4 { margin: 2rem !important; }

.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }

.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }

/* Responsive Design */
@media (max-width: 768px) {
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .order-summary {
        position: static;
        order: 2;
    }
    
    .checkout-form {
        order: 1;
    }
    
    .plan-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .plan-price {
        text-align: left;
    }
    
    .security-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .setup-steps {
        flex-direction: column;
        gap: 1rem;
    }
    
    .notice-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .nav-menu {
        gap: 0.5rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .dashboard-container {
        padding: 1rem;
    }
    
    .auth-card {
        padding: 2rem 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .subscription-actions {
        flex-direction: column;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn,
    .security-info {
        display: none !important;
    }
    
    .main-content {
        padding-top: 0 !important;
    }
    
    * {
        color: #000 !important;
        background: #fff !important;
    }
}

/* Status Page Styles - Dark Mode */
.status-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--bg-primary);
    min-height: calc(100vh - 140px);
}

.status-header {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.status-overview {
    margin-bottom: 2rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.status-badge.online {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid #10b981;
}

.status-badge.degraded {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid #f59e0b;
}

.status-badge.offline {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid #ef4444;
}

.status-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.status-header p {
    font-size: 1.125rem;
    opacity: 0.9;
}

.last-updated {
    position: absolute;
    top: 1rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.8;
}

.services-section {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-primary);
}

.services-section h2 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.service-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: transform var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-2px);
}

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

.service-icon {
    font-size: 2rem;
}

.service-info {
    flex: 1;
}

.service-info h3 {
    color: var(--text-primary);
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.service-info p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.status-indicator {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-indicator.online {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid #10b981;
}

.status-indicator.offline {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid #ef4444;
}

.service-details {
    display: grid;
    gap: 0.5rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-primary);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item span:first-child {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.detail-item span:last-child {
    color: var(--text-primary);
    font-weight: 500;
}

.external-link {
    color: var(--primary-400);
    text-decoration: none;
}

.external-link:hover {
    text-decoration: underline;
}

.server-section {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-primary);
}

.server-section h2 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.history-section {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-primary);
}

.history-section h2 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.availability-stats {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: center;
}

.uptime-card {
    text-align: center;
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-primary);
}

.uptime-percentage {
    font-size: 3rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 0.5rem;
}

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

.incidents-summary {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-primary);
}

.incidents-summary h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.incidents-summary p {
    color: var(--text-secondary);
}

.support-section {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border-primary);
}

.support-section h2 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.support-card {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-primary);
}

.support-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.support-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.monitoring-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #10b981;
    font-weight: 600;
}

/* Legal Pages Styles - Dark Mode */
.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--bg-primary);
    min-height: calc(100vh - 140px);
}

.legal-header {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
    text-align: center;
}

.legal-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.legal-header p {
    font-size: 1rem;
    opacity: 0.9;
}

.legal-content {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 3rem;
    border: 1px solid var(--border-primary);
    margin-bottom: 2rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-primary);
}

.legal-section h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.legal-section h4 {
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section ul,
.legal-section ol {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-section a {
    color: var(--primary-400);
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

.contact-info {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-primary);
    margin: 1rem 0;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info strong {
    color: var(--text-primary);
}

.legal-footer {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border-primary);
    text-align: center;
}

.contact-support h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.contact-support p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.version-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-primary);
    color: var(--text-muted);
    font-size: 0.875rem;
}

.version-info p {
    margin-bottom: 0.5rem;
}

/* Status Page Mobile Optimizations */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .server-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .availability-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
    }
    
    .last-updated {
        position: static;
        margin-top: 1rem;
    }
    
    .status-header {
        padding: 2rem 1rem;
    }
    
    .legal-content {
        padding: 2rem 1.5rem;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
}

/* ===================================== */
/* SUBSCRIPTION MANAGEMENT STYLES */
/* ===================================== */
.subscription-management-container {
    min-height: calc(100vh - 80px);
    background: var(--bg-primary);
    padding: 2rem 0;
}

.subscription-overview {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin-bottom: 3rem;
    border: 1px solid var(--border-primary);
}

.overview-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.subscription-info h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.subscription-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.subscription-status {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    /* Center Text */
    text-align: center; 
}

.subscription-status.active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--secondary-600);
    border: 1px solid var(--secondary-600);
}

.subscription-status.cancelled {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
    border: 1px solid #dc2626;
}

.subscription-id {
    color: var(--text-secondary);
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.subscription-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.subscription-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.detail-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border-primary);
}

.detail-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-list {
    display: grid;
    gap: 0.75rem;
}

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

.detail-item:last-child {
    border-bottom: none;
}

.detail-item span:first-child {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.detail-item span:last-child {
    color: var(--text-primary);
    font-weight: 500;
}

.databases-section,
.users-section,
.connection-section {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-primary);
}

.databases-section h2,
.users-section h2,
.connection-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.databases-list,
.users-list {
    display: grid;
    gap: 1.5rem;
}

.database-item,
.user-item {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border-primary);
}

.database-header,
.user-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.database-header h3,
.user-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
}

.database-status {
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.database-status.active {
    background: rgba(16, 185, 129, 0.15);
    color: var(--secondary-600);
}

.user-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

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

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-primary);
    font-size: 0.875rem;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item span:first-child {
    color: var(--text-secondary);
}

.info-item span:last-child {
    color: var(--text-primary);
    font-weight: 500;
}

.code-value {
    font-family: 'Courier New', monospace;
    background: var(--bg-tertiary);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-primary);
    font-size: 0.875rem !important;
}

.password-hidden {
    cursor: pointer;
    user-select: none;
}

.password-text {
    font-family: 'Courier New', monospace;
    margin-right: 0.5rem;
}

.connection-info-card {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-primary);
}

.connection-info-card:last-child {
    margin-bottom: 0;
}

.connection-info-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.connection-info-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.connection-details {
    display: grid;
    gap: 0.75rem;
}

.connection-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.connection-item label {
    min-width: 80px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.connection-item code {
    background: var(--bg-tertiary);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-sm);
    font-family: 'Courier New', monospace;
    color: var(--text-primary);
    border: 1px solid var(--border-primary);
    font-size: 0.875rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    border-radius: var(--radius-sm);
}

/* Dashboard Stats Grid Update */
.dashboard-content-wide .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.dashboard-content-wide .stat-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.dashboard-content-wide .stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-500);
}

.dashboard-content-wide .stat-card .stat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    background: var(--gradient-primary);
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.dashboard-content-wide .stat-content {
    flex: 1;
}

.dashboard-content-wide .stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1;
}

.dashboard-content-wide .stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
/* ===================================== */
/* DATABASE PASSWORD RESET STYLES */
/* ===================================== */
.db-users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.db-user-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition-normal);
}

.db-user-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.db-user-card .card-header {
    background: var(--bg-elevated);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.db-user-card .card-header h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.tariff-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.db-user-card .card-content {
    padding: 1.5rem;
}

.databases-list h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.databases-list ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.databases-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-primary);
}

.databases-list li:last-child {
    border-bottom: none;
}

.connection-info {
    margin-top: 1.5rem;
}

.db-user-card .info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-primary);
}

.db-user-card .info-row:last-child {
    border-bottom: none;
}

.db-user-card .info-row span:first-child {
    color: var(--text-secondary);
    font-weight: 500;
}

.db-user-card .info-row code {
    background: var(--bg-primary);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-family: 'Monaco', 'Consolas', monospace;
    color: var(--primary-400);
}

.copy-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.copy-btn:hover {
    color: var(--primary-500);
    background: var(--bg-primary);
}

.db-user-card .card-actions {
    padding: 1.5rem;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-primary);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.reset-form {
    flex: 1;
}

.security-notice {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 3rem 0;
    box-shadow: var(--shadow-md);
}

.security-notice h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.notice-content {
    display: grid;
    gap: 1.5rem;
}

.notice-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.notice-item i {
    font-size: 1.25rem;
    margin-top: 0.125rem;
}

.notice-item strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
}

.notice-item p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.text-warning { color: #d97706; }
.text-info { color: #0891b2; }
.text-muted { color: var(--text-muted); }

@media (max-width: 768px) {
    .db-users-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .db-user-card .card-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .db-user-card .card-actions {
        flex-direction: column;
    }
    
    .db-user-card .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Single Database Info Styles */
.database-info {
    margin-bottom: 1.5rem;
}

.single-database {
    background: var(--bg-primary);
    padding: 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-primary);
    margin-top: 0.75rem;
}

.single-database code {
    font-size: 1rem;
    color: var(--primary-400);
    font-weight: 600;
}

.db-meta {
    display: block;
    margin-top: 0.5rem;
}

.db-meta small {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ===================================== */
/* MODAL STYLES */
/* ===================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(-20px);
    transition: transform 0.3s ease-in-out;
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1rem 2rem 2rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Warning Box */
.warning-box {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(245, 158, 11, 0.1));
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.warning-icon {
    width: 3rem;
    height: 3rem;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.warning-content h4 {
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
}

.warning-content p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Database Info in Modal */
.database-info-modal {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.database-info-modal h5 {
    margin: 0 0 1rem 0;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.database-highlight {
    background: var(--bg-primary);
    border: 2px solid var(--primary-500);
    border-radius: var(--radius-md);
    padding: 1rem;
    text-align: center;
}

.database-highlight code {
    font-size: 1.125rem;
    color: var(--primary-400);
    font-weight: 600;
}

/* Consequences List */
.consequences {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.consequences h5 {
    margin: 0 0 1rem 0;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.consequences ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.consequences li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-primary);
}

.consequences li:last-child {
    border-bottom: none;
}

.consequences li i {
    margin-top: 0.125rem;
    flex-shrink: 0;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .modal-footer {
        flex-direction: column-reverse;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
    
    .warning-box {
        flex-direction: column;
        text-align: center;
    }
}

/* ===================================== */
/* TEAM SECTION */
/* ===================================== */
.team-section {
    padding: 5rem 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.02) 0%, rgba(168, 85, 247, 0.02) 100%);
    pointer-events: none;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.team-member {
    background: var(--bg-secondary);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-200);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-400);
}

.team-member:hover::before {
    left: 0;
}

.member-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    position: relative;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
    transition: var(--transition-normal);
}

.team-member:hover .avatar-placeholder {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.4);
}

.member-info {
    text-align: center;
}

.member-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.member-role {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-500);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* Team Section Responsive */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-member {
        padding: 2rem 1.5rem;
    }
    
    .member-avatar {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }
    
    .avatar-placeholder {
        font-size: 1.8rem;
    }
    
    .member-info h3 {
        font-size: 1.3rem;
    }
    
    .member-role {
        font-size: 0.9rem;
    }
    
    .member-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .team-section {
        padding: 3rem 0;
    }
    
    .team-grid {
        gap: 1.5rem;
    }
    
    .team-member {
        padding: 1.5rem 1rem;
    }
    
    .member-avatar {
        width: 60px;
        height: 60px;
    }
    
    .avatar-placeholder {
        font-size: 1.5rem;
    }
}
