/* --- CONFIGURAÇÕES GERAIS --- */
:root {
    --cor-primaria: #fcd036;
    --cor-primaria-hover: #e4bb31;
    --cor-texto: #1a1a1a;
    --cor-texto-claro: #6c757d;
    --cor-fundo: #f8f9fa;
    --cor-branco: #ffffff;
    --cor-perigo: #dc3545;
    --cor-borda: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--cor-fundo);
    color: var(--cor-texto);
}

/* --- ESTRUTURA PRINCIPAL (SPLIT SCREEN) --- */
.login-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.login-branding {
    width: 50%;
    background-image: url('https://images.unsplash.com/photo-1541534401786-2077ed85a34d?q=80&w=2070'); /* IMAGEM DE EXEMPLO - SUBSTITUA PELA SUA */
    background-size: cover;
    background-position: center;
    color: var(--cor-branco);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}
/* Overlay escuro para melhor legibilidade do texto */
.login-branding::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.branding-content {
    position: relative;
    text-align: center;
    z-index: 1;
}
.branding-content .team-logo {
    max-width: 150px;
    margin-bottom: 20px;
}
.branding-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.branding-content p {
    font-size: 1.1rem;
    max-width: 400px;
}

/* --- ÁREA DO FORMULÁRIO --- */
.login-form-area {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.form-content {
    width: 100%;
    max-width: 400px;
}
.form-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}
.form-content .subtitle {
    color: var(--cor-texto-claro);
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 20px;
}
.input-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
}
.input-with-icon {
    position: relative;
}
.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cor-texto-claro);
}
.input-group input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid var(--cor-borda);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
}
.input-group input:focus {
    outline: none;
    border-color: var(--cor-primaria);
    box-shadow: 0 0 0 3px rgba(252, 208, 54, 0.3);
}

.form-options {
    text-align: right;
    margin-bottom: 20px;
}
.form-options a {
    color: var(--cor-texto-claro);
    text-decoration: none;
    font-size: 0.9rem;
}
.form-options a:hover {
    text-decoration: underline;
}

/* --- BOTÕES E SEPARADOR --- */
.btn {
    display: block;
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-primary {
    background-color: var(--cor-primaria);
    color: var(--cor-texto);
    border-color: var(--cor-primaria);
}
.btn-primary:hover {
    background-color: var(--cor-primaria-hover);
    border-color: var(--cor-primaria-hover);
}
.btn-secondary {
    background-color: transparent;
    color: var(--cor-texto);
    border-color: var(--cor-borda);
}
.btn-secondary:hover {
    background-color: var(--cor-fundo);
    border-color: var(--cor-texto);
}

.separator {
    text-align: center;
    color: var(--cor-texto-claro);
    margin: 20px 0;
    position: relative;
}
.separator::before, .separator::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 20px);
    height: 1px;
    background-color: var(--cor-borda);
}
.separator::before { left: 0; }
.separator::after { right: 0; }

/* --- AVISOS DE ERRO --- */
.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
}

/* --- RESPONSIVIDADE (MOBILE) --- */
@media (max-width: 992px) {
    .login-wrapper {
        flex-direction: column;
    }
    .login-branding, .login-form-area {
        width: 100%;
    }
    .login-branding {
        min-height: 250px;
        padding: 20px;
    }
    .branding-content h1 { font-size: 2rem; }
    .login-form-area { padding: 30px 20px; }
}