:root {
    --ingreso-verde: #83b500;
    --ingreso-verde-oscuro: #648b00;
    --ingreso-tinta: #1d2b3a;
    --ingreso-gris: #748092;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    color: var(--ingreso-tinta);
    background:
        radial-gradient(circle at 15% 15%, rgba(131, 181, 0, 0.13), transparent 30%),
        radial-gradient(circle at 90% 85%, rgba(29, 43, 58, 0.09), transparent 32%),
        #f3f6f8;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.pagina-ingreso {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 32px 16px;
}

.tarjeta-ingreso {
    width: 100%;
    max-width: 430px;
    padding: 42px 44px 30px;
    background: #fff;
    border: 1px solid rgba(29, 43, 58, 0.06);
    border-radius: 18px;
    box-shadow: 0 22px 65px rgba(29, 43, 58, 0.13);
    animation: aparecer-ingreso 450ms ease-out both;
}

.logo-ingreso {
    display: block;
    width: min(185px, 70%);
    max-height: 82px;
    object-fit: contain;
    margin: 0 auto 30px;
}

.encabezado-ingreso {
    margin-bottom: 28px;
    text-align: center;
}

.antetitulo-ingreso {
    margin: 0 0 8px;
    color: var(--ingreso-verde-oscuro);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.encabezado-ingreso h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.encabezado-ingreso > p:last-child {
    margin: 8px 0 0;
    color: var(--ingreso-gris);
    font-size: 0.95rem;
}

.tarjeta-ingreso .form-group {
    margin-bottom: 18px;
}

.tarjeta-ingreso label {
    margin-bottom: 7px;
    font-size: 0.88rem;
    font-weight: 600;
}

.tarjeta-ingreso .form-control {
    height: 48px;
    padding: 10px 14px;
    border: 1px solid #dce3e8;
    border-radius: 9px;
    background: #fbfcfd;
    color: var(--ingreso-tinta);
    transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.tarjeta-ingreso .form-control:focus {
    border-color: var(--ingreso-verde);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(131, 181, 0, 0.15);
}

.boton-ingresar {
    width: 100%;
    min-height: 48px;
    margin-top: 6px;
    border: 0;
    border-radius: 9px;
    background: var(--ingreso-verde);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: background 150ms ease, transform 150ms ease;
}

.boton-ingresar:hover,
.boton-ingresar:focus {
    background: var(--ingreso-verde-oscuro);
    color: #fff;
}

.boton-ingresar:active {
    transform: translateY(1px);
}

.pie-ingreso {
    margin: 22px 0 0;
    color: var(--ingreso-gris);
    font-size: 0.78rem;
    text-align: center;
}

.alerta-ingreso {
    margin: 0 0 14px;
    padding: 11px 13px;
    border: 1px solid #f0c7c7;
    border-radius: 8px;
    background: #fff5f5;
    color: #8c2828;
    font-size: 0.88rem;
}

.lista-hoteles {
    display: grid;
    gap: 10px;
}

.opcion-hotel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 16px;
    border: 1px solid #e0e6ea;
    border-radius: 9px;
    color: var(--ingreso-tinta);
    font-weight: 600;
    text-decoration: none;
    transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.opcion-hotel:hover,
.opcion-hotel:focus {
    transform: translateY(-1px);
    border-color: var(--ingreso-verde);
    background: #f8fbed;
    color: var(--ingreso-verde-oscuro);
    text-decoration: none;
}

.opcion-hotel:focus-visible,
.boton-ingresar:focus-visible {
    outline: 3px solid rgba(131, 181, 0, 0.3);
    outline-offset: 2px;
}

@keyframes aparecer-ingreso {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .tarjeta-ingreso {
        padding: 34px 24px 26px;
        border-radius: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
