.poch-action-loader {
    position: fixed;
    inset: 0;
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(7, 26, 46, 0.52);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.poch-action-loader.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.poch-action-loader__panel {
    width: min(92vw, 320px);
    padding: 1.75rem 1.5rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    color: #14233a;
    background: #fff;
    box-shadow: 0 24px 60px rgba(8, 58, 102, 0.28);
}

.poch-action-loader__spinner {
    width: 2.75rem;
    height: 2.75rem;
    margin: 0 auto 1rem;
    border: 3px solid rgba(11, 79, 138, 0.16);
    border-top-color: #0B4F8A;
    border-radius: 50%;
    animation: pochActionSpin 0.75s linear infinite;
}

.poch-action-loader__message {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    color: #083A66;
}

.poch-action-loader__hint {
    margin: 0.45rem 0 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: #5b6b7f;
}

body.admin-portal .poch-action-loader__spinner,
body.student-portal .poch-action-loader__spinner {
    border-top-color: #6E52C7;
}

@keyframes pochActionSpin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .poch-action-loader__spinner {
        animation: none;
        border-top-color: #0B4F8A;
    }
}
