/**
 * PlayTube Video Transcript Styles
 * Simplified for static text display
 */

/* Transcript Container */
#transcript-container {
    background: #ffffff !important;
    border: 1px solid #ddd !important;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    overflow: hidden;
    display: none;
}

/* Dark mode support */
body.night #transcript-container,
.night #transcript-container {
    background: #1e1e1e !important;
    border: 1px solid #333 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Transcript Header */
.transcript-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
}

body.night .transcript-header {
    background: #252525;
    border-bottom-color: #333;
}

.transcript-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #111 !important;
}

body.night .transcript-header h3,
.night .transcript-header h3 {
    color: #ffffff !important;
}

/* Transcript Content */
.transcript-content {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px 0;
}

/* Static Segment Styles */
.static-transcript-segment {
    display: flex;
    gap: 15px;
    padding: 10px 20px;
    border-bottom: 1px solid transparent;
}

.static-timestamp {
    flex-shrink: 0;
    width: 65px;
    font-size: 13px;
    color: #0088cc !important;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

body.night .static-timestamp,
.night .static-timestamp {
    color: #4db8ff !important;
}

.static-text {
    flex: 1;
    font-size: 15px;
    line-height: 1.6;
    color: #333 !important;
}

body.night .static-text,
.night .static-text {
    color: #eee !important;
}

/* Custom Scrollbar */
.transcript-content::-webkit-scrollbar {
    width: 8px;
}

.transcript-content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

body.night .transcript-content::-webkit-scrollbar-track {
    background: #2a2a2a;
}

.transcript-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.transcript-content::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

body.night .transcript-content::-webkit-scrollbar-thumb {
    background: #444;
}

body.night .transcript-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Status Messages */
.transcript-status {
    padding: 40px 20px;
    text-align: center;
    color: #666;
    font-size: 16px;
}

body.night .transcript-status {
    color: #aaa;
}

.transcript-status i {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

/* Transcript Toggle Button */
.transcript-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: #04abf2 !important;
    border: 1px solid #0396d6 !important;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff !important;
    transition: all 0.2s;
    margin-top: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.transcript-toggle i {
    color: #ffffff !important;
}

.transcript-toggle:hover {
    opacity: 0.9;
}

body.night .transcript-toggle,
.night .transcript-toggle {
    background: #333 !important;
    border-color: #555 !important;
}

.transcript-toggle.active {
    background: #0396d6 !important;
}