* {
  font-family: "Poppins", sans-serif;
}

body {
  font-family: "Poppins", sans-serif;
}
/* Custom animation for the loading spinner */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Improve focused input styles */
input:focus,
select:focus {
  border-color: #00b2ff;
}

/* Transition for validation checks */
li {
  transition: color 0.3s ease;
}

/* Progress bar transitions */
div {
  transition: all 0.3s ease;
}

/* Add animation to the step labels */
.step-label-transition {
  transition: color 0.3s ease;
}

/* Remove autofill background in some browsers */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: background-color 5000s ease-in-out 0s;
  -webkit-text-fill-color: #000;
}

/* Improve placeholder text contrast */
::placeholder {
  color: #9ca3af;
  opacity: 1;
}

/* Mobile optimizations */
@media (max-width: 640px) {
  .w-10 {
    width: 2rem;
  }

  .h-10 {
    height: 2rem;
  }

  .text-sm {
    font-size: 0.813rem;
  }

  .text-xs {
    font-size: 0.75rem;
  }
}

/* Accessibility focus styles for keyboard navigation */
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #00b2ff;
  outline-offset: 1px;
}

/* Custom checkbox style */
input[type="checkbox"] {
  position: relative;
  cursor: pointer;
}

input[type="checkbox"]:checked {
  background-color: #00b2ff;
  border-color: #00b2ff;
}

/* Disabled button styles */
button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
