@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Outfit:wght@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..900;1,100..900&display=swap');

body{
  font-family: "Roboto", sans-serif;
}

.top-navbar {
  background-color: #ded9d4;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bottom-bar {
  background-color: #c4bab0;
  width: 100%;
  height: 2px;
  text-align: center;
  box-shadow: 0 4px 2px -2px rgba(0, 0, 0, 0.5);
}

.logo-container {
  margin-left: 10px;
  width: 70px;
  height: 70px;
}

.logo-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.login-welc-title {
  font-size: clamp(1.2rem, 5vw, 2rem);
}

.ease-word {
  color: #fa0909;
}

.login-bg {
  /* background-image: url("../assets/login-page-bg1.jpg");
  background-repeat: no-repeat;
  background-size: cover; */
  background-color: #ded9d4;
  height: 83vh;
  padding-top: 60px;
}

.login-container {
  border-radius: 10px;
  max-width: 400px;
  width: 80%;
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px 0 #c4bab0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}



.form-control {
  padding: 0.5rem 1rem 0.5rem 1rem;
  font-size: 0.9rem;
}

.get-otp-div {
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: center;
}

.get-otp-div .form-control {
  width: 165px;
}

.forget-link {
  color: #b4436c;
  font-style: italic;
  text-decoration: underline;
  margin-top: 8px;
}

.otp-btn {
  /* width: 128px; */
  background-color: rgb(252, 252, 83);
}

.otp-btn:hover {
  background-color: #e6e600;
  opacity: 80%;
}

.login-btn {
  width: 100%;
  color: white;
  font-weight: bold;
  background-color: #4d9078;
}

.auth-submit-btn {
  width: 128px;
  background-color: #4d9078;
}

.auth-submit-btn:hover {
  background-color: #7ac9ae;
}

.login-btn:hover {
  background-color: #7ac9ae;
  color:white  ;
  opacity: 80%;
}

.login-btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.terms-container {
  padding-top: 20px;
  text-align: center;
  max-width: 400px;
  width: 80%;
}

.terms-container p {
  color: black;
  font-size: 16px;
  font-style: italic;
}

.terms-container a {
  color: #b4436c;
}

/* Small Mobile (up to 320px) */
@media (max-width: 320px) {
  .login-container {
    width: 92%;
  }
  .terms-container {
    width: 92%;
    }
}

/* Medium Mobile (321px - 375px) */
@media (min-width: 321px) and (max-width: 375px) {
  .login-container {
    width: 85%;
  }
  .terms-container {
    width: 85%;
    }
}

/* Large Mobile (376px - 425px) */
@media (min-width: 376px) and (max-width: 425px) {
  .login-container {
    width: 80%;
  }
  .terms-container {
    width: 80%;
    }
}


footer {
  background-color: #c4bab0;
  width: 100%;
  height: auto;
  padding: 10px 40px;
  display: flex;
  align-items: center;

  color: #b4436c;
  font-size: 16px;
  font-style: italic;
}

.forget-text {
  color: black;
  text-align: center;
  font-size: 1rem;
}

/* Spinner Animation */
#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* From Uiverse.io by cosnametv */
.loader {
  --color: #a5a5b0;
  --size: 70px;
  width: var(--size);
  height: var(--size);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.loader span {
  width: 100%;
  height: 100%;
  background-color: var(--color);
  animation: keyframes-blink 0.6s alternate infinite linear;
}

.loader span:nth-child(1) {
  animation-delay: 0ms;
}

.loader span:nth-child(2) {
  animation-delay: 200ms;
}

.loader span:nth-child(3) {
  animation-delay: 300ms;
}

.loader span:nth-child(4) {
  animation-delay: 400ms;
}

.loader span:nth-child(5) {
  animation-delay: 500ms;
}

.loader span:nth-child(6) {
  animation-delay: 600ms;
}

@keyframes keyframes-blink {
  0% {
    opacity: 0.3;
    transform: scale(0.5) rotate(5deg);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@media screen and (max-width: 786px) {
  main {
    height: 85vh;
  }
}

@media screen and (max-width: 480px) {
  main {
    height: 85vh;
  }

  /* .terms-container {
    width: 100%;
    margin: auto;
  } */
}

.login-img{
  background-image: url("../assets/login-side-bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: end;
  justify-content: center;
}

/* .login-img img{
  height: 100vh;
} */