/* ============================================
   MODEL SIGNUP MODAL - 2025 Design
   ============================================ */

/* Modal Overlay */
.signup-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.signup-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Modal Content */
.signup-modal-content {
  background: linear-gradient(135deg, #1a0033 0%, #2d0052 50%, #1a0033 100%);
  border: 2px solid rgba(255, 105, 180, 0.5);
  border-radius: 24px;
  padding: 40px;
  max-width: 440px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(255, 20, 147, 0.4),
              0 0 100px rgba(138, 43, 226, 0.3);
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.signup-modal-overlay.active .signup-modal-content {
  transform: scale(1) translateY(0);
}

/* Close Button */
.signup-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  transition: all 0.2s ease;
  padding: 0;
}

.signup-modal-close:hover {
  background: rgba(255, 20, 147, 0.2);
  border-color: #FF1493;
  color: #FF1493;
  transform: rotate(90deg);
}

/* Header */
.signup-modal-header {
  text-align: center;
  margin-bottom: 32px;
}

.signup-modal-logo {
  max-width: 140px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 15px rgba(255, 105, 180, 0.7));
  animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% {
    filter: drop-shadow(0 0 15px rgba(255, 105, 180, 0.7));
  }
  50% {
    filter: drop-shadow(0 0 25px rgba(255, 105, 180, 1));
  }
}

.signup-modal-header h2 {
  color: #FFFFFF;
  font-size: 32px;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 0 20px rgba(255, 105, 180, 0.6);
}

.signup-modal-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  margin: 0;
}

/* Success Message */
.signup-success {
  background: rgba(76, 175, 80, 0.15);
  border: 2px solid rgba(76, 175, 80, 0.5);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  text-align: center;
  animation: slideDown 0.3s ease;
}

.signup-success i {
  font-size: 48px;
  color: #4CAF50;
  margin-bottom: 16px;
}

.signup-success h3 {
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px 0;
}

.signup-success p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* Error Message */
.signup-error {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 68, 68, 0.15);
  border: 1px solid rgba(255, 68, 68, 0.5);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 24px;
  color: #ff6b6b;
  font-size: 14px;
  animation: slideDown 0.3s ease;
}

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

.signup-error i {
  font-size: 18px;
  flex-shrink: 0;
}

/* Form */
.signup-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.signup-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.signup-form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 600;
}

.signup-form-group label i {
  font-size: 14px;
  color: #FF69B4;
}

.signup-form-group label .required {
  color: #FF69B4;
}

.signup-form-group input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid rgba(255, 105, 180, 0.3);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
}

.signup-form-group input:focus {
  outline: none;
  border-color: #FF69B4;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 20px rgba(255, 105, 180, 0.3);
}

.signup-form-group input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.signup-helper-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: -4px;
}

/* Password Wrapper */
.signup-password-wrapper {
  position: relative;
  width: 100%;
}

.signup-password-wrapper input {
  padding-right: 48px;
}

.signup-password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.signup-password-toggle:hover {
  color: #FF69B4;
}

.signup-password-toggle i {
  font-size: 16px;
}

/* Submit Button */
.signup-submit-btn {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #FF1493 0%, #FF69B4 50%, #FF00FF 100%);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255, 20, 147, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
}

.signup-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 20, 147, 0.6);
}

.signup-submit-btn:active:not(:disabled) {
  transform: translateY(0);
}

.signup-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.signup-loader {
  display: inline-block;
}

.signup-loader i {
  font-size: 18px;
}

/* Divider */
.signup-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 24px 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

.signup-divider::before,
.signup-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.signup-divider span {
  padding: 0 16px;
}

/* Sign In Link */
.signup-signin-link {
  text-align: center;
}

.signup-signin-link p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin: 0;
}

.signup-signin-link a {
  color: #FF69B4;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.signup-signin-link a:hover {
  color: #FF1493;
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 480px) {
  .signup-modal-content {
    padding: 32px 24px;
    border-radius: 20px;
  }

  .signup-modal-header h2 {
    font-size: 24px;
  }

  .signup-modal-logo {
    max-width: 80px;
  }

  .signup-form-group input {
    padding: 12px 14px;
    font-size: 14px;
  }

  .signup-submit-btn {
    padding: 14px;
    font-size: 15px;
  }
}

/* Smooth Scrollbar for Modal Content */
.signup-modal-content::-webkit-scrollbar {
  width: 8px;
}

.signup-modal-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.signup-modal-content::-webkit-scrollbar-thumb {
  background: rgba(255, 105, 180, 0.5);
  border-radius: 4px;
}

.signup-modal-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 105, 180, 0.7);
}

/* Focus Styles for Accessibility */
.signup-modal-content *:focus-visible {
  outline: 2px solid #FF69B4;
  outline-offset: 2px;
}
