/* ============================================================================
   CAMALEAO CAMISAS - AUTH CSS
   Tela de login
   ============================================================================ */

.auth-pagina {
    min-height: 100vh;
    display: flex;
    background: linear-gradient(135deg, #c03800 0%, #f04800 50%, #ff6b2b 100%);
}

/* -- Lado esquerdo: branding -- */
.auth-branding {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 64px;
    color: #fff;
}

.auth-branding-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-branding-logo span {
    opacity: 0.7;
    font-weight: 400;
}

.auth-branding h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.auth-branding p {
    font-size: 1.125rem;
    opacity: 0.85;
    line-height: 1.6;
    max-width: 480px;
}

.auth-features {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    opacity: 0.9;
}

.auth-feature-icone {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

/* -- Lado direito: formulario -- */
.auth-form-container {
    width: 480px;
    min-height: 100vh;
    background: var(--cor-fundo-card);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

.auth-form-header {
    margin-bottom: 32px;
}

.auth-form-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cor-texto);
    margin-bottom: 8px;
}

.auth-form-header p {
    color: var(--cor-texto-secundario);
    font-size: 0.9375rem;
}

.auth-form .form-grupo {
    margin-bottom: 20px;
}

.auth-form .form-input {
    padding: 12px 14px;
}

.auth-form .btn-primario {
    padding: 12px;
    font-size: 1rem;
    margin-top: 8px;
}

/* -- Mensagem de erro global -- */
.auth-erro {
    background: var(--cor-erro-light);
    border: 1px solid #fecaca;
    border-radius: var(--borda-raio-md);
    padding: 12px 16px;
    color: var(--cor-erro);
    font-size: 0.875rem;
    margin-bottom: 16px;
    display: none;
}

.auth-erro.visivel {
    display: block;
}

/* -- Senha visibilidade -- */
.input-senha-wrapper {
    position: relative;
}

.input-senha-wrapper .form-input {
    padding-right: 44px;
}

.btn-ver-senha {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--cor-texto-terciario);
    padding: 4px 8px;
    font-size: 0.875rem;
}

.btn-ver-senha:hover {
    color: var(--cor-texto);
}

/* -- Responsivo -- */
@media (max-width: 1024px) {
    .auth-branding {
        display: none;
    }

    .auth-form-container {
        width: 100%;
        min-height: 100vh;
    }
}

@media (max-width: 480px) {
    .auth-form-container {
        padding: 24px;
    }
}
