body {
  font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
}
.navbar {
  background-color: #2c3e50 !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}
.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
  color: #fff !important;
}
.navbar .form-control {
  border-radius: 6px;
  font-size: 0.95rem;
}
.navbar-nav .nav-link {
  color: #eaf6fb !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.2s;
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link:hover {
  color: #1abcfe !important;
  border-bottom: 2px solid #1abcfe;
  background: none;
}
.dropdown-toggle {
  background: #34495e !important;
  border: none;
  color: #fff !important;
  font-weight: 500;
}
.dropdown-menu {
  background: #34495e;
  color: #fff;
}
.dropdown-item {
  color: #fff;
}
.dropdown-item:hover {
  background: #1abcfe;
  color: #fff;
}
.no-margin-padding {
  margin: 0 !important;
  padding: 0 !important;
}
.navbar-toggler {
  border-color: rgba(255,255,255,0.5);
}
.navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28234,246,251,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.movie-subtabs-container {
  background: white;
  padding: 32px 0 0 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  width: 100%;
}
.movie-subtabs-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
.movie-subtabs {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-bottom: 0;
  padding: 0 16px;
  min-width: min-content;
  white-space: nowrap;
}
.movie-subtab, .movie-subtab:visited {
  text-decoration: none;
}
.movie-subtab {
  display: flex;
  align-items: center;
  color: #344050;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
  padding-bottom: 8px;
  flex-shrink: 0;
}
.movie-subtab i {
  font-size: 1.2rem;
  margin-right: 8px;
}
.movie-subtab.active,
.movie-subtab:hover {
  color: #3498db;
}
.movie-subtab.active::after {
  content: "";
  display: block;
  width: 90%;
  height: 2px;
  background: #5ba4e6;
  border-radius: 0 0 8px 8px;
  position: absolute;
  left: 5%;
  bottom: 0;
}

/* Media query for mobile devices */
@media screen and (max-width: 768px) {
  .movie-subtabs-container {
    padding: 16px 0 0 0;
  }
  .movie-subtabs {
    gap: 32px;
    padding: 0 12px;
  }
  .movie-subtab {
    font-size: 0.9rem;
  }
  .movie-subtab i {
    font-size: 1.1rem;
    margin-right: 6px;
  }
}

/* Filter Form Styles */
#filterForm {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  padding: 8px 16px;
  white-space: nowrap;
  width: 100%;
  min-width: 1200px; /* Match the movies grid minimum width */
  background: white;
  border-radius: 0;
  box-shadow: none;
}

#filterForm::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

#filterForm select {
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid #ddd;
  background-color: white;
  font-size: 0.9rem;
  min-width: max-content;
}

#filterForm i {
  font-size: 1.3em;
  color: #34495e;
  flex-shrink: 0;
}

/* Media Queries for Filters */
@media (max-width: 768px) {
  #filterForm {
    padding: 8px 16px;
    margin: 0 0 20px 0;
    width: 100%;
    min-width: auto;
  }
  
  #filterForm select {
    font-size: 0.85rem;
    padding: 4px 8px;
  }
  
  #filterForm i {
    display: none;
  }
}

/* Filters Container */
.filters-container {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 5px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.filters-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
} 