/* login.css */

/* --- Variáveis de Cores (as mesmas do base.css) --- */
:root {
    --primary-color: #0056b3; /* Azul do logo e botões */
    --secondary-color: #ff9933; /* Laranja do fundo */
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f5f5f5;
    --border-color: #ddd;
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
    --hover-blue: #004494;
}

/* --- Fontes e Estilos Globais --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

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

html, body {
    height: 100%;
    font-family: 'Montserrat', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--secondary-color); /* Fundo laranja para a página inteira */
}

/* --- Container principal com duas colunas --- */
.login-container {
    display: flex;
    width: 100%;
    height: 100%;
}

/* Painel da esquerda (logo e texto) */
.login-left-panel {
    background-color: #ffffff;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.logo-container {
    margin-bottom: 20px;
}

.logo-img {
    width: 120px;
    height: auto;
}

.brand-name {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 400;
    margin-top: 5px;
    letter-spacing: 2px;
}

/* Painel da direita (formulário) */
.login-right-panel {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.login-form {
    width: 80%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.login-form input {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
}

.login-form input::placeholder {
    color: #a0a0a0;
}

.forgot-password {
    text-align: right;
    color: var(--primary-color);
    font-size: 0.9rem;
    text-decoration: none;
    margin-top: -10px;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-button {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-button:hover {
    background-color: var(--hover-blue);
}

/* Classes de acessibilidade */
.label-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }

    .login-left-panel, .login-right-panel {
        width: 100%;
        height: 50vh;
    }
}