/* Definições de Variáveis e Reset Básico */
:root {
    --primary-color: #007bff; /* Azul */
    --secondary-color: #6c757d; /* Cinza Escuro */
    --highlight-color: #ff6f00; /* Laranja */
    --text-dark: #343a40; 
    --bg-light: #f8f9fa; 
    --card-bg: #ffffff; 
    --font-family: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
    /* Fundo degradê para dar um toque mais moderno */
    background: linear-gradient(135deg, var(--bg-light) 0%, #e9ecef 100%); 
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* --- Layout Principal --- */
.login-wrapper {
    display: flex;
    max-width: 1000px;
    margin: 40px auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background-color: var(--card-bg);
}

/* Container do Formulário de Login */
.login-container {
    padding: 40px;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header .logo {
    max-width: 120px;
    margin-bottom: 15px;
}

.login-header h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.login-header p {
    color: var(--secondary-color);
    font-size: 0.95rem;
}

/* Formulário */
.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.login-form label i {
    margin-right: 8px;
    color: var(--primary-color);
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.login-form input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
}

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

/* Botões */
.btn-primary {
    display: block;
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    background-color: var(--highlight-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #cc5800;
}

/* Informações Laterais */
.login-info-box {
    background-color: var(--primary-color);
    color: white;
    padding: 40px;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.login-info-box h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: white;
}

.login-info-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

.login-info-box ul {
    list-style: none;
    text-align: left;
}

.login-info-box ul li {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 0.95rem;
}

.login-info-box ul li i {
    margin-right: 10px;
    color: var(--highlight-color);
}

/* Footer do Formulário */
.login-footer {
    text-align: center;
    margin-top: 30px;
    font-size: 0.95rem;
}

.btn-adhesion {
    display: block;
    margin-top: 10px;
    padding: 10px;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.btn-adhesion:hover {
    background-color: #5a6268;
}

/* Responsividade */
@media (max-width: 850px) {
    .login-wrapper {
        flex-direction: column;
        width: 90%;
        max-width: 500px;
    }

    .login-container, .login-info-box {
        width: 100%;
    }
    
    .login-info-box {
        padding: 30px;
    }
}
