/* 
 * Zen CeoPort - Site CSS
 * Styles specific to main website pages
 */

/* ===== INDEX PAGE SPECIFIC STYLES ===== */

/* Dashboard Welcome Card */
.welcome-card {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-quaternary) 100%);
    color: var(--text-primary);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
}

/* Dashboard Stat Cards */
.dashboard-stat-card {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-left: 4px solid;
    border: 1px solid var(--border-color);
}

.dashboard-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.dashboard-stat-card.profile { 
    border-left-color: #4a90e2; 
}

.dashboard-stat-card.activities { 
    border-left-color: #28a745; 
}

.dashboard-stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

.dashboard-stat-card.profile .dashboard-stat-icon {
    background: linear-gradient(45deg, #4a90e2, #6bb6ff);
}

.dashboard-stat-card.activities .dashboard-stat-icon {
    background: linear-gradient(45deg, #28a745, #5cb85c);
}

.dashboard-stat-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.dashboard-stat-content p {
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

/* Card Headers - Updated for Index */
.dashboard-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.dashboard-card .card-header {
    border-radius: 12px 12px 0 0 !important;
    border-bottom: 1px solid var(--border-color);
}

.dashboard-card .card-header.bg-primary {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-quaternary) 100%) !important;
    color: var(--text-primary) !important;
    border-bottom: 2px solid var(--primary-color);
}

.dashboard-card .card-header.bg-info {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-quaternary) 100%) !important;
    color: var(--text-primary) !important;
    border-bottom: 2px solid var(--info-color);
}

/* Quick Links */
.quick-link {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 10px;
    text-decoration: none;
    background: var(--bg-secondary);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.quick-link:hover {
    text-decoration: none;
    background: var(--bg-tertiary);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.quick-link-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
}

.quick-link-icon.bg-info {
    background: linear-gradient(45deg, #17a2b8, #5bc0de);
}

.quick-link-content h6 {
    margin-bottom: 0.25rem;
    color: var(--text-primary);
    font-weight: 600;
}

.quick-link-content p {
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.quick-link-placeholder {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 10px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    opacity: 0.6;
}

.quick-link-placeholder .quick-link-icon.bg-light {
    background: var(--bg-tertiary);
}

/* Activity Lists */
.activity-list {
    max-height: 300px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.activity-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.activity-icon {
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.activity-icon .fa-circle {
    color: var(--primary-color);
    font-size: 0.5rem;
}

.activity-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.activity-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.activity-content small {
    color: var(--text-light);
    font-size: 0.8rem;
}

/* Improved button styling for index */
.index-btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.index-btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* ===== HOMEPAGE MARKETING STYLES ===== */

/* Professional Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    color: var(--text-primary);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(74, 144, 226, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(74, 144, 226, 0.04) 0%, transparent 50%);
    opacity: 0.9;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge .badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.text-gradient-hero {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 300;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    border: none;
    font-weight: 600;
    padding: 1rem 2rem;
    margin-right: 1rem;
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.25);
}

.hero-btn-primary:hover {
    background: linear-gradient(135deg, #357abd 0%, #2968a3 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.35);
}

.hero-btn-secondary {
    border: 2px solid #4a90e2;
    color: #4a90e2;
    font-weight: 600;
    padding: 1rem 2rem;
    background: rgba(74, 144, 226, 0.05);
}

.hero-btn-secondary:hover {
    background: #4a90e2;
    color: white;
    border-color: #4a90e2;
    transform: translateY(-2px);
}

/* Dashboard Preview */
.dashboard-preview {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.preview-window {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.preview-header {
    background: #f7fafc;
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.preview-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #e53e3e; }
.dot.yellow { background: #d69e2e; }
.dot.green { background: #38a169; }

.preview-content {
    padding: 2rem;
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 0.5rem;
    height: 100px;
    margin-bottom: 1.5rem;
}

.bar {
    flex: 1;
    background: linear-gradient(180deg, #4a90e2 0%, #6bb6ff 100%);
    border-radius: 4px 4px 0 0;
    animation: barGrow 2s ease-out infinite alternate;
}

@keyframes barGrow {
    0% { transform: scaleY(0.7); }
    100% { transform: scaleY(1); }
}

.preview-stats {
    display: flex;
    justify-content: space-between;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 600;
}

/* Professional Features Section */
.features-section {
    background: var(--bg-secondary);
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.feature-grid {
    margin-top: 3rem;
}

.homepage-feature-card {
    background: var(--card-gradient);
    border-radius: var(--border-radius-xl);
    padding: 2.5rem;
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.homepage-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.homepage-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.homepage-feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.feature-list i {
    color: var(--success-color);
    width: 16px;
}

/* Professional CTA Section */
.cta-section {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    position: relative;
    overflow: hidden;
    color: white;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 70%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255,255,255,0.04) 0%, transparent 50%);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.cta-description {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.cta-btn-primary {
    background: rgba(255, 255, 255, 0.95);
    color: #4a90e2;
    border: none;
    font-weight: 600;
    padding: 1rem 2.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cta-btn-primary:hover {
    background: #ffffff;
    color: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.cta-btn-secondary {
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    padding: 1rem 2.5rem;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    color: white;
    transform: translateY(-2px);
}

/* ===== DASHBOARD PAGE SPECIFIC STYLES ===== */

/* Dashboard Quick Link Cards */
.quick-link-card {
    display: block;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.quick-link-card:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.2);
}

.quick-link-card i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.quick-link-card span {
    font-weight: 500;
}

/* Dashboard Activity Timeline */
.activity-timeline {
    max-height: 400px;
    overflow-y: auto;
}

.dashboard-activity-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.dashboard-activity-item:last-child {
    border-bottom: none;
}

.dashboard-activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    color: var(--text-muted);
}

.dashboard-activity-content {
    flex-grow: 1;
}

/* Badge Utility */
.badge-sm {
    font-size: 0.7rem;
}

/* ===== PROFILE PAGE SPECIFIC STYLES ===== */

.profile-card {
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
}

.avatar-placeholder {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 3rem;
    box-shadow: var(--shadow-md);
}

.profile-stats .stat-box {
    padding: 1rem 0;
}

.profile-stats .stat-box h5 {
    margin-bottom: 0.25rem;
    color: var(--text-secondary);
}

.profile-info p {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.profile-info i {
    width: 20px;
    text-align: center;
    color: var(--text-muted);
}

/* Analytics Cards */
.analytics-card {
    background: var(--card-gradient);
    border-radius: var(--border-radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border-left: 4px solid;
    transition: var(--transition);
    margin-bottom: 1.5rem;
    height: 100%;
    backdrop-filter: blur(10px);
}

.analytics-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.analytics-card.sales { border-left-color: var(--success-color); }
.analytics-card.inventory { border-left-color: var(--warning-color); }
.analytics-card.expenses { border-left-color: var(--danger-color); }
.analytics-card.users { border-left-color: var(--info-color); }

.analytics-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    float: right;
    box-shadow: var(--shadow-lg);
}

.analytics-icon.bg-sales { background: var(--gradient-success); }
.analytics-icon.bg-inventory { background: var(--gradient-warning); }
.analytics-icon.bg-expenses { background: var(--gradient-danger); }
.analytics-icon.bg-users { background: var(--gradient-info); }

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.trend-indicator {
    font-size: 0.875rem;
    font-weight: 500;
}

.trend-up { color: var(--success-color); }
.trend-down { color: var(--danger-color); }

/* Welcome Card */
.welcome-card {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-quaternary) 100%);
    color: var(--text-primary);
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
}

.stat-card {
    background: var(--card-gradient);
    border-radius: var(--border-radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border-left: 4px solid;
    transition: var(--transition);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.stat-card.sales { border-left-color: var(--success-color); }
.stat-card.expenses { border-left-color: var(--danger-color); }
.stat-card.activities { border-left-color: var(--info-color); }
.stat-card.profile { border-left-color: var(--warning-color); }

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-right: 1rem;
    box-shadow: var(--shadow-md);
}

.stat-card.sales .stat-icon { background: var(--gradient-success); }
.stat-card.expenses .stat-icon { background: var(--gradient-danger); }
.stat-card.activities .stat-icon { background: var(--gradient-info); }
.stat-card.profile .stat-icon { background: var(--gradient-warning); }

/* Light Theme Site Overrides */
[data-theme="light"] .welcome-card {
    background: var(--bg-primary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

[data-theme="light"] .stat-card {
    background: var(--bg-primary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

[data-theme="light"] .dashboard-stat-card {
    background: var(--bg-primary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

[data-theme="light"] .quick-link-card {
    background: var(--bg-primary);
    color: var(--text-secondary);
    border-color: var(--border-color);
}

[data-theme="light"] .quick-link-card:hover {
    background: var(--bg-tertiary);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* ===== RESPONSIVE DESIGN FOR SITE PAGES ===== */
@media (max-width: 768px) {
    /* Dashboard responsive */
    .dashboard-stat-content h3 {
        font-size: 1.5rem;
    }
    
    .welcome-card {
        padding: 1.5rem;
    }
    
    .dashboard-stat-card {
        padding: 1.25rem;
    }
    
    /* Hero responsive */
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
        margin-right: 0;
    }
    
    .preview-window {
        margin: 2rem 1rem 0;
    }
    
    .homepage-feature-card {
        padding: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
        margin-left: 0 !important;
    }

    .quick-link-card {
        padding: 1rem;
    }
    
    .quick-link-card i {
        font-size: 1.5rem;
    }
    
    .dashboard-activity-item {
        flex-direction: column;
        text-align: center;
    }
    
    .dashboard-activity-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .profile-card {
        margin-bottom: 2rem;
    }
    
    .avatar-placeholder {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }
    
    .analytics-card {
        padding: 1.5rem;
    }
    
    .analytics-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .chart-container,
    .analytics-card {
        padding: 1rem;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .stat-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* ===== AUTH PAGES (LOGIN & REGISTER) STYLES ===== */

/* Auth Container */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

/* Light Theme Auth Container */
[data-theme="light"] .auth-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Dark Theme Auth Container */
[data-theme="dark"] .auth-container {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
}

/* Auth Container Background Pattern */
.auth-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 60% 90%, rgba(255,255,255,0.03) 0%, transparent 50%);
    z-index: 1;
}

[data-theme="dark"] .auth-container::before {
    background: 
        radial-gradient(circle at 20% 30%, rgba(96, 165, 250, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(96, 165, 250, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 60% 90%, rgba(96, 165, 250, 0.02) 0%, transparent 50%);
}

/* Auth Card */
.auth-card {
    background: var(--bg-primary);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.auth-card.register-card {
    max-width: 600px;
}

/* Light Theme Auth Card */
[data-theme="light"] .auth-card {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

/* Dark Theme Auth Card */
[data-theme="dark"] .auth-card {
    background: rgba(17, 24, 39, 0.98);
    border: 1px solid rgba(55, 65, 81, 0.4);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

/* Auth Logo */
.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
    text-shadow: var(--shadow-sm);
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.auth-logo h2 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.auth-logo p {
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 1rem;
}

/* Auth Form Elements */
.auth-page .form-group label {
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.auth-page .form-control {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: var(--transition);
    font-size: 0.95rem;
}

.auth-page .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.15);
    background-color: var(--bg-primary);
    transform: translateY(-1px);
}

.auth-page .form-control:hover:not(:focus) {
    border-color: var(--border-hover);
}

/* Input Group Styling */
.auth-page .input-group-text {
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    transition: var(--transition);
}

[data-theme="dark"] .auth-page .input-group-text {
    background: var(--gradient-info);
}

.auth-page .input-group:hover .input-group-text {
    opacity: 0.9;
}

/* Button Styling */
.btn-gradient {
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-weight: 600;
    transition: var(--transition);
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.btn-gradient::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-gradient:hover::before {
    width: 300px;
    height: 300px;
}

.btn-gradient:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

[data-theme="dark"] .btn-gradient {
    background: var(--gradient-info);
}

[data-theme="dark"] .btn-gradient:hover {
    background: var(--info-hover);
}

/* Custom Checkbox Styling */
.auth-page .custom-control-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.auth-page .custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Links Styling */
.auth-page a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.auth-page a:hover {
    color: var(--primary-hover);
    text-decoration: none;
    transform: translateX(2px);
}

/* Theme Toggle Button for Auth Pages */
.auth-theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.75rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.1);
}

.auth-theme-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .auth-theme-toggle {
    background: rgba(31, 41, 55, 0.8);
    border: 1px solid rgba(55, 65, 81, 0.6);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .auth-theme-toggle:hover {
    background: rgba(31, 41, 55, 0.9);
    border-color: rgba(75, 85, 99, 0.8);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.25);
}

.auth-theme-toggle .theme-toggle {
    position: relative;
    width: 60px;
    height: 30px;
    background: var(--bg-tertiary);
    border-radius: 15px;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: visible;
}

.auth-theme-toggle .theme-toggle:hover {
    background: var(--bg-quaternary);
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.auth-theme-toggle .theme-toggle:active {
    transform: scale(0.95);
}

.auth-theme-toggle .theme-toggle::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.15);
    z-index: 2;
    border: 1px solid rgba(160, 174, 192, 0.3);
}

[data-theme="dark"] .auth-theme-toggle .theme-toggle {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
}

[data-theme="dark"] .auth-theme-toggle .theme-toggle::before {
    transform: translateX(28px);
    background: var(--bg-primary);
    border-color: var(--border-hover);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 1px 4px rgba(0, 0, 0, 0.3);
}

.auth-theme-toggle .theme-toggle .theme-toggle-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    font-weight: 600;
}

.auth-theme-toggle .theme-toggle .fa-sun {
    left: 6px;
    color: var(--warning-color);
    opacity: 1;
}

.auth-theme-toggle .theme-toggle .fa-moon {
    right: 6px;
    color: var(--text-muted);
    opacity: 0.7;
}

[data-theme="dark"] .auth-theme-toggle .theme-toggle .fa-sun {
    opacity: 0.5;
    color: var(--warning-hover);
}

[data-theme="dark"] .auth-theme-toggle .theme-toggle .fa-moon {
    opacity: 1;
    color: var(--primary-color);
}

/* Light Theme Specific */
[data-theme="light"] .auth-theme-toggle .theme-toggle {
    background: var(--bg-tertiary);
    border-color: var(--border-color);
}

[data-theme="light"] .auth-theme-toggle .theme-toggle:hover {
    background: var(--bg-quaternary);
    border-color: var(--primary-color);
}

[data-theme="light"] .auth-theme-toggle .theme-toggle::before {
    background: var(--bg-primary);
    border-color: var(--border-hover);
}

[data-theme="light"] .auth-theme-toggle .theme-toggle .fa-sun {
    color: var(--warning-color);
    opacity: 1;
    font-weight: 700;
}

[data-theme="light"] .auth-theme-toggle .theme-toggle .fa-moon {
    color: var(--text-muted);
    opacity: 0.6;
}

/* Enhanced Animations and Effects */
.auth-theme-toggle .theme-toggle .theme-toggle-icon {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.auth-theme-toggle .theme-toggle:hover .fa-sun {
    animation: sunPulse 1.5s ease-in-out infinite;
}

[data-theme="dark"] .auth-theme-toggle .theme-toggle:hover .fa-moon {
    animation: moonGlow 2s ease-in-out infinite;
}

@keyframes sunPulse {
    0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
    50% { opacity: 0.8; transform: translateY(-50%) scale(1.1); }
}

@keyframes moonGlow {
    0%, 100% { opacity: 1; color: var(--primary-color); }
    50% { opacity: 0.7; color: var(--info-color); }
}

/* Theme Toggle Focus States for Accessibility */
.auth-theme-toggle .theme-toggle:focus {
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 0 4px rgba(74, 144, 226, 0.2);
}

.auth-theme-toggle .theme-toggle:focus-visible {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 0 4px rgba(74, 144, 226, 0.3);
}

/* Smooth Theme Transition for Auth Pages */
.auth-page {
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-card {
    transition: 
        background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Alert Styling for Auth Pages */
.auth-page .alert {
    border-radius: var(--border-radius-lg);
    border: none;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border-left: 4px solid;
    box-shadow: var(--shadow-sm);
}

.auth-page .alert-danger {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.15) 0%, rgba(220, 53, 69, 0.08) 100%);
    color: var(--danger-color);
    border-left-color: var(--danger-color);
}

[data-theme="dark"] .auth-page .alert-danger {
    background: linear-gradient(135deg, rgba(248, 113, 113, 0.15) 0%, rgba(248, 113, 113, 0.08) 100%);
    color: var(--danger-color);
}

.auth-page .alert-success {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.15) 0%, rgba(40, 167, 69, 0.08) 100%);
    color: var(--success-color);
    border-left-color: var(--success-color);
}

[data-theme="dark"] .auth-page .alert-success {
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.15) 0%, rgba(52, 211, 153, 0.08) 100%);
    color: var(--success-color);
}

/* Progress Bar for Registration */
.registration-progress {
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.registration-progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* Password Strength Indicator */
.password-strength {
    margin-top: 0.5rem;
}

.password-strength-bar {
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.password-strength-fill {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.password-strength-weak .password-strength-fill {
    width: 33%;
    background: var(--danger-color);
}

.password-strength-medium .password-strength-fill {
    width: 66%;
    background: var(--warning-color);
}

.password-strength-strong .password-strength-fill {
    width: 100%;
    background: var(--success-color);
}

.password-strength-text {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .auth-container {
        padding: 1rem;
    }
    
    .auth-card {
        padding: 2rem;
        border-radius: 15px;
        margin: 1rem;
    }
    
    .auth-logo i {
        font-size: 3rem;
    }
    
    .auth-logo h2 {
        font-size: 1.75rem;
    }
    
    .auth-theme-toggle {
        top: 15px;
        right: 15px;
        padding: 0.6rem;
    }
    
    .auth-theme-toggle .theme-toggle {
        width: 52px;
        height: 26px;
    }
    
    .auth-theme-toggle .theme-toggle::before {
        width: 18px;
        height: 18px;
        top: 2px;
        left: 2px;
    }
    
    [data-theme="dark"] .auth-theme-toggle .theme-toggle::before {
        transform: translateX(24px);
    }
    
    .auth-theme-toggle .theme-toggle .theme-toggle-icon {
        font-size: 0.6rem;
    }
    
    .auth-theme-toggle .theme-toggle .fa-sun {
        left: 5px;
    }
    
    .auth-theme-toggle .theme-toggle .fa-moon {
        right: 5px;
    }
}

@media (max-width: 576px) {
    .auth-card {
        padding: 1.5rem;
        margin: 0.5rem;
    }
    
    .auth-logo i {
        font-size: 2.5rem;
    }
    
    .auth-logo h2 {
        font-size: 1.5rem;
    }
    
    .btn-gradient {
        padding: 0.625rem 1.25rem;
    }
    
    .auth-theme-toggle {
        top: 10px;
        right: 10px;
        padding: 0.5rem;
    }
    
    .auth-theme-toggle .theme-toggle {
        width: 48px;
        height: 24px;
    }
    
    .auth-theme-toggle .theme-toggle::before {
        width: 16px;
        height: 16px;
        top: 2px;
        left: 2px;
    }
    
    [data-theme="dark"] .auth-theme-toggle .theme-toggle::before {
        transform: translateX(22px);
    }
    
    .auth-theme-toggle .theme-toggle .theme-toggle-icon {
        font-size: 0.55rem;
    }
    
    .auth-theme-toggle .theme-toggle .fa-sun {
        left: 4px;
    }
    
    .auth-theme-toggle .theme-toggle .fa-moon {
        right: 4px;
    }
} 