.mobile-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-family: 'Poppins', sans-serif;
  border-radius: 0;
}


#authModal .modal-dialog {
  max-width: 360px;
  margin: 2.5rem auto;  /* increase top/bottom spacing */
  padding: 0 15px;      /* add left/right padding so it's not glued to edges */
}

@media (max-width: 576px) {
  #authModal .modal-dialog {
    margin: 3rem 1rem;   /* more breathing room on small screens */
    max-width: 95%;      /* make sure it doesn’t overflow */
  }
}

#authModal .modal-content {
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.15);
  background-color: rgba(255, 255, 255, 0.8);
}

#authModal .nav-tabs .nav-link {
  border: none;
  background: none;
  color: #555;
  font-weight: 600;
}

#authModal .nav-tabs .nav-link.active {
  color: #ff5722;
  border-bottom: 2px solid #ff5722;
}

#authModal .form-control {
  border-radius: 8px;
  font-size: 14px;
}

#authModal .btn {
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
}

#authModal .social-icons i {
  font-size: 18px;
  margin: 0 8px;
  cursor: pointer;
  color: green;
}

@media (max-width: 480px) {
  #authModal .modal-content {
    padding: 15px;
  }

  #authModal .form-control {
    font-size: 13px;
  }

  #authModal .btn {
    font-size: 14px;
  }
}

#interest-form label {
  background: #f8f9fa;
  border: 1px solid #ccc;
  padding: 8px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  color: #333;
  user-select: none;
  margin-left: 6px;
}

/* Hide actual checkbox */
#interest-form input[type="checkbox"] {
  display: none;
}

/* Selected style when checkbox is checked */
#interest-form input[type="checkbox"]:checked + label {
  background-color: #ff5722;
  color: white;
  border-color: #ff5722;
}

/* Responsive tweaks */
@media (max-width: 480px) {
  .modal-content {
    padding: 15px;
  }

  #interest-form label {
    font-size: 13px;
    padding: 6px 12px;
  }

  #interest-form .btn {
    font-size: 14px;
  }
}

.back-home-btn {
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 1056; /* above modal backdrop */
  background: rgba(255, 255, 255, 0.8);
  color: #333;
  padding: 8px 14px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  font-size: 14px;
}

.back-home-btn:hover {
  background: #f0f0f0;
  color: #000;
}

.back-home-btn i {
  margin-right: 6px;
}
#forgotPasswordModal .modal-content {
  color: #222;
  border-radius: 16px;
}

#forgotPasswordModal input {
  background: rgba(255,255,255,0.9);
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
}

#forgotPasswordModal button {
  border-radius: 8px;
  font-weight: 500;
}

/* -------------------------------
   INTEREST MODAL – FINAL CLEAN VERSION
-------------------------------- */

/* Dialog: keep centered + limit height */
#interestModal .modal-dialog {
    max-height: 85vh;
    display: flex;
    align-items: center;
}

/* Modal content uses flex layout */
#interestModal .modal-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 18px;
}

/* Scroll only in the modal body */
#interestModal .modal-body {
    max-height: 60vh;      /* ensures submit button remains visible */
    overflow-y: auto;
    padding-right: 10px;   /* avoid hiding scrollbar */
}

/* Footer stays fixed at bottom */
#interestModal .modal-footer {
    flex-shrink: 0;
    background: transparent;
}

/* Prettier scrollbar */
#interestModal .modal-body::-webkit-scrollbar {
    width: 6px;
}
#interestModal .modal-body::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 8px;
}

/* Interest buttons styling (your existing style but optimized) */
.interest-btn {
    background: #f8f9fa;
    border: 1px solid #ccc;
    padding: 8px 14px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.25s;
    font-size: 14px;
    color: #333;
    user-select: none;
}

.interest-btn.active {
    background: #007bff !important;
    color: #fff !important;
    border-color: #007bff !important;
}

