.mail-card {
  width: 400px;
  background-color: #fff;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 5px;
}

#verify_mail_popup,
#verify_phone_popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99;
}

#verify_mail_popup h2,
#verify_phone_popup h2 {
  text-align: center;
  margin-bottom: 10px;
}

#verify_mail_popup p,
#verify_phone_popup p {
  margin-bottom: 20px;
}

#verify_mail_popup form,
#verify_phone_popup form {
  display: flex;
  gap: 21px;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}

#verify_mail_popup form label,
#verify_phone_popup form label {
  color: #e8524e;
}

#verify_mail_popup .otp-input,
#verify_phone_popup .otp-input2 {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 20px;
}

#verify_mail_popup .otp-input input,
#verify_phone_popup .otp-input2 input {
  width: 40px;
  height: 40px;
  font-size: 18px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#verify_mail_popup .popup-buttons,
#verify_phone_popup .popup-buttons {
  display: flex;
  justify-content: space-around;
  width: 100%;
}

#verify_mail_popup button,
#verify_phone_popup button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#open-popup-btn,
#verify_phoneDigi {
  padding: 10px 20px;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#close-popup-btn,
#resend-btn {
  background-color: #f1f1f1;
  color: black;
}

#continue-btn {
  background-color: #008cba;
  color: white;
}

/* Disable styles */
#resend-btn:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
}

#resend-btn:disabled:hover {
  background-color: #cccccc;
}

/* Hide timer initially */
#countdown-timer {
  display: none;
  text-align: center;
}

#countdown-timer span {
  color: #e8524e;
}

#sending-otp-animation,
#sending-phoneotp-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.3s ease-in-out;
}

.msg-hidden {
  opacity: 0;
  visibility: hidden;
}

.sending-mail,
.sending-phone {
  padding: 20px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
