.login-container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-color);
    position: relative;
    background-size: cover;
    background-position: center;
    color: var(--text-color);
  }

  .background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
  }

  .theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
  }

  .login-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 20px;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding-top: 80px; /* Added space for logo */
  }

  .logo-container {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .logo {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: white;
    padding: 5px;
  }

  .card-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
  }

  h1 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
  }

  .subtitle {
    color: var(--text-secondary);
    font-size: 0.875rem;
  }

  .switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
  }

  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    transition: .4s;
    border-radius: 30px;
    display: flex;
    align-items: center;
    padding: 0 5px;
  }

  .slider .icon {
    font-style: normal;
    transition: .4s;
    transform: translateX(0);
  }

  input:checked + .slider .icon {
    transform: translateX(30px);
  }

  .form-group {
    margin-bottom: 1.5rem;
  }

  label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.875rem;
    font-weight: 500;
  }

  .input-wrapper {
    position: relative;
  }

  input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--input-border);
    background: var(--input-bg);
    border-radius: 6px;
    color: var(--text-color);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
  }

  input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  }

  input.error {
    border-color: var(--error-color);
  }

  .error-message {
    color: var(--error-color);
    font-size: 0.75rem;
    margin-top: 0.25rem;
  }

  .toggle-password {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    color: var(--text-secondary);
  }

  .additional-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
  }

  .additional-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
  }

  .additional-links a:hover {
    color: var(--primary-color);
  }

  // 🎯 Estilos para seção de usuário logado
  .logged-in-section {
    margin-bottom: 1.5rem;
    
    .alert {
      padding: 1rem;
      border-radius: 8px;
      margin-bottom: 1rem;
      
      &.alert-info {
        background-color: rgba(54, 162, 235, 0.1);
        border: 1px solid rgba(54, 162, 235, 0.3);
        color: #1976d2;
        
        p {
          margin: 0.25rem 0;
          font-size: 0.9rem;
        }
      }
      
      &.alert-error {
        background-color: rgba(255, 99, 132, 0.1);
        border: 1px solid rgba(255, 99, 132, 0.3);
        color: #d32f2f;
        font-size: 0.9rem;
        margin-top: 1rem;
      }
    }
    
    .logged-in-actions {
      display: flex;
      gap: 0.75rem;
      margin-bottom: 1rem;
      
      .submit-button {
        flex: 1;
        font-size: 0.9rem;
        padding: 0.75rem;
        
        &.primary {
          background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        
        &.secondary {
          background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        }
      }
    }
    
    .divider {
      border: none;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
      margin: 1rem 0;
    }
    
    .or-text {
      text-align: center;
      font-size: 0.85rem;
      color: rgba(255, 255, 255, 0.7);
      margin: 0.5rem 0;
    }
  }

  @media (max-width: 600px) {
    .login-card {
      margin: 1rem;
      padding: 1.5rem;
      padding-top: 80px;
    }

    h1 {
      font-size: 1.5rem;
    }

    .additional-links {
      flex-direction: column;
      align-items: center;
      gap: 0.75rem;
    }

    .logged-in-actions {
      flex-direction: column;
      gap: 0.5rem;
    }
  }