.zip-panel.hidden {
    display: none;
}

.zip-dropzone {
    padding: 1.25rem;
    border: 1px dashed rgba(97, 208, 148, 0.35);
    border-radius: 12px;
    background: rgba(97, 208, 148, 0.05);
    text-align: center;
    color: var(--text-muted);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.zip-dropzone.is-hover {
    border-color: rgba(97, 208, 148, 0.7);
    background: rgba(97, 208, 148, 0.1);
}

.zip-dropzone p {
    margin: 0;
}

.zip-file-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.zip-file-list:empty::before {
    content: 'No files yet.';
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.zip-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
}

.zip-file-item.is-folder {
    opacity: 0.75;
}

.zip-file-meta {
    min-width: 0;
    flex: 1;
}

.zip-file-name {
    display: block;
    font-weight: 600;
    word-break: break-all;
}

.zip-file-size {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.zip-size-note {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.zip-size-note.is-warning {
    color: #ffc107;
}

[data-theme="light"] .zip-dropzone {
    background: rgba(40, 160, 110, 0.06);
}

[data-theme="light"] .zip-file-item {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(20, 32, 24, 0.1);
}
