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

html,
body {
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
}

/* Glassmorphism utility */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hide scrollbar for forms */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Custom select styling to match the Herkunftsland dropdown */
.custom-select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-color: #fff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 1.25rem 1.25rem !important;
  padding-right: 2.75rem !important;
  border-radius: 0.75rem !important;
  /* rounded-xl */
  border: 1px solid #d1d5db !important;
  /* border-gray-300 */
  outline: none !important;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.custom-select:hover {
  border-color: #9ca3af !important;
  /* gray-400 */
}

.custom-select:focus {
  border-color: #3b82f6 !important;
  /* blue-500 */
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25) !important;
  outline: none !important;
}

/* Style for the placeholder / disabled selected option */
.custom-select option[disabled] {
  color: #9ca3af;
}

.custom-select:invalid,
.custom-select:has(option[disabled]:checked) {
  color: #6b7280;
}

.custom-select option {
  color: #1f2937;
  background-color: #fff;
  padding: 0.5rem;
  border-radius: 0;
}

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

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

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