/* Video to Text Plugin Styles */
.video-to-text-container {
    max-width: 800px;
    margin: 20px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.vtt-header {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.vtt-header h3 {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 600;
}

.vtt-header p {
    margin: 0;
    opacity: 0.9;
}

.vtt-upload-area {
    padding: 40px 20px;
    border: 2px dashed #c0c0c0;
    margin: 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.vtt-upload-area.dragover {
    border-color: #2575fc;
    background-color: #f0f7ff;
}

.vtt-upload-content i {
    font-size: 48px;
    color: #6a11cb;
    margin-bottom: 15px;
}

.vtt-upload-content p {
    font-size: 18px;
    margin: 10px 0;
    color: #333;
}

.vtt-upload-content span {
    display: block;
    margin: 10px 0;
    color: #777;
}

.vtt-upload-btn {
    background: #6a11cb;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.vtt-upload-btn:hover {
    background: #5a0db9;
}

.vtt-video-container {
    margin: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

#vtt-video-player {
    width: 100%;
    height: auto;
    display: block;
}

.vtt-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px;
    flex-wrap: wrap;
}

.vtt-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.vtt-transcribe-btn {
    background: #28a745;
    color: white;
}

.vtt-transcribe-btn:hover {
    background: #218838;
}

.vtt-reset-btn {
    background: #dc3545;
    color: white;
}

.vtt-reset-btn:hover {
    background: #c82333;
}

.vtt-transcription-container {
    margin: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.vtt-transcription-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.vtt-transcription-header h4 {
    margin: 0;
    color: #333;
}

.vtt-progress {
    width: 150px;
    height: 20px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.vtt-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    width: 0%;
    transition: width 0.3s;
}

.vtt-progress-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: #333;
}

.vtt-transcription-output {
    max-height: 400px;
    overflow-y: auto;
    padding: 20px;
    background: white;
}

.vtt-transcription-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.vtt-transcription-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.vtt-timestamp {
    display: inline-block;
    background: #6a11cb;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 5px;
    font-weight: bold;
}

.vtt-text {
    margin: 0;
    line-height: 1.5;
    color: #333;
}

.vtt-transcription-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

.vtt-copy-btn {
    background: #17a2b8;
    color: white;
}

.vtt-copy-btn:hover {
    background: #138496;
}

.vtt-download-btn {
    background: #ffc107;
    color: #212529;
}

.vtt-download-btn:hover {
    background: #e0a800;
}

.vtt-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s;
}

.vtt-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.vtt-notification.success {
    background: #28a745;
}

.vtt-notification.error {
    background: #dc3545;
}

/* Responsive styles */
@media (max-width: 768px) {
    .video-to-text-container {
        margin: 10px;
    }
    
    .vtt-transcription-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .vtt-progress {
        width: 100%;
    }
    
    .vtt-controls, .vtt-transcription-actions {
        flex-direction: column;
    }
    
    .vtt-btn {
        justify-content: center;
    }
}