:root {
    --primary: #1f3a5f;
    --text: #1a1a1a;
    --muted: #6b7280;
}

/* BASE */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #eef1f5;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CONTAINER */
.container-login {
    width: 1100px;
    max-width: 95%;
    height: 620px;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 30px 70px rgba(0,0,0,0.15);
}

/* =======================
   FORMULÁRIO
======================= */
.login-form {
    width: 45%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

/* LOGO ACIMA DO TEXTO */
.logo-form {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

    .logo-form img {
        width: 200px;
        opacity: 0.9;
    }

/* TEXTO */
.subtitle {
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 35px;
}

label {
    font-size: 13px;
    margin-bottom: 6px;
    display: block;
}

input.form-control {
    width: 100%;
    padding: 14px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    font-size: 14px;
    background-color: #eef4ff;
}

    input.form-control:focus {
        outline: none;
        border-color: var(--primary);
        background-color: #ffffff;
    }

/* BOTÃO */
input[type="submit"] {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.2s ease;
}

    input[type="submit"]:hover {
        background: #162c48;
    }

/* =======================
   IMAGEM DIREITA
======================= */
.login-image {
    width: 55%;
    position: relative;
    background-image: url("https://moraescoelho.com.br/wp-content/uploads/2022/04/bg_bar_2.jpg");
    background-size: cover;
    background-position: center;
}

.login-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient( to bottom right, rgba(31, 58, 95, 0.85), rgba(31, 58, 95, 0.70) );
}


/* =======================
   RESPONSIVO
======================= */
@media (max-width: 900px) {
    .container-login {
        flex-direction: column;
        height: auto;
    }

    .login-form,
    .login-image {
        width: 100%;
    }

    .login-image {
        height: 240px;
    }

    .logo-form img {
        width: 160px;
    }
}
