/* Pantalla de arranque de la app - visible desde el primer instante (antes de que el WASM
   termine de cargar), tanto al abrir el portal como despues de un forceLoad (ej. tras login).
   Se oculta sola via app-boot.js apenas aparece contenido real en la pagina. */
.app-boot-loading {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff3f3 0%, var(--jt-white, #ffffff) 70%);
}

.app-boot-loading.app-boot-oculto {
    display: none;
}

.app-boot-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 40px 32px;
}

.app-boot-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--jt-brand, #f01e29);
    color: var(--jt-white, #ffffff);
    font-size: 1.6rem;
    box-shadow: 0 4px 12px rgba(240, 30, 41, 0.25);
    margin-bottom: 10px;
    animation: app-boot-pulso 1.4s ease-in-out infinite;
}

@keyframes app-boot-pulso {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 12px rgba(240, 30, 41, 0.25); }
    50% { transform: scale(1.08); box-shadow: 0 6px 18px rgba(240, 30, 41, 0.35); }
}

.app-boot-titulo {
    font-family: var(--jt-font-display, 'Segoe UI', system-ui);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--jt-gray-dark, #333333);
}

.app-boot-sub {
    font-family: var(--jt-font-body, 'Tahoma', system-ui);
    font-size: 0.85rem;
    color: var(--jt-gray-mid, #767676);
}

@media (prefers-reduced-motion: reduce) {
    .app-boot-icon {
        animation: none;
    }
}
