/* TV to InDesign Plugin Styles */

.tv-to-indesign-upload {
    max-width: 600px;
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

.tvid-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;
}

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

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

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

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

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

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

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

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

.tvid-file-item {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    margin-bottom: 6px;
    background-color: white;
    font-size: 14px;
}

.tvid-file-info {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}

.tvid-filename {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tvid-file-size {
    font-size: 14px;
    color: #adb5bd;
    white-space: nowrap;
}

.tvid-remove-btn {
    background: none !important;
    border: none;
    color: #212529;
    cursor: pointer;
    padding: 2px 6px;
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.2s;
}

/* .tvid-process-btn {
    background-color: none;
    border-color: #212529;
    color: #212529;
} */

.tvid-button {
    background-color: #007cba;
    color: white;
}

.tvid-remove-btn:hover {
    color: #dc3545;
}

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

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

.tvid-controls-top .download-link {
    display: inline-block;
    padding: 8px 16px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

.tvid-controls-top .download-link:hover {
    background-color: #218838;
}

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

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

.tvid-hidden {
    display: none;
}

.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;
}
