* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: #182b40;
    background: #dce1e7;
    font: 1rem/1.45 Arial, sans-serif;
}

.acceso {
    display: grid;
    min-height: 100vh;
    min-height: 100svh;
}

.acceso-arte {
    display: none;
}

.acceso-cuerpo {
    display: grid;
    place-items: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(160deg, #e2e6eb, #d4dae2);
}

.acceso-panel {
    width: min(100%, 22rem);
}

.acceso-marca {
    display: block;
    width: 100%;
    margin-bottom: 1.25rem;
}

.acceso-marca img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

h1 {
    margin: 0 0 .85rem;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .025em;
    text-transform: uppercase;
}

.acceso-formulario,
.acceso-campo {
    display: grid;
    gap: .35rem;
}

.acceso-formulario {
    gap: .95rem;
}

.acceso-campo label {
    font-size: .875rem;
    font-weight: 700;
}

.acceso-entrada {
    position: relative;
}

.acceso-campo input {
    width: 100%;
    min-height: 2.5rem;
    padding: .45rem .75rem;
    border: 1px solid #bec9d8;
    border-radius: .32rem;
    background: white;
    color: #182b40;
    font: inherit;
}

.acceso-campo input::placeholder {
    color: #536b88;
    opacity: 1;
}

.con-icono input {
    padding-left: 2.9rem;
}

.con-icono span {
    position: absolute;
    top: 50%;
    left: .88rem;
    width: 1.25rem;
    height: 1.25rem;
    color: #96a9c1;
    pointer-events: none;
    transform: translateY(-50%);
}

.icono-equipo::before,
.icono-equipo::after,
.icono-clave::before,
.icono-clave::after {
    position: absolute;
    left: 50%;
    content: "";
    transform: translateX(-50%);
}

.icono-equipo::before {
    top: 0;
    width: .58rem;
    height: .58rem;
    border-radius: 50%;
    background: currentColor;
}

.icono-equipo::after {
    bottom: .02rem;
    width: 1.19rem;
    height: .54rem;
    border-radius: .7rem .7rem .12rem .12rem;
    background: currentColor;
}

.icono-clave::before {
    top: .02rem;
    width: .56rem;
    height: .68rem;
    border: .17rem solid currentColor;
    border-radius: .48rem .48rem 0 0;
}

.icono-clave::after {
    bottom: 0;
    width: 1.16rem;
    height: .72rem;
    border-radius: .14rem;
    background: currentColor;
}

.acceso-accion {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    width: 100%;
    min-height: 2.65rem;
    padding: .45rem .75rem;
    border: 0;
    border-radius: .36rem;
    color: #fff;
    background: var(--ima-azul);
    font: 700 1rem/1.3 Arial, sans-serif;
    cursor: pointer;
}

.acceso-accion:hover {
    background: var(--ima-azul);
}

.acceso-flecha {
    font-size: 1.2rem;
}

.acceso-enlaces {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1rem;
}

.acceso-enlaces a {
    padding-block: .35rem;
    color: #23394f;
    font-size: .75rem;
    text-decoration: none;
    text-transform: uppercase;
}

.acceso-enlaces a:hover {
    text-decoration: underline;
}

.acceso :focus-visible {
    outline: 2px solid var(--ima-azul);
    outline-offset: 3px;
}

.acceso-campo small {
    color: #3b5068;
}

.field-validation-error,
.acceso-error {
    color: #8d2531;
    font-size: .875rem;
}

.acceso-error ul {
    margin: 0;
    padding-left: 1.15rem;
}

.validation-summary-valid,
.field-validation-valid {
    display: none;
}

.input-validation-error {
    border-color: #9a2936 !important;
}

.acceso-cuenta {
    display: grid;
    gap: .3rem;
    overflow-wrap: anywhere;
}

.acceso-cuenta dt {
    font-weight: 700;
}

.acceso-cuenta dd {
    margin: 0 0 .75rem;
}

.solo-lectores {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

@media (min-width: 56rem) {
    .acceso {
        grid-template-columns: minmax(22rem, 1fr) minmax(0, 1fr);
    }

    .acceso-cuerpo {
        grid-column: 1;
        grid-row: 1;
    }

    .acceso-arte {
        grid-column: 2;
        grid-row: 1;
        margin: .9rem .9rem .9rem 0;
        overflow: hidden;
        border-radius: .7rem;
        display: grid;
        place-items: center;
        background: #e8ebee;
        box-shadow: inset 0 0 20px #2538721f;
    }

    .acceso-arte img {
        display: block;
        width: 100%;
        height: auto;
    }
}
