/* Estilo minimo, deliberadamente sobrio. La tematizacion con el Adapter Design System
   queda para cuando el flujo este validado. */
:root {
    --fondo: #f4f5f7;
    --caja: #ffffff;
    --texto: #1c2024;
    --tenue: #6b7280;
    --borde: #d6d9de;
    --acento: #1f6feb;
    --error: #b42318;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fondo);
    color: var(--texto);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.caja {
    width: 100%;
    max-width: 24rem;
    padding: 2rem;
    background: var(--caja);
    border: 1px solid var(--borde);
    border-radius: 10px;
}

h1 {
    margin: 0 0 1.5rem;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}

label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.8125rem;
    color: var(--tenue);
}

input {
    width: 100%;
    margin-bottom: 1rem;
    padding: 0.6rem 0.7rem;
    font-size: 0.9375rem;
    border: 1px solid var(--borde);
    border-radius: 6px;
    background: #fff;
    color: inherit;
}

input:focus {
    outline: 2px solid var(--acento);
    outline-offset: 1px;
    border-color: var(--acento);
}

button {
    width: 100%;
    padding: 0.65rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    background: var(--acento);
    border: 0;
    border-radius: 6px;
    cursor: pointer;
}

button:hover { filter: brightness(0.94); }

.error, .aviso {
    margin: 0 0 1rem;
    padding: 0.6rem 0.7rem;
    font-size: 0.8125rem;
    border-radius: 6px;
}

.error {
    color: var(--error);
    background: #fdf2f1;
    border: 1px solid #f3c4c0;
}

.aviso {
    color: #1c4532;
    background: #f0f9f4;
    border: 1px solid #bfe3cd;
}
