/* ========================================= */
/*          ARQUIVO: public/css/login.css    */
/* ========================================= */

/* ===== RESET E CONFIGURAÇÕES GLOBAIS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", "Poppins", sans-serif;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f4f5f7;
    flex-direction: column;
}

/* ===== CONTAINER PRINCIPAL ===== */
.container {
    width: 900px;
    height: 500px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ===== SEÇÃO DE BOAS-VINDAS (LADO ESQUERDO) ===== */
.welcome-section {
    flex: 1;
    background: linear-gradient(135deg, #e8eef8, #f9fafc);
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.welcome-section h1 {
    font-size: 2.2em;
    margin-bottom: 10px;
    font-weight: 600;
    text-align: center;
}

.welcome-section p {
    font-size: 1em;
    text-align: center;
    color: #555;
    max-width: 85%;
}

/* Formas decorativas no fundo */
.welcome-section::before,
.welcome-section::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(74, 108, 247, 0.05);
    z-index: 1;
}

.welcome-section::before {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -60px;
}

.welcome-section::after {
    width: 400px;
    height: 400px;
    bottom: -120px;
    right: -80px;
}

/* ===== SEÇÃO DE LOGIN (LADO DIREITO) ===== */
.login-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
}

.login-section h2 {
    color: #222;
    margin-bottom: 25px;
    font-size: 1.8em;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 14px 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    outline: none;
    font-size: 1em;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input::placeholder {
    color: #aaa;
}

.form-group input:focus {
    border-color: #4a6cf7;
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.15);
}

.options {
    display: flex;
    justify-content: flex-end; /* Alinha 'Esqueceu a senha?' à direita */
    align-items: center;
    font-size: 0.9em;
    margin-bottom: 25px;
}

.options a {
    color: #4a6cf7;
    text-decoration: none;
}

.options a:hover {
    text-decoration: underline;
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: #4a6cf7;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1.1em;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s;
}

.btn-login:hover {
    background: #3b5ce0;
}

.btn-login:active {
    transform: scale(0.98);
}

/* ===== MENSAGEM DE ERRO ===== */
.error-message {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 0.9em;
    font-weight: 500;
}


/* ===== RODAPÉ ===== */
footer {
    margin-top: 25px;
    text-align: center;
    font-size: 0.85em;
    color: #777;
}