.custom-bg {
  background-color: #ffffff;
  transition: background-color 0.3s ease;
}
.custom-bg {
  background-color: #fbfbfb;
  transition: background-color 0.3s ease;
}
* {
  color: #434343;
}

.signup-logo {
  position: absolute;
  top: 2rem;
  left: 4rem;
  height: 32px;
}

.login-form {
  max-width: 490px;
  background-color: #fbfbfb;
  border-radius: 1.5rem;
  padding: 40px 24px;
  transition: background-color 0.3s ease;
}

.form-card {
  max-width: 490px;
  width: 100%;
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  padding: 2rem;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.btn-submit:disabled {
  background-color: #6d29d980;
}

.btn-back {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #434343cc;
  border: 1px solid #f2f2f2;
  border-radius: 18px;
  padding: 0.35rem 0.75rem;
  margin-bottom: 1rem;
  background: #fff;
  width: max-content;
}

.btn-signin {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #6d29d9;
  border: 1px solid #f2f2f2;
  border-radius: 18px;
  padding: 0.5rem 1rem;
  background: #fff;
}

.btn-social {
  background: #fff;
  border: 1px solid #f2f2f2;
  box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.05);
  border-radius: 0.25rem;
  padding: 0.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.text-purple {
  color: #6d29d9 !important;
}

.otp-inputs input {
  flex: 1 1 0%;
  min-width: 0;
  max-width: 3.5rem;
  aspect-ratio: 1/1;
  text-align: center;
  font-size: 1.125rem;
  border: 1px solid #f2f2f2;
  background: #fff;
  outline: none;
}
@media (max-width: 400px) {
  .otp-inputs input {
    max-width: 3rem;
  }
}

.otp-inputs input:first-child {
  border-radius: 0.5rem 0 0 0.5rem;
}

.otp-inputs input:last-child {
  border-radius: 0 0.5rem 0.5rem 0;
  border-right-width: 1px;
}

.otp-inputs input:not(:last-child) {
  border-right-width: 0.5px;
}

.otp-inputs input:focus {
  border-color: #6d29d9;
  box-shadow: none;
}
.small {
  font-size: 12px;
}
.loader-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.spinner {
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

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

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
