@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* --- Variáveis de Cor e Estilo --- */
:root {
    --primary-color: #007bff;
    --primary-hover: #0056b3;
    --secondary-color: #f8f9fa;
    --text-color: #343a40;
    --bg-color: #ffffff;
    --dark-blue: #1e293b;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --border-color: #dee2e6;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* --- Reset Básico --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--secondary-color);
}

/* --- Layout Principal --- */
.main-container {
    display: flex;
    min-height: 100vh;
}

.form-column {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background-color: var(--bg-color);
}

.form-wrapper {
    width: 100%;
    max-width: 400px;
}

.form-wrapper-ar {
    width: 100%;
    max-width: 800px;
}

/* --- Coluna de Informação (Branding) --- */
.info-column {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-color));
    color: var(--bg-color);
    padding: 40px;
}

.info-wrapper {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.info-logo {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.info-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.info-description {
    font-size: 1rem;
    font-weight: 400;
    color: var(--light-gray);
    max-width: 450px;
}

/* --- Cabeçalho do Formulário --- */
.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h1 {
    font-size: 2rem;
    color: var(--text-color);
    font-weight: 600;
}

.form-header p {
    color: var(--gray);
}

/* --- Login Social --- */
.social-login {
    display: flex;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-color);
    border-radius: 8px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 8px;
}

.social-btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--primary-color);
}

.social-btn i {
    font-size: 1.2rem;
}

/* --- Divisor --- */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--gray);
    margin: 1.5rem 0;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.divider span {
    padding: 0 15px;
    font-size: 0.9rem;
}

/* --- Grupos de Input --- */
.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-color);
}

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.input-wrapper i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 15px; /* Ícone à esquerda para email */
    color: var(--gray);
    pointer-events: none; /* Permite clicar no input */
}

/* Ajuste específico para o input de senha para ter o ícone à esquerda e o botão à direita */
.input-group:nth-child(4) .input-wrapper i.bx-lock-alt {
    left: 15px;
}
.input-group:nth-child(4) .input-wrapper input {
    padding-left: 40px; /* Mais espaço para o ícone */
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--gray);
    font-size: 1.2rem;
}

/* --- Opções e Footer do Formulário --- */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--gray);
    cursor: pointer;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: var(--bg-color);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-btn:hover {
    background-color: var(--primary-hover);
}

.form-footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--gray);
}

.form-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.form-footer a:hover {
    text-decoration: underline;
}

.brasao_adm {
    width:400px
}

/* --- Responsividade --- */
@media (max-width: 992px) {
    .info-column {
        display: none; /* Oculta a coluna de branding em telas menores */
    }
    .form-column {
        flex: 1 1 100%; /* Ocupa toda a largura */
    }
}

@media (max-width: 480px) {
    .form-wrapper {
        padding: 0 10px;
    }
    .social-login {
        flex-direction: column;
    }
}