/* Dashboard Styles - Modern & Beautiful - 2025 Design System */
:root {
    /* Modern Color Palette - Primary */
    --primary-50: #f0f4ff;
    --primary-100: #e0e9ff;
    --primary-200: #c7d7fe;
    --primary-300: #a5b8fc;
    --primary-400: #8b93f8;
    --primary-500: #7c7bf4;
    --primary-600: #6d63e8;
    --primary-700: #5c4dcd;
    --primary-800: #4b3fa5;
    --primary-900: #403883;
    
    /* Neutral Colors */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Success Colors */
    --success-50: #ecfdf5;
    --success-100: #d1fae5;
    --success-500: #10b981;
    --success-600: #059669;
    
    /* Warning Colors */
    --warning-50: #fffbeb;
    --warning-100: #fef3c7;
    --warning-500: #f59e0b;
    --warning-600: #d97706;
    
    /* Error/Danger Colors */
    --error-50: #fef2f2;
    --error-100: #fee2e2;
    --error-500: #ef4444;
    --error-600: #dc2626;
    --danger-color: #ef4444;
    --danger-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    
    /* Info Colors */
    --info-50: #eff6ff;
    --info-100: #dbeafe;
    --info-500: #3b82f6;
    --info-600: #2563eb;
    
    /* Legacy Variables (for backward compatibility) */
    --dashboard-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --dashboard-bg-light: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --card-bg: #ffffff;
    --card-bg-hover: #f8fafc;
    --border-color: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --success-color: #10b981;
    --success-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --warning-color: #f59e0b;
    --warning-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --info-color: #3b82f6;
    --info-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --primary-color: #4a6bff;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-gradient-hover: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    
    /* Modern Shadows */
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Modern Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Modern Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    
    /* Modern 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);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Auth Section */
.auth-section {
    min-height: 100vh;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 20px 20px; /* Added top padding for fixed header */
    position: relative;
    overflow: hidden;
}

.auth-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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.auth-content {
    width: 100%;
    max-width: 800px;
}

.auth-card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 48px;
    box-shadow: var(--shadow-xl);
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideUp 0.6s ease-out;
}

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

.auth-header {
    margin-bottom: 40px;
}

.auth-header i {
    font-size: 72px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.auth-header h1 {
    font-size: 36px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.auth-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

.auth-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.auth-features .feature {
    padding: 24px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.auth-features .feature:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-lg);
}

.auth-features .feature i {
    font-size: 48px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.auth-features .feature:hover i {
    transform: scale(1.1);
}

.auth-features .feature h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.auth-features .feature p {
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Auth Options */
.auth-options {
    margin-top: 30px;
}

.auth-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    background: var(--light-gray);
    border-radius: 10px;
    padding: 5px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.auth-tab {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.auth-tab.active {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.auth-tab-content {
    display: none;
    max-width: 400px;
    margin: 0 auto;
}

.auth-tab-content.active {
    display: block;
}

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

.google-btn {
    width: 100%;
    padding: 16px 24px;
    background: var(--card-bg);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

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

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

.google-btn:hover {
    background: #f8f9fa;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.google-btn i {
    color: #4285f4;
    font-size: 18px;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    background: var(--card-bg);
    padding: 0 15px;
    color: var(--text-secondary);
    font-size: 14px;
}

.auth-form {
    text-align: left;
}

.auth-form .form-group {
    margin-bottom: 15px;
}

.auth-form input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--white);
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 107, 255, 0.1);
}

.auth-form .btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
    margin-top: 10px;
}

.auth-links {
    margin-top: 20px;
    text-align: center;
}

.auth-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    color: #3a56d4;
    text-decoration: underline;
}

.auth-note {
    margin-top: 15px;
    color: var(--text-secondary);
    font-size: 14px;
}

.auth-footer-links {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.back-to-home-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: var(--radius-md);
}

.back-to-home-link:hover {
    background: rgba(74, 107, 255, 0.1);
    color: #3a56d4;
    transform: translateX(-4px);
}

.back-to-home-link i {
    font-size: 12px;
    transition: var(--transition);
}

.back-to-home-link:hover i {
    transform: translateX(-2px);
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 280px;
    background: var(--card-bg);
    box-shadow: var(--shadow-xl);
    border-right: 1px solid var(--border-color);
    z-index: 1500;
    transform: translateX(-100%);
    transition: transform var(--transition-base);
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar.open {
    transform: translateX(0);
}

/* Desktop: Show sidebar on hover */
@media (min-width: 769px) {
    .sidebar {
        transform: translateX(-240px);
        transition: transform var(--transition-base);
    }
    
    /* Show sidebar when hovering over it */
    .sidebar:hover {
        transform: translateX(0);
    }
    
    /* Show sidebar when explicitly opened */
    .sidebar.open {
        transform: translateX(0);
    }
    
    /* Keep sidebar visible when body has sidebar-visible class */
    body.sidebar-visible .sidebar {
        transform: translateX(0);
    }
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.sidebar-logo img {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

.sidebar-logo-text {
    display: flex;
    flex-direction: column;
}

.sidebar-logo-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.sidebar-logo-subtitle {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
}

.sidebar-close {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.sidebar-close:hover {
    background: var(--card-bg-hover);
    color: var(--primary-color);
}

.sidebar-nav {
    padding: 16px 0;
}

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

.sidebar-nav li {
    margin: 4px 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    border-left: 3px solid transparent;
}

.sidebar-link i {
    font-size: 18px;
    width: 24px;
    text-align: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.sidebar-link:hover {
    background: rgba(74, 107, 255, 0.05);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.sidebar-link:hover i {
    color: var(--primary-color);
}

.sidebar-link.active {
    background: rgba(74, 107, 255, 0.1);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    font-weight: 600;
}

.sidebar-link.active i {
    color: var(--primary-color);
}

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

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

.sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    margin-right: 12px;
}

.sidebar-toggle:hover {
    background: var(--card-bg-hover);
    color: var(--primary-color);
}

/* Header Styles - Modern & Beautiful */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    transition: var(--transition);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    flex-shrink: 0;
    margin-right: 16px;
}

.logo img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.logo:visited {
    color: var(--text-primary);
}

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

.logo i {
    font-size: 28px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s infinite;
}

.logo:hover {
    transform: scale(1.05);
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
    animation: pulse 2s infinite;
}

.ai-badge i {
    font-size: 10px;
}

.ai-powered-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
}

.ai-powered-badge i {
    color: var(--primary-color);
    font-size: 16px;
    animation: pulse 2s infinite;
}

/* Legacy nav styles - kept for compatibility but hidden */
.nav {
    display: none;
}

/* Dashboard Section */
.dashboard-section {
    background: var(--dashboard-bg-light);
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 60px;
    padding-left: 0;
    position: relative;
    overflow-x: hidden;
    transition: padding-left var(--transition-base);
}

/* When sidebar is visible, add padding to main content */
body.sidebar-visible .dashboard-section {
    padding-left: 280px;
}

.dashboard-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    z-index: 0;
    border-radius: 0 0 50% 50%;
}

.dashboard-section::after {
    content: '';
    position: absolute;
    top: 200px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.welcome-message h1 {
    font-size: 42px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    font-weight: 800;
    line-height: 1.2;
    animation: fadeInUp 0.6s ease-out;
}

.welcome-message p {
    color: var(--text-secondary);
    font-size: 18px;
    margin: 0;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

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

.dashboard-title h1 {
    font-size: 36px;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.dashboard-title p {
    color: var(--text-secondary);
    font-size: 18px;
    margin: 0;
}

.btn-create {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.btn-create::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;
}

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

.btn-create:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: var(--primary-gradient-hover);
}

.btn-create i {
    font-size: 18px;
}

.dashboard-actions .btn {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.dashboard-actions .btn:hover::before {
    left: 100%;
}

.dashboard-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
    margin-top: 32px;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.stat-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.stat-card-primary .stat-card-bg {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.stat-card-success .stat-card-bg {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
}

.stat-card-warning .stat-card-bg {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%);
}

.stat-card-info .stat-card-bg {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
}

.stat-card:hover .stat-card-bg {
    opacity: 1;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.stat-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.stat-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: var(--radius-lg);
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.stat-card-primary .stat-icon {
    background: var(--primary-gradient);
}

.stat-card-success .stat-icon {
    background: var(--success-gradient);
}

.stat-card-warning .stat-icon {
    background: var(--warning-gradient);
}

.stat-card-info .stat-icon {
    background: var(--info-gradient);
}

.stat-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.stat-card:hover .stat-icon::before {
    transform: translateX(100%);
}

.stat-content {
    flex: 1;
    z-index: 1;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1;
    transition: var(--transition);
    display: block;
}

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

.stat-card-success .stat-number {
    background: var(--success-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card-warning .stat-number {
    background: var(--warning-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card-info .stat-number {
    background: var(--info-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-card:hover .stat-number {
    transform: scale(1.05);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 15px;
    margin: 0 0 12px 0;
    font-weight: 500;
    display: block;
}

.stat-trend {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

.stat-trend i {
    font-size: 12px;
    color: var(--success-color);
}

.stat-content h3 {
    font-size: 36px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1;
    transition: var(--transition);
}

.stat-card:hover .stat-content h3 {
    transform: scale(1.05);
}

.stat-content p {
    color: var(--text-secondary);
    font-size: 16px;
    margin: 0;
    font-weight: 500;
}

/* Chatbots Section */
/* Leads Section */
.leads-section {
    margin-top: 60px;
    position: relative;
    z-index: 1;
    padding: 0;
}

.leads-section .section-header {
    margin-bottom: 32px;
}

.leads-section .section-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.leads-section .section-header p {
    color: var(--text-secondary);
    font-size: 16px;
    margin: 0;
}

.leads-container {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    margin-top: 24px;
}

.leads-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--border-color);
}

.lead-stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: white;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.lead-stat-card i {
    font-size: 32px;
    opacity: 0.9;
}

.lead-stat-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: white;
}

.lead-stat-card p {
    font-size: 14px;
    margin: 4px 0 0 0;
    opacity: 0.9;
    color: white;
}

.leads-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.lead-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.lead-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.lead-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-primary);
}

.lead-name i {
    color: var(--primary-color);
}

.lead-date {
    font-size: 14px;
    color: var(--text-secondary);
}

.lead-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lead-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.lead-contact i {
    color: var(--primary-color);
    width: 20px;
}

.lead-contact a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.lead-contact a:hover {
    color: var(--primary-color);
}

.lead-interests {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.lead-interests i {
    color: var(--success-color);
    width: 20px;
}

.lead-interests span {
    color: var(--text-secondary);
}

.lead-stats {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
}

.lead-stats i {
    color: var(--info-color);
    width: 20px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    grid-column: 1 / -1;
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.3;
    color: var(--text-light);
}

.empty-state p {
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto;
}

.analytics-section {
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.analytics-container {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.analytics-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.analytics-stat-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.analytics-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.analytics-stat-card i {
    font-size: 32px;
    color: var(--primary-color);
}

.analytics-stat-card h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.analytics-stat-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 4px 0 0 0;
}

.analytics-data {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.analytics-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.analytics-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.analytics-card-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.analytics-card-header h3 i {
    color: var(--primary-color);
}

.analytics-date {
    font-size: 14px;
    color: var(--text-secondary);
}

.analytics-card-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
}

.analytics-stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.analytics-stat i {
    font-size: 20px;
    color: var(--primary-color);
}

.analytics-stat strong {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.analytics-stat span {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.chatbots-section {
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.section-header {
    margin-bottom: 40px;
    text-align: center;
}

.section-header h2 {
    font-size: 32px;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-weight: 700;
}

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

.chatbots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
    position: relative;
    z-index: 1;
}

.chatbot-card {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
}

.chatbot-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-color);
}

.chatbot-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.chatbot-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.chatbot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.chatbot-header h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin: 0;
}

.chatbot-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}

.chatbot-status.active {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.chatbot-status.inactive {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.chatbot-status-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: capitalize;
    border: 1px solid transparent;
}

.status-badge.active {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
    border-color: rgba(16, 185, 129, 0.3);
}

.status-badge.inactive {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
    border-color: rgba(239, 68, 68, 0.3);
}

.status-badge.trained {
    background: rgba(59, 130, 246, 0.15);
    color: #2563eb;
    border-color: rgba(59, 130, 246, 0.3);
}

.status-badge.not-trained {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
    border-color: rgba(245, 158, 11, 0.3);
}

.status-badge.deployed {
    background: rgba(139, 92, 246, 0.15);
    color: #7c3aed;
    border-color: rgba(139, 92, 246, 0.3);
}

.status-badge.not-deployed {
    background: rgba(107, 114, 128, 0.15);
    color: #4b5563;
    border-color: rgba(107, 114, 128, 0.3);
}

.status-badge i {
    font-size: 10px;
}

.tooltip-icon {
    margin-left: 6px;
    color: #6b7280;
    cursor: help;
    font-size: 14px;
}

.tooltip-icon:hover {
    color: #4a6bff;
}

.upgrade-content {
    text-align: center;
    padding: 20px;
}

.upgrade-icon {
    font-size: 48px;
    color: #4a6bff;
    margin-bottom: 16px;
}

.upgrade-content h3 {
    margin: 16px 0;
    color: var(--text-primary);
}

.upgrade-content p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.upgrade-stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin: 24px 0;
}

.upgrade-stats .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.upgrade-stats .stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #4a6bff;
}

.upgrade-stats .stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.upgrade-benefits {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.upgrade-benefits h4 {
    margin-bottom: 16px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
}

.upgrade-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.upgrade-benefits li {
    padding: 10px 0;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.upgrade-benefits li i {
    color: var(--success-color);
    font-size: 16px;
}

/* Upgrade Modal Styles */
.upgrade-content {
    padding: 20px 0;
}

.upgrade-pricing {
    text-align: center;
    margin-bottom: 30px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: var(--radius-lg);
    border: 2px solid rgba(102, 126, 234, 0.2);
}

.price-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.price-display .currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
}

.price-display .amount {
    font-size: 48px;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-display .period {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 500;
}

.price-note {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

.upgrade-benefits-list {
    margin-bottom: 30px;
}

.upgrade-benefits-list h3 {
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.upgrade-benefits-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.upgrade-benefits-list li {
    padding: 12px 0;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    border-bottom: 1px solid var(--border-color);
}

.upgrade-benefits-list li:last-child {
    border-bottom: none;
}

.upgrade-benefits-list li i {
    color: var(--success-color);
    font-size: 18px;
}

.upgrade-actions {
    margin-top: 30px;
}

.activation-note {
    text-align: center;
    font-size: 12px;
    color: #f59e0b;
    margin-top: 16px;
    font-weight: 500;
    padding: 12px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: var(--radius-md);
}

.activation-note i {
    margin-right: 6px;
}

.btn-upgrade {
    background: var(--primary-gradient);
    color: white;
    border: none;
    font-weight: 600;
}

.btn-upgrade:hover {
    background: var(--primary-gradient-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-upgrade-large {
    background: var(--primary-gradient);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 18px;
    padding: 18px 32px;
}

.btn-upgrade-large:hover {
    background: var(--primary-gradient-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.upgrade-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.chatbot-info {
    margin-bottom: 24px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.chatbot-card:hover .chatbot-info {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border-left-color: var(--primary-color);
}

.chatbot-info p {
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.chatbot-info p:last-child {
    margin-bottom: 0;
}

.chatbot-info strong {
    color: var(--text-primary);
    font-weight: 600;
    min-width: 100px;
}

.chatbot-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.chatbot-actions .btn {
    flex: 1;
    min-width: 120px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

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

.chatbot-actions .btn:hover::before {
    left: 100%;
}

.chatbot-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.chatbot-actions .btn i {
    font-size: 14px;
}

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

.btn.danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn.secondary:hover {
    background: var(--card-bg-hover);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-secondary);
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 2px dashed var(--border-color);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease-out;
}

.empty-state:hover {
    border-color: var(--primary-color);
    background: var(--card-bg-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.empty-state i {
    font-size: 72px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    display: block;
    animation: pulse 2s infinite;
}

.empty-state h3 {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 700;
}

.empty-state p {
    margin-bottom: 32px;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.empty-state .btn {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.empty-state .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* User Section */
.user-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.language-switcher {
    display: flex;
    align-items: center;
}

.btn-icon {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-icon:hover {
    background: var(--card-bg-hover);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-icon i {
    font-size: 16px;
}

.btn-icon span {
    font-size: 12px;
    font-weight: 600;
}

/* Color Input Group */
.color-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.color-input-group input[type="color"] {
    width: 60px;
    height: 40px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    padding: 2px;
    background: var(--card-bg);
    transition: var(--transition);
}

.color-input-group input[type="color"]:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.btn-icon-small {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.btn-icon-small:hover {
    background: var(--card-bg-hover);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-icon-small i {
    font-size: 14px;
}

/* Sales CTA Section for Free Users */
.sales-cta-section {
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%);
    border-radius: var(--radius-xl);
    border: 2px solid rgba(245, 158, 11, 0.3);
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.6s ease-out;
    box-shadow: var(--shadow-lg);
}

.sales-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.sales-cta-icon {
    font-size: 64px;
    color: var(--warning-color);
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.sales-cta-section h2 {
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 700;
}

.sales-cta-section p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.sales-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.sales-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    min-width: 150px;
}

.sales-feature i {
    font-size: 32px;
    color: var(--primary-color);
}

.sales-feature span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.sales-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Call to Action Section */
.cta-section {
    margin-top: 80px;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: var(--radius-xl);
    border: 2px solid rgba(102, 126, 234, 0.1);
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.6s ease-out;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-icon {
    font-size: 64px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
    animation: pulse 2s infinite;
}

.cta-content h2 {
    font-size: 32px;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 700;
}

.cta-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
}

/* Footer */
.dashboard-footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
    margin-top: 80px;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-logo i {
    font-size: 28px;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

.ai-powered-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--text-primary);
}

.ai-powered-indicator i {
    color: var(--primary-color);
    font-size: 14px;
}

.company-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.company-link:hover {
    color: #3a56d4;
    text-decoration: underline;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 13px;
    margin: 0;
    line-height: 1.6;
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cta-section {
        padding: 40px 20px;
    }
    
    .cta-content h2 {
        font-size: 24px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
    }
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(74, 107, 255, 0.1);
    border-radius: 25px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.user-details h3 {
    font-size: 14px;
    margin: 0;
    color: var(--text-primary);
}

.user-details p {
    font-size: 12px;
    margin: 0;
    color: var(--text-secondary);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.modal.modal-active,
.modal[style*="display: block"],
.modal[style*="display: block !important"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Override any conflicting inline styles */
.modal.modal-active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure modal content is properly positioned */
.modal-content {
    background: var(--card-bg);
    margin: 5% auto;
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-2xl);
    animation: modalSlideIn 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    z-index: 1101;
    border: 1px solid var(--border-color);
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.modal-content.large {
    max-width: 800px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 24px 30px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 24px;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.modal-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 400;
}

.quality-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-md);
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-primary);
}

.quality-indicator i {
    color: var(--success-color);
    font-size: 16px;
}

.modal-close {
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
}

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

.modal-form {
    padding: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s ease;
    background: var(--card-bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 107, 255, 0.1);
}

.form-group small {
    margin-top: 5px;
    color: var(--text-secondary);
    font-size: 12px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* Snippet Modal */
.snippet-content {
    padding: 30px;
}

.snippet-intro {
    margin-bottom: 30px;
    text-align: center;
}

.snippet-intro h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 20px;
}

.snippet-intro p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

.security-note {
    margin-top: 15px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    border: 1px solid #10b981;
    border-radius: 8px;
    color: #065f46;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.security-note i {
    color: #10b981;
    font-size: 16px;
}

.snippet-container {
    margin-bottom: 40px;
}

.snippet-container label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 16px;
}

.snippet-container textarea {
    width: 100%;
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.4;
    background: #f8f9fa;
    resize: vertical;
    margin-bottom: 15px;
    transition: border-color 0.3s ease;
}

.snippet-container textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 107, 255, 0.1);
}

.snippet-container .btn {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
}

/* Step-by-Step Instructions */
.instruction-steps {
    margin-bottom: 40px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 16px;
}

.step-content p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* Platform Instructions */
.snippet-platforms {
    margin-bottom: 40px;
}

.snippet-platforms h3 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 18px;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.platform-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.platform-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.platform-card h4 i {
    font-size: 18px;
}

.platform-card ol {
    padding-left: 20px;
    color: var(--text-secondary);
}

.platform-card li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.platform-card code {
    background: #e2e8f0;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
}

/* Pro Tips */
.snippet-tips {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--info-color);
}

.snippet-tips h3 {
    color: var(--info-color);
    margin-bottom: 15px;
    font-size: 18px;
}

.snippet-tips ul {
    padding-left: 20px;
    color: var(--text-secondary);
}

.snippet-tips li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.snippet-tips strong {
    color: var(--text-primary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .platform-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        align-self: center;
    }
}

/* Enhanced Notifications */
.notification {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1200;
    animation: notificationSlideIn 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    max-width: 420px;
    border-radius: 12px;
    overflow: hidden;
}

@keyframes notificationSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.notification-content {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: var(--shadow-xl);
    border-left: 4px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 320px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.notification.success .notification-content {
    border-left-color: var(--success-color);
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.notification.error .notification-content {
    border-left-color: var(--danger-color);
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}

.notification.warning .notification-content {
    border-left-color: var(--warning-color);
    background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
}

.notification-content button {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    transition: color 0.3s ease;
}

.notification-content button:hover {
    color: var(--danger-color);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid rgba(74, 107, 255, 0.2);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

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

/* Subscription Status */
.subscription-status {
    margin-bottom: 40px;
    padding: 32px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--border-color);
    position: relative;
    z-index: 1;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out;
    background: var(--card-bg);
    display: block;
    visibility: visible;
    opacity: 1;
    transition: all 0.3s ease;
}

.subscription-status::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    z-index: 1;
}

.subscription-status.trial-active {
    border-color: var(--success-color);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, var(--card-bg) 100%);
}

.subscription-status.trial-active::before {
    background: var(--success-gradient);
}

.subscription-status.trial-expired {
    border-color: var(--warning-color);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, var(--card-bg) 100%);
}

.subscription-status.trial-expired::before {
    background: var(--warning-gradient);
}

.subscription-status.paid {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, var(--card-bg) 100%);
}

.subscription-status.paid::before {
    background: var(--primary-gradient);
}

.subscription-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .subscription-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .subscription-info {
        margin-bottom: 20px;
    }
    
    .subscription-actions {
        width: 100%;
    }
    
    .subscription-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

.subscription-info h3 {
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 18px;
}

.subscription-info p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 14px;
}

.subscription-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.subscription-actions .btn {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.subscription-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn.whatsapp {
    background: #25d366;
    color: white;
}

.btn.whatsapp:hover {
    background: #128c7e;
}

.btn.paypal {
    background: #0070ba;
    color: white;
}

.btn.paypal:hover {
    background: #005ea6;
}

/* Responsive Design - Enhanced 2026 UX/UI */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .chatbots-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 992px) {
    .dashboard-section {
        padding-top: 90px;
    }
    
    .welcome-message h1 {
        font-size: 36px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .chatbots-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 24px;
    }
    
    .leads-list {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

/* Mobile Sidebar Styles */
@media (max-width: 768px) {
    .sidebar {
        width: 280px;
        transform: translateX(-100%);
        box-shadow: var(--shadow-2xl);
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    .sidebar:hover {
        transform: translateX(-100%);
    }
    
    .sidebar-close {
        display: block;
    }
    
    .sidebar-overlay.active {
        display: block;
    }
    
    .dashboard-section {
        padding-left: 0 !important;
    }
    
    body.sidebar-visible .dashboard-section {
        padding-left: 0 !important;
    }
    
    .sidebar-toggle {
        display: flex;
    }
    
    .user-section {
        gap: 8px;
    }
    
    .dashboard-section {
        padding-top: 80px;
        padding-bottom: 40px;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 24px;
        text-align: center;
        padding: 30px 0;
        margin-bottom: 40px;
    }
    
    .welcome-message h1 {
        font-size: 32px;
    }
    
    .welcome-message p {
        font-size: 16px;
    }
    
    .dashboard-actions {
        width: 100%;
    }
    
    .btn-create {
        width: 100%;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .stat-card {
        padding: 24px;
    }
    
    .stat-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .chatbots-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .chatbot-card {
        padding: 24px;
    }
    
    .chatbot-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .chatbot-actions .btn {
        width: 100%;
    }
    
    .leads-section,
    .analytics-section,
    .chatbots-section {
        margin-top: 40px;
    }
    
    .leads-container,
    .analytics-container {
        padding: 24px;
    }
    
    .leads-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .leads-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .analytics-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .analytics-data {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .auth-section {
        padding: 90px 20px 20px 20px; /* Adjusted for mobile header */
    }
    
    .auth-card {
        padding: 32px 24px;
        border-radius: 20px;
    }
    
    .auth-features {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 32px;
    }
    
    .auth-tabs {
        max-width: 280px;
    }
    
    .auth-tab {
        padding: 12px 16px;
        font-size: 15px;
    }
    
    .auth-form input {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 14px 16px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .modal-content {
        margin: 5% auto;
        width: 95%;
        max-height: 90vh;
        border-radius: 20px;
    }
    
    .modal-content.large {
        max-width: 95%;
    }
    
    .modal-form {
        padding: 24px;
    }
    
    .modal-header {
        padding: 20px 24px;
    }
    
    .modal-header h2 {
        font-size: 22px;
    }
    
    .user-profile {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }
    
    .sales-cta-section {
        padding: 32px 24px;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    
    .sales-cta-section h2 {
        font-size: 24px;
    }
    
    .sales-features {
        flex-direction: column;
        gap: 16px;
    }
    
    .sales-cta-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .sales-cta-buttons .btn {
        width: 100%;
    }
    
    .cta-section {
        padding: 40px 24px;
        margin-top: 60px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .dashboard-section {
        padding-top: 70px;
        padding-bottom: 30px;
    }
    
    .dashboard-header {
        padding: 24px 0;
        margin-bottom: 30px;
    }
    
    .welcome-message h1 {
        font-size: 28px;
    }
    
    .welcome-message p {
        font-size: 15px;
    }
    
    .auth-header h1 {
        font-size: 28px;
    }
    
    .auth-header i {
        font-size: 56px;
    }
    
    .auth-section {
        padding: 80px 16px 16px 16px; /* Adjusted for small mobile */
    }
    
    .auth-card {
        padding: 24px 16px;
        border-radius: 16px;
    }
    
    .auth-features {
        gap: 16px;
        margin-bottom: 24px;
    }
    
    .auth-features .feature {
        padding: 20px;
    }
    
    .auth-features .feature i {
        font-size: 40px;
    }
    
    .auth-tabs {
        max-width: 100%;
    }
    
    .auth-tab {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .google-btn {
        padding: 14px 16px;
        font-size: 15px;
    }
    
    .stats-grid {
        gap: 16px;
        margin-bottom: 30px;
    }
    
    .stat-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    .chatbots-grid {
        gap: 16px;
    }
    
    .chatbot-card {
        padding: 20px;
    }
    
    .chatbot-header h3 {
        font-size: 16px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .section-header p {
        font-size: 15px;
    }
    
    .leads-container,
    .analytics-container {
        padding: 20px;
    }
    
    .leads-stats {
        gap: 12px;
    }
    
    .lead-stat-card {
        padding: 20px;
    }
    
    .lead-stat-card i {
        font-size: 28px;
    }
    
    .lead-stat-card h3 {
        font-size: 24px;
    }
    
    .leads-list {
        gap: 12px;
    }
    
    .lead-card {
        padding: 20px;
    }
    
    .modal-content {
        width: 98%;
        margin: 2% auto;
        border-radius: 16px;
        max-height: 96vh;
    }
    
    .modal-header {
        padding: 16px 20px;
    }
    
    .modal-header h2 {
        font-size: 20px;
    }
    
    .modal-form {
        padding: 20px;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .modal-actions .btn {
        width: 100%;
    }
    
    .sales-cta-section {
        padding: 24px 16px;
    }
    
    .sales-cta-section h2 {
        font-size: 22px;
    }
    
    .sales-cta-icon {
        font-size: 48px;
    }
    
    .cta-section {
        padding: 32px 16px;
    }
    
    .cta-content h2 {
        font-size: 24px;
    }
    
    .cta-icon {
        font-size: 48px;
    }
}

/* iOS specific fixes */
@supports (-webkit-touch-callout: none) {
    .auth-form input,
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
    
    .dashboard-section {
        /* Fix for iOS viewport issues */
        min-height: calc(100vh - 70px);
    }
}

/* Android specific fixes */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .stat-card,
    .chatbot-card {
        /* Better rendering on Android */
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .dashboard-section {
        padding-top: 60px;
    }
    
    .dashboard-header {
        padding: 20px 0;
        margin-bottom: 30px;
    }
    
    .welcome-message h1 {
        font-size: 28px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .stat-card {
        padding: 16px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .nav-link,
    .chatbot-actions .btn {
        /* Larger touch target */
        min-height: 44px;
    }
    
    .stat-card,
    .chatbot-card,
    .lead-card {
        /* Better touch interaction */
        cursor: pointer;
    }
    
    .modal-close {
        /* Larger touch target */
        width: 44px;
        height: 44px;
    }
}

/* Template Card Styles */
.template-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.template-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.template-card:hover::before {
    opacity: 1;
}

.template-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.2);
    border-color: #667eea !important;
}

.template-card.selected {
    border: 2px solid #667eea !important;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%) !important;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* Conversation History Table Styles */
.conversation-history-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.conversation-history-section .section-header {
    margin-bottom: 24px;
}

.conversation-history-section .section-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.conversation-history-section .section-header p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

.conversation-table-container {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    overflow-x: auto;
    margin-top: 24px;
}

.conversation-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.conversation-table thead {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.conversation-table th {
    padding: 16px 12px;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border-color);
    white-space: nowrap;
}

.conversation-table td {
    padding: 16px 12px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    color: var(--text-secondary);
    font-size: 14px;
    vertical-align: middle;
}

.conversation-table tbody tr {
    transition: all 0.2s ease;
}

.conversation-table tbody tr:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%);
    transform: scale(1.01);
}

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

.conversation-contact-name {
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.conversation-contact-name i {
    color: var(--primary-color);
    font-size: 16px;
}

.conversation-contact-email,
.conversation-contact-phone {
    color: var(--text-secondary);
    font-size: 14px;
}

.conversation-contact-email a,
.conversation-contact-phone a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.conversation-contact-email a:hover,
.conversation-contact-phone a:hover {
    color: #3a56d4;
    text-decoration: underline;
}

.conversation-chatbot-name {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-color);
}

.conversation-chatbot-name i {
    font-size: 12px;
}

.conversation-message-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    color: #3b82f6;
}

.conversation-date {
    color: var(--text-secondary);
    font-size: 13px;
}

.conversation-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.conversation-actions .btn-icon-small {
    padding: 6px 10px;
    font-size: 12px;
}

/* Responsive Conversation Table */
@media (max-width: 768px) {
    .conversation-table-container {
        padding: 16px;
    }
    
    .conversation-table {
        font-size: 12px;
    }
    
    .conversation-table th,
    .conversation-table td {
        padding: 12px 8px;
        font-size: 12px;
    }
    
    .conversation-table th {
        font-size: 11px;
    }
    
    .conversation-contact-name,
    .conversation-contact-email,
    .conversation-contact-phone {
        font-size: 12px;
    }
    
    .conversation-chatbot-name,
    .conversation-message-count {
        font-size: 11px;
        padding: 3px 8px;
    }
    
    .conversation-actions {
        flex-direction: column;
        gap: 4px;
    }
    
    .conversation-actions .btn-icon-small {
        width: 100%;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .conversation-table-container {
        padding: 12px;
    }
    
    .conversation-table {
        font-size: 11px;
    }
    
    .conversation-table th,
    .conversation-table td {
        padding: 10px 6px;
        font-size: 11px;
    }
    
    .conversation-table th {
        font-size: 10px;
    }
}

/* ============================================================================
   MODERN DASHBOARD COMPONENTS - 2025 Design System
   Merged from dashboard-modern.css
   ============================================================================ */

/* Modern Dashboard Layout */
.modern-dashboard {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--primary-50) 100%);
    padding: var(--space-6);
    position: relative;
}

/* Sidebar Navigation - Modern SaaS Style */
.dashboard-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 280px;
    background: white;
    border-right: 1px solid var(--gray-200);
    padding: var(--space-6);
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: var(--space-6);
}

.sidebar-logo img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
}

.sidebar-logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-lg);
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-fast);
    position: relative;
}

.sidebar-nav-item:hover {
    background: var(--gray-100);
    color: var(--primary-600);
}

.sidebar-nav-item.active {
    background: var(--primary-50);
    color: var(--primary-600);
    font-weight: 600;
}

.sidebar-nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-600);
    border-radius: var(--radius-full);
}

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

/* Main Content Area */
.dashboard-main {
    margin-left: 280px;
    padding: var(--space-8) var(--space-6);
}

/* Top Bar */
.dashboard-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-8);
    background: white;
    padding: var(--space-5) var(--space-6);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-sm);
}

.topbar-title h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 var(--space-1) 0;
}

.topbar-title p {
    color: var(--gray-500);
    margin: 0;
    font-size: 0.9375rem;
}

.topbar-actions {
    display: flex;
    gap: var(--space-3);
    align-items: center;
}

/* Modern Stats Cards */
.stats-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.stat-card-modern {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.stat-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-500) 0%, var(--primary-700) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.stat-card-modern:hover::before {
    opacity: 1;
}

.stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-4);
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.stat-card-modern.success .stat-card-icon {
    background: linear-gradient(135deg, var(--success-500) 0%, var(--success-600) 100%);
}

.stat-card-modern.warning .stat-card-icon {
    background: linear-gradient(135deg, var(--warning-500) 0%, var(--warning-600) 100%);
}

.stat-card-modern.info .stat-card-icon {
    background: linear-gradient(135deg, var(--info-500) 0%, var(--info-600) 100%);
}

.stat-card-trend {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-full);
    background: var(--success-50);
    color: var(--success-600);
    font-size: 0.8125rem;
    font-weight: 600;
}

.stat-card-trend.negative {
    background: var(--error-50);
    color: var(--error-600);
}

.stat-card-body {
    margin-bottom: var(--space-3);
}

.stat-card-label {
    color: var(--gray-500);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--space-2);
}

.stat-card-value {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.stat-card-footer {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--gray-500);
    font-size: 0.8125rem;
}

.stat-card-footer i {
    font-size: 0.75rem;
}

/* Modern Chart Card */
.chart-card-modern {
    background: white;
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    margin-bottom: var(--space-6);
}

.chart-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--gray-200);
}

.chart-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.chart-card-actions {
    display: flex;
    gap: var(--space-2);
}

/* Modern Table */
.table-modern {
    background: white;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.table-modern-header {
    padding: var(--space-6);
    border-bottom: 1px solid var(--gray-200);
}

.table-modern-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 var(--space-1) 0;
}

.table-modern-subtitle {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin: 0;
}

.table-modern-body {
    overflow-x: auto;
}

.table-modern-body table {
    width: 100%;
    border-collapse: collapse;
}

.table-modern-body th {
    text-align: left;
    padding: var(--space-4) var(--space-6);
    background: var(--gray-50);
    color: var(--gray-600);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.table-modern-body td {
    padding: var(--space-4) var(--space-6);
    border-top: 1px solid var(--gray-200);
    color: var(--gray-700);
    font-size: 0.875rem;
}

.table-modern-body tr {
    transition: background var(--transition-fast);
}

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

/* Modern Buttons */
.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-modern-primary {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

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

.btn-modern-secondary {
    background: white;
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
}

.btn-modern-secondary:hover {
    background: var(--gray-50);
    border-color: var(--gray-400);
}

.btn-modern-ghost {
    background: transparent;
    color: var(--gray-600);
}

.btn-modern-ghost:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

/* Modern Badge */
.badge-modern {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
}

.badge-modern.success {
    background: var(--success-50);
    color: var(--success-600);
}

.badge-modern.warning {
    background: var(--warning-50);
    color: var(--warning-600);
}

.badge-modern.error {
    background: var(--error-50);
    color: var(--error-600);
}

.badge-modern.info {
    background: var(--info-50);
    color: var(--info-600);
}

/* Empty State */
.empty-state-modern {
    text-align: center;
    padding: var(--space-16) var(--space-6);
}

.empty-state-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-4);
    border-radius: var(--radius-full);
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--gray-400);
}

.empty-state-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

.empty-state-description {
    color: var(--gray-500);
    margin-bottom: var(--space-6);
}

/* Glassmorphism Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Animated Gradient Background */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.animated-gradient {
    background: linear-gradient(-45deg, var(--primary-500), var(--primary-700), var(--info-500), var(--primary-600));
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
}

/* Loading State */
.skeleton-loader {
    background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-md);
}

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

/* Tooltip */
.tooltip-modern {
    position: relative;
}

.tooltip-modern::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: var(--space-2) var(--space-3);
    background: var(--gray-900);
    color: white;
    font-size: 0.75rem;
    border-radius: var(--radius-md);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.tooltip-modern:hover::after {
    opacity: 1;
}

/* Modern Dashboard Responsive */
@media (max-width: 1024px) {
    .dashboard-sidebar {
        transform: translateX(-100%);
        transition: transform var(--transition-base);
    }
    
    .dashboard-sidebar.open {
        transform: translateX(0);
    }
    
    .dashboard-main {
        margin-left: 0;
    }
    
    .stats-grid-modern {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: var(--space-4);
    }
}

@media (max-width: 768px) {
    .modern-dashboard {
        padding: var(--space-4);
    }
    
    .dashboard-main {
        padding: var(--space-4);
    }
    
    .dashboard-topbar {
        flex-direction: column;
        gap: var(--space-4);
        align-items: flex-start;
    }
    
    .topbar-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .stats-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .stat-card-value {
        font-size: 1.875rem;
    }
}

/* Tour System Styles */
.tour-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    pointer-events: none;
}

.tour-highlight {
    position: relative;
    z-index: 2001 !important;
    box-shadow: 0 0 0 4px rgba(74, 107, 255, 0.5), 0 0 20px rgba(74, 107, 255, 0.3) !important;
    border-radius: var(--radius-md) !important;
    background: var(--card-bg) !important;
    animation: tourPulse 2s infinite;
}

@keyframes tourPulse {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(74, 107, 255, 0.5), 0 0 20px rgba(74, 107, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(74, 107, 255, 0.6), 0 0 30px rgba(74, 107, 255, 0.4);
    }
}

.tour-tooltip {
    position: fixed;
    z-index: 2002;
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    border: 2px solid var(--primary-color);
    max-width: 400px;
    min-width: 320px;
    animation: tourTooltipSlideIn 0.3s ease-out;
}

@keyframes tourTooltipSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.tour-tooltip-content {
    padding: 24px;
}

.tour-tooltip-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tour-tooltip-content h3 i {
    color: var(--primary-color);
    font-size: 24px;
}

.tour-tooltip-content p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.tour-tooltip-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.tour-tooltip-actions .btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tour-progress {
    text-align: center;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .tour-tooltip {
        max-width: 90%;
        min-width: 280px;
        left: 50% !important;
        transform: translateX(-50%);
        margin: 0 16px;
    }
    
    .tour-tooltip-content {
        padding: 20px;
    }
    
    .tour-tooltip-content h3 {
        font-size: 18px;
    }
    
    .tour-tooltip-content p {
        font-size: 14px;
    }
    
    .tour-tooltip-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .tour-tooltip-actions .btn {
        width: 100%;
        justify-content: center;
    }
} 