.preview-container {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #111;
    border: 2px solid #e5e7eb;
    aspect-ratio: 16/9;
}

.preview-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.video-action-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
}

.video-action-buttons .btn {
    width: auto;
    padding: 10px 24px;
}

.loading-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #8b5cf6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    margin-top: 12px;
    color: #fff;
    font-size: 13px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding: 4px 0;
    align-items: flex-start;
}

.info-label {
    color: #6b7280;
    white-space: nowrap;
    flex-shrink: 0;
}

.info-value {
    color: #8b5cf6;
    font-weight: 500;
    text-align: right;
    word-break: break-all;
    margin-left: 8px;
}

.checkbox-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-option label {
    font-size: 13px;
    color: #374151;
    cursor: pointer;
}

.count-display {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.count-num {
    font-size: 24px;
    font-weight: 700;
    color: #8b5cf6;
}

.count-text {
    font-size: 13px;
    color: #6b7280;
}

.empty-preview {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed #d1d5db;
    border-radius: 10px;
    background: #fafafa;
}

.empty-preview.upload-zone {
    cursor: pointer;
    transition: all 0.2s;
}

.empty-preview.upload-zone:hover,
.empty-preview.upload-zone.drag-over {
    border-color: #8b5cf6;
    background: #f5f3ff;
}

.empty-hint {
    font-size: 13px;
    color: #9ca3af;
}

.video-info-box {
    background: #f8fafc;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.screenshot-preview {
    position: fixed;
    z-index: 1000;
    background: #fff;
    border: 2px solid #8b5cf6;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
    padding: 8px;
    max-width: 600px;
    pointer-events: none;
}

.screenshot-preview img {
    max-width: 100%;
    max-height: 450px;
    display: block;
    border-radius: 4px;
}

.screenshot-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #e5e7eb;
    transition: all 0.2s;
}

.screenshot-item:hover {
    border-color: #8b5cf6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2);
}

.screenshot-item img {
    display: block;
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.screenshot-time {
    font-size: 11px;
    color: white;
}

.screenshot-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 16px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-item:hover .screenshot-remove {
    opacity: 1;
}

.screenshot-remove:hover {
    background: #dc3545;
}