@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');



/* Base Styles */



body {
    font-family: 'Inter', sans-serif;
    background-color: #F2F0E3;
    color: #2E2E2E;
    line-height: 1.7;
    font-weight: 400;
    font-size: 1.05rem;
    transition: background-color 0.3s ease, color 0.3s ease;
     margin: 0;
    padding: 0;
}



.dark body {
    background-color: #1F1F1F;
    color: #F2F0E3;
}



h1, h2, h3 {
    line-height: 1.3;
}



/* Buttons */



.btn {
    padding: 0.75rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}



.btn-primary {
    background-color: #F76F53;
    color: white;
    border: none;
}



.btn-primary:hover {
    background-color: #e65a3e;
}



.btn-outline {
    border: 1px solid #2E2E2E;
    background-color: transparent;
    color: #2E2E2E;
}



.dark .btn-outline {
    border-color: #F2F0E3;
    color: #F2F0E3;
}



.btn-outline:hover {
    background-color: rgba(46, 46, 46, 0.08);
}



.dark .btn-outline:hover {
    background-color: rgba(242, 240, 227, 0.08);
}



/* Cards */



.card {
    background-color: #F2F0E3;
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(46, 46, 46, 0.1);
}



.dark .card {
    background-color: #2E2E2E;
    border-color: rgba(242, 240, 227, 0.1);
}



.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}



/* Navigation */



.nav-link {
    color: #2E2E2E;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: color 0.2s ease;
}



.dark .nav-link {
    color: #F2F0E3;
}



.nav-link:hover {
    color: #F76F53;
}



.nav-link-mobile {
    display: block;
    padding: 0.75rem 1rem;
    color: #2E2E2E;
    transition: all 0.2s ease;
    margin-left: 0;
}



.dark .nav-link-mobile {
    color: #F2F0E3;
}



.nav-link-mobile:hover {
    color: #F76F53;
    background-color: rgba(247, 111, 83, 0.1);
}



/* Dropdown */



#user-dropdown {
    background-color: #F2F0E3;
    border: 1px solid rgba(46, 46, 46, 0.1);
    border-radius: 0.5rem;
    min-width: 180px;
    z-index: 50;
}



.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: #2E2E2E;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}



.dark .dropdown-item {
    color: #F2F0E3;
}



.dark #user-dropdown {
    background-color: #1F1F1F;
    border-color: rgba(242, 240, 227, 0.1);
}



.dropdown-item:hover {
    background-color: rgba(247, 111, 83, 0.15);
    color: #F76F53;
}



.dark .dropdown-item:hover {
    background-color: rgba(247, 111, 83, 0.15);
    color: #F76F53;
}



/* Filter Chips */



.filter-chip {
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid #2E2E2E;
    color: #2E2E2E;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}



.filter-chip.active {
    background-color: #F76F53;
    border-color: #F76F53;
    color: #fff;
}



.filter-chip:hover:not(.active) {
    background-color: rgba(46, 46, 46, 0.08);
}



.dark .filter-chip {
    border-color: #F2F0E3;
    color: #F2F0E3;
}



.dark .filter-chip:hover:not(.active) {
    background-color: rgba(242, 240, 227, 0.08);
}



/* Movie Cards */



.movie-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #F2F0E3;
    border: 1px solid rgba(46, 46, 46, 0.1);
}



.dark .movie-card {
    background-color: #2E2E2E;
    border-color: rgba(242, 240, 227, 0.1);
}



.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}



/* Utility Classes */



.line-clamp-1 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}



.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}



/* Scrollbar */



::-webkit-scrollbar {
    width: 8px;
}



::-webkit-scrollbar-track {
    background: #F2F0E3;
}



.dark ::-webkit-scrollbar-track {
    background: #1F1F1F;
}



::-webkit-scrollbar-thumb {
    background: #F76F53;
    border-radius: 4px;
}



::-webkit-scrollbar-thumb:hover {
    background: #e65a3e;
}



/* Animations */



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



.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}



/* Search */



.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #F2F0E3;
    border: 1px solid rgba(46, 46, 46, 0.1);
    border-top: none;
    border-radius: 0 0 0.5rem 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    z-index: 10;
    display: none;
}



.dark .search-suggestions {
    background: #2E2E2E;
    border-color: rgba(242, 240, 227, 0.1);
}



.suggestion-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}



.suggestion-item:hover {
    background-color: rgba(46, 46, 46, 0.1);
}



.dark .suggestion-item:hover {
    background-color: rgba(242, 240, 227, 0.1);
}



@media (max-width: 767px) {
  .auth-desktop-only {
    display: none !important;
  }
}



@media (min-width: 768px) {
  .auth-desktop-only {
    display: flex !important;
  }
}



/* Burger Menu Animations */



#mobile-menu {
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}



#mobile-menu:not(.hidden) {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}



#mobile-menu-button {
    transition: transform 0.2s ease;
}



#mobile-menu-button:active {
    transform: scale(0.95) rotate(90deg);
}



/* Stagger animation for menu items */



.nav-link-mobile, #mobile-auth-links > *, #mobile-user-menu > * {
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInFromLeft 0.3s ease forwards;
}



.nav-link-mobile:nth-child(1) { animation-delay: 0.1s; }



.nav-link-mobile:nth-child(2) { animation-delay: 0.15s; }



.nav-link-mobile:nth-child(3) { animation-delay: 0.2s; }



#mobile-auth-links > *:nth-child(1) { animation-delay: 0.25s; }



#mobile-auth-links > *:nth-child(2) { animation-delay: 0.3s; }



@keyframes slideInFromLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}



#mobile-user-menu {
    padding-left: 1rem;
}



#mobile-user-menu .nav-link-mobile {
    padding-left: 1rem;
    margin-left: 0;
}



/* Custom SweetAlert Theme */



.swal2-popup {
      background-color: #F2F0E3 !important;
      color: #2E2E2E !important;
      border-radius: 0.75rem !important;
    }



.dark .swal2-popup {
      background-color: #2E2E2E !important;
      color: #F2F0E3 !important;
    }



.swal2-title {
      color: inherit !important;
    }



.swal2-confirm {
      background-color: #F76F53 !important;
      border: none !important;
      transition: all 0.2s ease !important;
    }



.swal2-confirm:hover {
      background-color: #e65a3e !important;
    }



.swal2-cancel {
      background-color: transparent !important;
      color: #2E2E2E !important;
      border: 1px solid #2E2E2E !important;
      transition: all 0.2s ease !important;
    }



.dark .swal2-cancel {
      color: #F2F0E3 !important;
      border-color: #F2F0E3 !important;
    }



.swal2-cancel:hover {
      background-color: rgba(46, 46, 46, 0.08) !important;
    }



.dark .swal2-cancel:hover {
      background-color: rgba(242, 240, 227, 0.08) !important;
    }



/* Tab styling */



.tab-btn {
      position: relative;
      transition: all 0.3s ease;
    }



.tab-btn.active {
      color: #F76F53;
    }



.tab-btn.active::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 2px;
      background-color: #F76F53;
      transform: scaleX(1);
      transition: transform 0.3s ease;
    }



.tab-btn:not(.active)::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 2px;
      background-color: #F76F53;
      transform: scaleX(0);
      transform-origin: center;
      transition: transform 0.3s ease;
    }



/* Action buttons */



.action-btn {
      padding: 0.35rem 0.75rem;
      border-radius: 0.5rem;
      font-size: 0.875rem;
      transition: all 0.2s ease;
    }



.action-btn:hover {
      transform: translateY(-1px);
    }



/* Movie Create Page Styles */



.form-container {
    background: linear-gradient(135deg, rgba(247, 111, 83, 0.05) 0%, rgba(255, 138, 112, 0.05) 100%);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    border: 1px solid rgba(247, 111, 83, 0.1);
}



.dark .form-container {
    background: linear-gradient(135deg, rgba(46, 46, 46, 0.8) 0%, rgba(31, 31, 31, 0.9) 100%);
    border: 1px solid rgba(242, 240, 227, 0.1);
}



.input-field {
    background-color: #F2F0E3;
    border: 2px solid rgba(46, 46, 46, 0.1);
    border-radius: 0.75rem;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}



.input-field:focus {
    outline: none;
    border-color: #F76F53;
    box-shadow: 0 0 0 3px rgba(247, 111, 83, 0.1);
    background-color: #fff;
}



.dark .input-field {
    background-color: #2E2E2E;
    border-color: rgba(242, 240, 227, 0.2);
    color: #F2F0E3;
}



.dark .input-field:focus {
    background-color: #1F1F1F;
    border-color: #F76F53;
}



.genre-tag {
    background: linear-gradient(135deg, #F76F53 0%, #FF8A70 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}



.genre-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(247, 111, 83, 0.3);
}



/* FIXED: Genre dropdown z-index and positioning */



#genre-search {
    position: relative;
}



.genre-dropdown {
    background-color: #F2F0E3;
    border: 2px solid rgba(46, 46, 46, 0.1);
    border-radius: 0.75rem;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 9999 !important; /* Much higher z-index */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.25rem;
}



.dark .genre-dropdown {
    background-color: #2E2E2E;
    border-color: rgba(242, 240, 227, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}



.genre-option {
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    color: inherit;
}



.genre-option:hover {
    background-color: rgba(247, 111, 83, 0.1);
    color: #F76F53;
}



.dark .genre-option:hover {
    background-color: rgba(247, 111, 83, 0.15);
    color: #F76F53;
}



.form-section {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(46, 46, 46, 0.05);
    transition: all 0.3s ease;
    position: relative; /* Add relative positioning */
    z-index: 1; /* Lower z-index for form sections */
}



.dark .form-section {
    background-color: rgba(46, 46, 46, 0.5);
    border-color: rgba(242, 240, 227, 0.1);
}



.form-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}



/* Ensure genre section has higher z-index when focused */



.form-section:has(#genre-search:focus),
.form-section:has(.genre-dropdown:not(.hidden)) {
    z-index: 10000 !important;
}



.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #F76F53;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}



.preview-container {
    background: linear-gradient(135deg, rgba(247, 111, 83, 0.1) 0%, rgba(255, 138, 112, 0.05) 100%);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 2px dashed rgba(247, 111, 83, 0.3);
    text-align: center;
    transition: all 0.3s ease;
}



.preview-container:hover {
    border-color: #F76F53;
    background: linear-gradient(135deg, rgba(247, 111, 83, 0.15) 0%, rgba(255, 138, 112, 0.1) 100%);
}



.cast-tag {
    background-color: rgba(247, 111, 83, 0.1);
    color: #F76F53;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin: 0.25rem;
}



.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}



@keyframes spin {
    to { transform: rotate(360deg); }
}



.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}



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



.edit-page .form-section:has(#genre-search:focus),
.edit-page .form-section:has(.genre-dropdown:not(.hidden)) {
    z-index: 10000 !important;
}



.edit-page #genre-search {
    position: relative;
    z-index: 10000;
}



.hero-section {
    min-height: 80vh;
}



.hero-backdrop-container img {
    filter: brightness(0.3) contrast(1.1);
}



.movie-poster {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
}



.movie-poster:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2);
}



.rating-badge {
    box-shadow: 0 8px 25px rgba(247, 111, 83, 0.4);
    animation: pulse-glow 2s infinite;
}



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



.meta-pill {
    transition: all 0.3s ease;
}



.meta-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}



.genres-container .genre-tag {
    background: linear-gradient(135deg, #F76F53 0%, #FF8A70 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(247, 111, 83, 0.3);
}



.genres-container .genre-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(247, 111, 83, 0.4);
}



.description-container {
    -webkit-backdrop-filter: blur(20px);
            backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}



.detail-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(242, 240, 227, 0.8);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    border: 1px solid rgba(46, 46, 46, 0.1);
}



.dark .detail-card {
    background: rgba(46, 46, 46, 0.8);
    border: 1px solid rgba(242, 240, 227, 0.1);
}



.detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}



.dark .detail-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}



.icon-wrapper {
    transition: all 0.3s ease;
}



.detail-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}



.progress-bar {
    overflow: hidden;
}



.progress-bar > div {
    animation: fill-progress 1.5s ease-out;
}



@keyframes fill-progress {
    0% { width: 0%; }
}



.cast-list {
    scrollbar-width: thin;
    scrollbar-color: #F76F53 transparent;
}



.cast-list::-webkit-scrollbar {
    width: 4px;
}



.cast-list::-webkit-scrollbar-thumb {
    background: #F76F53;
    border-radius: 2px;
}



.reviews-section {
    background: rgba(242, 240, 227, 0.9);
    -webkit-backdrop-filter: blur(15px);
            backdrop-filter: blur(15px);
}



.dark .reviews-section {
    background: rgba(46, 46, 46, 0.9);
}



.reviews-list .card {
    background: rgba(255, 255, 255, 0.8);
    border-left: 4px solid #F76F53;
    transition: all 0.3s ease;
}



.dark .reviews-list .card {
    background: rgba(31, 31, 31, 0.8);
}



.reviews-list .card:hover {
    transform: translateX(8px);
    box-shadow: -8px 0 25px rgba(247, 111, 83, 0.15);
}



.no-reviews-state .empty-icon {
    animation: float 3s ease-in-out infinite;
}



@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}



.stats-card {
    background: rgba(242, 240, 227, 0.9);
    -webkit-backdrop-filter: blur(15px);
            backdrop-filter: blur(15px);
    border: 1px solid rgba(46, 46, 46, 0.1);
    transition: all 0.3s ease;
}



.dark .stats-card {
    background: rgba(46, 46, 46, 0.9);
    border: 1px solid rgba(242, 240, 227, 0.1);
}



.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}



.dark .stats-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}



.stat-item {
    transition: all 0.3s ease;
}



.stat-item:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}



.rating-progress {
    overflow: hidden;
}



.rating-progress > div {
    animation: fill-rating 2s ease-out;
}



@keyframes fill-rating {
    0% { width: 0%; }
}



.quick-actions-card {
    -webkit-backdrop-filter: blur(15px);
            backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}



.action-button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}



.action-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}



.action-icon {
    transition: all 0.3s ease;
}



.action-button:hover .action-icon {
    transform: scale(1.2) rotate(10deg);
}



.similar-movies-card {
    background: rgba(242, 240, 227, 0.9);
    -webkit-backdrop-filter: blur(15px);
            backdrop-filter: blur(15px);
    border: 1px solid rgba(46, 46, 46, 0.1);
}



.dark .similar-movies-card {
   background: rgba(46, 46, 46, 0.9);
   border: 1px solid rgba(242, 240, 227, 0.1);
}



.similar-movies-card:hover {
   transform: translateY(-5px);
   box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}



.dark .similar-movies-card:hover {
   box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}



/* Mobile Responsiveness */



@media (max-width: 768px) {
   .hero-section {
       min-height: 60vh;
       padding-top: 5rem;
       padding-bottom: 2rem;
   }
   
   .movie-info h1 {
       font-size: 2.5rem;
       line-height: 1.2;
   }
   
   .movie-meta {
       justify-content: center;
   }
   
   .meta-pill {
       font-size: 0.875rem;
       padding: 0.5rem 1rem;
   }
   
   .genres-container .genre-tag {
       font-size: 0.875rem;
       padding: 0.5rem 1rem;
   }
   
   .action-buttons {
       justify-content: center;
   }
   
   .details-grid {
       grid-template-columns: 1fr;
   }
   
   .detail-card {
       text-align: center;
   }
   
   .cast-list {
       max-height: 200px;
   }
   
   .reviews-header {
       text-align: center;
   }
   
   .stats-list .stat-item {
       padding: 1rem;
   }
   
   .actions-list .action-button {
       justify-content: center;
   }
}



@media (max-width: 640px) {
   .poster-container {
       max-width: 280px;
   }
   
   .movie-info h1 {
       font-size: 2rem;
   }
   
   .description-container {
       padding: 1rem;
   }
   
   .card {
       padding: 1rem;
   }
   
   .detail-card .icon-wrapper {
       width: 10px;
       height: 10px;
   }
   
   .rating-badge {
       font-size: 0.875rem;
       padding: 0.5rem 0.75rem;
   }
}



/* Enhanced animations for better user experience */



.content-section {
   animation: fadeInUp 0.8s ease-out;
}



@keyframes fadeInUp {
   0% {
       opacity: 0;
       transform: translateY(30px);
   }
   100% {
       opacity: 1;
       transform: translateY(0);
   }
}



/* Smooth scroll behavior */



html {
   scroll-behavior: smooth;
}



/* Focus states for accessibility */



.btn:focus,
.action-button:focus {
   outline: 2px solid #F76F53;
   outline-offset: 2px;
}



/* High contrast mode support */



@media (prefers-contrast: high) {
   .card {
       border: 2px solid currentColor;
   }
   
   .btn-primary {
       border: 2px solid #F76F53;
   }
   
   .btn-outline {
       border: 2px solid currentColor;
   }
}



/* Reduced motion support */



@media (prefers-reduced-motion: reduce) {
   *,
   *::before,
   *::after {
       animation-duration: 0.01ms !important;
       animation-iteration-count: 1 !important;
       transition-duration: 0.01ms !important;
       scroll-behavior: auto !important;
   }
   
   .movie-poster:hover {
       transform: none;
   }
   
   .detail-card:hover {
       transform: translateY(-2px);
   }
}



/* Print styles */



@media print {
   .hero-section {
       background: none !important;
       color: black !important;
   }
   
   .action-buttons,
   .quick-actions-card,
   .similar-movies-card {
       display: none;
   }
   
   .card {
       border: 1px solid #ccc;
       box-shadow: none;
   }
}



.description-container #movie-description {
    color: rgba(255, 255, 255, 0.95) !important;
}



.btn-hero-outline {
    border: 1px solid white;
    background-color: transparent;
    color: white;
}



.btn-hero-outline:hover {
    background-color: white;
    color: #374151;
}



.movie-info-card {
    background: rgba(242, 240, 227, 0.9);
    -webkit-backdrop-filter: blur(15px);
            backdrop-filter: blur(15px);
    border: 1px solid rgba(46, 46, 46, 0.1);
}



.dark .movie-info-card {
    background: rgba(46, 46, 46, 0.9);
    border: 1px solid rgba(242, 240, 227, 0.1);
}



.movie-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}



.dark .movie-info-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}



.detail-row {
    transition: all 0.3s ease;
}



.detail-row:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}



.sidebar-genre-tag {
    background: linear-gradient(135deg, #F76F53 0%, #FF8A70 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}



.sidebar-genre-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(247, 111, 83, 0.3);
}



/* Browse More Card Styles */



.browse-more-card {
    -webkit-backdrop-filter: blur(15px);
            backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}



.btn-browse {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}



.btn-browse:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}



.modal-content {
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}



.modal-header {
    position: relative;
}



.modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}



.rating-input-container:hover .input-field {
    border-color: #F76F53;
    box-shadow: 0 0 0 3px rgba(247, 111, 83, 0.1);
}



.review-section textarea:focus {
    box-shadow: 0 0 0 3px rgba(247, 111, 83, 0.1);
}



/* Modal backdrop animation */



.modal-backdrop {
    opacity: 0;
    transition: opacity 0.3s ease;
}



.modal-backdrop.show {
    opacity: 1;
}



/* Responsive modal */



@media (max-width: 640px) {
    .modal-content {
        margin: 1rem;
        max-width: calc(100vw - 2rem);
    }
    
    .modal-header {
        padding: 1.25rem;
    }
    
    .modal-body {
        padding: 1.25rem;
    }
}



.review-modal-content {
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}



.review-modal-overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
}



.review-modal-border-top {
    border-top-width: 1px;
    border-top-style: solid;
}



/* Placeholder styling */



.review-modal-input::-moz-placeholder {
    opacity: 0.6;
}



.review-modal-input::placeholder {
    opacity: 0.6;
}



.dark .review-modal-input::-moz-placeholder {
    color: #F2F0E3;
    opacity: 0.6;
}



.dark .review-modal-input::placeholder {
    color: #F2F0E3;
    opacity: 0.6;
}



.review-modal-input::-moz-placeholder {
    color: #2E2E2E;
    opacity: 0.6;
}



.review-modal-input::placeholder {
    color: #2E2E2E;
    opacity: 0.6;
}



.movie-card .remove-watchlist {
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}



.movie-card .remove-watchlist:hover {
    background-color: #dc2626 !important;
    transform: scale(1.1);
}



.movie-card:hover .remove-watchlist {
    -webkit-backdrop-filter: blur(15px);
            backdrop-filter: blur(15px);
}



.movie-card .gradient-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
    transition: opacity 0.3s ease;
}



/* Movies Page Specific Styles */



.hero-search-section {
    background: linear-gradient(135deg, rgba(247, 111, 83, 0.05) 0%, rgba(255, 138, 112, 0.05) 100%);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
}



.search-container {
    position: relative;
}



.search-container input:focus {
    box-shadow: 0 20px 40px rgba(247, 111, 83, 0.2);
    transform: translateY(-2px);
}



.genre-select, .sort-select {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23F76F53' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 3rem;
}



.genre-select:focus, .sort-select:focus {
    box-shadow: 0 10px 25px rgba(247, 111, 83, 0.15);
    transform: translateY(-1px);
}



.results-section {
    background: linear-gradient(180deg, rgba(247, 111, 83, 0.02) 0%, transparent 50%);
}



/* Enhanced Movie Cards */



.movie-card-enhanced {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #F2F0E3;
    border: 1px solid rgba(46, 46, 46, 0.05);
    cursor: pointer;
}



.dark .movie-card-enhanced {
    background: #2E2E2E;
    border: 1px solid rgba(242, 240, 227, 0.1);
}



.movie-card-enhanced:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(247, 111, 83, 0.3);
}



.dark .movie-card-enhanced:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}



.movie-poster-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 2/3;
    background: linear-gradient(135deg, #e8e6d9 0%, #d4d2c5 100%);
}



.dark .movie-poster-container {
    background: linear-gradient(135deg, #1F1F1F 0%, #2E2E2E 100%);
}



.movie-poster-container img {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}



.movie-card-enhanced:hover .movie-poster-container img {
    transform: scale(1.1);
}



.movie-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 40%, transparent 70%);
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}



.movie-card-enhanced:hover .movie-overlay {
    opacity: 1;
}



.movie-rating-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(247, 111, 83, 0.95);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(247, 111, 83, 0.4);
}



.movie-content {
    padding: 1.5rem;
}



.movie-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}



.movie-card-enhanced:hover .movie-title {
    color: #F76F53;
}



.movie-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    opacity: 0.7;
}



.movie-genres {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}



.movie-genre-tag {
    background: rgba(247, 111, 83, 0.1);
    color: #F76F53;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}



.movie-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(46, 46, 46, 0.1);
}



.dark .movie-stats {
    border-color: rgba(242, 240, 227, 0.1);
}



.movie-rating-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}



.movie-duration {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    opacity: 0.7;
}



/* Modal Enhancements */



.modal-overlay {
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
}



.modal-content {
    border: 1px solid rgba(247, 111, 83, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}



/* Active Filter Tags */



.active-filter-tag {
    background: rgba(247, 111, 83, 0.1);
    color: #F76F53;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}



.active-filter-tag:hover {
    background: rgba(247, 111, 83, 0.2);
    transform: translateY(-1px);
}



.active-filter-tag button {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}



.active-filter-tag button:hover {
    opacity: 1;
}



/* Responsive Enhancements */



@media (max-width: 768px) {
    .hero-search-section {
        padding: 5rem 1rem;
    }
    
    .hero-search-section h1 {
        font-size: 2.5rem;
    }
    
    .search-container {
        margin-bottom: 2rem;
    }
    
    .filter-section .flex {
        flex-direction: column;
        gap: 1rem;
    }
    
    .genre-select, .sort-select {
        width: 100%;
        max-width: 300px;
    }
    
    .movie-card-enhanced:hover {
        transform: translateY(-8px) scale(1.01);
    }
}



/* Loading States */



.loading-shimmer {
    background: linear-gradient(90deg, rgba(247, 111, 83, 0.1) 0%, rgba(247, 111, 83, 0.2) 50%, rgba(247, 111, 83, 0.1) 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}



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



.genre-loading {
    background: linear-gradient(90deg, rgba(247, 111, 83, 0.1) 0%, rgba(247, 111, 83, 0.2) 50%, rgba(247, 111, 83, 0.1) 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    border-radius: 9999px;
    height: 2.5rem;
    width: 6rem;
    margin: 0.25rem;
}



.genre-error {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    border: 1px solid rgba(220, 38, 38, 0.2);
}



/* Enhanced search suggestions */



.search-suggestions {
    background: rgba(242, 240, 227, 0.95);
    -webkit-backdrop-filter: blur(20px);
            backdrop-filter: blur(20px);
    border: 1px solid rgba(46, 46, 46, 0.1);
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
}



.dark .search-suggestions {
    background: rgba(46, 46, 46, 0.95);
    border-color: rgba(242, 240, 227, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}



.suggestion-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(46, 46, 46, 0.05);
    transition: all 0.2s ease;
    cursor: pointer;
}



.dark .suggestion-item {
    border-color: rgba(242, 240, 227, 0.05);
}



.suggestion-item:last-child {
    border-bottom: none;
}



.suggestion-item:hover {
    background: rgba(247, 111, 83, 0.1);
    color: #F76F53;
    transform: translateX(4px);
}



/* Loading states for movie cards */



.movie-card-skeleton {
    background: rgba(247, 111, 83, 0.05);
    border-radius: 1rem;
    overflow: hidden;
}



.skeleton-poster {
    aspect-ratio: 2/3;
    background: linear-gradient(90deg, rgba(247, 111, 83, 0.1) 0%, rgba(247, 111, 83, 0.2) 50%, rgba(247, 111, 83, 0.1) 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}



.skeleton-content {
    padding: 1.5rem;
}



.skeleton-title {
    height: 1.5rem;
    background: linear-gradient(90deg, rgba(247, 111, 83, 0.1) 0%, rgba(247, 111, 83, 0.2) 50%, rgba(247, 111, 83, 0.1) 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}



.skeleton-meta {
    height: 1rem;
    width: 60%;
    background: linear-gradient(90deg, rgba(247, 111, 83, 0.1) 0%, rgba(247, 111, 83, 0.2) 50%, rgba(247, 111, 83, 0.1) 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    border-radius: 0.5rem;
}



.genre-select, .sort-select {
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: 2px solid transparent;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    cursor: pointer;
    min-width: 160px;
    
    /* Light mode styles */
    background-color: rgba(255, 255, 255, 0.9);
    color: #2E2E2E;
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    
    /* Custom dropdown arrow */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23F76F53' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 3rem;
}



/* Dark mode styles */



.dark .genre-select, .dark .sort-select {
    background-color: rgba(46, 46, 46, 0.9);
    color: #F2F0E3;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}



/* Focus states */



.genre-select:focus, .sort-select:focus {
    outline: none;
    border-color: #F76F53;
    box-shadow: 0 0 0 3px rgba(247, 111, 83, 0.1);
    transform: translateY(-2px);
}



.dark .genre-select:focus, .dark .sort-select:focus {
    box-shadow: 0 0 0 3px rgba(247, 111, 83, 0.2), 0 8px 25px rgba(0, 0, 0, 0.3);
}



/* Hover states */



.genre-select:hover, .sort-select:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}



.dark .genre-select:hover, .dark .sort-select:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}



/* Option styling */



.genre-select option, .sort-select option {
    background-color: #F2F0E3;
    color: #2E2E2E;
    padding: 0.5rem;
}



.dark .genre-select option, .dark .sort-select option {
    background-color: #2E2E2E;
    color: #F2F0E3;
}



/* Alternative approach for better browser support */



@supports not ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {
    .genre-select, .sort-select {
        background-color: rgba(255, 255, 255, 0.95);
    }
    
    .dark .genre-select, .dark .sort-select {
        background-color: rgba(46, 46, 46, 0.95);
    }
}



/* Mobile responsive */



@media (max-width: 768px) {
    .genre-select, .sort-select {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
}



/* Enhanced Modal Styling */



.modal-overlay {
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}



.modal-content {
    background-color: #F2F0E3;
    border: 1px solid rgba(46, 46, 46, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform: scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}



.dark .modal-content {
    background-color: #2E2E2E;
    border-color: rgba(242, 240, 227, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}



.modal-overlay:not(.hidden) .modal-content {
    transform: scale(1);
}



.modal-close-btn {
    color: rgba(46, 46, 46, 0.6);
    transition: all 0.2s ease;
    padding: 0.5rem;
    border-radius: 0.5rem;
}



.dark .modal-close-btn {
    color: rgba(242, 240, 227, 0.6);
}



.modal-close-btn:hover {
    color: #F76F53;
    background-color: rgba(247, 111, 83, 0.1);
    transform: scale(1.1);
}



/* Form Elements */



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



.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2E2E2E;
}



.dark .form-label {
    color: #F2F0E3;
}



.form-input, .form-select {
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(46, 46, 46, 0.1);
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.8);
    color: #2E2E2E;
}



.dark .form-input, .dark .form-select {
    background-color: rgba(31, 31, 31, 0.8);
    border-color: rgba(242, 240, 227, 0.2);
    color: #F2F0E3;
}



.form-input:focus, .form-select:focus {
    outline: none;
    border-color: #F76F53;
    box-shadow: 0 0 0 3px rgba(247, 111, 83, 0.1);
    background-color: rgba(255, 255, 255, 0.95);
}



.dark .form-input:focus, .dark .form-select:focus {
    background-color: rgba(31, 31, 31, 0.95);
    box-shadow: 0 0 0 3px rgba(247, 111, 83, 0.2);
}



.form-input::-moz-placeholder {
    color: rgba(46, 46, 46, 0.5);
}



.form-input::placeholder {
    color: rgba(46, 46, 46, 0.5);
}



.dark .form-input::-moz-placeholder {
    color: rgba(242, 240, 227, 0.5);
}



.dark .form-input::placeholder {
    color: rgba(242, 240, 227, 0.5);
}



/* Custom Select Styling */



.form-select {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23F76F53' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 3rem;
    cursor: pointer;
}



.form-select option {
    background-color: #F2F0E3;
    color: #2E2E2E;
    padding: 0.5rem;
}



.dark .form-select option {
    background-color: #2E2E2E;
    color: #F2F0E3;
}



/* Range Input Styling */



.form-range {
    width: 100%;
    height: 0.5rem;
    border-radius: 0.25rem;
    background: rgba(46, 46, 46, 0.1);
    outline: none;
    transition: all 0.3s ease;
    cursor: pointer;
}



.dark .form-range {
    background: rgba(242, 240, 227, 0.1);
}



.form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
            appearance: none;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: #F76F53;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(247, 111, 83, 0.3);
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}



.form-range::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(247, 111, 83, 0.4);
}



.form-range::-moz-range-thumb {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: #F76F53;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 12px rgba(247, 111, 83, 0.3);
}



/* Border utility */



.border-border {
    border-color: rgba(46, 46, 46, 0.1);
}



.dark .border-border {
    border-color: rgba(242, 240, 227, 0.1);
}



/* Primary color utility */



.text-primary {
    color: #F76F53;
}



/* Modal Animation */



.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}



.modal-overlay.hidden .modal-content {
    transform: scale(0.95) translateY(-20px);
}



/* Responsive Design */



@media (max-width: 768px) {
    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
        max-width: calc(100vw - 2rem);
    }
    
    .modal-content h3 {
        font-size: 1.5rem;
    }
    
    .form-input, .form-select {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}



/* Focus trap for accessibility */



.modal-overlay:not(.hidden) {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}



.text-desc{
    color: rgb(255 255 255 / 0.9);
}



/* Enhanced Search Bar Styling */



.search-container {
    position: relative;
}



.hero-search-input {
    width: 100%;
    padding: 1rem 4rem 1rem 1.5rem;
    font-size: 1.125rem;
    border: 2px solid transparent;
    border-radius: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Light mode styles */
    background-color: rgba(255, 255, 255, 0.95);
    color: #2E2E2E;
    -webkit-backdrop-filter: blur(15px);
            backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}



.dark .hero-search-input {
    background-color: rgba(46, 46, 46, 0.95);
    color: #F2F0E3;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}



.hero-search-input::-moz-placeholder {
    color: rgba(46, 46, 46, 0.6);
    -moz-transition: color 0.3s ease;
    transition: color 0.3s ease;
}



.hero-search-input::placeholder {
    color: rgba(46, 46, 46, 0.6);
    transition: color 0.3s ease;
}



.dark .hero-search-input::-moz-placeholder {
    color: rgba(242, 240, 227, 0.6);
}



.dark .hero-search-input::placeholder {
    color: rgba(242, 240, 227, 0.6);
}



.hero-search-input:focus {
    outline: none;
    border-color: #F76F53;
    box-shadow: 0 0 0 3px rgba(247, 111, 83, 0.1), 0 20px 40px rgba(247, 111, 83, 0.15);
    transform: translateY(-3px);
    background-color: rgba(255, 255, 255, 1);
}



.dark .hero-search-input:focus {
    background-color: rgba(46, 46, 46, 1);
    box-shadow: 0 0 0 3px rgba(247, 111, 83, 0.2), 0 20px 40px rgba(0, 0, 0, 0.4);
}



.hero-search-input:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}



.dark .hero-search-input:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}



.search-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #F76F53;
    transition: all 0.2s ease;
    padding: 0.5rem;
    border-radius: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}



.search-btn:hover {
    color: #e65a3e;
    background-color: rgba(247, 111, 83, 0.1);
    transform: translateY(-50%) scale(1.1);
}



.search-btn:active {
    transform: translateY(-50%) scale(0.95);
}



/* Enhanced Search Suggestions */



.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(242, 240, 227, 0.98);
    border: 1px solid rgba(46, 46, 46, 0.1);
    border-radius: 1rem;
    margin-top: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    z-index: 50;
    display: none;
    -webkit-backdrop-filter: blur(20px);
            backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}



.dark .search-suggestions {
    background-color: rgba(46, 46, 46, 0.98);
    border-color: rgba(242, 240, 227, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}



.suggestion-item {
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(46, 46, 46, 0.05);
    color: #2E2E2E;
}



.dark .suggestion-item {
    border-color: rgba(242, 240, 227, 0.05);
    color: #F2F0E3;
}



.suggestion-item:last-child {
    border-bottom: none;
}



.suggestion-item:hover {
    background-color: rgba(247, 111, 83, 0.1);
    color: #F76F53;
    transform: translateX(4px);
    padding-left: 2rem;
}



.suggestion-item:first-child {
    border-radius: 1rem 1rem 0 0;
}



.suggestion-item:last-child {
    border-radius: 0 0 1rem 1rem;
}



/* Search container animations */



.search-container:focus-within .hero-search-input {
    border-color: #F76F53;
}



/* Fallback for browsers without backdrop-filter support */



@supports not ((-webkit-backdrop-filter: blur(15px)) or (backdrop-filter: blur(15px))) {
    .hero-search-input {
        background-color: rgba(255, 255, 255, 0.98);
    }
    
    .dark .hero-search-input {
        background-color: rgba(46, 46, 46, 0.98);
    }
    
    .search-suggestions {
        background-color: rgba(242, 240, 227, 1);
    }
    
    .dark .search-suggestions {
        background-color: rgba(46, 46, 46, 1);
    }
}



/* Mobile responsiveness */



@media (max-width: 768px) {
    .hero-search-input {
        padding: 0.875rem 3.5rem 0.875rem 1.25rem;
        font-size: 1rem;
    }
    
    .search-btn {
        right: 0.75rem;
    }
    
    .search-btn i {
        font-size: 1.25rem;
    }
    
    .suggestion-item {
        padding: 0.875rem 1.25rem;
    }
}



/* Loading state for search */



.search-loading {
    position: relative;
}



.search-loading::after {
    content: '';
    position: absolute;
    right: 4rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(247, 111, 83, 0.3);
    border-radius: 50%;
    border-top-color: #F76F53;
    animation: spin 1s linear infinite;
}



@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}



.search-container {
    position: relative;
    z-index: 100; 
}



.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(242, 240, 227, 0.98);
    border: 1px solid rgba(46, 46, 46, 0.1);
    border-radius: 1rem;
    margin-top: 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    z-index: 9999; 
    display: none;
    -webkit-backdrop-filter: blur(20px);
            backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}



.dark .search-suggestions {
    background-color: rgba(46, 46, 46, 0.98);
    border-color: rgba(242, 240, 227, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}



/* Ensure filter section has lower z-index */



.filter-section {
    position: relative;
    z-index: 1;
}



.genre-chips-container {
    position: relative;
    z-index: 1;
}



/* Make sure the hero search section has proper stacking */



.hero-search-section {
    position: relative;
    z-index: 10;
}



.error-container {
    position: relative;
    margin-bottom: 3rem;
}



.error-number {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}



.error-number span {
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    color: #F76F53;
    text-shadow: 0 4px 8px rgba(247, 111, 83, 0.3);
    animation: bounce 2s infinite ease-in-out;
}



.error-number .zero {
    animation-delay: 0.2s;
    position: relative;
}



.error-number .four-2 {
    animation-delay: 0.4s;
}



/* Film strip animation */



.error-filmstrip {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}



.film-strip {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(46, 46, 46, 0.1) 0%, rgba(31, 31, 31, 0.1) 100%);
    border-radius: 1rem;
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
}



.film-frame {
    width: 2rem;
    height: 3rem;
    background: linear-gradient(135deg, #F76F53 0%, #FF8A70 100%);
    border-radius: 0.25rem;
    animation: filmFlicker 3s infinite ease-in-out;
    box-shadow: 0 4px 12px rgba(247, 111, 83, 0.3);
}



.film-frame:nth-child(1) { animation-delay: 0s; }



.film-frame:nth-child(2) { animation-delay: 0.3s; }



.film-frame:nth-child(3) { animation-delay: 0.6s; }



.film-frame:nth-child(4) { animation-delay: 0.9s; }



.film-frame:nth-child(5) { animation-delay: 1.2s; }



/* Search suggestion styling */



.search-suggestion {
    transition: all 0.3s ease;
}



.search-suggestion:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(247, 111, 83, 0.1);
}



/* 404 specific search input */



.search-suggestion .hero-search-input {
    padding: 0.875rem 3rem 0.875rem 1.25rem;
    font-size: 1rem;
}



.search-suggestion .search-btn {
    right: 0.75rem;
}



/* Animations */



@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}



@keyframes filmFlicker {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.95);
    }
}



/* Mobile responsiveness for 404 */



@media (max-width: 768px) {
    .error-number span {
        font-size: 4rem;
    }
    
    .film-frame {
        width: 1.5rem;
        height: 2rem;
    }
    
    .error-content h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .error-content p {
        font-size: 1.125rem;
    }
    
    .search-suggestion {
        margin: 0 1rem;
    }
}



@media (max-width: 480px) {
    .error-number {
        gap: 0.5rem;
    }
    
    .error-number span {
        font-size: 3rem;
    }
    
    .film-strip {
        gap: 0.25rem;
        padding: 0.75rem;
    }
    
    .film-frame {
        width: 1rem;
        height: 1.5rem;
    }
}



/* Enhanced movie cards for 404 page */



.error-page .movie-card-enhanced {
    transform: scale(0.9);
}



.error-page .movie-card-enhanced:hover {
    transform: scale(0.95) translateY(-8px);
}



/* Popular movies section */



#popular-movies-grid .movie-content {
    padding: 1rem;
}



#popular-movies-grid .movie-title {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}



#popular-movies-grid .movie-meta {
    font-size: 0.75rem;
    opacity: 0.7;
}



/* Dark mode enhancements */



.dark .error-number span {
    text-shadow: 0 4px 8px rgba(247, 111, 83, 0.5);
}



.dark .film-strip {
    background: linear-gradient(135deg, rgba(242, 240, 227, 0.05) 0%, rgba(46, 46, 46, 0.1) 100%);
}



/* Loading animation for popular movies */



.popular-movies-loading {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}



.popular-movies-loading .skeleton-card {
    aspect-ratio: 2/3;
    background: linear-gradient(90deg, rgba(247, 111, 83, 0.1) 0%, rgba(247, 111, 83, 0.2) 50%, rgba(247, 111, 83, 0.1) 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    border-radius: 0.5rem;
}



/* Error page specific utilities */



.error-page-btn {
    background: linear-gradient(135deg, #F76F53 0%, #FF8A70 100%);
    border: none;
    padding: 1rem 2rem;
    border-radius: 1rem;
    color: white;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(247, 111, 83, 0.3);
}



.error-page-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(247, 111, 83, 0.4);
    color: white;
}



.footer-link {
    color: inherit;
    opacity: 0.8;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}



.footer-link:hover {
    color: #F76F53;
    opacity: 1;
    transform: translateX(4px);
}



.footer-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #F76F53, #FF8A70);
    transition: width 0.3s ease;
}



.footer-link:hover::before {
    width: 100%;
}



.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(247, 111, 83, 0.1);
    border: 1px solid rgba(247, 111, 83, 0.2);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #F76F53;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
}



.social-icon:hover {
    background: #F76F53;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(247, 111, 83, 0.3);
}



.contact-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #F76F53 0%, #FF8A70 100%);
    color: white;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(247, 111, 83, 0.3);
}



.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247, 111, 83, 0.4);
    color: white;
}



.back-to-top {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(247, 111, 83, 0.1);
    border: 1px solid rgba(247, 111, 83, 0.2);
    border-radius: 0.75rem;
    color: #F76F53;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    cursor: pointer;
    font-size: 0.875rem;
}



.back-to-top:hover {
    background: #F76F53;
    color: white;
    transform: translateY(-2px);
}



.newsletter-signup input {
    transition: all 0.3s ease;
}



.newsletter-signup input:focus {
    box-shadow: 0 0 0 3px rgba(247, 111, 83, 0.1);
    transform: translateY(-1px);
}



.film-pattern {
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 20px,
            rgba(247, 111, 83, 0.03) 20px,
            rgba(247, 111, 83, 0.03) 40px
        );
    width: 100%;
    height: 100%;
}



/* Dark mode enhancements */



.dark .social-icon {
    background: rgba(247, 111, 83, 0.1);
    border-color: rgba(247, 111, 83, 0.2);
}



.dark .back-to-top {
    background: rgba(247, 111, 83, 0.1);
    border-color: rgba(247, 111, 83, 0.2);
}



.dark .newsletter-signup input {
    background: rgba(46, 46, 46, 0.8);
    border-color: #3E3E3E;
    color: #F2F0E3;
}



/* Mobile responsiveness */



@media (max-width: 768px) {
    .social-icon {
        width: 2rem;
        height: 2rem;
    }
    
    .contact-btn {
        width: 100%;
        justify-content: center;
        margin-bottom: 1rem;
    }
    
    .newsletter-signup {
        margin-bottom: 1.5rem;
    }
    
    .newsletter-signup .flex {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .newsletter-signup button {
        width: 100%;
    }
}



/* Hover animations */



@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}



.contact-btn:hover {
    animation: float 2s ease-in-out infinite;
}



.logo{
    color: #F76F53;
}



/* Brand logo icon in footer */



.brand-logo-icon {
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, #F76F53 0%, #FF8A70 100%);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    box-shadow: 0 4px 12px rgba(247, 111, 83, 0.3);
    transition: all 0.3s ease;
}



.brand-logo-icon:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 6px 16px rgba(247, 111, 83, 0.4);
}



.brand-logo-icon i {
    color: white;
    font-size: 1.125rem;
}



.hero-contact-section {
    background: linear-gradient(135deg, rgba(247, 111, 83, 0.05) 0%, rgba(255, 138, 112, 0.05) 100%);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
}



.contact-quick-option {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(247, 111, 83, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}



.dark .contact-quick-option {
    background: rgba(46, 46, 46, 0.8);
    border-color: rgba(242, 240, 227, 0.1);
}



.contact-quick-option:hover {
    transform: translateY(-5px);
    border-color: #F76F53;
    box-shadow: 0 15px 35px rgba(247, 111, 83, 0.15);
}



.contact-icon-wrapper {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #F76F53 0%, #FF8A70 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}



.contact-quick-option:hover .contact-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}



/* Contact Form Styles */



.contact-form-container {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(247, 111, 83, 0.1);
    border-radius: 1.5rem;
    padding: 3rem;
    -webkit-backdrop-filter: blur(15px);
            backdrop-filter: blur(15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}



.dark .contact-form-container {
    background: rgba(46, 46, 46, 0.9);
    border-color: rgba(242, 240, 227, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}



.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}



.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}



@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}



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



.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2E2E2E;
    display: flex;
    align-items: center;
}



.dark .form-label {
    color: #F2F0E3;
}



.form-input, .form-select, .form-textarea {
    padding: 1rem 1.25rem;
    border: 2px solid rgba(46, 46, 46, 0.1);
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.8);
    color: #2E2E2E;
}



.dark .form-input, .dark .form-select, .dark .form-textarea {
    background-color: rgba(31, 31, 31, 0.8);
    border-color: rgba(242, 240, 227, 0.2);
    color: #F2F0E3;
}



.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: #F76F53;
    box-shadow: 0 0 0 3px rgba(247, 111, 83, 0.1);
    background-color: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
}



.dark .form-input:focus, .dark .form-select:focus, .dark .form-textarea:focus {
    background-color: rgba(31, 31, 31, 0.95);
    box-shadow: 0 0 0 3px rgba(247, 111, 83, 0.2);
}



.form-input::-moz-placeholder, .form-textarea::-moz-placeholder {
    color: rgba(46, 46, 46, 0.5);
}



.form-input::placeholder, .form-textarea::placeholder {
    color: rgba(46, 46, 46, 0.5);
}



.dark .form-input::-moz-placeholder, .dark .form-textarea::-moz-placeholder {
    color: rgba(242, 240, 227, 0.5);
}



.dark .form-input::placeholder, .dark .form-textarea::placeholder {
    color: rgba(242, 240, 227, 0.5);
}



.form-select {
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23F76F53' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 3rem;
    cursor: pointer;
}



.form-textarea {
    resize: vertical;
    min-height: 120px;
}



.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(46, 46, 46, 0.1);
}



.dark .form-actions {
    border-color: rgba(242, 240, 227, 0.1);
}



@media (max-width: 640px) {
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }
}



/* Contact Info Sidebar */



.contact-info-container {
    background: rgba(247, 111, 83, 0.05);
    border: 1px solid rgba(247, 111, 83, 0.1);
    border-radius: 1.5rem;
    padding: 2.5rem;
    height: -moz-fit-content;
    height: fit-content;
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
}



.dark .contact-info-container {
    background: rgba(247, 111, 83, 0.08);
    border-color: rgba(247, 111, 83, 0.15);
}



.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2.5rem;
}



.contact-method {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}



.method-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #F76F53 0%, #FF8A70 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}



.method-content h4 {
    margin-bottom: 0.5rem;
    color: #2E2E2E;
}



.dark .method-content h4 {
    color: #F2F0E3;
}



.faq-section, .social-section {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(247, 111, 83, 0.2);
    margin-top: 1.5rem;
}



.faq-section:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}



/* Button Enhancements */



.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}



/* Loading and Success States */



.form-input.success {
    border-color: #10B981;
    background-color: rgba(16, 185, 129, 0.05);
}



.form-input.error {
    border-color: #EF4444;
    background-color: rgba(239, 68, 68, 0.05);
}



/* Animation Enhancements */



.contact-form-container {
    transform: translateY(20px);
    opacity: 0;
    animation: slideInUp 0.8s ease forwards;
}



.contact-info-container {
    transform: translateY(20px);
    opacity: 0;
    animation: slideInUp 0.8s ease forwards 0.2s;
}



@keyframes slideInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}



/* Mobile Optimizations */



@media (max-width: 768px) {
    .contact-form-container {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .contact-info-container {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .hero-contact-section {
        padding: 5rem 1rem;
    }
    
    .hero-contact-section h1 {
        font-size: 2.5rem;
    }
    
    .contact-quick-option {
        padding: 1.5rem;
    }
    
    .contact-icon-wrapper {
        width: 3rem;
        height: 3rem;
        font-size: 1.25rem;
    }
}



/* Enhanced Profile Page Styles */



.profile-hero-section {
    background: linear-gradient(135deg, rgba(247, 111, 83, 0.05) 0%, rgba(255, 138, 112, 0.05) 100%);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
}



.profile-header-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(247, 111, 83, 0.1);
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}



.profile-header-card + .container .mt-6 {
    margin-top: -2rem !important;
    position: relative !important;
    z-index: 10 !important;
}



.dark .profile-header-card {
    background: rgba(46, 46, 46, 0.9);
    border-color: rgba(242, 240, 227, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}



.profile-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(135deg, #F76F53 0%, #FF8A70 100%);
    overflow: hidden;
    z-index: 1;
}



.profile-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.1) 10px,
            rgba(255, 255, 255, 0.1) 20px
        );
    z-index: 2;
}



.profile-content {
    position: relative;
    z-index: 10;
    padding: 2rem;
    padding-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}



@media (min-width: 768px) {
    .profile-content {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}



.profile-main-info {
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
}



.profile-avatar-container {
    position: relative;
}



.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 1rem;
    border: 4px solid white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    -o-object-fit: cover;
       object-fit: cover;
    transition: all 0.3s ease;
}



.profile-avatar:hover {
    transform: scale(1.05);
}



.avatar-status-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: #10B981;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
}



.avatar-change-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s ease;
}



.profile-avatar-container:hover .avatar-change-btn {
    opacity: 1;
}



.profile-info {
    flex: 1;
}



.profile-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #2E2E2E;
}



.dark .profile-name {
    color: #F2F0E3;
}



.profile-email {
    opacity: 0.8;
    margin-bottom: 1rem;
}



.profile-badges {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}



.role-badge {
    background: linear-gradient(135deg, #F76F53 0%, #FF8A70 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}



.join-date {
    opacity: 0.7;
    font-size: 0.875rem;
}



.profile-completion {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 1rem !important;
    padding: 1.5rem !important;
    min-width: 250px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}



.dark .profile-completion {
    background: rgba(46, 46, 46, 0.95) !important;
    border: 1px solid rgba(242, 240, 227, 0.2) !important;
}



.completion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}



.completion-text {
    color: #374151 !important;
    font-weight: 600 !important;
}



.dark .completion-text {
    color: #D1D5DB !important;
}



.completion-percentage {
    color: #F76F53 !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
}



.completion-bar {
    height: 8px;
    background: rgba(247, 111, 83, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}



.completion-progress {
    height: 100%;
    background: linear-gradient(90deg, #F76F53 0%, #FF8A70 100%);
    border-radius: 4px;
    transition: width 0.8s ease;
}



.completion-tip {
    color: #6B7280 !important;
    font-size: 0.875rem !important;
    margin: 0 !important;
}



.dark .completion-tip {
    color: #9CA3AF !important;
}



/* Stats Cards */



.stats-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    margin-bottom: 1.5rem !important;
}



.stat-card {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(247, 111, 83, 0.1) !important;
    border-radius: 1rem !important;
    padding: 1rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    transition: all 0.3s ease !important;
    min-height: auto !important;
}



.dark .stat-card {
    background: rgba(46, 46, 46, 0.9) !important;
    border-color: rgba(242, 240, 227, 0.1) !important;
}



.stat-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(247, 111, 83, 0.15) !important;
}



.stat-icon {
    width: 2.5rem !important;
    height: 2.5rem !important;
    border-radius: 0.75rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-size: 1rem !important;
    flex-shrink: 0 !important;
}



.stat-icon.movies {
    background: linear-gradient(135deg, #F76F53 0%, #FF8A70 100%);
}



.stat-icon.reviews {
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
}



.stat-icon.watchlist {
    background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
}



.stat-content {
    flex: 1 !important;
}



.stat-number {
    display: block !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #2E2E2E !important;
}



.dark .stat-number {
    color: #F2F0E3 !important;
}



.stat-label {
    font-size: 0.75rem !important;
    opacity: 0.8 !important;
    color: #6B7280 !important;
}



.dark .stat-label {
    color: #9CA3AF !important;
}



/* Navigation Card */



.profile-nav-card {
   background: rgba(255, 255, 255, 0.9);
   border: 1px solid rgba(247, 111, 83, 0.1);
   border-radius: 1rem;
   padding: 1.5rem;
   -webkit-backdrop-filter: blur(10px);
           backdrop-filter: blur(10px);
   margin-top: 0;
}



.dark .profile-nav-card {
   background: rgba(46, 46, 46, 0.9);
   border-color: rgba(242, 240, 227, 0.1);
}



.nav-title {
   font-size: 1.125rem;
   font-weight: 700;
   margin-bottom: 1rem;
   color: #2E2E2E;
}



.dark .nav-title {
   color: #F2F0E3;
}



.profile-nav {
   display: flex;
   flex-direction: column;
   gap: 0.5rem;
}



.nav-item {
   display: flex;
   align-items: center;
   gap: 0.75rem;
   padding: 0.75rem 1rem;
   border-radius: 0.75rem;
   transition: all 0.3s ease;
   text-decoration: none;
   color: inherit;
   border: none;
   background: none;
   width: 100%;
   text-align: left;
   cursor: pointer;
}



.nav-item:hover {
   background: rgba(247, 111, 83, 0.1);
   color: #F76F53;
   transform: translateX(4px);
}



.nav-item.active {
   background: rgba(247, 111, 83, 0.15);
   color: #F76F53;
   font-weight: 600;
}



.nav-item.logout:hover {
   background: rgba(239, 68, 68, 0.1);
   color: #EF4444;
}



/* Settings Cards */



.settings-card {
   background: rgba(255, 255, 255, 0.9);
   border: 1px solid rgba(247, 111, 83, 0.1);
   border-radius: 1.5rem;
   padding: 2.5rem;
   -webkit-backdrop-filter: blur(15px);
           backdrop-filter: blur(15px);
   box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}



.dark .settings-card {
   background: rgba(46, 46, 46, 0.9);
   border-color: rgba(242, 240, 227, 0.1);
   box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}



.card-header {
   margin-bottom: 2rem;
   padding-bottom: 1.5rem;
   border-bottom: 1px solid rgba(247, 111, 83, 0.1);
}



.card-title {
   font-size: 1.5rem;
   font-weight: 700;
   margin-bottom: 0.5rem;
   display: flex;
   align-items: center;
   color: #2E2E2E;
}



.dark .card-title {
   color: #F2F0E3;
}



.card-subtitle {
   opacity: 0.8;
   font-size: 0.875rem;
}



/* Enhanced Forms */



.enhanced-form {
   display: flex;
   flex-direction: column;
   gap: 2rem;
}



.form-section {
   background: rgba(247, 111, 83, 0.03);
   border: 1px solid rgba(247, 111, 83, 0.1);
   border-radius: 1rem;
   padding: 2rem;
}



.section-title {
   font-size: 1.125rem;
   font-weight: 600;
   margin-bottom: 1.5rem;
   color: #F76F53;
   display: flex;
   align-items: center;
}



.section-title::before {
   content: '';
   width: 4px;
   height: 1.5rem;
   background: linear-gradient(135deg, #F76F53 0%, #FF8A70 100%);
   border-radius: 2px;
   margin-right: 0.75rem;
}



.form-grid {
   display: grid;
   gap: 1.5rem;
}



.form-grid:not(.single-column) {
   grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}



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



.form-label {
   font-size: 0.875rem;
   font-weight: 600;
   margin-bottom: 0.5rem;
   color: #2E2E2E;
   display: flex;
   align-items: center;
}



.dark .form-label {
   color: #F2F0E3;
}



.form-input, .form-textarea {
   padding: 1rem 1.25rem;
   border: 2px solid rgba(46, 46, 46, 0.1);
   border-radius: 0.75rem;
   font-size: 1rem;
   transition: all 0.3s ease;
   background-color: rgba(255, 255, 255, 0.8);
   color: #2E2E2E;
}



.dark .form-input, .dark .form-textarea {
   background-color: rgba(31, 31, 31, 0.8);
   border-color: rgba(242, 240, 227, 0.2);
   color: #F2F0E3;
}



.form-input:focus, .form-textarea:focus {
   outline: none;
   border-color: #F76F53;
   box-shadow: 0 0 0 3px rgba(247, 111, 83, 0.1);
   background-color: rgba(255, 255, 255, 0.95);
   transform: translateY(-1px);
}



.dark .form-input:focus, .dark .form-textarea:focus {
   background-color: rgba(31, 31, 31, 0.95);
   box-shadow: 0 0 0 3px rgba(247, 111, 83, 0.2);
}



.form-input.success {
   border-color: #10B981;
   background-color: rgba(16, 185, 129, 0.05);
}



.form-input.error {
   border-color: #EF4444;
   background-color: rgba(239, 68, 68, 0.05);
}



.input-feedback {
   margin-top: 0.5rem;
   font-size: 0.75rem;
   min-height: 1rem;
}



.input-feedback.success {
   color: #10B981;
}



.input-feedback.error {
   color: #EF4444;
}



/* Special Input Containers */



.avatar-input-container {
   display: flex;
   gap: 0.75rem;
}



.avatar-input-container .form-input {
   flex: 1;
}



.avatar-preview-btn {
   padding: 1rem 1.25rem;
   background: rgba(247, 111, 83, 0.1);
   border: 2px solid rgba(247, 111, 83, 0.2);
   border-radius: 0.75rem;
   color: #F76F53;
   cursor: pointer;
   transition: all 0.3s ease;
   white-space: nowrap;
}



.avatar-preview-btn:hover {
   background: rgba(247, 111, 83, 0.2);
   transform: translateY(-1px);
}



.password-input-container {
   position: relative;
}



.password-toggle {
   position: absolute;
   right: 1rem;
   top: 50%;
   transform: translateY(-50%);
   background: none;
   border: none;
   color: #2E2E2E;
   cursor: pointer;
   padding: 0.5rem;
   border-radius: 0.25rem;
   transition: all 0.2s ease;
}



.dark .password-toggle {
   color: #F2F0E3;
}



.password-toggle:hover {
   background: rgba(247, 111, 83, 0.1);
   color: #F76F53;
}



.password-strength {
   margin-top: 0.75rem;
}



.strength-bars {
   display: flex;
   gap: 0.25rem;
   margin-bottom: 0.5rem;
}



.strength-bar {
   height: 4px;
   flex: 1;
   background: rgba(46, 46, 46, 0.1);
   border-radius: 2px;
   transition: all 0.3s ease;
}



.dark .strength-bar {
   background: rgba(242, 240, 227, 0.1);
}



.strength-bar.active.weak {
   background: #EF4444;
}



.strength-bar.active.medium {
   background: #F59E0B;
}



.strength-bar.active.strong {
   background: #10B981;
}



.strength-text {
   font-size: 0.75rem;
   opacity: 0.8;
}



.character-count {
   margin-top: 0.5rem;
   font-size: 0.75rem;
   opacity: 0.7;
   text-align: right;
}



.form-textarea {
   resize: vertical;
   min-height: 120px;
}



.form-actions {
   display: flex;
   gap: 1rem;
   justify-content: flex-end;
   padding-top: 1.5rem;
   border-top: 1px solid rgba(247, 111, 83, 0.1);
}



@media (max-width: 640px) {
   .form-actions {
       flex-direction: column;
   }
}



/* Activity Feed */



.activity-feed {
   max-height: 400px;
   overflow-y: auto;
}



.activity-loading {
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   gap: 1rem;
   padding: 3rem;
   opacity: 0.8;
}



.activity-item {
   display: flex;
   gap: 1rem;
   padding: 1.5rem;
   border-bottom: 1px solid rgba(247, 111, 83, 0.1);
   transition: all 0.3s ease;
}



.activity-item:hover {
   background: rgba(247, 111, 83, 0.05);
}



.activity-item:last-child {
   border-bottom: none;
}



.activity-icon {
   width: 2.5rem;
   height: 2.5rem;
   border-radius: 0.5rem;
   display: flex;
   align-items: center;
   justify-content: center;
   color: white;
   font-size: 0.875rem;
   flex-shrink: 0;
}



.activity-icon.review {
   background: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
}



.activity-icon.movie {
   background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%);
}



.activity-icon.watchlist {
   background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
}



.activity-content {
   flex: 1;
}



.activity-title {
   font-weight: 600;
   margin-bottom: 0.25rem;
   color: #2E2E2E;
}



.dark .activity-title {
   color: #F2F0E3;
}



.activity-description {
   opacity: 0.8;
   font-size: 0.875rem;
   margin-bottom: 0.5rem;
}



.activity-time {
   font-size: 0.75rem;
   opacity: 0.6;
}



/* Avatar Modal */



.modal-overlay {
   position: fixed;
   inset: 0;
   background: rgba(0, 0, 0, 0.5);
   -webkit-backdrop-filter: blur(8px);
           backdrop-filter: blur(8px);
   z-index: 9999;
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 1rem;
}



.avatar-modal-content {
   background: #F2F0E3;
   border: 1px solid rgba(247, 111, 83, 0.1);
   border-radius: 1.5rem;
   width: 100%;
   max-width: 500px;
   max-height: 90vh;
   overflow-y: auto;
   box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}



.dark .avatar-modal-content {
   background: #2E2E2E;
   border-color: rgba(242, 240, 227, 0.1);
}



.modal-header {
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding: 1.5rem;
   border-bottom: 1px solid rgba(247, 111, 83, 0.1);
}



.modal-title {
   font-size: 1.25rem;
   font-weight: 700;
   color: #2E2E2E;
}



.dark .modal-title {
   color: #F2F0E3;
}



.modal-close {
   width: 2rem;
   height: 2rem;
   background: none;
   border: none;
   border-radius: 0.5rem;
   color: #2E2E2E;
   cursor: pointer;
   transition: all 0.2s ease;
}



.dark .modal-close {
   color: #F2F0E3;
}



.modal-close:hover {
   background: rgba(247, 111, 83, 0.1);
   color: #F76F53;
}



.modal-body {
   padding: 1.5rem;
}



.avatar-options {
   margin-bottom: 2rem;
}



.avatar-upload-option {
   margin-bottom: 1.5rem;
}



.upload-area {
   border: 2px dashed rgba(247, 111, 83, 0.3);
   border-radius: 1rem;
   padding: 2rem;
   text-align: center;
   cursor: pointer;
   transition: all 0.3s ease;
   background: rgba(247, 111, 83, 0.05);
}



.upload-area:hover {
   border-color: #F76F53;
   background: rgba(247, 111, 83, 0.1);
}



.upload-area i {
   font-size: 2rem;
   color: #F76F53;
   margin-bottom: 0.5rem;
   display: block;
}



.upload-area span {
   display: block;
   font-weight: 600;
   margin-bottom: 0.25rem;
   color: #2E2E2E;
}



.dark .upload-area span {
   color: #F2F0E3;
}



.upload-area small {
   opacity: 0.7;
   font-size: 0.75rem;
}



.divider {
   text-align: center;
   margin: 1.5rem 0;
   position: relative;
   opacity: 0.7;
}



.divider::before {
   content: '';
   position: absolute;
   top: 50%;
   left: 0;
   right: 0;
   height: 1px;
   background: rgba(247, 111, 83, 0.2);
}



.divider span {
   background: #F2F0E3;
   padding: 0 1rem;
}



.dark .divider span {
   background: #2E2E2E;
}



.avatar-url-option {
   display: flex;
   flex-direction: column;
   gap: 0.75rem;
}



.avatar-preview-container {
   text-align: center;
   margin-top: 2rem;
}



.avatar-preview {
   width: 120px;
   height: 120px;
   border-radius: 1rem;
   border: 4px solid rgba(247, 111, 83, 0.2);
   -o-object-fit: cover;
      object-fit: cover;
   transition: all 0.3s ease;
}



.modal-footer {
   display: flex;
   gap: 1rem;
   justify-content: flex-end;
   padding: 1.5rem;
   border-top: 1px solid rgba(247, 111, 83, 0.1);
}



/* Mobile Responsiveness */



@media (max-width: 768px) {
   .profile-content {
       flex-direction: column;
       align-items: center;
       text-align: center;
   }
   
   .profile-main-info {
       flex-direction: column;
       text-align: center;
   }
   
   .profile-completion {
       width: 100%;
       min-width: auto;
   }
   
   .settings-card {
       padding: 1.5rem;
   }
   
   .form-section {
       padding: 1.5rem;
   }
   
   .avatar-input-container {
       flex-direction: column;
   }
   
   .modal-footer {
       flex-direction: column;
   }
}



.summary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}



.summary-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(247, 111, 83, 0.05);
    border: 1px solid rgba(247, 111, 83, 0.1);
    border-radius: 1rem;
    transition: all 0.3s ease;
}



.summary-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247, 111, 83, 0.1);
}



.summary-icon {
    width: 3rem;
    height: 3rem;
    background: rgba(247, 111, 83, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}



.summary-content {
    flex: 1;
}



.summary-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2E2E2E;
}



.dark .summary-number {
    color: #F2F0E3;
}



.summary-label {
    font-size: 0.875rem;
    opacity: 0.8;
}



/* Update stats grid for 2 columns */



.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}



@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.75rem !important;
    }
    
    .stat-card {
        padding: 0.75rem !important;
    }
    
    .stat-icon {
        width: 2rem !important;
        height: 2rem !important;
        font-size: 0.875rem !important;
    }
    
    .stat-number {
        font-size: 1.125rem !important;
    }
    
    .stat-label {
        font-size: 0.6875rem !important;
    }
}



@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr !important;
    }
    
    .profile-completion {
        min-width: auto !important;
        width: 100% !important;
    }
}



/* Animations */



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



.profile-header-card {
   animation: profileLoadIn 0.8s ease forwards;
}



.stat-card {
   animation: profileLoadIn 0.8s ease forwards;
}



.stat-card:nth-child(1) { animation-delay: 0.1s; }



.stat-card:nth-child(2) { animation-delay: 0.2s; }



.stat-card:nth-child(3) { animation-delay: 0.3s; }



.review-star-active {
    background: linear-gradient(135deg, #F76F53 0%, #FF8A70 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 8px rgba(247, 111, 83, 0.3);
}



/* Profile completion card mobile fixes */



@media (max-width: 768px) {
    .profile-completion {
        min-width: auto !important;
        width: 100% !important;
        padding: 1rem !important;
        margin-top: 1.5rem !important;
    }
    
    .completion-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .completion-text {
        font-size: 0.875rem !important;
    }
    
    .completion-percentage {
        font-size: 1.25rem !important;
        align-self: flex-end !important;
        margin-top: -1.5rem !important;
    }
    
    .completion-tip {
        font-size: 0.75rem !important;
        text-align: center !important;
    }
}



/* Avatar input container mobile fixes */



@media (max-width: 640px) {
    .avatar-input-container {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .avatar-preview-btn {
        width: 100% !important;
        justify-content: center !important;
        white-space: normal !important;
        padding: 0.875rem 1rem !important;
    }
}



/* File input section mobile fixes */



@media (max-width: 768px) {
    .form-section:has(#avatar-file-input) {
        padding: 1rem !important;
    }
    
    .form-section:has(#avatar-file-input) .form-group {
        gap: 0.75rem !important;
    }
    
    .form-section:has(#avatar-file-input) .form-label {
        font-size: 0.8125rem !important;
    }
    
    .form-section:has(#avatar-file-input) .form-input[type="file"] {
        padding: 0.75rem !important;
        font-size: 0.875rem !important;
    }
    
    .form-section:has(#avatar-file-input) p {
        font-size: 0.75rem !important;
        text-align: center !important;
        margin-top: 0.75rem !important;
    }
}



/* Avatar modal mobile fixes */



@media (max-width: 640px) {
    .avatar-modal-content {
        margin: 0.5rem !important;
        max-width: calc(100vw - 1rem) !important;
        border-radius: 1rem !important;
    }
    
    .modal-header {
        padding: 1rem !important;
    }
    
    .modal-title {
        font-size: 1.125rem !important;
    }
    
    .modal-body {
        padding: 1rem !important;
    }
    
    .upload-area {
        padding: 1.5rem 1rem !important;
    }
    
    .upload-area i {
        font-size: 1.5rem !important;
    }
    
    .upload-area span {
        font-size: 0.875rem !important;
    }
    
    .upload-area small {
        font-size: 0.6875rem !important;
    }
    
    .avatar-url-option {
        gap: 1rem !important;
    }
    
    .avatar-url-option .btn {
        width: 100% !important;
        justify-content: center !important;
    }
    
    .avatar-preview {
        width: 100px !important;
        height: 100px !important;
    }
    
    .modal-footer {
        padding: 1rem !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
    }
    
    .modal-footer .btn {
        width: 100% !important;
        justify-content: center !important;
    }
}



/* Profile main info mobile adjustments */



@media (max-width: 640px) {
    .profile-main-info {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 1rem !important;
    }
    
    .profile-avatar {
        width: 100px !important;
        height: 100px !important;
    }
    
    .profile-name {
        font-size: 1.5rem !important;
        text-align: center !important;
    }
    
    .profile-badges {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
    
    .profile-email {
        text-align: center !important;
        font-size: 0.875rem !important;
    }
}



/* Form grid mobile responsiveness */



@media (max-width: 768px) {
    .form-grid:not(.single-column) {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }
    
    .form-section .section-title {
        font-size: 1rem !important;
        margin-bottom: 1.25rem !important;
    }
    
    .form-section .section-title::before {
        width: 3px !important;
        height: 1.25rem !important;
        margin-right: 0.5rem !important;
    }
}



/* Additional mobile spacing fixes */



@media (max-width: 480px) {
    .profile-header-card {
        margin: 0 0.5rem !important;
        border-radius: 1rem !important;
    }
    
    .profile-content {
        padding: 1.5rem 1rem !important;
        padding-top: 2rem !important;
    }
    
    .profile-completion {
        padding: 0.875rem !important;
        border-radius: 0.75rem !important;
    }
    
    .completion-bar {
        height: 6px !important;
    }
    
    .completion-progress {
        border-radius: 3px !important;
    }
}