@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
    --panel: #ffffff;
    --ink: #0f172a;
    --muted: #6b7280;
    --line: #e6e9ee;
    --brand: #197d74;
    --hero-1: #fff3e4;
    --hero-2: #ffe6cc;
}

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

html,
body {
    height: 100vh; 
    width: 100vw;
    overflow: hidden; 
}

body {
    font-family: Poppins, sans-serif;
    color: var(--ink);
    background: #111;
}

/* ======= LAYOUT PRINCIPAL ======= */
section {
    height: 100vh; 
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
}

/* ======= LADO ESQUERDO ======= */
.divImg {
    position: relative;
    background: radial-gradient(1400px 600px at -10% -20%, var(--hero-2), var(--hero-1) 40%, #fde6cf 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 100%;
}

.divImg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ======= LADO DIREITO ======= */
.divFormLogin {
    background: #f7fafb;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 
    padding: 30px;
    height: 100%;
}

.logo-login {
    display: block;
    width: 90%;
    max-width: 360px;
    margin-bottom: 30px;
}

.divFormLogin h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.divFormLogin form {
    width: 80%;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 22px 60px rgba(10, 32, 34, .12);
    padding: 32px 28px 20px;
}

/* ======= ESTILO DOS INPUTS ======= */
label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #233;
    margin-bottom: 8px;
}

input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    height: 45px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    background: #fbfbfb;
    padding-left: 14px;
    padding-right: 14px;
    font-family: inherit;
    color: var(--ink);
    outline: none;
    transition: border-color 0.2s;
    display: block;
}

input:focus {
    border-color: #b5d9d4;
}

.password {
    margin-top: 16px;
    width: 100%;
    display: block;
}

/* Regra de segurança para garantir visibilidade */
#password {
    visibility: visible !important;
    opacity: 1 !important;
    text-transform: none !important;
}

/* ======= ALINHAMENTO CHECKBOXES ======= */
.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
}

.remember,
.show-password-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
    cursor: pointer;
}

.remember input,
.show-password-label input {
    width: 15px;
    height: 15px;
    accent-color: var(--brand);
}

/* ======= BOTÃO ======= */
.btn {
    width: 100%;
    border: 0;
    border-radius: 999px;
    padding: 14px 18px;
    font-weight: 600;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    background: var(--brand);
    box-shadow: 0 10px 24px rgba(25, 125, 116, .25);
    margin-top: 18px;
}

.btn:hover {
    filter: brightness(.98);
}

/* ======= RODAPÉ ======= */
.funding {
    width: 80%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.funding img {
    width: 320px;
    height: auto;
}

/* ======= RESPONSIVIDADE ======= */
@media (max-width: 1080px) {
    section {
        grid-template-columns: 1fr;
    }
    .divImg {
        display: none;
    }
    .divFormLogin form {
        width: 90%;
    }
    html, body {
        overflow-y: auto; 
    }
}