/* Theme Definitions */

/* Default Light Theme - Clean and professional */
body.theme-light {
    --primary-bg: #f5f7fa;
    --secondary-bg: #ffffff;
    --text-color: #2d3748;
    --border-color: #e2e8f0;
    --primary-accent: #4299e1;
    --primary-accent-dark: #3182ce;
}
/* Plain background when picture is disabled: very pale blueish-white */
body.theme-light:not(.has-picture-bg) {
    background: #f0f6ff !important;
    background-image: none !important;
}

/* Dark Theme - Very dark blue with white text */
body.theme-dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: #ffffff !important;
    --primary-bg: #0f172a;
    --secondary-bg: #1e293b;
    --text-color: #ffffff;
    --border-color: #475569;
    --primary-accent: #60a5fa;
    --primary-accent-dark: #3b82f6;
}

/* Dark theme - All text elements white */
body.theme-dark * {
    color: #ffffff !important;
}

body.theme-dark .top-bar {
    background: linear-gradient(135deg, #0c1220 0%, #0f172a 100%);
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.6);
}

body.theme-dark .form-container,
body.theme-dark .results-container,
body.theme-dark .search-container-full,
body.theme-dark .stat-card,
body.theme-dark table,
body.theme-dark .modal-content {
    background: rgba(30, 41, 59, 0.9) !important;
    border: 1px solid #475569 !important;
    color: #ffffff !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.4);
}

body.theme-dark .form-group input,
body.theme-dark .form-group select,
body.theme-dark .form-group textarea {
    background: #334155 !important;
    color: #ffffff !important;
    border: 1px solid #475569 !important;
}

body.theme-dark .form-group input:focus,
body.theme-dark .form-group select:focus,
body.theme-dark .form-group textarea:focus {
    background: #475569 !important;
    border-color: #60a5fa !important;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.3) !important;
    color: #ffffff !important;
}

body.theme-dark .form-group label,
body.theme-dark .form-label,
body.theme-dark label {
    color: #ffffff !important;
}

body.theme-dark table th,
body.theme-dark table td {
    background: rgba(51, 65, 85, 0.8) !important;
    color: #ffffff !important;
    border-color: #475569 !important;
}

body.theme-dark .btn {
    background: #334155 !important;
    color: #ffffff !important;
    border-color: #475569 !important;
}

body.theme-dark .btn:hover {
    background: #475569 !important;
    color: #ffffff !important;
}

body.theme-dark .btn-primary {
    background: #3b82f6 !important;
    color: #ffffff !important;
    border-color: #3b82f6 !important;
}

body.theme-dark .btn-primary:hover {
    background: #2563eb !important;
    color: #ffffff !important;
}

body.theme-dark .sidebar {
    background: #0c1220 !important;
    color: #ffffff !important;
}

body.theme-dark .sidebar a,
body.theme-dark .sidebar .nav-link {
    color: #ffffff !important;
}

body.theme-dark .sidebar a:hover,
body.theme-dark .sidebar .nav-link:hover {
    background: rgba(96, 165, 250, 0.2) !important;
    color: #ffffff !important;
}

/* Sophisticated Theme Styles - Light and professional */

/* Deep Ocean Theme - Lighter blue tones with pale blue text */
body.theme-ocean {
    background: linear-gradient(135deg, #3b4c63 0%, #2c3e50 50%, #4a5568 100%);
    color: #bfdbfe;
    --primary-bg: #3b4c63;
    --secondary-bg: #4a5568;
    --text-color: #bfdbfe;
    --border-color: #64748b;
    --primary-accent: #60a5fa;
    --primary-accent-dark: #3b82f6;
}

body.theme-ocean .top-bar {
    background: linear-gradient(135deg, #2c3e50 0%, #3b4c63 100%);
    color: #bfdbfe;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.4);
}

body.theme-ocean .form-container,
body.theme-ocean .results-container,
body.theme-ocean .search-container-full,
body.theme-ocean .stat-card,
body.theme-ocean table,
body.theme-ocean .modal-content {
    background: rgba(74, 85, 104, 0.9);
    border: 1px solid #64748b;
    color: #bfdbfe;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(44, 62, 80, 0.3);
}

body.theme-ocean .form-group input,
body.theme-ocean .form-group select,
body.theme-ocean .form-group textarea {
    background: #64748b;
    color: #bfdbfe;
    border: 1px solid #94a3b8;
}

body.theme-ocean .form-group input:focus,
body.theme-ocean .form-group select:focus,
body.theme-ocean .form-group textarea:focus {
    background: #94a3b8;
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.3);
    color: #dbeafe;
}

/* Sage Forest Theme - Pure green tones */
body.theme-forest {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 50%, #a7f3d0 100%);
    color: #15803d;
    --primary-bg: #dcfce7;
    --secondary-bg: #f0fdf4;
    --text-color: #15803d;
    --border-color: #86efac;
    --primary-accent: #16a34a;
    --primary-accent-dark: #15803d;
}

body.theme-forest .top-bar {
    background: linear-gradient(135deg, #bbf7d0 0%, #86efac 100%);
    color: #15803d;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.2);
}

body.theme-forest .form-container,
body.theme-forest .results-container,
body.theme-forest .search-container-full,
body.theme-forest .stat-card,
body.theme-forest table,
body.theme-forest .modal-content {
    background: rgba(240, 253, 244, 0.9);
    border: 1px solid #86efac;
    color: #15803d;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(22, 163, 74, 0.15);
}

body.theme-forest .form-group input,
body.theme-forest .form-group select,
body.theme-forest .form-group textarea {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #a7f3d0;
}

body.theme-forest .form-group input:focus,
body.theme-forest .form-group select:focus,
body.theme-forest .form-group textarea:focus {
    background: #ecfdf5;
    border-color: #16a34a;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.25);
}

/* Warm Sand Theme - Darker earthy tones */
body.theme-sunset {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #facc15 100%);
    color: #78350f;
    --primary-bg: #fef3c7;
    --secondary-bg: #fffbeb;
    --text-color: #78350f;
    --border-color: #fbbf24;
    --primary-accent: #eab308;
    --primary-accent-dark: #ca8a04;
}

body.theme-sunset .top-bar {
    background: linear-gradient(135deg, #fde68a 0%, #fbbf24 100%);
    color: #a16207;
    box-shadow: 0 2px 8px rgba(234, 179, 8, 0.2);
}

body.theme-sunset .form-container,
body.theme-sunset .results-container,
body.theme-sunset .search-container-full,
body.theme-sunset .stat-card,
body.theme-sunset table,
body.theme-sunset .modal-content {
    background: rgba(255, 251, 235, 0.9);
    border: 1px solid #fbbf24;
    color: #78350f;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(234, 179, 8, 0.15);
}

body.theme-sunset .form-group input,
body.theme-sunset .form-group select,
body.theme-sunset .form-group textarea {
    background: #fffbeb;
    color: #78350f;
    border: 1px solid #fde68a;
}

body.theme-sunset .form-group input:focus,
body.theme-sunset .form-group select:focus,
body.theme-sunset .form-group textarea:focus {
    background: #fef3c7;
    border-color: #eab308;
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.25);
}

/* Lavender Mist Theme - Darker purple tones */
body.theme-midnight {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 50%, #c4b5fd 100%);
    color: #581c87;
    --primary-bg: #ede9fe;
    --secondary-bg: #f5f3ff;
    --text-color: #581c87;
    --border-color: #c4b5fd;
    --primary-accent: #9333ea;
    --primary-accent-dark: #7c3aed;
}

body.theme-midnight .top-bar {
    background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
    color: #7c2d92;
    box-shadow: 0 2px 8px rgba(147, 51, 234, 0.15);
}

body.theme-midnight .form-container,
body.theme-midnight .results-container,
body.theme-midnight .search-container-full,
body.theme-midnight .stat-card,
body.theme-midnight table,
body.theme-midnight .modal-content {
    background: rgba(245, 243, 255, 0.9);
    border: 1px solid #c4b5fd;
    color: #581c87;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(147, 51, 234, 0.15);
}

body.theme-midnight .form-group input,
body.theme-midnight .form-group select,
body.theme-midnight .form-group textarea {
    background: #f5f3ff;
    color: #581c87;
    border: 1px solid #e9d5ff;
}

body.theme-midnight .form-group input:focus,
body.theme-midnight .form-group select:focus,
body.theme-midnight .form-group textarea:focus {
    background: #ede9fe;
    border-color: #9333ea;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.25);
}

/* Slate Gray Theme - Darker neutral tones */
body.theme-royal {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 50%, #94a3b8 100%);
    color: #0f172a;
    --primary-bg: #e2e8f0;
    --secondary-bg: #f1f5f9;
    --text-color: #0f172a;
    --border-color: #94a3b8;
    --primary-accent: #475569;
    --primary-accent-dark: #334155;
}

body.theme-royal .top-bar {
    background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
    color: #1e293b;
    box-shadow: 0 2px 8px rgba(71, 85, 105, 0.15);
}

body.theme-royal .form-container,
body.theme-royal .results-container,
body.theme-royal .search-container-full,
body.theme-royal .stat-card,
body.theme-royal table,
body.theme-royal .modal-content {
    background: rgba(241, 245, 249, 0.95);
    border: 1px solid #94a3b8;
    color: #0f172a;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(71, 85, 105, 0.12);
}

body.theme-royal .form-group input,
body.theme-royal .form-group select,
body.theme-royal .form-group textarea {
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}

body.theme-royal .form-group input:focus,
body.theme-royal .form-group select:focus,
body.theme-royal .form-group textarea:focus {
    background: #e2e8f0;
    border-color: #475569;
    box-shadow: 0 0 0 3px rgba(71, 85, 105, 0.2);
}

/* Blush Pink Theme - Darker rose tones */
body.theme-rose {
    background: linear-gradient(135deg, #fce7f3 0%, #f9a8d4 50%, #f472b6 100%);
    color: #9d174d;
    --primary-bg: #fce7f3;
    --secondary-bg: #fdf2f8;
    --text-color: #9d174d;
    --border-color: #f472b6;
    --primary-accent: #db2777;
    --primary-accent-dark: #be185d;
}

body.theme-rose .top-bar {
    background: linear-gradient(135deg, #f9a8d4 0%, #f472b6 100%);
    color: #be185d;
    box-shadow: 0 2px 8px rgba(219, 39, 119, 0.15);
}

body.theme-rose .form-container,
body.theme-rose .results-container,
body.theme-rose .search-container-full,
body.theme-rose .stat-card,
body.theme-rose table,
body.theme-rose .modal-content {
    background: rgba(253, 242, 248, 0.9);
    border: 1px solid #f472b6;
    color: #9d174d;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(219, 39, 119, 0.15);
}

body.theme-rose .form-group input,
body.theme-rose .form-group select,
body.theme-rose .form-group textarea {
    background: #fdf2f8;
    color: #9d174d;
    border: 1px solid #fbcfe8;
}

body.theme-rose .form-group input:focus,
body.theme-rose .form-group select:focus,
body.theme-rose .form-group textarea:focus {
    background: #fce7f3;
    border-color: #db2777;
    box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.2);
}

/* Mint Fresh Theme - Darker teal tones */
body.theme-mint {
    background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 50%, #5eead4 100%);
    color: #0f766e;
    --primary-bg: #ccfbf1;
    --secondary-bg: #ecfdf5;
    --text-color: #0f766e;
    --border-color: #5eead4;
    --primary-accent: #0f766e;
    --primary-accent-dark: #134e4a;
}

body.theme-mint .top-bar {
    background: linear-gradient(135deg, #99f6e4 0%, #5eead4 100%);
    color: #134e4a;
    box-shadow: 0 2px 8px rgba(15, 118, 110, 0.15);
}

body.theme-mint .form-container,
body.theme-mint .results-container,
body.theme-mint .search-container-full,
body.theme-mint .stat-card,
body.theme-mint table,
body.theme-mint .modal-content {
    background: rgba(236, 253, 245, 0.9);
    border: 1px solid #5eead4;
    color: #0f766e;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(15, 118, 110, 0.15);
}

body.theme-mint .form-group input,
body.theme-mint .form-group select,
body.theme-mint .form-group textarea {
    background: #ecfdf5;
    color: #0f766e;
    border: 1px solid #99f6e4;
}

body.theme-mint .form-group input:focus,
body.theme-mint .form-group select:focus,
body.theme-mint .form-group textarea:focus {
    background: #ccfbf1;
    border-color: #0f766e;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.2);
}

/* Sidebar styling for all themes - ensure dark background with proper contrast */
/* Classic theme: plain background when picture is disabled: light blue */
body.theme-classic:not(.has-picture-bg) {
    background: #c4d8f5 !important;
    background-image: none !important;
}

/* Base fallback (will be overridden below by theme-specific colors) */
body.theme-ocean .sidebar,
body.theme-forest .sidebar,
body.theme-sunset .sidebar,
body.theme-midnight .sidebar,
body.theme-royal .sidebar,
body.theme-rose .sidebar,
body.theme-mint .sidebar,
body.theme-classic .sidebar {
    background: #1a202c !important;
    color: #e2e8f0 !important;
    border-right: 1px solid #2d3748 !important;
}

body.theme-ocean .sidebar-header,
body.theme-forest .sidebar-header,
body.theme-sunset .sidebar-header,
body.theme-midnight .sidebar-header,
body.theme-royal .sidebar-header,
body.theme-rose .sidebar-header,
body.theme-mint .sidebar-header,
body.theme-classic .sidebar-header {
    border-bottom: 1px solid #2d3748 !important;
    color: #f7fafc !important;
}

body.theme-ocean .sidebar-footer,
body.theme-forest .sidebar-footer,
body.theme-sunset .sidebar-footer,
body.theme-midnight .sidebar-footer,
body.theme-royal .sidebar-footer,
body.theme-rose .sidebar-footer,
body.theme-mint .sidebar-footer,
body.theme-classic .sidebar-footer {
    border-top: 1px solid #2d3748 !important;
    color: #e2e8f0 !important;
}

body.theme-ocean .nav-item,
body.theme-forest .nav-item,
body.theme-sunset .nav-item,
body.theme-midnight .nav-item,
body.theme-royal .nav-item,
body.theme-rose .nav-item,
body.theme-mint .nav-item,
body.theme-classic .nav-item {
    color: #e2e8f0 !important;
    background: transparent !important;
}

body.theme-ocean .nav-item:hover,
body.theme-forest .nav-item:hover,
body.theme-sunset .nav-item:hover,
body.theme-midnight .nav-item:hover,
body.theme-royal .nav-item:hover,
body.theme-rose .nav-item:hover,
body.theme-mint .nav-item:hover,
body.theme-classic .nav-item:hover {
    background: rgba(45, 55, 72, 0.6) !important;
    color: #f7fafc !important;
}

body.theme-ocean .nav-item.active,
body.theme-forest .nav-item.active,
body.theme-sunset .nav-item.active,
body.theme-midnight .nav-item.active,
body.theme-royal .nav-item.active,
body.theme-rose .nav-item.active,
body.theme-mint .nav-item.active,
body.theme-classic .nav-item.active {
    background: rgba(45, 55, 72, 0.8) !important;
    color: #ffffff !important;
    border-left: 3px solid #4299e1 !important;
}

/* Classic Browser: darkish blue glossy sidebar with white text */
body.theme-classic .sidebar {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.08) 20%, rgba(0,0,0,0.08) 100%),
      linear-gradient(180deg, #1e3a8a 0%, #1d4ed8 55%, #1e40af 100%) !important;
}

/* Teal Mint: dark turquoise sidebar */
body.theme-mint .sidebar {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(0,0,0,0.08) 100%),
      linear-gradient(180deg, #0f766e 0%, #0d9488 60%, #0b7667 100%) !important;
}

/* Rose Quartz: dark purple sidebar for high contrast */
body.theme-rose .sidebar {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(0,0,0,0.12) 100%),
      linear-gradient(180deg, #7a133d 0%, #9d174d 55%, #7a133d 100%) !important; /* darker red‑purple */
}

/* Warm Terracotta (Sunset): dark terracotta sidebar */
body.theme-sunset .sidebar {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(0,0,0,0.10) 100%),
      linear-gradient(180deg, #7c2d12 0%, #a16207 60%, #7c2d12 100%) !important;
}

/* Sage Forest: dark green sidebar */
body.theme-forest .sidebar {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(0,0,0,0.10) 100%),
      linear-gradient(180deg, #064e3b 0%, #065f46 60%, #064e3b 100%) !important;
}

/* Ensure logout button has proper contrast */
body.theme-ocean .sidebar .btn,
body.theme-forest .sidebar .btn,
body.theme-sunset .sidebar .btn,
body.theme-midnight .sidebar .btn,
body.theme-royal .sidebar .btn,
body.theme-rose .sidebar .btn,
body.theme-mint .sidebar .btn {
    background: #2b6cb0 !important;
    color: #ffffff !important;
    border: 1px solid #3182ce !important;
}

body.theme-ocean .sidebar .btn:hover,
body.theme-forest .sidebar .btn:hover,
body.theme-sunset .sidebar .btn:hover,
body.theme-midnight .sidebar .btn:hover,
body.theme-royal .sidebar .btn:hover,
body.theme-rose .sidebar .btn:hover,
body.theme-mint .sidebar .btn:hover {
    background: #3182ce !important;
    color: #ffffff !important;
}

/* Ensure proper text contrast for all main content areas */
body.theme-ocean .main-content,
body.theme-forest .main-content,
body.theme-sunset .main-content,
body.theme-midnight .main-content,
body.theme-royal .main-content,
body.theme-rose .main-content,
body.theme-mint .main-content {
    color: #1a202c !important;
}

/* Ensure dashboard cards have proper contrast */
body.theme-ocean .stat-card .title,
body.theme-forest .stat-card .title,
body.theme-sunset .stat-card .title,
body.theme-midnight .stat-card .title,
body.theme-royal .stat-card .title,
body.theme-rose .stat-card .title,
body.theme-mint .stat-card .title {
    color: #2d3748 !important;
}

body.theme-ocean .stat-card .value,
body.theme-forest .stat-card .value,
body.theme-sunset .stat-card .value,
body.theme-midnight .stat-card .value,
body.theme-royal .stat-card .value,
body.theme-rose .stat-card .value,
body.theme-mint .stat-card .value {
    color: #1a202c !important;
}

body.theme-ocean .stat-card .meta,
body.theme-forest .stat-card .meta,
body.theme-sunset .stat-card .meta,
body.theme-midnight .stat-card .meta,
body.theme-royal .stat-card .meta,
body.theme-rose .stat-card .meta,
body.theme-mint .stat-card .meta {
    color: #4a5568 !important;
}

/* Ensure form labels and text have proper contrast */
body.theme-ocean .form-group label,
body.theme-forest .form-group label,
body.theme-sunset .form-group label,
body.theme-midnight .form-group label,
body.theme-royal .form-group label,
body.theme-rose .form-group label,
body.theme-mint .form-group label {
    color: #2d3748 !important;
}

/* Common theme enhancements */
body.theme-ocean .btn,
body.theme-forest .btn,
body.theme-sunset .btn,
body.theme-midnight .btn,
body.theme-royal .btn,
body.theme-rose .btn,
body.theme-mint .btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: inherit;
    transition: all 0.3s ease;
    border-radius: 6px;
}

body.theme-ocean .btn:hover,
body.theme-forest .btn:hover,
body.theme-sunset .btn:hover,
body.theme-midnight .btn:hover,
body.theme-royal .btn:hover,
body.theme-rose .btn:hover,
body.theme-mint .btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Table styling for creative themes */
body.theme-ocean th,
body.theme-forest th,
body.theme-sunset th,
body.theme-midnight th,
body.theme-royal th,
body.theme-rose th,
body.theme-mint th {
    background: rgba(255, 255, 255, 0.08);
    color: inherit;
}

body.theme-ocean tr:hover,
body.theme-forest tr:hover,
body.theme-sunset tr:hover,
body.theme-midnight tr:hover,
body.theme-royal tr:hover,
body.theme-rose tr:hover,
body.theme-mint tr:hover {
    background: rgba(255, 255, 255, 0.04);
}

/* Section titles for creative themes */
body.theme-ocean .section-title,
body.theme-forest .section-title,
body.theme-sunset .section-title,
body.theme-midnight .section-title,
body.theme-royal .section-title,
body.theme-rose .section-title,
body.theme-mint .section-title {
    color: inherit;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

/* Profile containers for creative themes */
body.theme-ocean .profile-container,
body.theme-forest .profile-container,
body.theme-sunset .profile-container,
body.theme-midnight .profile-container,
body.theme-royal .profile-container,
body.theme-rose .profile-container,
body.theme-mint .profile-container {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border-radius: 8px;
}

/* Search results for creative themes */
body.theme-ocean .search-result-item,
body.theme-forest .search-result-item,
body.theme-sunset .search-result-item,
body.theme-midnight .search-result-item,
body.theme-royal .search-result-item,
body.theme-rose .search-result-item,
body.theme-mint .search-result-item {
    color: inherit;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.theme-ocean .search-result-item:hover,
body.theme-forest .search-result-item:hover,
body.theme-sunset .search-result-item:hover,
body.theme-midnight .search-result-item:hover,
body.theme-royal .search-result-item:hover,
body.theme-rose .search-result-item:hover,
body.theme-mint .search-result-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: inherit;
}

/* Theme preview indicator animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}