.unicef-espera[hidden] { display: none !important; }
.unicef-espera {
    position: fixed;
    z-index: 1090;
    bottom: max(1rem, env(safe-area-inset-bottom));
    right: 1rem;
    width: min(28rem, calc(100% - 2rem));
    max-height: 70vh;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 1rem;
    border: 1px solid #b6d7ed;
    border-radius: 1rem;
    background: #fff;
    color: #17364d;
    box-shadow: 0 6px 28px rgba(15, 45, 70, .22);
    font: 1rem/1.5 system-ui, sans-serif;
    overflow-wrap: anywhere;
}
.unicef-espera-icono {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.3rem;
    height: 1.3rem;
    margin-right: .6rem;
    border: 3px solid #0072b8;
    border-radius: 50%;
    vertical-align: middle;
    font-weight: bold;
}
.unicef-espera-icono.girando {
    border-color: #c9e5f5;
    border-top-color: #0072b8;
    animation: unicef-girar .85s linear infinite;
}
.unicef-espera-detalle { margin: .5rem 0 0; }
.unicef-espera-detalle:empty, .unicef-espera-acciones:empty { display: none; }
.unicef-espera-acciones { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .8rem; }
.unicef-espera-acciones button, .unicef-espera-acciones a {
    font: inherit;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: .4rem .8rem;
    color: #075b91;
    background: #edf7ff;
    border: 1px solid #9cbfd8;
    border-radius: .5rem;
    cursor: pointer;
}
[data-login-espera] [aria-disabled="true"] { opacity: .7; cursor: wait; }
@keyframes unicef-girar { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .unicef-espera-icono.girando { animation: none; }
}
