/* ===== VARIÁVEIS ===== */
:root {
    --primary-color: #0ef;
    --secondary-color: #1f293a;
    --error-color: #ff4444;
    --success-color: #00C851;
    --google-blue: #4285F4;
    --whatsapp-green: #25D366;
    --white: #fff;
    --divider-color: rgba(255, 255, 255, 0.5);
  }
  
  /* ===== BASE ===== */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
  }
  
  body {
    min-height: 100vh;
    background: var(--secondary-color);
    overflow-x: hidden;
  }
  
  /* ===== ESTRUTURA AUTH ===== */
  .auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
  }
  
  .auth-box {
    width: 100%;
    max-width: 400px;
    background: rgba(31, 41, 58, 0.8);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    color: var(--white);
  }
  
  .auth-header {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .auth-header h2 {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 10px;
  }
  
  .auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
  }
  
  .auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
  }
  
  /* ===== FORMULÁRIOS ===== */
  .form-group {
    position: relative;
    margin-bottom: 30px;
  }
  
  .form-group input {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    color: var(--white);
    border: none;
    border-bottom: 1px solid var(--white);
    outline: none;
    background: transparent;
  }
  
  .form-group label {
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 16px;
    color: var(--white);
    pointer-events: none;
    transition: 0.5s;
  }
  
  .form-group input:focus ~ label,
  .form-group input:valid ~ label {
    top: -20px;
    left: 0;
    color: var(--primary-color);
    font-size: 12px;
  }
  
  /* ===== BOTÕES ===== */
  .btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
  }
  
  .btn-primary {
    background: var(--primary-color);
    color: var(--secondary-color);
  }
  
  .btn-google {
    background: var(--google-blue);
    color: var(--white);
  }
  
  .btn-phone {
    background: var(--whatsapp-green);
    color: var(--white);
  }
  
  .btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
  }
  
  /* ===== LINKS ===== */
  .auth-links {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
  }
  
  .auth-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
  }
  
  .auth-links a:hover,
  .auth-footer a:hover {
    text-decoration: underline;
  }
  
  /* ===== DIVISOR ===== */
  .divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: var(--divider-color);
  }
  
  .divider::before,
  .divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid var(--divider-color);
  }
  
  .divider span {
    padding: 0 10px;
  }
  
  /* ===== MENSAGENS ===== */
  .alert {
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    display: none;
  }
  
  .alert-error {
    background-color: rgba(255, 68, 68, 0.2);
    border: 1px solid var(--error-color);
    color: var(--error-color);
    display: block;
  }
  
  .alert-success {
    background-color: rgba(0, 200, 81, 0.2);
    border: 1px solid var(--success-color);
    color: var(--success-color);
    display: block;
  }
  
  /* ===== RESPONSIVIDADE ===== */
  @media (max-width: 480px) {
    .auth-box {
      padding: 30px 20px;
    }
    
    .auth-links {
      flex-direction: column;
      gap: 10px;
    }
  }