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

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f6f9;
    color: #1f2937;
}

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

/* =========================
   ÁREA INSTITUCIONAL
========================= */

.login-brand {
    width: 48%;
    min-height: 100vh;

    background:
        linear-gradient(
            145deg,
            #071a33 0%,
            #0a2b51 55%,
            #0d3768 100%
        );

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 60px;
}

.brand-content {
    max-width: 500px;
    color: white;
}

.brand-icon {
    width: auto;
    height: auto;
    display: block;
    margin-bottom:40px;
}

.brand-icon img {
    display: block;
    width: auto;
    height: 150px;
    max-width: 90%;
}

.brand-content h1 {
    font-size: 48px;
    line-height: 1.05;
    font-weight: 700;

    margin-bottom: 25px;
}

.brand-content p {
    max-width: 420px;

    font-size: 17px;
    line-height: 1.7;

    color: #c9d4e3;
}

.brand-line {
    width: 60px;
    height: 3px;

    background: #d3a64a;

    margin: 32px 0 18px;
}

.brand-content span {
    font-size: 12px;

    letter-spacing: 1.5px;

    color: #9fb0c5;
}


/* =========================
   LOGIN
========================= */

.login-area {
    width: 52%;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px;
}

.login-box {
    width: 100%;
    max-width: 420px;
}

.login-header {
    margin-bottom: 32px;
}

.login-label {
    display: block;

    color: #b38732;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.8px;

    margin-bottom: 12px;
}

.login-header h2 {
    color: #0b284b;

    font-size: 32px;

    margin-bottom: 10px;
}

.login-header p {
    color: #6b7280;

    font-size: 14px;
    line-height: 1.5;
}


/* =========================
   FORMULÁRIO
========================= */

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    font-size: 13px;
    font-weight: 600;

    color: #374151;
}

.form-group input {
    width: 100%;
    height: 48px;

    border: 1px solid #d1d5db;
    border-radius: 6px;

    padding: 0 14px;

    background: white;

    font-size: 14px;

    outline: none;

    transition: 0.2s;
}

.form-group input:focus {
    border-color: #0d3768;

    box-shadow:
        0 0 0 3px rgba(13, 55, 104, 0.08);
}


/* SENHA */

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 50px;
}

.show-password {
    position: absolute;

    right: 12px;
    top: 50%;

    transform: translateY(-50%);

    border: none;
    background: transparent;

    color: #6b7280;

    cursor: pointer;

    font-size: 17px;
}


/* OPÇÕES */

.form-options {
    display: flex;

    justify-content: space-between;
    align-items: center;

    margin-top: -5px;
    margin-bottom: 25px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 13px;

    color: #6b7280;

    cursor: pointer;
}


/* BOTÃO */

.btn-login {
    width: 100%;
    height: 50px;

    border: none;
    border-radius: 6px;

    background: #0b2d55;

    color: white;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1px;

    cursor: pointer;

    transition: 0.2s;
}

.btn-login:hover {
    background: #103d70;
}


/* ALERTA */

.alert-error {
    padding: 12px 15px;

    margin-bottom: 20px;

    background: #fef2f2;

    border: 1px solid #fecaca;
    border-radius: 6px;

    color: #b91c1c;

    font-size: 13px;
}


/* RODAPÉ */

.login-footer {
    border-top: 1px solid #e5e7eb;

    margin-top: 35px;
    padding-top: 20px;

    display: flex;

    justify-content: space-between;

    font-size: 11px;

    color: #9ca3af;
}


/* =========================
   RESPONSIVO
========================= */

@media (max-width: 850px) {

    .login-brand {
        display: none;
    }

    .login-area {
        width: 100%;
    }

}

@media (max-width: 480px) {

    .login-area {
        padding: 25px;
    }

    .login-header h2 {
        font-size: 28px;
    }

}