/* public/auth.css - Estilos para a tela de login (Layout Split-Screen V2) */

:root {
    --primary-color: #FDB913; /* Amarelo Secco's */
    --primary-rgb: 253, 185, 19;
    --dark-color: #1a1d20;
    --text-color: #212529;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
    overflow-x: hidden;
}

/* Painel da Imagem (Esquerda) */
/* --- INÍCIO DA ALTERAÇÃO --- */
.branding-panel {
    /* background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('uploads/login.png'); -- REMOVIDO */
    background-size: cover;
    background-position: center;
}
/* --- FIM DA ALTERAÇÃO --- */

/* Painel do Formulário (Direita) */
.form-panel {
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    width: 100%;
    max-width: 420px;
    padding: 15px;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Conteúdo de Branding (acima do formulário) */
.branding-content {
    color: var(--text-color); /* Cor do texto para fundo claro */
}

.branding-logo {
    max-width: 120px;
}

.branding-content h1 {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--dark-color);
}

.branding-content .lead {
    font-size: 1.1rem;
    color: #6c757d; /* text-muted */
}

/* Caixa do Formulário */
.login-box {
    width: 100%;
}

.btn-primary {
    --bs-btn-bg: var(--primary-color);
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-hover-bg: #e4a60b;
    --bs-btn-hover-border-color: #e4a60b;
    --bs-btn-active-bg: #d0960a;
    --bs-btn-active-border-color: #d0960a;
    --bs-btn-color: #000;
    --bs-btn-hover-color: #000;
    --bs-btn-active-color: #000;
    font-weight: 500;
    padding: 0.75rem 1rem;
}

.form-control {
    padding: 0.75rem 1rem;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.25);
    background-color: #fff;
}

/* Overlay de Loading */
.loading-overlay { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(255, 255, 255, 0.7); 
    display: none; 
    justify-content: center; 
    align-items: center; 
    z-index: 9999; 
    backdrop-filter: blur(2px); 
}
.loading-overlay .spinner-border { 
    width: 3rem; 
    height: 3rem; 
    color: var(--primary-color); 
}

/* Em telas de celular, o painel esquerdo some e o direito ocupa tudo */
/* --- INÍCIO DA ALTERAÇÃO --- */
@media (max-width: 767.98px) {
    .form-panel {
        /* background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('uploads/login.png'); -- REMOVIDO */
        background-size: cover;
        background-position: center;
    }
    .branding-content {
        color: #fff;
        text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    }
    .branding-content h1, .branding-content .lead {
        color: #fff;
    }
    .login-box {
        background-color: rgba(255, 255, 255, 0.95);
        padding: 2rem;
        border-radius: 0.5rem;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
}
/* --- FIM DA ALTERAÇÃO --- */