/* ===================================================
   SIGN UP MODAL
   =================================================== */

.signup-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}
.signup-modal-overlay.active {
  display: flex;
}

.signup-modal-box {
  position: relative;
  display: flex;
  width: 92%;
  max-width: 1100px;
  max-height: 92vh;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.signup-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 30px;
  line-height: 1;
  color: #555;
  cursor: pointer;
  z-index: 10;
  transition: color 0.2s;
}
.signup-modal-close:hover {
  color: #fb4d46;
}

/* Left image pane */
.signup-modal-left {
  flex: 1 1 45%;
}
.signup-modal-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right form pane */
.signup-modal-right {
  flex: 1 1 55%;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}

.signup-form-container {
  width: 100%;
  max-width: 420px;
}

.signup-heading {
  text-align: center;
  color: #0b1e3f;
  margin-bottom: 20px;
  font-size: 28px;
  position: relative;
}
.signup-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #fb4d46;
  margin: 8px auto 0;
}

.signup-input-field {
  margin-bottom: 18px;
  position: relative;
}
.signup-input-field label {
  font-size: 14px;
  color: #444;
  display: block;
  margin-bottom: 6px;
}
.signup-input-field input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  background-color: #fff;
  font-family: 'Poppins', sans-serif;
  transition: border 0.3s, box-shadow 0.3s;
}
.signup-input-field input:focus {
  border-color: #0b1e3f;
  box-shadow: 0 0 8px rgba(11, 30, 63, 0.3);
  outline: none;
}

/* Country custom select */
.signup-custom-select {
  position: relative;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  font-size: 15px;
  cursor: pointer;
}
.signup-selected {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  color: #444;
}
.signup-dropdown-icon {
  font-size: 20px;
  color: #0b1e3f;
  transition: transform 0.3s;
}
.signup-custom-select.active .signup-dropdown-icon {
  transform: rotate(180deg);
}
.signup-options {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 180px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 10001;
  display: none;
  list-style: none;
  scrollbar-width: none;
}
.signup-options::-webkit-scrollbar { display: none; }
.signup-options li {
  padding: 10px 12px;
  transition: background 0.2s;
}
.signup-options li:hover { background-color: #f7f7f7; }
.signup-custom-select.active .signup-options { display: block; }

/* Submit button */
.signup-submit-btn {
  width: 100%;
  padding: 14px;
  background-color: #fb4d46;
  border: none;
  color: #fff;
  border-radius: 6px;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: background 0.3s;
}
.signup-submit-btn:hover { background-color: #e5433d; }

/* Google button */
.signup-social-media { display: flex; justify-content: center; }
.signup-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto 0;
  background: transparent;
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  font-size: 22px;
  color: #fb4d46;
  transition: background 0.3s, color 0.3s;
}
.signup-google-btn:hover { background: #fb4d46; color: #fff; }

.signup-signin-link {
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
}

.signup-validation-message {
  display: block;
  font-size: 13px;
  margin-top: 4px;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 900px) {
  .signup-modal-box {
    flex-direction: column;
    max-height: 95vh;
  }
  .signup-modal-left { display: none; }
  .signup-modal-right {
    flex: 1 1 100%;
    padding: 25px;
  }
}
