.settings-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-left: 12px;
}

    .settings-btn:hover {
        background: var(--bg-nav-hover);
        transform: rotate(90deg);
    }

    .settings-btn svg {
        width: 20px;
        height: 20px;
    }

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--bg-card);
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .modal-header h2 {
        margin: 0;
        font-size: 24px;
        color: var(--text-primary);
    }

.modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

    .modal-close:hover {
        background: var(--bg-nav-hover);
        color: var(--text-primary);
    }

.modal-body {
    padding: 24px;
}

.import-info {
    margin-bottom: 32px;
}

    .import-info p {
        color: var(--text-secondary);
        margin-bottom: 20px;
        line-height: 1.6;
    }

.stats-display {
    background: var(--bg-elevated);
    padding: 16px;
    border-radius: 8px;
    display: flex;
    gap: 24px;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-blue);
}

.import-state {
    text-align: center;
    padding: 20px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
}

.btn-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.import-note {
    margin-top: 16px;
    color: var(--text-secondary);
    font-size: 14px;
}

.progress-info {
    margin-bottom: 24px;
}

    .progress-info h3 {
        margin: 0 0 20px 0;
        color: var(--text-primary);
        font-size: 18px;
    }

.progress-bar-container {
    position: relative;
    margin-bottom: 12px;
}

.progress-bar {
    width: 100%;
    height: 32px;
    background: var(--bg-elevated);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-teal));
    border-radius: 16px;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .progress-fill::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.3), transparent );
        animation: shimmer 2s infinite;
    }

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.progress-details {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 8px;
}

.success-message,
.error-message {
    padding: 24px;
}

.success-icon,
.error-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
}

.success-icon {
    color: #10b981;
}

.error-icon {
    color: #ef4444;
}

.success-message h3,
.error-message h3 {
    margin: 0 0 12px 0;
    color: var(--text-primary);
    font-size: 20px;
}

.success-message p,
.error-message p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .stats-display {
        flex-direction: column;
        gap: 16px;
    }

    .modal-header h2 {
        font-size: 20px;
    }
}

.import-options {
    margin-bottom: 20px;
    padding: 16px;
    background: var(--bg-elevated);
    border-radius: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

    .checkbox-label input[type="checkbox"] {
        width: 20px;
        height: 20px;
        cursor: pointer;
    }

    .checkbox-label span {
        user-select: none;
    }

.option-note {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 8px 0 0 32px;
    line-height: 1.4;
}
