.otp-input-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: nowrap;
}

.otp-input-digit {
  width: 3.25rem;
  min-width: 3.25rem;
  height: 3.5rem;
  border: 1px solid #e4e6ef;
  border-radius: 0.85rem;
  background-color: #f8f9fa;
  color: #181c32;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.otp-input-digit:focus {
  border-color: #3f46f5;
  background-color: #ffffff;
  box-shadow: 0 0 0 0.2rem rgba(63, 70, 245, 0.12);
  outline: 0;
}

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

.otp-input-toggle {
  width: 3rem;
  min-width: 3rem;
  height: 3rem;
  border: 1px solid #e4e6ef;
  border-radius: 999px;
  background-color: #ffffff;
  color: #5e6278;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.otp-input-toggle:hover,
.otp-input-toggle:focus {
  border-color: #3f46f5;
  color: #3f46f5;
  box-shadow: 0 0 0 0.2rem rgba(63, 70, 245, 0.1);
  outline: 0;
}

.password-input-wrap {
  position: relative;
}

.password-input-wrap .form-control {
  padding-right: 3rem;
}

.password-visibility-toggle {
  position: absolute;
  top: 50%;
  right: 0.875rem;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #7e8299;
  padding: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.password-visibility-toggle:hover,
.password-visibility-toggle:focus {
  color: #3f46f5;
  outline: 0;
  box-shadow: none;
}

@media (max-width: 575.98px) {
  .otp-input-group {
    gap: 0.5rem;
  }

  .otp-input-digit {
    width: 2.75rem;
    min-width: 2.75rem;
    height: 3rem;
    font-size: 1.1rem;
  }

  .otp-input-toggle {
    width: 2.75rem;
    min-width: 2.75rem;
    height: 2.75rem;
  }
}
