/* Dark Theme Dashboard - IMPORTANT: Override all body styles */
html {
    overflow-x: hidden;
    overflow-y: auto;
}

body.dark-theme {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100vh !important;
    position: relative !important;
}

.dark-theme {
    background: #0f0f1e;
    min-height: 100vh;
    padding-top: 96px;
    position: relative;
}

.dark-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.15) 0%, transparent 50%);
    z-index: -1;
}

/* Dark Header */
.dark-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(20, 20, 35, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.dark-theme {
    padding-top: 96px; /* Space for fixed header */
}

.dark-header .header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dark-header .header-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dark-header .header-logo {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
}

.dark-header .app-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.dark-header .app-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.dark-header .header-admin-link {
    width: 48px;
    height: 48px;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dark-header .header-admin-link:hover {
    background: rgba(102, 126, 234, 0.3);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
}

.dark-header .admin-icon {
    font-size: 24px;
}

/* Dark Main Content */
.dark-main-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    padding-bottom: 150px; /* Space for bottom nav */
    min-height: 100vh; /* Ensure full viewport height for scrolling */
}

/* Dark Stats Container */
.dark-stats-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.dark-stat-card {
    background: rgba(20, 20, 35, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.dark-stat-card:hover {
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.dark-stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    flex-shrink: 0;
}

.dark-stat-icon.diamond {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.4);
}

.dark-stat-icon.calendar {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.3) 0%, rgba(245, 87, 108, 0.3) 100%);
    box-shadow: 0 0 30px rgba(240, 147, 251, 0.4);
}

.dark-stat-icon.status.active {
    background: linear-gradient(135deg, rgba(67, 233, 123, 0.3) 0%, rgba(56, 249, 215, 0.3) 100%);
    box-shadow: 0 0 30px rgba(67, 233, 123, 0.4);
}

.dark-stat-icon.status.inactive {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.3) 0%, rgba(238, 90, 111, 0.3) 100%);
    box-shadow: 0 0 30px rgba(255, 107, 107, 0.4);
}

.dark-stat-content {
    flex: 1;
}

.dark-stat-value {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
    line-height: 1;
}

.dark-stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Dark Info Card */
.dark-info-card {
    background: rgba(20, 20, 35, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.dark-info-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.dark-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-info-row:last-child {
    border-bottom: none;
}

.dark-info-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.dark-info-value {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .dark-header .header-logo {
        width: 48px;
        height: 48px;
        font-size: 28px;
    }
    
    .dark-header .app-title {
        font-size: 20px;
    }
    
    .dark-header .app-subtitle {
        font-size: 13px;
    }
    
    .dark-stat-card {
        padding: 20px;
    }
    
    .dark-stat-icon {
        width: 56px;
        height: 56px;
        font-size: 32px;
    }
    
    .dark-stat-value {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .dark-main-content {
        padding: 16px;
    }
    
    .dark-header .header-logo {
        width: 44px;
        height: 44px;
        font-size: 24px;
    }
    
    .dark-header .app-title {
        font-size: 18px;
    }
    
    .dark-stat-card {
        padding: 16px;
        gap: 16px;
    }
    
    .dark-stat-icon {
        width: 52px;
        height: 52px;
        font-size: 28px;
    }
    
    .dark-stat-value {
        font-size: 28px;
    }
    
    .dark-stat-label {
        font-size: 13px;
    }
}


/* Dark Theme for Generation Page (dashboard.php) */
.dark-theme .main-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    padding-bottom: 150px; /* Much more space for bottom nav */
    min-height: 100vh; /* Ensure full viewport height for scrolling */
}

/* Mode Selector */
.dark-theme .mode-selector {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    background: rgba(20, 20, 35, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 16px;
    padding: 8px;
}

.dark-theme .mode-btn {
    flex: 1;
    padding: 14px 20px;
    background: transparent;
    border: none;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dark-theme .mode-btn:hover {
    color: rgba(255, 255, 255, 0.9);
}

.dark-theme .mode-btn.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

.dark-theme .mode-icon {
    font-size: 20px;
}

/* Input Card */
.dark-theme .input-card {
    background: rgba(20, 20, 35, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
}

.dark-theme .input-label {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    display: block;
}

.dark-theme .prompt-input {
    width: 100%;
    padding: 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    resize: vertical;
    transition: all 0.3s ease;
}

.dark-theme .prompt-input:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.2);
}

.dark-theme .prompt-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Suggestions */
.dark-theme .suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.dark-theme .suggestion-chip {
    padding: 8px 16px;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dark-theme .suggestion-chip:hover {
    background: rgba(102, 126, 234, 0.3);
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.3);
}

/* Settings Card */
.dark-theme .settings-card {
    background: rgba(20, 20, 35, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
}

.dark-theme .settings-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.dark-theme .setting-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    display: block;
}

.dark-theme .toggle-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.dark-theme .toggle-btn,
.dark-theme .toggle-btn-img {
    padding: 10px 16px;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dark-theme .toggle-btn:hover,
.dark-theme .toggle-btn-img:hover {
    background: rgba(102, 126, 234, 0.3);
}

.dark-theme .toggle-btn.active,
.dark-theme .toggle-btn-img.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.5) 0%, rgba(118, 75, 162, 0.5) 100%);
    border-color: rgba(102, 126, 234, 0.6);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
}

/* Upload Card */
.dark-theme .upload-card {
    background: rgba(20, 20, 35, 0.6);
    backdrop-filter: blur(20px);
    border: 2px dashed rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.dark-theme .upload-card:hover {
    border-color: rgba(102, 126, 234, 0.5);
    background: rgba(20, 20, 35, 0.8);
}

.dark-theme .upload-icon {
    font-size: 48px;
    margin-bottom: 12px;
    display: block;
}

.dark-theme .upload-text {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.dark-theme .upload-subtext {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* Preview Card */
.dark-theme .preview-card {
    background: rgba(20, 20, 35, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    padding: 16px;
    position: relative;
    margin-bottom: 20px;
}

.dark-theme .preview-card img {
    width: 100%;
    border-radius: 12px;
}

.dark-theme .remove-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    background: rgba(255, 107, 107, 0.9);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dark-theme .remove-btn:hover {
    background: rgba(255, 107, 107, 1);
    transform: scale(1.1);
}

/* Generate Button */
.dark-theme .generate-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 16px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
    margin-bottom: 30px;
    position: relative;
    z-index: 10;
}

.dark-theme .generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.6);
}

.dark-theme .btn-icon {
    font-size: 20px;
}

/* Results Section */
.dark-theme .results-section {
    margin-bottom: 30px;
}

.dark-theme .results-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.dark-theme .results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.dark-theme .result-card {
    background: rgba(20, 20, 35, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.dark-theme .result-card:hover {
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    transform: translateY(-4px);
}

.dark-theme .result-image {
    width: 100%;
    height: auto;
    display: block;
}

.dark-theme .result-info {
    padding: 16px;
}

.dark-theme .result-prompt {
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 8px;
}

.dark-theme .result-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.dark-theme .result-actions {
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 8px;
}

.dark-theme .action-btn {
    flex: 1;
    padding: 10px;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dark-theme .action-btn:hover {
    background: rgba(102, 126, 234, 0.3);
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .dark-theme .main-content {
        padding: 16px;
    }
    
    .dark-theme .results-grid {
        grid-template-columns: 1fr;
    }
    
    .dark-theme .upload-card {
        padding: 30px 20px;
    }
}


/* Dark Theme for History Page */
.dark-theme .main-content {
    min-height: 100vh;
    padding-bottom: 150px;
}

.dark-theme .history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.dark-theme .history-card {
    background: rgba(20, 20, 35, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.dark-theme .history-card:hover {
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    transform: translateY(-4px);
}

.dark-theme .history-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.dark-theme .history-info {
    padding: 16px;
}

.dark-theme .history-prompt {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.4;
}

.dark-theme .history-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.dark-theme .history-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dark-theme .history-actions {
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 8px;
}

.dark-theme .history-actions .action-btn {
    flex: 1;
    padding: 10px;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.dark-theme .history-actions .action-btn:hover {
    background: rgba(102, 126, 234, 0.3);
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.3);
}

/* Empty State */
.dark-theme .empty-state {
    text-align: center;
    padding: 60px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.dark-theme .empty-icon {
    font-size: 80px;
    margin-bottom: 20px;
    display: block;
}

.dark-theme .empty-state h3 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.dark-theme .empty-state p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
}

.dark-theme .empty-btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.dark-theme .empty-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.6);
}

/* Toast - Small notification at bottom with app matching colors */
#toast {
    position: fixed !important;
    bottom: 120px !important;
    top: auto !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(150px) !important;
    background: rgba(20, 20, 35, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(102, 126, 234, 0.4) !important;
    color: white !important;
    padding: 14px 20px !important;
    border-radius: 16px !important;
    display: none !important;
    align-items: center !important;
    gap: 12px !important;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3), 0 0 60px rgba(102, 126, 234, 0.2) !important;
    z-index: 10000 !important;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
    max-width: 90% !important;
    width: auto !important;
    min-width: 280px !important;
    max-height: 60px !important;
    height: auto !important;
}

#toast.show {
    display: flex !important;
    transform: translateX(-50%) translateY(0) !important;
}

#toast.hidden {
    display: none !important;
}

#toast.success {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%) !important;
    border-color: rgba(102, 126, 234, 0.6) !important;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4), 0 0 60px rgba(102, 126, 234, 0.3) !important;
}

#toast.error {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.3) 0%, rgba(245, 87, 108, 0.3) 100%) !important;
    border-color: rgba(245, 87, 108, 0.6) !important;
    box-shadow: 0 8px 32px rgba(245, 87, 108, 0.4), 0 0 60px rgba(240, 147, 251, 0.3) !important;
}

#toast .toast-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: bold !important;
    font-size: 18px !important;
    flex-shrink: 0 !important;
}

#toast.success .toast-icon {
    background: rgba(102, 126, 234, 0.4) !important;
    color: #ffffff !important;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.6) !important;
}

#toast.error .toast-icon {
    background: rgba(245, 87, 108, 0.4) !important;
    color: #ffffff !important;
    box-shadow: 0 0 20px rgba(245, 87, 108, 0.6) !important;
}

#toast .toast-message {
    font-size: 14px !important;
    font-weight: 600 !important;
    flex: 1 !important;
    white-space: nowrap !important;
    color: white !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

@media (max-width: 768px) {
    .dark-theme .history-grid {
        grid-template-columns: 1fr;
        padding: 16px;
    }
}


/* Dark Theme for Contact Page */
.dark-theme .contact-card {
    background: rgba(20, 20, 35, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.dark-theme .contact-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.dark-theme .contact-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.dark-theme .contact-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.dark-theme .whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    text-decoration: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    margin-bottom: 28px;
}

.dark-theme .whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

.dark-theme .whatsapp-icon {
    font-size: 24px;
}

.dark-theme .contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
}

.dark-theme .contact-info .info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.dark-theme .contact-info .info-item:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
}

.dark-theme .contact-info .info-icon {
    font-size: 20px;
}

.dark-theme .contact-info .info-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* FAQ Section */
.dark-theme .faq-section {
    background: rgba(20, 20, 35, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.dark-theme .faq-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.dark-theme .faq-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-theme .faq-item:last-child {
    border-bottom: none;
}

.dark-theme .faq-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.dark-theme .faq-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .dark-theme .contact-card {
        padding: 24px;
    }
    
    .dark-theme .contact-icon {
        font-size: 56px;
    }
    
    .dark-theme .contact-title {
        font-size: 24px;
    }
    
    .dark-theme .whatsapp-btn {
        padding: 14px 28px;
        font-size: 15px;
    }
}


/* Ensure bottom nav is visible in dark theme */
.dark-theme .bottom-nav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background: rgba(15, 15, 26, 0.95) !important;
    backdrop-filter: blur(20px) !important;
}

/* Ensure proper spacing for scrollable content */
.dark-theme .generation-section {
    margin-bottom: 20px;
}

.dark-theme .hidden {
    display: none;
}

/* Mobile Responsive for Bottom Nav */
@media (max-width: 768px) {
    .dark-theme .bottom-nav {
        padding: 8px 10px 16px;
    }
    
    .dark-theme .nav-item {
        padding: 6px 12px;
        gap: 2px;
    }
    
    .dark-theme .nav-icon {
        font-size: 22px;
    }
    
    .dark-theme .nav-label {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .dark-theme .bottom-nav {
        padding: 6px 5px 12px;
    }
    
    .dark-theme .nav-item {
        padding: 6px 8px;
        gap: 2px;
        min-width: 60px;
    }
    
    .dark-theme .nav-icon {
        font-size: 20px;
    }
    
    .dark-theme .nav-label {
        font-size: 9px;
    }
}

@media (max-width: 360px) {
    .dark-theme .bottom-nav {
        padding: 6px 2px 10px;
    }
    
    .dark-theme .nav-item {
        padding: 4px 6px;
        gap: 2px;
        min-width: 55px;
    }
    
    .dark-theme .nav-icon {
        font-size: 18px;
    }
    
    .dark-theme .nav-label {
        font-size: 8px;
    }
}
