/**
 * Full-screen blocking modal while flashcards are being saved (create deck page).
 */
.cfd-saving-modal {
    position: fixed;
    inset: 0;
    z-index: 100050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    box-sizing: border-box;
}

.cfd-saving-modal.hidden {
    display: none !important;
}

.cfd-saving-modal .cfd-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(4px);
}

.cfd-saving-panel {
    position: relative;
    z-index: 1;
    max-width: 22rem;
    width: 100%;
    padding: 1.75rem 1.5rem;
    text-align: center;
    background: #0f1419;
    border: 1px solid rgba(61, 214, 140, 0.22);
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

.cfd-saving-spinner {
    width: 44px;
    height: 44px;
    margin: 0 auto 1rem;
    border: 3px solid rgba(255, 255, 255, 0.12);
    border-top-color: #3dd68c;
    border-radius: 50%;
    animation: cfd-saving-spin 0.85s linear infinite;
}

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

.cfd-saving-title {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #f1f5f9;
    letter-spacing: -0.02em;
}

.cfd-saving-status {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #94a3b8;
}
