.ddtv-plugin-wrapper {
    max-width: 600px;
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

.ddtv-drop-zone {
    border: 2px dashed #007cba;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ddtv-drop-zone:hover {
    border-color: #0056b3;
    background-color: #e9ecef;
}

.ddtv-drop-zone.dragover {
    border-color: #28a745;
    background-color: #d4edda;
    transform: scale(1.02);
}

.ddtv-drop-zone-icon {
    font-size: 48px;
    margin-bottom: 10px;
    color: #007cba;
}

.ddtv-drop-zone-text {
    font-size: 16px;
    color: #495057;
    margin-bottom: 5px;
}

.ddtv-drop-zone-hint {
    font-size: 12px;
    color: #6c757d;
}

.ddtv-drop-zone-file {
    margin-top: 10px;
    padding: 8px 16px;
    background: #28a745;
    color: white;
    border-radius: 4px;
    display: none;
}

.ddtv-drop-zone-file.show {
    display: inline-block;
}

.ddtv-controls-top {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ddtv-controls-top .ddtv-msg-error {
    color: #dc3545;
    font-size: 14px;
}

.ddtv-controls-top .ddtv-msg-skip {
    color: #856404;
    font-size: 13px;
}

.ddtv-button {
    /* background-color: transparent !important; */
    color: #007cba;
    border: 2px solid #007cba;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.ddtv-button:hover {
    background-color: #007cba !important;
    color: white;
}

.ddtv-hidden {
    display: none;
}

.ddtv-file-count {
    font-size: 14px;
    color: #495057;
    margin-bottom: 10px;
    padding: 8px 12px;
    background: #e9ecef;
    border-radius: 4px;
    display: none;
}

.ddtv-file-count:not(:empty) {
    display: block;
}

.ddtv-file-list {
    margin: 10px 0;
}

.ddtv-file-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.ddtv-file-table thead {
    background: #f1f1f1;
}

.ddtv-file-table th {
    text-align: left;
    padding: 8px 10px;
    font-weight: 600;
    color: #1d2327;
    border-bottom: 2px solid #e0e0e0;
    white-space: nowrap;
}

.ddtv-file-table td {
    padding: 6px 10px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.ddtv-file-table tbody tr:hover {
    background: #f8f9fa;
}

.ddtv-file-table tbody tr:last-child td {
    border-bottom: none;
}

.ddtv-col-num {
    width: 36px;
    text-align: center;
    color: #999;
}

.ddtv-col-name {
    max-width: 0;
}

.ddtv-filename {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
    color: #1d2327;
}

.ddtv-col-channel {
    width: 220px;
}

.ddtv-col-size {
    width: 80px;
    text-align: right;
    color: #666;
    white-space: nowrap;
}

.ddtv-col-action {
    width: 36px;
    text-align: center;
}

.ddtv-channel-select {
    width: 100%;
    padding: 4px 6px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 13px;
    background: #fff;
}

.ddtv-remove-btn {
    background: none !important;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 2px 6px;
    font-size: 18px;
    line-height: 1;
    border-radius: 3px;
    transition: color 0.2s, background 0.2s;
}

.ddtv-remove-btn:hover {
    color: #dc3545;
    background: #fee;
}

.progress-container {
    margin: 15px 0;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #0073aa;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    margin-top: 5px;
    font-weight: bold;
}
