.phone-inputs-parent {
  display: flex;

}

.phone-field {
  display: flex;
  align-items: center;
  position: relative;
}

.country-code-select {
  border: 1px solid #e5e7eb;

  border-right: none;
  padding: 10px 10px;
  border-radius: 8px 0 0 8px;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
  height: 100%;
}

.phone-input {
  border-radius: 0 8px 8px 0;
  padding-left: 12px;
}

/* Align icon */
/* .phone-field .portwin-field-icon {
  position: absolute;
  right: 12px;
  pointer-events: auto !important;

} */


.error-text {
  color: #ef4444;
  font-size: 13px;
  margin-top: 6px;
}

.input-error {
  border-color: #ef4444;
}



/* Toast Container */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

/* Toast Styles */
.toast {
  padding: 16px 20px;
  margin-bottom: 12px;
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: marketing-request-toast-in 0.3s ease-out;
}

.toast-error {
  background-color: #dc3545;
}

.toast-success {
  background-color: #28a745;
}

.toast.fade-out {
  opacity: 0;
}

.toast-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.toast-message {
  font-size: 14px;
  line-height: 1.4;
  flex-grow: 1;
  margin-right: 12px;
}

.toast-close {
  background: none;
  border: none;
  color: #999;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-close:hover {
  color: #f1efef;
}

/* Animations */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(100%);
    opacity: 0;
  }
}


.hidden-pass {
  display: none !important;
}

/** Loader Styles */
.otp-loader-container {
  display: none;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
  margin-bottom: 16px;
}

.otp-loader-container.show {
  display: flex;
}

.loader {
  width: 60px;
  aspect-ratio: 2;
  --_g: no-repeat radial-gradient(circle closest-side, #000 90%, #0000);
  background:
    var(--_g) 0% 50%,
    var(--_g) 50% 50%,
    var(--_g) 100% 50%;
  background-size: calc(100%/3) 50%;
  animation: l3 1s infinite linear;
}

@keyframes l3 {
  20% {
    background-position: 0% 0%, 50% 50%, 100% 50%;
  }

  40% {
    background-position: 0% 100%, 50% 0%, 100% 50%;
  }

  60% {
    background-position: 0% 50%, 50% 100%, 100% 0%;
  }

  80% {
    background-position: 0% 50%, 50% 50%, 100% 100%;
  }
}

p {
  margin-bottom: 0;
}

.btn-send-otp {
  width: 100%;
  /* width: 50%; */
  color: white;
  font-weight: 500;
  background-color: #6D28D2;
  padding: 12px;
  border-radius: 6px;
  font-size: 18px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
  cursor: pointer;
  /* margin-top: 16px; */
}

/* .otp-submit-btn{
    width: 50%;
  } */

#otp-verification-container {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-direction: column;
  align-items: center;

}

.otp-inputs {
  display: flex;
  gap: 8px;
  width: 70%;
  justify-content: center;
}

.otp-digit-input {
  width: 50px !important;
  height: 50px !important;
  text-align: center !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  border: 2px solid #e5e7eb !important;
  border-radius: 8px !important;
  padding: 0 !important;
  background-color: #ffffff !important;
  color: #1f2937 !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}

.otp-digit-input:focus {
  outline: none !important;
  border-color: #6D28D2 !important;
  box-shadow: 0 0 0 3px rgba(109, 40, 210, 0.1) !important;
}

.otp-digit-input:hover {
  border-color: #d1d5db !important;
}

.otp-digit-input.input-error {
  border-color: #ef4444 !important;
}




.tc-modal {
  max-height: 79vh !important;
}

/* Responsive for OTP section on phones */
@media (max-width: 600px) {
  .otp-btn-wrapper {
    /* flex-direction: column !important; */
    width: 100% !important;
    /* gap: 12px !important; */
  }

  .otp-btn-wrapper button {
    width: 100% !important;
    font-size: 16px !important;
    padding: 10px !important;
  }

  .otp-inputs {
    width: 100% !important;
    gap: 6px !important;
  }

  .otp-digit-input,
  .otp-digit-input-phone {
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
  }
}

@media (max-width: 360px) {
  .otp-inputs {
    gap: 4px !important;
  }

  .otp-digit-input,
  .otp-digit-input-phone {
    width: 35px !important;
    height: 35px !important;
    font-size: 16px !important;
  }

  .otp-btn-wrapper button {
    font-size: 14px !important;
  }
}