#import-progress-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

#import-progress-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    max-width: 28rem;
    width: 100%;
    margin: 0 1rem;
    border: 1px solid #e5e7eb;
}

.dark #import-progress-card {
    background: #1f2937;
    border-color: #374151;
}

#import-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #111827;
}

.dark #import-title {
    color: #f9fafb;
}

#import-track {
    width: 100%;
    background: #e5e7eb;
    border-radius: 9999px;
    height: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.dark #import-track {
    background: #374151;
}

#import-bar {
    background: #3b82f6;
    height: 100%;
    border-radius: 9999px;
    transition: width 0.3s ease;
    width: 0%;
}

#import-pct {
    text-align: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #111827;
}

.dark #import-pct {
    color: #f9fafb;
}

#import-stats {
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
}

.dark #import-stats {
    color: #9ca3af;
}

#import-detail {
    text-align: center;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}

.dark #import-detail {
    color: #6b7280;
}

#import-close-btn {
    display: none;
    margin: 1.25rem auto 0;
    padding: 0.5rem 1.75rem;
    border-radius: 0.5rem;
    background: #3b82f6;
    color: #fff;
    font-weight: 500;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

#import-close-btn:hover {
    background: #2563eb;
}

.dark #import-close-btn {
    background: #2563eb;
}

.dark #import-close-btn:hover {
    background: #1d4ed8;
}
