/* ===== AUTHENTICATION PAGE STYLES ===== */

.auth-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background: #0a1f0f;
}

.auth-container {
  max-width: 480px;
  width: 100%;
}

.auth-box {
  background: #143d20;
  padding: 45px 40px;
  border-radius: 20px;
  border: 2px solid #1b5c2f;
}

.auth-box h2 {
  font-size: 32px;
  margin-bottom: 10px;
  text-align: center;
  color: #ffffff;
}

.auth-box > p {
  text-align: center;
  opacity: 0.8;
  margin-bottom: 35px;
  color: #b8e0d2;
  font-size: 16px;
}

/* ===== SOCIAL BUTTONS ===== */
.social-btn {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 15px;
}

.google-btn {
  background: #ffffff;
  color: #444;
  border: 2px solid #ddd;
}

.google-btn:hover {
  background: #f8f8f8;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.phone-btn {
  background: #00ff88;
  color: #0a1f0f;
  border: 2px solid #00ff88;
}

.phone-btn:hover {
  background: #00cc6f;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 255, 136, 0.3);
}

/* ===== DIVIDER ===== */
.divider {
  text-align: center;
  margin: 30px 0;
  position: relative;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #1b5c2f;
}

.divider span {
  background: #143d20;
  padding: 0 15px;
  position: relative;
  color: #b8e0d2;
  font-size: 14px;
}

/* ===== FORM ===== */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #00ff88;
  font-size: 14px;
}

.form-group input {
  width: 100%;
  padding: 14px 18px;
  background: #0d2915;
  border: 2px solid #1b5c2f;
  border-radius: 10px;
  color: #ffffff;
  font-size: 15px;
  outline: none;
  transition: 0.3s;
}

.form-group input:focus {
  border-color: #00ff88;
  background: #143d20;
}

.forgot-password {
  text-align: right;
  margin-bottom: 20px;
}

.forgot-password a {
  color: #00ff88;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.forgot-password a:hover {
  color: #00cc6f;
  text-decoration: underline;
}

.btn-submit {
  width: 100%;
  background: #00ff88;
  color: #0a1f0f;
  padding: 16px;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 10px;
  box-shadow: 0 6px 20px rgba(0, 255, 136, 0.3);
}

.btn-submit:hover {
  background: #00cc6f;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 255, 136, 0.5);
}

.btn-secondary {
  width: 100%;
  background: transparent;
  color: #00ff88;
  padding: 12px;
  border: 2px solid #00ff88;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
  transition: 0.3s;
}

.btn-secondary:hover {
  background: #00ff88;
  color: #0a1f0f;
}

.switch-form {
  text-align: center;
  margin-top: 25px;
  color: #b8e0d2;
  font-size: 15px;
}

.switch-form a {
  color: #00ff88;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.switch-form a:hover {
  color: #00cc6f;
  text-decoration: underline;
}

/* ===== MODAL ===== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background: #143d20;
  padding: 40px;
  border-radius: 20px;
  border: 2px solid #1b5c2f;
  max-width: 450px;
  width: 90%;
  position: relative;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 35px;
  color: #b8e0d2;
  cursor: pointer;
  transition: 0.3s;
  line-height: 1;
}

.close-modal:hover {
  color: #ffffff;
  transform: rotate(90deg);
}

.modal-content h3 {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 24px;
}

.modal-content p {
  margin-bottom: 25px;
  color: #b8e0d2;
  font-size: 15px;
}

#phone-display {
  color: #00ff88;
  font-weight: bold;
}

#recaptcha-container {
  margin: 20px 0;
}

/* ===== MOBILE RESPONSIVE ===== */
@media(max-width: 768px) {
  .auth-box {
    padding: 35px 25px;
  }

  .auth-box h2 {
    font-size: 28px;
  }

  .modal-content {
    padding: 30px 20px;
  }
}