/* =====================================================
   Login Page CSS
   ===================================================== */

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
}

.container {
    display: flex;
    min-height: 100vh;
}

.imageContainer {
    flex: 1.5; /* Mantém a proporção de 63% */
    background-image: url('../images/bg_login.png'); /* Novo arquivo 1280px */
    background-repeat: no-repeat;
    background-position: center top; /* Centraliza horizontalmente e alinha ao topo */
    background-size: cover; /* Garante que preencha todo o container, cortando se necessário */
    display: flex;
    align-items: center; /* Centraliza conteúdo (ex: um botão de 'saiba mais') verticalmente */
    justify-content: center;
    position: relative;
}

/* Opcional: Adicionar o overlay sutil para dar contraste se necessário */
.imageContainer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Você pode usar um gradiente sutil aqui ou uma cor sólida com opacidade */
    background: linear-gradient(to right, rgba(255,255,255,0.1), rgba(0,0,0,0.05));
    pointer-events: none; /* Permite interações abaixo dele */
}

.formContainer {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.areaForm {
    width: 100%;
    max-width: 380px;
}

.logo_form {
    text-align: center;
    margin-bottom: 2rem;
}

.logo_form img {
    max-width: 180px;
    height: auto;
}

.form .group-form {
    margin-bottom: 1rem;
}

.form label {
    display: block;
    margin-bottom: 4px;
    font-weight: 500;
    font-size: 13px;
    color: #333;
}

.form input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.form input:focus {
    border-color: #4070f4;
    box-shadow: 0 0 0 2px rgba(64, 112, 244, 0.15);
}

.form .btn {
    display: block;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.form .btn.success {
    background: #4070f4;
    color: #fff;
}

.form .btn.success:hover {
    background: #3060d4;
}

@media (max-width: 768px) {
    .imageContainer { display: none; }
    .formContainer { padding: 1.5rem; }
}
