/* Full-screen busy overlay for ledger navigation & heavy loads */
.erp-busy-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: erp-busy-fade-in 0.15s ease-out;
}

.erp-busy-overlay.is-hidden {
    display: none !important;
}

.erp-busy-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.28);
    padding: 2rem 2.5rem;
    max-width: 420px;
    width: min(92vw, 420px);
    text-align: center;
    border: 1px solid #e2e8f0;
}

.erp-busy-spinner {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    border: 4px solid #e2e8f0;
    border-top-color: #3655ad;
    border-radius: 50%;
    animation: erp-busy-spin 0.75s linear infinite;
}

.erp-busy-title {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.4rem;
}

.erp-busy-message {
    display: block;
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.5;
}

.erp-busy-hint {
    display: block;
    margin-top: 0.85rem;
    font-size: 0.72rem;
    color: #94a3b8;
    font-style: italic;
}

@keyframes erp-busy-spin {
    to { transform: rotate(360deg); }
}

@keyframes erp-busy-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.coa-act-btn--loading {
    opacity: 0.65;
    pointer-events: none;
}

.coa-act-btn--loading i {
    animation: erp-busy-spin 0.7s linear infinite;
}
