/* Full-page blocking loader while enquiries / API calls are in progress */
#pmch-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(8, 20, 45, 0.58);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    pointer-events: all;
}

#pmch-loading-overlay.is-visible {
    display: flex;
}

.pmch-loading-card {
    background: #ffffff;
    border-radius: 22px;
    padding: 2rem 2.25rem;
    min-width: 240px;
    max-width: min(90vw, 360px);
    text-align: center;
    box-shadow: 0 24px 60px rgba(8, 20, 45, 0.28);
}

.pmch-loading-spinner {
    width: 54px;
    height: 54px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    border: 4px solid #e8eef8;
    border-top-color: var(--primary-color, #0d6efd);
    animation: pmch-spin 0.85s linear infinite;
}

.pmch-loading-text {
    margin: 0;
    font-weight: 800;
    font-size: 0.95rem;
    color: #0f172a;
    letter-spacing: 0.02em;
}

body.pmch-loading-lock {
    overflow: hidden !important;
}

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

/* Site splash — initial page load (critical styles also inlined in layout) */
#pmch-site-splash .pmch-splash-inner {
    animation: pmchSplashFadeIn .5s ease;
}

@keyframes pmchSplashFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
