/* ============================================
   TRANSCRIPT MODAL STYLES
   ============================================ */

/* Transcript Button */
.btn-transcript {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-transcript:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-transcript i {
    font-size: 1rem;
}

/* Transcript Modal */
.modal-transcript {
    max-width: 1400px !important;
    width: 95% !important;
    height: 85vh !important;
    max-height: 85vh !important;
}

.modal-transcript .modal-body {
    padding: 0 !important;
    height: calc(100% - 80px) !important;
}

/* Transcript Segments */
.transcript-segments {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.transcript-segment {
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.transcript-segment:hover {
    background: #f9fafb !important;
    border-left-color: #d1d5db !important;
}

.transcript-segment.active {
    background: #eff6ff !important;
    border-left-color: #667eea !important;
}

/* Waveform Container */
#waveform {
    min-height: 100px;
    background: transparent;
}

wave {
    overflow: visible !important;
}

/* Spinner */
.spinner {
    border: 3px solid #f3f4f6;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .modal-transcript .modal-body > div {
        grid-template-columns: 1fr !important;
    }

    .modal-transcript {
        width: 98% !important;
    }
}

@media (max-width: 768px) {
    .modal-transcript {
        height: 95vh !important;
        max-height: 95vh !important;
    }
}
