/* Auth Modal - Clean CSS */
.auth-modal {
    position: fixed;
    z-index: 1000;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 20px;
  }
  
  .auth-modal-content {
    background: var(--dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    max-width: 380px;
    width: 100%;
    position: relative;
    color: var(--white);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  }
  
  .auth-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: var(--gray-400);
    background: rgba(255, 255, 255, 0.05);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  
  .auth-modal-close:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
  }
  
  /* Header */
  .auth-header {
    text-align: center;
    margin-bottom: var(--space-md);
  }
  
  .auth-header h2 {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-xs);
  }
  
  /* Forms Container */
  .auth-forms-container {
    max-width: 400px;
    margin: 0 auto;
  }
  
  /* Tabs */
  .auth-tabs {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .modal-auth-tab {
    flex: 1;
    padding: var(--space-sm);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--gray-400);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
  }
  
  .modal-auth-tab.active {
    color: var(--white);
    border-bottom-color: var(--primary);
  }
  
  .modal-auth-tab:hover {
    color: var(--white);
  }
  
  /* Honeypot fields for bot detection - Hide from humans, but visible to bots reading HTML */
  .honeypot-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
  }
  
  /* Forms */
  .modal-auth-form {
    display: none;
  }
  
  .modal-auth-form.active {
    display: block;
  }
  
  .modal-auth-form h3 {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--space-lg);
    text-align: center;
  }
  
  /* Form Fields */
  .form-field {
    margin-bottom: var(--space-md);
  }
  
  .form-field.compact {
    margin-bottom: var(--space-sm);
  }
  
  .form-field input {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--white);
    font-size: var(--text-base);
    font-family: var(--font-primary);
    transition: border-color 0.3s ease;
  }
  
  .form-field input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
  }
  
  .form-field input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
  }
  
  .form-field input:focus::placeholder {
    color: rgba(255, 255, 255, 0.3);
  }
  
  .form-field small {
    display: block;
    color: var(--gray-400);
    font-size: 0.75rem;
    margin-top: 0.25rem;
  }
  
  /* Submit Button - UPDATED FOR YOUR PADDING */
  .form-submit {
    margin-top: var(--space-md);
  }
  
  .auth-modal .nav-btn {
    width: 100%;
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
    padding: 1.2rem; /* YOUR CUSTOM PADDING */
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-primary);
  }
  
  .auth-modal .nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 45, 85, 0.4);
  }
  
  .auth-modal .nav-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
  }
  
  /* Error Message */
  .auth-error {
    display: none;
    background: rgba(255, 45, 85, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: var(--space-sm);
    border-radius: 8px;
    margin-top: var(--space-md);
    text-align: center;
    font-size: 0.875rem;
  }
  
  .auth-error.show {
    display: block;
  }
  
  /* Responsive */
  @media (max-width: 480px) {
    .auth-modal {
      padding: 60px 16px 16px;
    }
    
    .auth-modal-content {
      padding: 1.25rem;
      max-width: 100%;
    }
    
    .auth-header h2 {
      font-size: 1.25rem;
    }
  }
  