.filter-box {
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}
.filter-box:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}
.form-label {
  font-size: 0.9rem;
  color: #333;
}

.filter-box input[readonly] {
  cursor: pointer;
}

.custom-dropdown {
  position: relative;
}

.dropdown-list,
.year-range {
  display: none;
  position: absolute;
  background: #1c1c1c;
  border: 1px solid #333;
  border-radius: 8px;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  z-index: 10;
}

.dropdown-list.show,
.year-range.show {
  display: block;
}

.form-control {
  cursor: pointer;
}

.form-select {
  width: 100%;
  background: #222;
  color: #fff;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 5px;
}

.form-select option {
  background: #222;
  color: #fff;
}

.custom-select {
  flex: 1;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #555;
  background-color: #222; /* Dark background */
  color: #fff; /* White text */
  appearance: none; /* Remove default arrow */
  cursor: pointer;
  font-size: 0.9rem;
  transition: border 0.2s ease, background 0.2s ease;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='5'%3E%3Cpath fill='%23fff' d='M0 0l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px;
}

.custom-select:hover {
  border-color: #888;
  color: #fff;
  background-color: #2c2c2c;
}

.custom-select:focus {
  outline: none;
  border-color: #e50914; /* Netflix red focus color */
  color: #fff;
  background-color: #1b1b1b;
}

.custom-select option {
  background-color: #222;
  color: #fff;
}

.loading-spinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #ffffff;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

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