/* Sign Up Modal Styles */
.terms-conditions-scroll {
  max-height: min(68vh, 720px);
  overflow-y: auto;
  font-size: 0.9rem;
}

.terms-conditions-scroll h6 {
  color: var(--primary-color, #6a0dad);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.terms-conditions-scroll p {
  margin-bottom: 0.75rem;
}

.terms-conditions-scroll ul {
  margin-bottom: 0.75rem;
}

.signup-step {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#signupModal .modal-header {
  background: linear-gradient(135deg, #6a0dad, #ec407a);
  color: white;
}

#signupModal .modal-title {
  font-weight: 600;
}

#signupModal .btn-close {
  filter: brightness(0) invert(1);
}

#signupModal .form-label {
  font-weight: 500;
  color: #333;
}

#signupModal .form-control:focus {
  border-color: #6a0dad;
  box-shadow: 0 0 0 0.2rem rgba(106, 13, 173, 0.25);
}

#signupModal .btn-primary {
  background: linear-gradient(135deg, #6a0dad, #ec407a);
  border: none;
  font-weight: 600;
  padding: 12px;
}

#signupModal .btn-primary:hover {
  background: linear-gradient(135deg, #5a0b9a, #d63669);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(106, 13, 173, 0.3);
}

#signupModal .btn-outline-secondary {
  border-color: #6a0dad;
  color: #6a0dad;
}

#signupModal .btn-outline-secondary:hover {
  background-color: #6a0dad;
  border-color: #6a0dad;
  color: white;
}

#signupModal .text-primary {
  color: #6a0dad !important;
}

#signupModal .text-success {
  color: #28a745 !important;
}

#signupModal .terms-link {
  display: inline;
  border: 0;
  background: transparent;
  padding: 0;
  color: #6a0dad;
  font-weight: 600;
  text-decoration: underline;
}

#signupModal .terms-link:hover,
#signupModal .terms-link:focus {
  color: #ec407a;
}

#termsModal .modal-header {
  background: linear-gradient(135deg, #6a0dad, #ec407a);
  color: white;
}

#termsModal .modal-dialog {
  max-width: min(920px, calc(100% - 1rem));
}

#termsModal .modal-content {
  max-height: 86vh;
}

#termsModal .btn-close {
  filter: brightness(0) invert(1);
}

#termsModal .btn-primary {
  background: linear-gradient(135deg, #6a0dad, #ec407a);
  border: none;
  font-weight: 600;
}

/* OTP Input Styling */
#otpCode {
  letter-spacing: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

/* Loading Spinner */
.spinner-border-sm {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  #signupModal .modal-dialog {
    margin: 0.5rem;
  }
  
  .terms-conditions-scroll {
    max-height: 65vh;
  }
}
