#sv-sms-form {
  margin: 20px auto;
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
  width: 100%;
  max-width: 100%;
  min-height: 400px;
  position: relative;
  background: #fff;
  overflow: hidden;
}
input:-webkit-autofill {
  box-shadow: 0 0 0 1000px #f7f7f7 inset !important;
  -webkit-box-shadow: 0 0 0 1000px white inset !important;
  -webkit-text-fill-color: #000 !important;
  transition: background-color 5000s ease-in-out 0s;
}
.form-step {
  display: none;
  width: 100%;
  animation: none;
}

.form-step.active {
  display: block;
  animation: slideIn 0.5s ease forwards;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#sv-sms-form input {
  margin-top: 10px;
}

#sv-sms-form label {
  margin-top: 10px;
}

#sv-timer {
  margin-top: 20px;
  font-size: 14px;
  color: #555;
}

#sv-loading {
  text-align: center;
  padding: 40px 20px;
}

.spinner {
  border: 5px solid #ccc;
  border-top: 2px solid #2a3e89;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  margin: 0 auto 10px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#sv-loading .support-buttons {
  display: none;
  margin-top: 20px;
}
#verify-btn.resend-mode {
  background-color: #d9534f;
  color: white;
}
#sv-sms-form button {
  font-family: var(--button_typography-font-family);
  padding: 8px;
  width: 100%;
  background: #1f3b8e;
  border: none;
  color: white;
  border-radius: 10px;
  font-size: 15px;
  margin-top: 30px;
  cursor: pointer;
  transition-duration: 0.4s;
}
#sv-sms-form button:hover {
  background-color: white;
  border: 2px solid #1f2c60;
  color: black;
}
.support-buttons button:hover {
  background-color: white;
  border: 2px solid #1f2c60;
  color: black;
}
.support-buttons,
.verifybtns {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

#sv-loading .support-buttons button:hover {
  background-color: #1f2c60;
}

#sv-message {
  min-height: 30px;
  color: green;
  font-weight: bold;
  text-align: center;
}

#sv-error {
  color: red;
  font-weight: bold;
  margin-top: -30px;
  min-height: 30px;
  text-align: center;
}

.error-border {
  border: 1px solid red !important;
}

.required-star {
  color: red;
  font-size: 16px;
  margin-right: 4px;
  vertical-align: middle;
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

.pulse-effect {
  animation: pulse 0.4s ease-in-out 3;
}

#step-loader-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 999;
  display: none;
  justify-content: center;
  align-items: center;
}

.step-loader-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #fff;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
#sv-sms-form {
  position: relative;
}
