/**
 * Premium Modern Gradient SaaS Design
 * Light theme with vibrant gradients and premium components
 */

:root {
    /* Light Theme Base Colors */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f1f5f9;
    --bg-elevated: #ffffff;
    --accent-light: rgba(102, 126, 234, 0.1);
    
    /* Gradient Backgrounds */
    --gradient-primary:  linear-gradient(135deg, #667eea 0%, #764ba2 100%);       /* blue-violet */
    --gradient-success:  linear-gradient(135deg, #10b981 0%, #059669 100%);       /* emerald */
    --gradient-danger:   linear-gradient(135deg, #ef4444 0%, #dc2626 100%);       /* red */
    --gradient-info:     linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);       /* sky-blue */
    --gradient-warning:  linear-gradient(135deg, #f59e0b 0%, #f97316 100%);       /* amber-orange */
    --gradient-pink:     linear-gradient(135deg, #ec4899 0%, #a855f7 100%);       /* pink-violet */
    --gradient-teal:     linear-gradient(135deg, #14b8a6 0%, #0ea5e9 100%);       /* teal-sky */
    --gradient-hero:     linear-gradient(135deg, #667eea 0%, #a855f7 50%, #ec4899 100%); /* brand full */
    --gradient-brand:    linear-gradient(135deg, #667eea 0%, #a855f7 100%);       /* brand short */
    --gradient-card:     linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    
    /* Text Colors */
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-tertiary: #718096;
    --text-muted: #a0aec0;
    --text-white: #ffffff;
    
    /* Accent Colors */
    --accent-primary: #667eea;
    --accent-secondary: #764ba2;
    --accent-success: #10b981;
    --accent-danger: #ef4444;
    --accent-warning: #f59e0b;
    --accent-info: #3b82f6;
    
    /* Borders & Shadows */
    --border-light: #e2e8f0;
    --border-default: #cbd5e0;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 30px rgba(102, 126, 234, 0.4);
    --shadow-colored: 0 10px 40px rgba(102, 126, 234, 0.2);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
}

html {
    -webkit-tap-highlight-color: rgba(102, 126, 234, 0.1);
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    background: #f8fafc;
    color: #1e293b;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-overflow-scrolling: touch;
    touch-action: manipulation;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 600;
    line-height: 1.3;
    color: #1e293b;
}

/* Premium Gradient Cards */
.card-premium {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    padding: 1.25rem;
}

.card-premium:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e0;
}

.card-premium-elevated {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    padding: 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-premium-gradient {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    padding: 1.25rem;
}

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

.card-elevated {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
}

/* Premium Gradient Buttons - Compact & Stylish */
.btn-premium,
.btn-primary,
.btn-secondary,
.btn-success,
.btn-danger,
.btn-info,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.4;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: all var(--transition-base);
    font-family: inherit;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.04);
}

/* Keep btn-premium its own definition too */
.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.4;
    border-radius: var(--radius-md);
    border: none;
    transition: all var(--transition-base);
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn-premium:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-brand);
    color: var(--text-white);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.35), 0 2px 8px rgba(168, 85, 247, 0.2);
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-primary:active {
    opacity: 0.8;
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-default);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-secondary:hover {
    border-color: #667eea;
    color: #667eea;
    background: #f8fafc;
}

.btn-secondary:active {
    background: #f1f5f9;
}

.btn-success {
    background: var(--gradient-success);
    color: var(--text-white);
    box-shadow: 0 4px 20px rgba(17, 153, 142, 0.35), 0 2px 8px rgba(17, 153, 142, 0.2);
}

.btn-success:hover {
    opacity: 0.9;
}

.btn-success:active {
    opacity: 0.8;
}

.btn-danger {
    background: var(--gradient-danger);
    color: var(--text-white);
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.35), 0 2px 8px rgba(239, 68, 68, 0.2);
}

.btn-danger:hover {
    opacity: 0.9;
}

.btn-danger:active {
    opacity: 0.8;
}

.btn-info {
    background: var(--gradient-info);
    color: var(--text-white);
    box-shadow: 0 4px 20px rgba(75, 172, 254, 0.3);
}

.btn-info:hover {
    opacity: 0.9;
}

.btn-info:active {
    opacity: 0.8;
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    box-shadow: none;
}

.btn-ghost:hover {
    background: var(--bg-tertiary);
    color: var(--accent-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-sm {
    padding: 0.4375rem 0.875rem;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
}

.btn-icon {
    padding: 0.75rem;
    border-radius: var(--radius-md);
}

/* Input Fields - Compact & Modern */
.input-premium {
    width: 100%;
    padding: 0.875rem 1.125rem;
    font-size: 1rem;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    color: #1e293b;
    transition: all var(--transition-base);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    -webkit-appearance: none;
    appearance: none;
    font-weight: 400;
}

.input-premium:hover {
    border-color: #cbd5e0;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.input-premium:focus {
    outline: none;
    border-color: #667eea;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1), 0 2px 8px rgba(102, 126, 234, 0.15);
}

.input-premium::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

/* Top Navbar with Gradient - Enterprise Quality */
.navbar-premium {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4.5rem;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    z-index: 50;
    display: flex;
    align-items: center;
    padding: 0 2rem;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Sidebar - Enterprise Quality */
.sidebar {
    position: fixed;
    top: 4.5rem;
    left: 0;
    bottom: 0;
    width: 17rem;
    background: #ffffff;
    border-right: 1px solid #e2e8f0;
    overflow-y: auto;
    padding: 2rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

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

.sidebar-nav-item {
    margin-bottom: 0.25rem;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1.25rem;
    border-radius: var(--radius-lg);
    color: #475569;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.sidebar-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.sidebar-nav-link:hover {
    background: #f8fafc;
    color: #1e293b;
}

.sidebar-nav-link:hover::before {
    transform: scaleY(1);
}

.sidebar-nav-link.active {
    background: linear-gradient(135deg, #667eea 0%, #a855f7 100%);
    color: #ffffff;
}

.sidebar-nav-link.active::before {
    transform: scaleY(1);
    background: rgba(255, 255, 255, 0.3);
}

.sidebar-nav-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

/* Main Content */
.main-content {
    margin-left: 17rem;
    margin-top: 4.5rem;
    min-height: calc(100vh - 4.5rem);
    padding: 2.5rem;
}

.main-content-full {
    margin-left: 0;
    margin-top: 4.5rem;
    min-height: calc(100vh - 4.5rem);
}

/* Hero Section with Gradient */
.hero-gradient {
    background: var(--gradient-hero);
    border-radius: var(--radius-2xl);
    padding: 4rem 3rem;
    color: var(--text-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

/* Premium Table - Enterprise Quality */
.table-premium {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.table-premium thead {
    background: #f8fafc;
}

.table-premium th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    border-bottom: 2px solid #e2e8f0;
}

.table-premium td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9375rem;
    color: #475569;
}

.table-premium tbody tr {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.table-premium tbody tr::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.table-premium tbody tr:hover {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.05) 0%, transparent 100%);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.12);
    transform: translateX(4px);
}

.table-premium tbody tr:hover::before {
    opacity: 1;
}

/* Stats Card with Gradient Border - Compact & Stylish */
.stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3), 0 10px 30px rgba(0, 0, 0, 0.12), 0 0 1px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Alert */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

/* Badge with Gradient - Enterprise Quality */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.badge:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.badge-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
}

.badge-primary:hover {
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

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

.badge-success:hover {
    box-shadow: 0 4px 16px rgba(17, 153, 142, 0.4);
}

/* Gradient Divider */
.gradient-divider {
    height: 3px;
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius-full);
    margin: 2rem 0;
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 40;
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

/* Responsive Design - Compact & Modern */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform var(--transition-base);
        z-index: 45;
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
        padding: 1rem;
    }
    
    .navbar-premium {
        padding: 0 1rem;
        height: 3.5rem;
    }
    
    .sidebar {
        top: 3.5rem;
    }
    
    .stat-card:hover {
        transform: translateY(-2px);
    }
    
    .card-premium {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .btn-premium {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
        gap: 0.25rem;
    }
    
    .btn-lg {
        padding: 0.625rem 1.125rem;
        font-size: 0.875rem;
    }
    
    .card-elevated {
        padding: 1rem;
        border-radius: var(--radius-md);
    }
    
    .card-premium {
        padding: 0.875rem;
        border-radius: var(--radius-md);
    }
    
    .hero-gradient {
        padding: 2rem 1rem;
    }
    
    .navbar-brand {
        font-size: 1.125rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-value {
        font-size: 1.75rem;
    }
    
    .sidebar {
        width: 14rem;
    }
    
    h1 {
        font-size: 1.5rem !important;
    }
    
    h2 {
        font-size: 1.25rem !important;
    }
}

@media (max-width: 640px) {
    .btn-premium {
        padding: 0.75rem 1rem;
        font-size: 0.9375rem;
        gap: 0.375rem;
        min-height: 48px;
    }
    
    .card-premium {
        padding: 1rem;
        border-radius: var(--radius-md);
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .navbar-premium {
        padding: 0 1rem;
        height: 4rem;
    }
    
    .sidebar {
        top: 4rem;
        width: 13rem;
    }
    
    .main-content {
        padding: 1rem;
        margin-top: 4rem;
    }
    
    .main-content-full {
        margin-top: 4rem;
    }
    
    h1 {
        font-size: 1.5rem !important;
    }
    
    h2 {
        font-size: 1.25rem !important;
    }
    
    .input-premium {
        padding: 0.875rem 1.125rem;
        font-size: 1rem;
        border-width: 2px;
        min-height: 52px;
    }
    
    .input-premium:focus {
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15), 0 2px 6px rgba(102, 126, 234, 0.08);
        transform: none;
    }
    
    .input-colorful {
        padding: 0.875rem 1.125rem;
        font-size: 1rem;
        min-height: 52px;
    }
    
    .input-colorful:focus {
        transform: none;
    }
    
    /* Disable hover transforms on mobile for better performance */
    .btn-premium:hover,
    .btn-colorful:hover,
    .btn-create-colorful:hover {
        transform: none;
    }
    
    .card-premium:hover,
    .card-premium-elevated:hover,
    .feature-card-colorful:hover {
        transform: none;
    }
    
    /* Better touch targets */
    textarea.input-colorful,
    textarea.input-premium {
        min-height: 100px;
        line-height: 1.6;
    }
    
    select.input-premium {
        min-height: 52px;
        padding: 0.875rem 1.125rem;
        font-size: 1rem;
    }
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Focus Visible */
*:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Enterprise-Level Search */
.search-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.search-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.9375rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2), 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    color: var(--text-tertiary);
    pointer-events: none;
    transition: all 0.3s ease;
}

.search-input:focus ~ .search-icon {
    color: var(--accent-primary);
    transform: translateY(-50%) scale(1.1);
}

/* Premium Link Hover Effects - Simplified */
a:not(.btn-premium):not(.btn-primary):not(.btn-secondary):not(.sidebar-nav-link):not(.ap-nav-link):not(.ap-brand):not(.ap-bottom-tab):not(.ap-btn-ghost):not(.ap-btn-logout):not(.db-action-link):not(.lb-btn):not(.lb-url):not(.st-btn) {
    transition: color 0.2s ease;
    color: #667eea;
}

a:not(.btn-premium):not(.btn-primary):not(.btn-secondary):not(.sidebar-nav-link):not(.ap-nav-link):not(.ap-brand):not(.ap-bottom-tab):not(.ap-btn-ghost):not(.ap-btn-logout):not(.db-action-link):not(.lb-btn):not(.lb-url):not(.st-btn):hover {
    color: #4f46e5;
    text-decoration: underline;
}

/* Sophisticated Table Hover - Simplified */
table tr {
    transition: background 0.2s ease;
}

table tr:hover {
    background: #f8fafc;
}

/* Premium Input Focus Effects */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
textarea,
select {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="password"]:hover,
input[type="url"]:hover,
textarea:hover,
select:hover {
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.08);
}

/* Better mobile input handling */
@media (max-width: 1024px) {
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="url"],
    textarea,
    select {
        font-size: 16px !important;
        padding: 0.875rem 1.125rem;
        min-height: 48px;
    }
    
    textarea {
        min-height: 100px;
    }
    
    select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 0.75rem center;
        background-size: 1.25rem;
        padding-right: 2.5rem;
    }
}

/* Icon Animations - Simplified */
.icon-animate {
    transition: transform 0.2s ease;
}

.icon-animate:hover {
    transform: scale(1.05);
}

/* Removed complex animations for simpler design */

/* Link Type Toggle Buttons - Premium Hover */
.link-type-btn:hover {
    transform: translateY(-3px) scale(1.03);
}

.link-type-btn.active:hover {
    box-shadow: 0 8px 28px rgba(102, 126, 234, 0.6);
}

.link-type-btn:not(.active):hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
}

/* ========== COLORFUL DESIGN SYSTEM ========== */

/* Colorful Title & Subtitle */
.colorful-title {
    font-size: 1.875rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: #1e293b;
}

.gradient-text {
    color: #667eea;
}

.colorful-subtitle {
    font-size: 0.9375rem;
    color: #475569;
}

.colorful-link {
    font-weight: 700;
    color: #667eea;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.colorful-link:hover {
    color: #4f46e5;
    text-decoration: underline;
}

/* Success Box - Top Position */
.success-box-top {
    /* Simple, no animation */
}

.card-success-colorful {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

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

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

.success-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.success-url-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1rem;
}

.success-url {
    font-size: 1.125rem;
    font-weight: 700;
    color: #667eea;
    word-break: break-all;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.success-url:hover {
    color: #764ba2;
    transform: scale(1.02);
}

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

/* Colorful Buttons */
.btn-colorful {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-height: 48px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.btn-copy {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.btn-copy:hover {
    opacity: 0.9;
}

.btn-test {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.btn-test:hover {
    opacity: 0.9;
}

.btn-edit {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.btn-edit:hover {
    opacity: 0.9;
}

/* Social Fields Container */
.social-fields-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-field-box {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.social-field-box:hover {
    border-color: #cbd5e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Colorful Upload Zone */
.og-upload-zone-colorful {
    border: 2px dashed #cbd5e0;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.og-upload-zone-colorful:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.03);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.btn-remove-image {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    margin-top: 0.75rem;
    transition: all 0.3s ease;
}

.btn-remove-image:hover {
    opacity: 0.9;
}

/* Colorful Input Fields */
.input-colorful {
    width: 100%;
    padding: 0.875rem 1.125rem;
    font-size: 1rem;
    font-weight: 400;
    color: #1e293b;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    -webkit-appearance: none;
    appearance: none;
    min-height: 48px;
}

.input-colorful:focus {
    outline: none;
    border-color: #667eea;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1), 0 2px 8px rgba(102, 126, 234, 0.15);
}

.input-colorful:hover {
    border-color: #cbd5e0;
    background: #ffffff;
}

/* Simple fade animation only */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Colorful Label */
.colorful-label {
    color: #1e293b;
    font-weight: 600;
}

/* Create Button - Colorful & Powerful */
.btn-create-colorful {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 1rem 1.75rem;
    font-size: 1.0625rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #a855f7 50%, #ec4899 100%);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.4), 0 3px 12px rgba(168, 85, 247, 0.3);
    position: relative;
    overflow: hidden;
    min-height: 56px;
}

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

.btn-create-colorful:hover::before {
    left: 100%;
}

.btn-create-colorful:hover {
    opacity: 0.9;
}

.btn-create-colorful:active {
    opacity: 0.8;
}

/* Mobile Responsive - Colorful */
@media (max-width: 640px) {
    .colorful-title {
        font-size: 1.75rem;
    }
    
    .colorful-subtitle {
        font-size: 0.9375rem;
    }
    
    .success-title {
        font-size: 1.125rem;
    }
    
    .success-url {
        font-size: 1rem;
    }
    
    .btn-colorful {
        padding: 0.75rem 1rem;
        font-size: 0.9375rem;
        min-height: 48px;
    }
    
    .social-field-box {
        padding: 1.125rem;
    }
    
    .card-success-colorful {
        padding: 1.5rem;
    }
    
    .btn-create-colorful {
        padding: 1rem 1.5rem;
        font-size: 1.0625rem;
        min-height: 56px;
    }
    
    /* Better spacing on mobile */
    .success-actions {
        gap: 0.625rem;
    }
    
    .success-actions .btn-colorful {
        flex: 1;
        justify-content: center;
        min-width: 0;
    }
}

/* Feature Cards - Colorful */
.feature-card-colorful {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Removed fancy effects for simplicity */

.feature-card-colorful:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e0;
}

.feature-icon-box {
    width: 4rem;
    height: 4rem;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-icon-box-purple {
    background: linear-gradient(135deg, #667eea 0%, #a855f7 100%);
}

.feature-icon-box-green {
    background: linear-gradient(135deg, #10b981 0%, #0ea5e9 100%);
}

.feature-icon-box-blue {
    background: linear-gradient(135deg, #ec4899 0%, #a855f7 100%);
}

.feature-card-colorful:hover .feature-icon-box {
    transform: scale(1.05);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: 0.875rem;
    color: #475569;
}

@media (max-width: 640px) {
    .feature-card-colorful {
        padding: 1.5rem 1rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .feature-title {
        font-size: 1rem;
    }
    
    .feature-desc {
        font-size: 0.8125rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #667eea 0%, #a855f7 100%);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.shadow-colored {
    box-shadow: var(--shadow-colored);
}

/* Enhanced Hover Effects - Simplified */
.card-premium:hover,
.card-premium-elevated:hover,
.card-premium-gradient:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* OG Image Upload Zone */
.og-upload-zone:hover {
    border-color: var(--accent-primary);
    background: rgba(102, 126, 234, 0.03);
}

.og-upload-zone.drag-over {
    border-color: var(--accent-primary);
    background: rgba(102, 126, 234, 0.08);
}

/* Premium Copy Button Feedback */
.btn-premium.copied {
    background: var(--gradient-success) !important;
    transform: scale(1.05);
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

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

/* Fade in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.4s ease forwards;
}

.fade-in-delay-1 { animation-delay: 0.1s; opacity: 0; animation-fill-mode: forwards; animation-name: fadeInUp; animation-duration: 0.4s; }
.fade-in-delay-2 { animation-delay: 0.2s; opacity: 0; animation-fill-mode: forwards; animation-name: fadeInUp; animation-duration: 0.4s; }
.fade-in-delay-3 { animation-delay: 0.3s; opacity: 0; animation-fill-mode: forwards; animation-name: fadeInUp; animation-duration: 0.4s; }

/* Link status indicator - simple */
.link-status {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
}

/* ========== ENHANCED MOBILE OPTIMIZATIONS ========== */

/* Tablet & Large Mobile (641px to 1024px) */
@media (min-width: 641px) and (max-width: 1024px) {
    .input-premium,
    .input-colorful {
        padding: 0.875rem 1.125rem;
        font-size: 1rem;
        min-height: 52px;
    }
    
    .btn-premium {
        padding: 0.75rem 1.125rem;
        font-size: 0.9375rem;
        min-height: 48px;
    }
    
    .btn-colorful {
        padding: 0.75rem 1.125rem;
        font-size: 0.9375rem;
        min-height: 48px;
    }
    
    .btn-create-colorful {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
        min-height: 54px;
    }
    
    .card-premium-elevated,
    .card-premium-gradient {
        padding: 1.5rem;
    }
    
    .navbar-premium {
        padding: 0 1.5rem;
    }
}

/* Performance optimization for all mobile devices */
@media (max-width: 1024px) {
    /* Disable expensive animations on mobile */
    .btn-premium:hover,
    .btn-secondary:hover,
    .btn-colorful:hover,
    .btn-create-colorful:hover,
    .card-premium:hover,
    .card-premium-elevated:hover,
    .feature-card-colorful:hover,
    .social-field-box:hover,
    .og-upload-zone-colorful:hover {
        transform: none;
    }
    
    /* Reduce animation complexity */
    * {
        animation-duration: 0.2s !important;
        transition-duration: 0.15s !important;
    }
    
    /* Prevent zoom on double-tap */
    button,
    a {
        touch-action: manipulation;
    }
    
    /* Better text rendering on mobile */
    body {
        text-rendering: optimizeSpeed;
    }
    
    /* Smooth scrolling */
    html {
        scroll-behavior: smooth;
    }
}

/* Extra small mobile (below 400px) */
@media (max-width: 400px) {
    .navbar-premium {
        padding: 0 0.75rem;
        height: 4rem;
    }
    
    .navbar-brand {
        font-size: 1rem;
        gap: 0.5rem;
    }
    
    .navbar-brand svg {
        width: 1.25rem;
        height: 1.25rem;
    }
    
    .btn-premium.btn-sm {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .colorful-title {
        font-size: 1.5rem;
    }
    
    .colorful-subtitle {
        font-size: 0.875rem;
    }
    
    .card-premium-elevated {
        padding: 0.875rem;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .success-actions .btn-colorful {
        width: 100%;
    }
}

/* Landscape mode on mobile */
@media (max-width: 896px) and (orientation: landscape) {
    .navbar-premium {
        height: 3.5rem;
    }
    
    .main-content-full {
        margin-top: 3.5rem;
    }
    
    .sidebar {
        top: 3.5rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .input-premium,
    .input-colorful {
        border-width: 1.5px;
    }
    
    .btn-premium,
    .btn-colorful {
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }
}

/* Accessibility: Reduce motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Always use light mode for consistency */

/* ========== HERO SECTION ========== */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 60%, #a855f7 100%);
    padding: 5rem 1.5rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 9999px;
    padding: 0.375rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255,255,255,0.95);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    display: inline-block;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero-title span {
    color: rgba(255,255,255,0.75);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: rgba(255,255,255,0.8);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.hero-stat-item {
    text-align: center;
}

.hero-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.65);
    margin-top: 0.25rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========== AUTH SPLIT LAYOUT ========== */
.auth-layout {
    display: flex;
    min-height: 100vh;
    margin-top: 4.5rem;
}

.auth-sidebar {
    display: none;
    width: 45%;
    background: linear-gradient(145deg, #667eea 0%, #764ba2 60%, #a855f7 100%);
    padding: 3rem;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

@media (min-width: 768px) {
    .auth-sidebar {
        display: flex;
    }
    .auth-sidebar + .auth-form-side {
        width: 55%;
    }
}

.auth-sidebar-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.auth-sidebar-headline {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.auth-sidebar-sub {
    color: rgba(255,255,255,0.75);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.auth-feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.auth-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255,255,255,0.9);
    font-size: 0.9375rem;
    font-weight: 500;
}

.auth-feature-check {
    width: 1.25rem;
    height: 1.25rem;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.auth-form-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    background: #f8fafc;
}

.auth-form-box {
    width: 100%;
    max-width: 420px;
}

.auth-form-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.auth-form-subtitle {
    font-size: 0.9375rem;
    color: #64748b;
    margin-bottom: 2rem;
}

/* ========== STAT CARD ICON FIX ========== */
.stat-icon-wrap {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-purple { background: linear-gradient(135deg, rgba(102,126,234,0.15), rgba(168,85,247,0.12)); }
.stat-icon-green  { background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(14,165,233,0.12)); }
.stat-icon-violet { background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(236,72,153,0.12)); }

/* ========== FORM SECTION DIVIDER ========== */
.form-section-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.form-section-label::before,
.form-section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e2e8f0;
}
