:root{
    --cor-primaria: #2563eb;
    --cor-secundaria: #1d4ed8;

    --bg: #f4f7fc;
    --card: #ffffff;

    --texto: #1f2937;
    --texto-secundario: #6b7280;

    --borda: #dbe3f0;
}

@media (prefers-color-scheme: dark){

    :root{
        --bg: #0f172a;
        --card: #1e293b;

        --texto: #f8fafc;
        --texto-secundario: #cbd5e1;

        --borda: #334155;
    }

}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body{
    background: var(--bg);
    color: var(--texto);

    min-height: 100vh;

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

    padding: 20px;
}

.login-container{
    width: 100%;
    max-width: 450px;
}

.login-card{
    background: var(--card);

    padding: 40px;

    border-radius: 20px;

    border: 1px solid var(--borda);

    box-shadow: 0 15px 40px rgba(0,0,0,.08);
}

.login-card h1{
    text-align: center;

    margin-bottom: 30px;

    color: var(--cor-primaria);

    font-size: 2rem;
}

.campo{
    margin-bottom: 20px;
}

.campo label{
    display: block;

    margin-bottom: 8px;

    font-weight: 600;
}

.campo input{
    width: 100%;

    padding: 14px;

    border-radius: 12px;

    border: 1px solid var(--borda);

    background: transparent;

    color: var(--texto);

    transition: .3s;
}

.campo input:focus{
    outline: none;

    border-color: var(--cor-primaria);

    box-shadow: 0 0 0 4px rgba(37,99,235,.15);
}

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

    margin-bottom: 25px;

    color: var(--texto-secundario);
}

button{
    width: 100%;

    padding: 14px;

    border: none;

    border-radius: 12px;

    background: var(--cor-primaria);

    color: white;

    font-size: 1rem;
    font-weight: 600;

    cursor: pointer;

    transition: .3s;
}

button:hover{
    background: var(--cor-secundaria);

    transform: translateY(-2px);
}

.guest{
    text-align: center;

    margin-top: 20px;
}

.guest a{
    color: var(--cor-primaria);

    text-decoration: none;

    font-weight: 600;
}

.guest a:hover{
    text-decoration: underline;
}