/* Modern Minimalist SignUp Design */
/* Shared auth styles loaded from auth-shared.css */

.signup-container {
  min-height: calc(100vh - 60px); /* Adjust for existing header */
  background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
  padding-top: 2rem;
}

/* Alert Styles */
.auth-alert {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: none;
}

.auth-alert.alert-danger {
  background: linear-gradient(135deg, #fef2f2 0%, var(--fs-error-light) 100%);
  color: #dc2626;
  border-left: 4px solid var(--fs-error);
}

.alert-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.alert-content {
  flex: 1;
}

.alert-content p {
  margin: 0;
  font-size: 0.875rem;
}

/* Special padding for password fields with both generator and toggle */
.input-wrapper:has(.password-generator) .form-input {
  padding-right: 5.5rem;
}

/* Password Generator Button */
.password-generator {
  position: absolute;
  right: 3rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--fs-text-muted);
  cursor: pointer;
  padding: 0.375rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 2;
}

.password-generator:hover {
  color: var(--fs-accent);
  background: rgba(240, 138, 18, 0.1);
}

.password-generator:hover path {
  stroke: var(--fs-accent);
}

.password-generator:active {
  transform: translateY(-50%) scale(0.95);
}

/* Checkbox Styles (signup-specific overrides) */
.form-check-group {
  margin-bottom: 1.5rem;
}

.checkbox-wrapper {
  align-items: flex-start;
  line-height: 1.5;
}

.checkbox-custom {
  min-width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.checkbox-label {
  line-height: 1.5;
}

.checkbox-label a {
  color: var(--fs-accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.checkbox-label a:hover {
  color: #d67a0d;
  text-decoration: underline;
}

/* Footer Text */
.auth-footer-text {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--fs-text-secondary);
}

.auth-footer-text a {
  color: var(--fs-accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.auth-footer-text a:hover {
  color: #d67a0d;
  text-decoration: underline;
}

.link-orange {
  color: var(--fs-accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.link-orange:hover {
  color: #d67a0d;
  text-decoration: underline;
}

/* Debug Error Details */
.debug-error-details,
.raw-error-content {
  background: #f9fafb;
  border: 1px solid var(--fs-border-default);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  color: var(--fs-text-secondary);
}

.debug-error-details h4,
.raw-error-content h4 {
  font-size: 0.875rem;
  color: #374151;
  margin: 0 0 0.5rem 0;
}

.debug-error-details p,
.raw-error-content pre {
  margin: 0.25rem 0;
  font-family: monospace;
}

/* Mobile Responsiveness (signup-specific) */
@media (max-width: 480px) {
  .auth-subtitle {
    font-size: 0.875rem;
  }

  .input-wrapper:has(.password-generator) .form-input {
    padding-right: 4.5rem;
  }

  .password-generator {
    right: 2.5rem;
    padding: 0.25rem;
  }

  .password-toggle {
    padding: 0.125rem;
  }
}

@media (max-width: 320px) {
  .auth-title {
    font-size: 1.375rem;
  }

  .form-input {
    font-size: 0.9375rem;
  }

  .input-wrapper:has(.password-generator) .form-input {
    padding-right: 4rem;
  }

  .password-generator {
    right: 2.25rem;
  }
}

/* Focus visible for better keyboard navigation (signup-specific) */
.btn-primary:focus-visible,
.password-generator:focus-visible,
.password-toggle:focus-visible,
.link-orange:focus-visible {
  outline: 2px solid var(--fs-accent);
  outline-offset: 2px;
}
