.glass {
  background: rgba(24, 16, 19, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.animated-bg {
  position: relative;
  overflow-x: hidden;
}

.animated-bg::before {
  content: '';
  position: fixed;
  inset: -20%;
  z-index: 0;
  opacity: 0.35;
  background: linear-gradient(120deg, rgba(148, 65, 61, 0.35), rgba(24, 16, 19, 0.1), rgba(148, 65, 61, 0.25));
  background-size: 200% 200%;
  animation: gradient-drift 18s ease-in-out infinite;
  pointer-events: none;
  transform: translateZ(0);
}

@keyframes gradient-drift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Custom select arrow for dark theme */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* White icons for date and time inputs */
input[type='date']::-webkit-calendar-picker-indicator,
input[type='time']::-webkit-calendar-picker-indicator,
input[type='datetime-local']::-webkit-calendar-picker-indicator {
  filter: invert(0);
  cursor: pointer;
}
