@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

* {
  padding: 0%;
  margin: 0%;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

:root {
  --background-gradient-color: linear-gradient(to right, #003a70, #0a2240);
  --theme-color: #0a2240;
  --light-gray-color: #aeaeae;
  --gray-color: #404142;
}

.loader {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #3498db;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  animation: spin 1s linear infinite;
  margin-left: 8px;
  display: inline-block;
  vertical-align: middle;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

html {
  font-size: 62.5%;
}

.custom-popup {
  position: fixed;
  top: 10px;
  left: 0;
  right: 0;
  /* bottom: 0; */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background-color: white;
  border-radius: 24px;
  padding: 20px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  color: black;

  #popupMessage {
    font-size: 12px;
  }
}

h2 {
  margin: 0rem 0rem 3rem;
  font-size: 2.4rem;
  text-align: center;
}

.input input,
.input select {
  height: 5rem;
  border: 0.1rem solid var(--gray-color);
  border-radius: 1rem;
  outline: none;
  padding: 0rem 2rem;
  font-size: 1.6rem;
}

.country{
  select{
    option{
      select.style.appearance = 'none';
    }
  }
}

.input textarea {
  height: 15rem;
  resize: none;
  border: 0.1rem solid var(--gray-color);
  border-radius: 1rem;
  outline: none;
  padding: 2rem;
  font-size: 1.6rem;
}

.input {
  display: flex;
  flex-direction: column;
  padding: 0% 2rem;
  margin-top: 2rem;
  gap: 1rem;
}

.input label {
  font-size: 1.8rem;
  display: none;
}

.nav {
  width: 100%;
  position: fixed;
  top: 0;
}

.nav_logo {
  width: 100%;
  height: 7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(to right, #003a70, #0a2240);
}

.nav img {
  height: 60%;
}

.buttons {
  margin: 3rem 0rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 0% 2rem;
}

button {
  height: 5rem;
  border-radius: 1rem;
  font-size: 1.8rem;
  background-color: var(--theme-color);
  color: white;
  font-weight: 500;
  border: none;
  outline: none;
  cursor: pointer;
}

.verification_status {
  display: block;
  color: green;
  font-size: 15px;
  margin-top: -50px;
  margin-left: 22px;
}

.spd_name,
.spd_contact {
  display: none;
  width: 100%;
}

button#add_details {
  display: none;
}

.error {
  color: red;
  font-size: 14px;
  display: none;
  margin-top: -10px;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 1000;
  display: none;
}

.modal {
  background-color: #fff;
  border-radius: 10px;
  width: 400px;
  max-width: 80%;
  /* padding: 20px; */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0a2240;
  color: #fff;
  padding: 10px;
  border-radius: 9px 9px 0 0;
}

.header h2 {
  margin: 0;
  font-size: 20px;
}

@media (max-width: 480px) {
  .header h2 {
    font-size: 16px;
  }
}

.close {
  cursor: pointer;
  font-size: 30px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: transparent;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

@media (max-width: 480px) {
  .close {
    font-size: 20px;
    width: 30px;
    height: 30px;
  }
}

.input_container {
  margin: 20px 20px;
}

.input_container label {
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
}

.otp-inputs {
  display: flex;
  /* justify-content: center; */
  gap: 10px;
  flex-wrap: wrap;
}

.otp {
  width: 50px;
  height: 50px;
  font-size: 24px;
  text-align: center;
  border: 2px solid #ccc;
  border-radius: 5px;
  outline: none;
  transition: border-color 0.3s;
  max-width: 100%;
}

@media (max-width: 480px) {
  /* .modal {
    width: 90%;
    padding: 15px;
  } */

  .otp {
    width: 35px;
    height: 35px;
    font-size: 20px;
  }
}

.otp:focus {
  border-color: #0a2240;
}

.modalActions {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
  margin-top: 30px;
}

.modalActions button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.modalActions button#verifyOtp {
  background-color: #0a2240;
  color: #fff;
}

.modalActions button#cancelOtp {
  background-color: transparent;
  color: #0a2240;
  border: 1px solid #0a2240;
}

.modalActions button#cancelOtp:hover {
  background-color: #0a2240;
  color: #fff;
}

@media (max-width: 480px) {
  button {
    height: 4rem;
  }

  .modalActions button {
    font-size: 14px;
  }
}
