html {
  scroll-behavior: smooth;
}

body {
  font-family: "Mulish", sans-serif;
}

.glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.feature-card {
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.select2-container--default .select2-selection--single {
  border-color: #aaa6 !important;
}

.select2 {
  width: 100% !important;
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow:
    var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000),
    var(--tw-shadow);
}

.select2-container {
  width: 100% !important;
  /* Force full width */
}

.select2-container .select2-selection--single {
  min-height: 48px !important;
  padding: 10px 5px !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  transform: translateY(50%);
  top: 0 !important;
  right: 5px !important;
}

.highlight-blink {
  animation: pulse 1.5s ease-in-out infinite;
  /* Blinking effect */
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.2;
    transform: scale(1.05);
  }
}

.pre-redirection-container {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: rgba(249, 250, 251, 0.97);
  backdrop-filter: blur(2px);
  overflow: hidden;
}

.quote-loader-card {
  text-align: center;
  padding: 0 24px;
  max-width: 420px;
}

.quote-spinner {
  width: 56px;
  height: 56px;
  margin: 0 auto 28px;
  border: 4px solid rgba(1, 180, 134, 0.18);
  border-top-color: #01b486;
  border-radius: 50%;
  animation: quote-spin 0.9s linear infinite;
}

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

.quote-loader-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 10px;
  line-height: 1.3;
}

.quote-loader-sub {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 767px) {
  .quote-loader-title {
    font-size: 1.25rem;
  }

  .quote-loader-sub {
    font-size: 0.9375rem;
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .quote-spinner {
    animation-duration: 2.4s;
  }
}

#submit-btn {
  background: #3b82f6;
  box-shadow: 4px 4px 0px 1px #2055ab;
  transition:
    transform 0.08s ease,
    box-shadow 0.08s ease,
    background 0.15s ease;
}

#submit-btn:hover {
  background: #3b82f6e3;
}

#submit-btn:active {
  transform: translate(4px, 4px);
  box-shadow: 0px 0px 0px 1px #0e6850;
}

#submit-btn:disabled {
  transform: translate(4px, 4px);
  box-shadow: 0px 0px 0px 1px #0e6850;
  opacity: 0.75;
  cursor: not-allowed;
}

#submit-btn:focus-visible {
  outline: 3px solid #0e6850;
  outline-offset: 3px;
}
