@font-face {
    font-family: Poppins;
    src: url('../fuentes/Poppins/Poppins-Regular.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: Poppins;
    src: url('../fuentes/Poppins/Poppins-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

.acceso-pagina {
    box-sizing: border-box;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding: clamp(1rem, 4vw, 3rem);
    display: grid;
    place-items: center;
    color: #40271c;
    background: radial-gradient(ellipse at center, #fffaf3 0%, #f4e9d8 100%);
    font: 1rem/1.55 Poppins, system-ui, sans-serif;
}

.acceso-portada, .acceso-portada * { box-sizing: border-box; }

.acceso-portada {
    display: grid;
    gap: 1rem;
    width: min(100%, 72rem);
    min-width: 0;
}

.acceso-tarjeta {
    align-self: center;
    width: min(100%, 27rem);
    min-width: 0;
    margin-inline: auto;
    padding: clamp(1.35rem, 3vw, 2.4rem);
    border: 1px solid #ead8c5;
    border-radius: 1.5rem;
    background: #fffdf9;
    box-shadow: 0 1rem 3rem #6c40261a;
}

.acceso-logo { display: block; width: 10rem; max-width: 75%; height: auto; margin-bottom: 1.4rem; }
.acceso-tarjeta h1 { margin: 0 0 .5rem; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; font-weight: 600; }
.acceso-tarjeta p { margin: 0 0 1.2rem; font-size: .94rem; }
.acceso-tarjeta label { display: block; margin-bottom: .4rem; font-size: .85rem; font-weight: 600; }

.acceso-tarjeta input:not([type="hidden"]),
.acceso-entrar {
    width: 100%;
    min-height: 2.85rem;
    border-radius: .65rem;
    font: inherit;
}

.acceso-tarjeta input:not([type="hidden"]) { padding: .5rem .7rem; border: 1px solid #b69880; background: #fffaf4; color: inherit; }
.acceso-tarjeta :is(input, button):focus-visible { outline: 2px solid #94501c; outline-offset: 2px; }

.acceso-entrar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    margin-top: .85rem;
    padding: .55rem .8rem;
    border: 0;
    background: #8c4612;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.acceso-entrar:hover { background: #71370e; }
.acceso-tarjeta .acceso-error { margin: .55rem 0 0; color: #9c231d; }
