/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html, body {
    height: 100%;
}

/* CONTAINER GERAL */
.login-page {
    display: flex;
    height: 100vh;
}

/* ===========================
   LADO ESQUERDO (FORM)
=========================== */
.login-left {
    flex: 1;
    background: none !important;
    background: #22765C;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card menor e centralizado */
.login-card {
    width: 360px;                 /* tamanho do card */
    background: #ffffff;
    padding: 28px 30px 32px 30px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    text-align: left;
}

.login-card h1 {
    font-size: 22px;
    margin-bottom: 6px;
    color: #0f172a;
}

.login-card .subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 22px;
}

/* Campos */
.form-group {
    margin-bottom: 14px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
    display: block;
}

.form-group input {
    width: 100%;
    padding: 9px 10px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #f3f4ff;
    font-size: 14px;
}

/* Botão Acessar */
.btn-login {
    width: 100%;
    margin-top: 10px;
    padding: 11px;
    border-radius: 8px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    background: #0f331d;          /* cor solicitada */
    color: #ffffff;
    transition: background 0.2s ease, transform 0.1s ease;
}

.btn-login:hover {
    background: #144327;
    transform: translateY(-1px);
}

/* Link esqueci senha */
.forgot-link {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    text-align: center;
    color: #0f331d;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* ===========================
   LADO DIREITO (IMAGEM VERDE)
=========================== */
.login-right {
    flex: 1;
    background-image: url("../img/imagemLateralDireita.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 40px;
    color: #0F331D;
    text-align: center;
}

.brand-box {
    text-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.brand-logo {
    width: 130px;
    margin-bottom: 16px;
}

.brand-box h2 {
    font-size: 22px;
    margin-bottom: 4px;
}

.brand-box p {
    font-size: 14px;
    opacity: 0.95;
}

/* ===========================
   RESPONSIVO
=========================== */
@media (max-width: 900px) {
    .login-page {
        flex-direction: column;
    }

    .login-left,
    .login-right {
        flex: none;
        width: 100%;
        height: 50vh;
    }

    .login-right {
        padding-bottom: 24px;
    }
}

@media (max-width: 600px) {
    .login-card {
        width: 90%;
    }

    .brand-logo {
        width: 105px;
    }

    .brand-box h2 {
        font-size: 18px;
    }

    .brand-box p {
        font-size: 13px;
    }
}
