/* loading-feedback.css — full-page overlay + button spinner shown while a
 * booking CTA / POST form navigation is in flight. Injected DOM lives in
 * static/js/loading-feedback.js (window.HoLoading). */

.holo-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.holo-overlay--visible {
    opacity: 1;
    pointer-events: all;
}

.holo-overlay-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 2.5rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(30, 60, 114, 0.18);
    max-width: min(85vw, 340px);
    text-align: center;
}

.holo-overlay-msg {
    font-weight: 600;
    color: var(--primary, #1e3c72);
    font-size: 1.05rem;
    line-height: 1.35;
}

.holo-spinner {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 4px solid rgba(30, 60, 114, 0.15);
    border-top-color: var(--accent, #f5a623);
    animation: holo-spin 0.8s linear infinite;
}

.holo-btn-spinner {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 0.5em;
    vertical-align: -0.15em;
    border-radius: 50%;
    border: 2px solid currentColor;
    border-top-color: transparent;
    animation: holo-spin 0.8s linear infinite;
}

@keyframes holo-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .holo-spinner,
    .holo-btn-spinner {
        animation: holo-pulse 1.2s ease-in-out infinite;
    }
    @keyframes holo-pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.4; }
    }
}
