.dark { background-color: #111827; color: #f3f4f6; }
.date-input-fix { filter: invert(var(--tw-filter-invert, 0)) hue-rotate(var(--tw-filter-hue-rotate, 0)); }
.dark .date-input-fix { filter: invert(1) hue-rotate(180deg); }

/* Autocomplete dropdown styling */
#noPolisiDropdown {
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

#noPolisiDropdown [data-plate] {
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  transition: background-color 0.15s ease-in-out;
}

#noPolisiDropdown [data-plate]:hover {
  background-color: #3b82f6 !important;
  color: white;
}

.dark #noPolisiDropdown [data-plate]:hover {
  background-color: #3b82f6 !important;
  color: white;
}

/* Flash Message Animations */
#flashContainer {
  pointer-events: none;
}

#flashContainer > div {
  pointer-events: auto;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.flash-enter {
  animation: slideInRight 0.3s ease-out forwards;
}

.flash-exit {
  animation: slideOutRight 0.3s ease-in forwards;
}

/* Settings Page Styling */
.settings-card {
  transition: all 0.3s ease;
}

.settings-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Theme Toggle Animation */
#themeToggle {
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

#themeToggle:hover {
  transform: scale(1.1);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dark #themeToggle:hover {
  border-color: rgba(96, 165, 250, 0.3);
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

/* URL Mode Examples */
.url-example {
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  background-color: rgba(0, 0, 0, 0.05);
}

.dark .url-example {
  background-color: rgba(255, 255, 255, 0.1);
}
