/**
 * Light Mode Fixes
 * Visually stunning light mode with proper contrast and readability
 */

/* ============================================
   GLOBAL LIGHT MODE SETTINGS
   ============================================ */

[data-theme="light"] {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #0ba360 0%, #3cba92 100%);
    --danger-gradient: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 1px 3px rgba(0, 0, 0, 0.06);
    --card-hover-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 6px 10px rgba(0, 0, 0, 0.08);
}

/* ============================================
   MAIN BACKGROUND & CONTAINER
   ============================================ */

[data-theme="light"] body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #2d3748;
}

[data-theme="light"] .gradient-background {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    opacity: 0.95;
}

[data-theme="light"] .container {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    padding: 20px;
}

/* ============================================
   FILTER PANEL & ADVANCED SEARCH
   ============================================ */

[data-theme="light"] .filter-panel {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-right: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 4px 0 15px rgba(102, 126, 234, 0.1);
}

[data-theme="light"] .filter-panel-header {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

[data-theme="light"] .filter-section {
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

[data-theme="light"] .filter-section h4 {
    color: #4a5568;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

[data-theme="light"] .filter-section h5 {
    color: #718096;
    font-weight: 500;
}

[data-theme="light"] .filter-label {
    color: #4a5568;
    font-weight: 500;
}

/* Preset Buttons */
[data-theme="light"] .preset-btn {
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    border: 2px solid rgba(102, 126, 234, 0.2);
    color: #4a5568;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .preset-btn:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Input Fields */
[data-theme="light"] .filter-search-input,
[data-theme="light"] .filter-input,
[data-theme="light"] .filter-select {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    color: #2d3748;
    font-weight: 500;
    transition: all 0.3s ease;
}

[data-theme="light"] .filter-search-input::placeholder,
[data-theme="light"] .filter-input::placeholder {
    color: #a0aec0;
}

[data-theme="light"] .filter-search-input:focus,
[data-theme="light"] .filter-input:focus,
[data-theme="light"] .filter-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: #fafbff;
}

/* Genre Tags */
[data-theme="light"] .genre-checkbox label,
[data-theme="light"] .streaming-checkbox label {
    color: #495057;
}

[data-theme="light"] .genre-checkbox:hover,
[data-theme="light"] .streaming-checkbox:hover {
    background: #f1f3f5;
}

/* Search History */
[data-theme="light"] .search-history-item {
    background: #f8f9fa;
    color: #495057;
}

[data-theme="light"] .search-history-item:hover {
    background: #e9ecef;
}

/* Search Suggestions */
[data-theme="light"] .search-suggestions {
    background: #ffffff;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .search-suggestion {
    color: #495057;
}

[data-theme="light"] .search-suggestion:hover {
    background: #f8f9fa;
}

/* Range Values */
[data-theme="light"] .range-values {
    color: #666666;
}

[data-theme="light"] .rating-label {
    color: #666666;
}

/* Streaming Options */
[data-theme="light"] .streaming-option {
    background: #f8f9fa;
    color: #495057;
}

[data-theme="light"] .streaming-option:hover {
    background: #e9ecef;
}

[data-theme="light"] .streaming-option.active {
    background: #007bff;
    color: white;
}

/* Saved Searches */
[data-theme="light"] .saved-search-item {
    background: #f8f9fa;
    color: #495057;
}

[data-theme="light"] .saved-search-item:hover {
    background: #e9ecef;
}

[data-theme="light"] .saved-search-name {
    color: #2c3e50;
}

/* Active Filters Bar */
[data-theme="light"] .active-filters-bar {
    background: #ffffff;
    border-bottom: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .active-filter-tag {
    background: #007bff;
    color: white;
}

/* Clear Filters Button */
[data-theme="light"] .clear-filters-btn {
    background: var(--danger-gradient);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(245, 87, 108, 0.3);
}

[data-theme="light"] .clear-filters-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.4);
}

/* Apply Filters Button */
[data-theme="light"] .apply-filters-btn {
    background: var(--success-gradient);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(11, 163, 96, 0.3);
}

[data-theme="light"] .apply-filters-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 163, 96, 0.4);
}

/* Save Search Button */
[data-theme="light"] .save-search-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
}

[data-theme="light"] .save-search-btn:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

/* ============================================
   SEARCH RESULTS & MOVIE CARDS
   ============================================ */

[data-theme="light"] #searchResults {
    color: #495057;
}

[data-theme="light"] .results-count {
    color: #2c3e50;
}

[data-theme="light"] .view-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
}

[data-theme="light"] .view-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

[data-theme="light"] .movie-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
    border: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .movie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.2);
}

[data-theme="light"] .movie-title {
    color: #2c3e50;
}

[data-theme="light"] .movie-meta {
    color: #666666;
}

[data-theme="light"] .movie-rating {
    color: #666666;
}

[data-theme="light"] .movie-rating i {
    color: #ffc107;
}

/* Pagination */
[data-theme="light"] .pagination-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
}

[data-theme="light"] .pagination-btn:hover {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

[data-theme="light"] .page-number {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
}

[data-theme="light"] .page-number.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

[data-theme="light"] .page-number:hover:not(.active) {
    background: #e9ecef;
}

[data-theme="light"] .page-ellipsis {
    color: #999999;
}

/* Sort Controls - Light Mode */
[data-theme="light"] .sort-controls label {
    color: #666666;
}

[data-theme="light"] .sort-select {
    background: #ffffff;
    border: 1px solid #dee2e6;
    color: #495057;
}

[data-theme="light"] .sort-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

[data-theme="light"] .sort-order-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
}

[data-theme="light"] .sort-order-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

[data-theme="light"] .sort-order-btn:hover {
    background: #e9ecef;
}

[data-theme="light"] .sort-order-btn.active:hover {
    background: #0056b3;
}

/* Movie Card Hover - Light Mode */
[data-theme="light"] .movie-hover-info {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 50%, transparent 100%);
}

[data-theme="light"] .movie-hover-info p {
    color: white;
}

/* Results Info - Light Mode */
[data-theme="light"] .results-info {
    color: #495057;
}

[data-theme="light"] .results-count strong {
    color: #007bff;
}

/* ============================================
   MODAL WINDOWS
   ============================================ */

[data-theme="light"] .search-modal-content {
    background: #ffffff;
    color: #495057;
}

[data-theme="light"] .search-header h2 {
    color: #2c3e50;
}

[data-theme="light"] .close-btn {
    color: #666666;
}

[data-theme="light"] .close-btn:hover {
    color: #2c3e50;
}

[data-theme="light"] .modal-content {
    background: #ffffff;
    color: #495057;
}

[data-theme="light"] .modal-close {
    color: #666666;
}

[data-theme="light"] .modal-close:hover {
    color: #2c3e50;
}

/* ============================================
   ERROR & NO RESULTS STATES
   ============================================ */

[data-theme="light"] .search-error,
[data-theme="light"] .no-results {
    color: #666666;
}

[data-theme="light"] .search-error i,
[data-theme="light"] .no-results i {
    color: #999999;
}

/* ============================================
   MAIN UI ELEMENTS
   ============================================ */

/* Header & Navigation */
[data-theme="light"] .header {
    background: transparent;
    border-bottom: none;
    padding-bottom: 1rem;
}

[data-theme="light"] .header h1,
[data-theme="light"] .title-letter {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .dinner-time-container {
    gap: 1rem;
    margin: 2rem 0;
}

/* Header Action Buttons */
[data-theme="light"] .dinner-time-trigger,
[data-theme="light"] .free-movie-trigger,
[data-theme="light"] .search-movie-trigger,
[data-theme="light"] .preference-trigger {
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    color: #4a5568 !important;
    border: 2px solid rgba(102, 126, 234, 0.2);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

[data-theme="light"] .dinner-time-trigger:hover,
[data-theme="light"] .free-movie-trigger:hover,
[data-theme="light"] .search-movie-trigger:hover,
[data-theme="light"] .preference-trigger:hover {
    background: var(--primary-gradient);
    color: white !important;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Advanced Search Trigger Button */
[data-theme="light"] .advanced-search-trigger {
    background: var(--primary-gradient);
    color: white !important;
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

[data-theme="light"] .advanced-search-trigger:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

/* Netflix Search Button */
[data-theme="light"] .netflix-search-trigger {
    background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
    color: #2d3748 !important;
    border: 2px solid #e50914;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(229, 9, 20, 0.1);
}

[data-theme="light"] .netflix-search-trigger:hover {
    background: linear-gradient(135deg, #e50914 0%, #b71c1c 100%);
    color: white !important;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(229, 9, 20, 0.4);
}

[data-theme="light"] .netflix-search-trigger .fa-netflix {
    color: currentColor !important;
}

/* Footer */
[data-theme="light"] .footer {
    background: #f8f9fa;
    color: #666666;
    border-top: 1px solid #dee2e6;
}

[data-theme="light"] .footer a {
    color: #007bff;
}

[data-theme="light"] .footer a:hover {
    color: #0056b3;
}

/* ============================================
   TRENDING MOVIES SECTION
   ============================================ */

[data-theme="light"] .trending-movies {
    background: #ffffff;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .trending-movies h3 {
    color: #2c3e50;
}

[data-theme="light"] .trending-subtitle {
    color: #666666;
}

[data-theme="light"] .trending-list li {
    color: #495057;
}

[data-theme="light"] .trending-list li:hover {
    background: #f8f9fa;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */

[data-theme="light"] .toast {
    background: #ffffff;
    color: #495057;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .toast.success {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

[data-theme="light"] .toast.error {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

[data-theme="light"] .toast.warning {
    background: #fff3cd;
    border-color: #ffeeba;
    color: #856404;
}

/* ============================================
   LOADING STATES
   ============================================ */

[data-theme="light"] .spinner {
    border-color: #dee2e6;
    border-top-color: #007bff;
}

[data-theme="light"] .loading p {
    color: #666666;
}

/* ============================================
   ACCESSIBILITY & FOCUS STATES
   ============================================ */

[data-theme="light"] *:focus {
    outline-color: #007bff;
}

[data-theme="light"] *:focus-visible {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* ============================================
   SCROLLBARS (Webkit browsers)
   ============================================ */

[data-theme="light"] ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

[data-theme="light"] ::-webkit-scrollbar-track {
    background: #f1f1f1;
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ============================================
   MOBILE FILTER TOGGLE
   ============================================ */

[data-theme="light"] .mobile-filter-toggle {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

[data-theme="light"] .mobile-filter-toggle:hover {
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

[data-theme="light"] .filter-count {
    background: #dc3545;
    color: white;
}

/* ============================================
   CUSTOM CHECKBOX & RADIO STYLES
   ============================================ */

[data-theme="light"] input[type="checkbox"],
[data-theme="light"] input[type="radio"] {
    accent-color: #007bff;
}

[data-theme="light"] input[type="checkbox"]:checked,
[data-theme="light"] input[type="radio"]:checked {
    background-color: #007bff;
    border-color: #007bff;
}

/* ============================================
   RANGE SLIDERS
   ============================================ */

[data-theme="light"] .range-slider {
    background: #dee2e6;
}

[data-theme="light"] .range-slider::-webkit-slider-thumb {
    background: #007bff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .range-slider::-moz-range-thumb {
    background: #007bff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ============================================
   IMPORT/EXPORT MODAL
   ============================================ */

[data-theme="light"] .import-export-modal .modal-content {
    background: #ffffff;
    border: 1px solid #dee2e6;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .import-export-modal h3 {
    color: #2c3e50;
}

/* ============================================
   SETTINGS/PREFERENCES MODAL
   ============================================ */

[data-theme="light"] .settings-modal {
    background: rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .settings-modal-content {
    background: #ffffff;
    color: #495057;
}

[data-theme="light"] .settings-section {
    border-bottom: 1px solid #dee2e6;
}

[data-theme="light"] .settings-section h3 {
    color: #2c3e50;
}

/* ============================================
   MOVIE DETAILS MODAL
   ============================================ */

[data-theme="light"] .movie-modal-content {
    background: #ffffff;
    color: #495057;
}

[data-theme="light"] .movie-modal-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

[data-theme="light"] .movie-modal-title {
    color: #2c3e50;
}

[data-theme="light"] .movie-modal-meta {
    color: #666666;
}

/* ============================================
   MOVIE CARD SPECIFIC STYLES
   ============================================ */

[data-theme="light"] #movieCard {
    background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
    border: 2px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
}

[data-theme="light"] .movie-info h2 {
    color: #2d3748;
    font-weight: 700;
}

[data-theme="light"] .movie-info p {
    color: #4a5568;
    line-height: 1.6;
}

[data-theme="light"] .movie-details {
    color: #718096;
}

[data-theme="light"] .movie-details span {
    color: #2d3748;
    font-weight: 600;
}

[data-theme="light"] .action-buttons button {
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    color: #4a5568;
    border: 2px solid rgba(102, 126, 234, 0.2);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .action-buttons button:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

[data-theme="light"] .next-movie-btn {
    background: var(--primary-gradient) !important;
    color: white !important;
    border: none !important;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

[data-theme="light"] .next-movie-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

/* Preference Modal in Light Mode */
[data-theme="light"] .preference-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

[data-theme="light"] .preference-header h2 {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .preference-select {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    color: #2d3748;
    font-weight: 500;
}

[data-theme="light"] .preference-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

[data-theme="light"] .preference-button.start-button {
    background: var(--primary-gradient);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

[data-theme="light"] .preference-button.start-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

[data-theme="light"] .preference-button.skip-button {
    background: transparent;
    color: #718096;
    border: 2px solid #e2e8f0;
}

[data-theme="light"] .preference-button.skip-button:hover {
    background: #f7fafc;
    color: #4a5568;
}

/* ============================================
   ADDITIONAL TEXT VISIBILITY FIXES
   ============================================ */

[data-theme="light"] p,
[data-theme="light"] span,
[data-theme="light"] div,
[data-theme="light"] label,
[data-theme="light"] li {
    color: inherit;
}

[data-theme="light"] .text-muted {
    color: #6c757d !important;
}

[data-theme="light"] .text-secondary {
    color: #6c757d !important;
}

[data-theme="light"] .text-primary {
    color: #007bff !important;
}

[data-theme="light"] .text-danger {
    color: #dc3545 !important;
}

[data-theme="light"] .text-success {
    color: #28a745 !important;
}

[data-theme="light"] .text-warning {
    color: #ffc107 !important;
}

[data-theme="light"] .text-info {
    color: #17a2b8 !important;
}

/* Ensure all form controls are visible */
[data-theme="light"] input:not([type="checkbox"]):not([type="radio"]),
[data-theme="light"] textarea,
[data-theme="light"] select {
    background: #ffffff;
    border: 1px solid #ced4da;
    color: #495057;
}

[data-theme="light"] input:not([type="checkbox"]):not([type="radio"])::placeholder,
[data-theme="light"] textarea::placeholder {
    color: #999999;
}

/* Make sure all buttons are visible */
[data-theme="light"] button:not(.advanced-search-trigger):not(.netflix-search-trigger) {
    color: inherit;
}

/* Ensure link visibility */
[data-theme="light"] a {
    color: #007bff;
}

[data-theme="light"] a:hover {
    color: #0056b3;
}

/* Fix any potential icon color issues */
[data-theme="light"] i.fas,
[data-theme="light"] i.fab,
[data-theme="light"] i.far {
    color: inherit;
}

/* Special case for Netflix icon */
[data-theme="light"] .fab.fa-netflix {
    color: #e50914 !important;
}

/* ============================================
   THEME TOGGLE BUTTON
   ============================================ */

[data-theme="light"] .theme-toggle {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    border: none;
}

[data-theme="light"] .theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* ============================================
   LOADING SCREEN
   ============================================ */

[data-theme="light"] .loading-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

[data-theme="light"] .film-reel-spinner .reel-circle {
    stroke: white;
}

[data-theme="light"] .film-hole {
    fill: white;
}

[data-theme="light"] .loading-text {
    color: white;
}

[data-theme="light"] .quote {
    color: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .progress {
    color: white;
}

/* ============================================
   RECOMMENDATIONS SECTION
   ============================================ */

[data-theme="light"] .recommendations {
    background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
    border: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

[data-theme="light"] .recommendations h3 {
    color: #2d3748;
    font-weight: 700;
}

[data-theme="light"] .recommendation-card {
    background: #ffffff;
    border: 1px solid rgba(102, 126, 234, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .recommendation-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.2);
}

/* ============================================
   DINNER TIME MODAL
   ============================================ */

[data-theme="light"] .dinner-time-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

[data-theme="light"] .dinner-time-modal-content h2 {
    color: #2d3748;
}

[data-theme="light"] .dinner-time-modal-content p {
    color: #4a5568;
}

/* ============================================
   AVAILABILITY MODAL
   ============================================ */

[data-theme="light"] .availability-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

[data-theme="light"] .availability-modal-content h3 {
    color: #2d3748;
}

[data-theme="light"] .streaming-service {
    background: #f7fafc;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

[data-theme="light"] .streaming-service:hover {
    background: #edf2f7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

/* ============================================
   SEARCH MODAL ENHANCEMENTS
   ============================================ */

[data-theme="light"] .search-modal {
    background: rgba(102, 126, 234, 0.1);
}

[data-theme="light"] .search-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

[data-theme="light"] .search-bar {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .search-bar:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

[data-theme="light"] .search-bar input {
    color: #2d3748;
    font-weight: 500;
}

[data-theme="light"] .search-bar input::placeholder {
    color: #a0aec0;
}

[data-theme="light"] .voice-icon {
    color: #718096;
}

[data-theme="light"] .voice-icon:hover {
    color: #667eea;
}

/* ============================================
   NETFLIX MODAL SPECIFIC
   ============================================ */

[data-theme="light"] .netflix-header {
    background: linear-gradient(135deg, #e50914 0%, #b71c1c 100%);
    padding: 1rem;
    border-radius: 8px 8px 0 0;
}

[data-theme="light"] .netflix-header h2 {
    color: white;
}

[data-theme="light"] .netflix-results {
    background: #fafbff;
    padding: 1rem;
}

[data-theme="light"] .disclaimer {
    background: linear-gradient(135deg, #fff5f5 0%, #ffebee 100%);
    border: 1px solid rgba(229, 9, 20, 0.2);
    color: #4a5568;
}

/* ============================================
   PWA INSTALL BUTTON
   ============================================ */

[data-theme="light"] .pwa-install-section {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

[data-theme="light"] .pwa-main-install-btn {
    background: var(--primary-gradient);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

[data-theme="light"] .pwa-main-install-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

[data-theme="light"] .pwa-install-section .pwa-install-text {
    color: #718096;
}

/* ============================================
   FINAL TOUCH-UPS
   ============================================ */

/* Ensure all text in light mode has proper contrast */
[data-theme="light"] * {
    text-shadow: none;
}

/* Fix any remaining visibility issues */
[data-theme="light"] .loading p {
    color: #4a5568;
}

[data-theme="light"] .rating {
    color: #f6ad55;
}

[data-theme="light"] .genre-tag {
    background: linear-gradient(135deg, #edf2f7 0%, #e2e8f0 100%);
    color: #4a5568;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

[data-theme="light"] .genre-tag:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
}
