/*
 * NOME DO ARQUIVO: style_login.css
 * DESCRIÇÃO: Estilos para a página de Login com layout e link de recuperação aprimorados.
 * VERSÃO: 2.9
*/

:root {
    --bg-dark: #121212;
    --bg-light: #1e1e1e;
    --border-color: #3a3a3a;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --accent-blue: #007bff;
    --accent-red: #dc3545;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: var(--bg-dark);
    overflow: hidden;
}

.video-background {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100vh;
    width: auto;
    height: auto;
    z-index: 0;
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(18, 18, 18, 0.75);
}

.login-wrapper {
    display: flex;
    width: 100%;
    max-width: 800px;
    min-height: 500px;
    background-color: var(--bg-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 10;
    position: relative;
}

.login-brand-panel {
    flex: 1;
    background-color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.login-brand-panel img {
    max-width: 180px;
}

.login-form-panel {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-form-panel h1 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 30px 0;
}

.form-group {
    margin-bottom: 20px;
}

/* [ALTERADO] O rótulo "Senha" agora está dentro de um wrapper flexível */
.label-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.forgot-password-link {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.forgot-password-link:hover {
    color: var(--accent-blue);
    text-decoration: underline;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background-color: #2a2a2a;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.form-group input:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.login-button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 10px;
    background-color: var(--accent-blue);
    color: white;
}
.login-button:hover {
    background-color: #0069d9;
}

.login-footer {
    margin-top: 25px;
    font-size: 0.9rem;
    text-align: center;
    color: var(--text-secondary);
}
.login-footer a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
}
.login-footer a:hover {
    text-decoration: underline;
}

.error-message {
    background-color: rgba(220, 53, 69, 0.1);
    color: #f8d7da;
    border: 1px solid rgba(220, 53, 69, 0.5);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.password-group {
    position: relative;
}

.password-group .fa-eye,
.password-group .fa-eye-slash {
    position: absolute;
    /* [VERIFICADO] O valor de 'top' continua correto após a mudança de estrutura */
    top: 42px;
    right: 15px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

.password-group .fa-eye:hover,
.password-group .fa-eye-slash:hover {
    color: var(--text-primary);
}

/* [REMOVIDO] A regra .form-extra-links foi substituída pela nova estrutura .label-wrapper */