/* Popup Overlay */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Popup Box */
.popup-box {
  width: 80%;
  max-width: 900px;
  display: flex;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  animation: popupFade 0.4s ease;
}

/* Left Section */
.popup-left {
  width: 45%;
  background: #f5f5f5;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.popup-logo {
  max-width: 120px;
  margin-bottom: 20px;
}

.popup-illustration {
  width: 100%;
  max-width: 250px;
}

/* Right Section */
.popup-right {
  width: 55%;
  padding: 40px 30px;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 24px;
  color: #888;
  cursor: pointer;
}

.popup-right h2 {
  font-size: 24px;
  margin-bottom: 30px;
  color: #333;
}

.popup-right label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: #444;
}

.mobile-input {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0px;
}

.country-code {
  background: #eee;
  padding: 10px 14px;
  font-size: 14px;
  border-right: 1px solid #ccc;
}

.mobile-input input {
  border: none;
  padding: 10px 12px;
  width: 100%;
  outline: none;
  font-size: 14px;
}
.input{
      border: none;
  padding: 10px 12px;
  width: 100%;
  outline: none;
  font-size: 14px;

}
#rotp{
   padding: 10px 12px;
    width: 100%;
}

.or-separator {
  text-align: center;
  margin: 15px 0;
  position: relative;
}

.or-separator span {
  background: #fff;
  padding: 0 10px;
  color: #888;
  font-size: 14px;
}

.or-separator::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 100%;
  height: 1px;
  background: #ddd;
  left: 0;
  z-index: 0;
}

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center; /* Center text and icon horizontally */
  gap: 10px;
  background: #fff;
  border: 1px solid #ddd;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none; /* Removes underline */
  color: #333; /* Text color */
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  transition: background 0.3s, box-shadow 0.3s;
}

.google-btn:hover {
  background: #f7f7f7;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}


.google-btn img {
  width: 20px;
  height: 20px;
}

.form-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 12px;
  color: #888;
}




/* Animation */
@keyframes popupFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .popup-box {
    flex-direction: column;
    width: 95%;
    max-height: 95vh;
    overflow-y: auto;
    position: relative;
    border-radius: 12px;
  }

  .popup-left,
  .popup-right {
    width: 90%;
  }

  .popup-left {
    padding: 30px 20px;
    background-color: #f5f5f5;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .popup-logo {
    max-width: 100px;
    margin-bottom: 20px;
  }

  .popup-illustration {
    max-width: 200px;
    height: auto;
  }

  .popup-right {
    padding: 30px 20px;
    position: relative;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    z-index: 1000;
  }

  .popup-right h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 22px;
  }

  .login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .mobile-input {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
  }

  .country-code {
    background: #eee;
    padding: 10px 14px;
    font-size: 14px;
    border-right: 1px solid #ccc;
  }

  .mobile-input input {
    border: none;
    padding: 10px 12px;
    width: 100%;
    outline: none;
    font-size: 14px;
  }
}


