
:root {
  --primary-color: #FCDD06;
  --secondary-color: #FBA919;
  --third-color: #efda20;
  --white-color: #ffffff;
  --black-color: #000000;
}


.modal-content.popup-box {
  background: rgba(255, 255, 0, 0.295);
  color: #fff;
  border-radius: 30px;
  padding: 40px;
  position: relative;
  border: none;
  backdrop-filter: blur(6px);
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  filter: invert(1);
}

.popup-header img {
  height: 40px;
  margin-bottom: 10px;
}

.popup-header p {
  font-size: 14px;
  opacity: 0.8;
}

.popup-form label {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
}

.popup-form i {
  margin-right: 6px;
}

.popup-form input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.7);
  padding: 10px 4px;
  color: #fff;
  outline: none;
  font-size: 15px;
}

.popup-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  background-color: transparent;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.7);

  padding: 10px 30px 10px 4px; /* space for arrow */
  color: #fff;
  font-size: 15px;
  cursor: pointer;

  /* Custom arrow */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 14px;
}

.popup-form select option {
  color: #000;
}


.popup-form select {
  appearance: none;
  color: #fff;
}

.popup-form select option {
  color: #000;
}
.popup-form input::placeholder {
  color: rgba(255,255,255,0.7);
}

/* Terms & Conditions */
.form-check {
  display: flex;
  align-items: center;
  gap: 12px !important;
  margin-top: 20px;
}

.form-check input {
  width: 16px;
  height: 16px;
}

.form-check label {
   font-size: 14px;
  margin-bottom: 0;
  margin-left: 12px;
}

.form-check a {
  color: #0033cc;
  font-weight: 500;
  text-decoration: underline;
}

/* Custom white-border checkbox */
.form-check-input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 15px;
  min-width: 18px; /* Prevents shrinking */
  min-height: 18px; /* Prevents shrinking */
  border: 2px solid #ffffff !important;
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  margin: 0;
}

/* Checked state */
.form-check-input:checked {
   background-color: #ffffff !important;
  border: 2px solid #ffffff !important; /* Maintain white border when checked */
}

/* Check mark */
.form-check-input:checked::after {
  content: "✓";
  color: #000;
  font-size: 13px;
  position: absolute;
  top: -1px;
  left: 3px;
  font-weight: bold;
}

/* Focus state */
.form-check-input:focus {
  outline: none;
  box-shadow: none;
}


.submit-btn {
  background: #fbff00;
  border: none;
  color: black;
  padding: 12px 40px;
  border-radius: 30px;
  font-weight: 600;
}

/* Parsley Error Styling */
.parsley-errors-list {
  margin-top: 6px;
  padding: 0;
  list-style: none;
  font-size: 12px;
  color: #bd0202; /* yellow warning */
}

.parsley-errors-list li {
  line-height: 1.4;
}

/* Input error state */
input.parsley-error,
select.parsley-error {
  border-bottom: 2px solid #bd0202 !important;
}

/* Checkbox error spacing */
.form-check .parsley-errors-list {
  margin-left: 26px;
}

/* Footer container */
.form-footer {
  margin-top: 20px;
}

/* Register button spacing */
.form-footer .submit-btn {
  display: inline-block;
  margin-bottom: 12px; /* controls gap between button & text */
}

/* Login link text */
.login-link {
  margin: 0;
  font-size: 14px;
  color: #fff;
  line-height: 1.4;
}

/* Login hyperlink */
.login-link a {
  color: #0047ff;
  font-weight: 600;
  text-decoration: none;
}

.login-link a:hover {
  text-decoration: underline;
}

/* .toggle-password {
  position: absolute;
  right: 10px;
  top: 42px;
  cursor: pointer;
  color: #fff;
  opacity: 0.8;
}

.toggle-password:hover {
  opacity: 1;
} */



/* ===== LOGIN PASSWORD EYE ===== */
/* Wrapper around input */
.password-wrapper {
  position: relative;
}

/* Input spacing */
.password-wrapper input {
  padding-right: 42px;
}

/* Eye icon – LOCKED to input */
.toggle-password-login {
  position: absolute;
  right: 12px;
  top: 40%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #fff;
  opacity: 0.75;
  font-size: 16px;
  z-index: 10;
}

.toggle-password-login:hover {
  opacity: 1;
}


/* ===== REGISTER PASSWORD EYE ===== */
.toggle-password-register {
    position: absolute;
  right: 10px;
  top: 42px;
  cursor: pointer;
  color: #fff;
  opacity: 0.8;
}

/* Optional hover */
.toggle-password-register:hover {
  opacity: 1;
}

/* Auth Error Message */
.auth-error {
    position: relative;
    background: rgba(255, 0, 0, 0.18);
    border: 1px solid rgba(255, 0, 0, 0.45);
    color: #fff;
    padding: 12px 44px 12px 16px;
    border-radius: 14px;
    font-size: 14px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Text */
.auth-error-text {
    line-height: 1.4;
}

/* Close Button */
.auth-error-close {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    opacity: 0.8;
}

.auth-error-close:hover {
    opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .auth-error {
        font-size: 13px;
        padding: 10px 40px 10px 14px;
    }
}


/* .modal-content.popup-box {
  background: linear-gradient(
      135deg,
      rgba(252, 221, 6, 0.95),
      rgba(251, 169, 25, 0.95)
  ) !important;

  color: #000;
  border-radius: 30px;
  padding: 40px;
  border: none;
  box-shadow: 0 25px 60px rgba(0,0,0,0.45);
} */


