/* Full-screen saving overlay with progress bar (PCLib.showSaveProgress). */
.rd-save-progress {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--rd-base-fg-bg-overlay) 55%, transparent);
}

.rd-save-progress-card {
    width: min(420px, calc(100vw - 2 * var(--rd-spacing-lg)));
    padding: var(--rd-spacing-lg);
    border-radius: var(--rd-borderradius-border-lg);
    background: var(--rd-bg-primary);
    box-shadow: var(--rd-shadow-level-2);
    color: var(--rd-font-dark);
}

.rd-save-progress-title {
    font-size: var(--rd-fontsize-6);
    font-weight: var(--rd-fontweights-open-sans-1);
    margin-bottom: var(--rd-spacing-md);
}

.rd-save-progress-fill {
    background: var(--rd-success-default);
    transition: width 0.15s linear;
}

.rd-save-progress-hint {
    margin-top: var(--rd-spacing-sm);
    font-size: var(--rd-fontsize-3);
    color: var(--rd-gray-500);
}
