/* Batch mode UI */
.batch-toggle {
    display: flex;
    gap: .5rem;
    margin-bottom: 1rem;
    padding: .35rem;
    background: var(--bg-secondary, #f5f5f5);
    border: 1px solid var(--border-color, #e3e3e3);
    border-radius: .75rem;
}
.batch-tab {
    flex: 1;
    padding: .65rem 1rem;
    border: 0;
    border-radius: .5rem;
    background: transparent;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all .15s ease;
}
.batch-tab:hover { background: rgba(0,0,0,.04); }
.batch-tab.active {
    background: #fff;
    color: #111827;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.batch-panel { margin-top: 1rem; }

.batch-options {
    background: var(--bg-secondary, #f5f5f5);
    border: 1px solid var(--border-color, #e3e3e3);
    border-radius: .75rem;
    padding: 1rem;
    margin-bottom: 1rem;
}
.batch-options-title {
    font-weight: 700;
    font-size: .9rem;
    margin-bottom: .75rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.batch-dropzone {
    border: 2px dashed var(--border-color, #cbd5e1);
    border-radius: 1rem;
    padding: 2rem 1rem;
    text-align: center;
    transition: all .15s ease;
    background: var(--bg-secondary, #f9fafb);
}
.batch-dropzone.is-dragover {
    border-color: #3b82f6;
    background: rgba(59,130,246,.06);
}
.batch-dropzone-inner > i {
    font-size: 2.5rem;
    color: #9ca3af;
    display: block;
    margin-bottom: .5rem;
}

.batch-queue-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .75rem;
    font-size: .9rem;
}
.batch-queue-list {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    max-height: 400px;
    overflow-y: auto;
}
.batch-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .5rem .75rem;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: .5rem;
    background: #fff;
}
.batch-item-thumb {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: .375rem;
    overflow: hidden;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}
.batch-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.batch-item-meta { flex: 1; min-width: 0; }
.batch-item-name {
    font-size: .875rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}