/* ===== СБРОС И БАЗОВЫЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    display: flex;
    height: 100vh;
    overflow: hidden;
    color: #333;
}

template {
    display: none;
}

/* ===== САЙДБАР (ЛЕВЫЙ) ===== */
.sidebar {
    width: 300px;
    background-color: #2c3e50;
    color: #ecf0f1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex-shrink: 0;
}

.app-header {
    padding: 20px;
    background-color: #1a252f;
    text-align: center;
    border-bottom: 1px solid #34495e;
}

.app-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ecf0f1;
}

.app-subtitle {
    font-size: 12px;
    color: #bdc3c7;
    margin-top: 5px;
}

/* Кнопка добавления проекта */
.add-project-btn {
    margin: 20px;
    padding: 12px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.add-project-btn:hover {
    background-color: #2980b9;
}

.add-project-btn i {
    margin-right: 8px;
}

/* Контейнер проектов */
.projects-container {
    flex: 1;
    overflow-y: auto;
    padding: 0 15px 15px;
}

/* Карточка проекта */
.project-tile {
    background-color: #34495e;
    border-radius: 8px;
    margin-bottom: 8px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    position: relative;
}

.project-tile:hover:not(.active) {
    background-color: #3d566e;
    transform: translateX(2px);
}

.project-tile.active {
    border-color: #3498db;
    background-color: #3d566e;
}

.project-tile.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #3498db;
    border-radius: 4px 0 0 4px;
}

/* Миниатюра проекта */
.project-thumbnail {
    width: 70px;
    height: 50px;
    background-color: #2c3e50;
    border-radius: 6px;
    margin-right: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
    font-size: 16px;
    flex-shrink: 0;
    position: relative;
}

.project-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    display: none;
    animation: fadeIn 0.3s ease;
}

.project-thumbnail .fa-film {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #7f8c8d;
    font-size: 20px;
}

/* Контент проекта */
.project-content {
    flex: 1;
    min-width: 0; /* Для правильной работы ellipsis */
}

.project-name {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
    font-size: 14px;
}

.project-duration {
    font-size: 12px;
    color: #bdc3c7;
}

/* Сообщение "нет проектов" */
.no-projects {
    text-align: center;
    padding: 40px 20px;
    color: #7f8c8d;
    font-style: italic;
    font-size: 14px;
    border: 2px dashed #34495e;
    border-radius: 8px;
    margin: 20px;
}

/* ===== ОСНОВНОЙ КОНТЕНТ ===== */
.main-content {
    flex: 1;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Состояние пустого экрана */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #7f8c8d;
    text-align: center;
    padding: 20px;
}

.empty-state i {
    font-size: 80px;
    margin-bottom: 20px;
    color: #bdc3c7;
}

.empty-state h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.empty-state p {
    font-size: 16px;
    max-width: 500px;
    line-height: 1.5;
}

/* Детали проекта */
.project-detail {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

/* Шапка видео */
.video-header {
    background-color: white;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Большое превью видео */
.video-preview-large {
    width: 300px;
    height: 200px;
    background-color: #2c3e50;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
    margin-right: 20px;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.2s ease;
    position: relative;
}

.video-preview-large:hover {
    transform: scale(1.02);
}

.video-preview-large:hover .fa-film {
    color: #3498db;
}

.video-preview-large::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    border-radius: 8px;
    transition: background 0.3s ease;
}

.video-preview-large:hover::after {
    background: rgba(0, 0, 0, 0.2);
}

.video-preview-large:hover .play-overlay {
    opacity: 1;
}

.video-preview-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: none;
    animation: fadeIn 0.3s ease;
}

.video-preview-large .fa-film {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #7f8c8d;
    font-size: 48px;
}

/* Иконка воспроизведения */
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.68);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.video-preview-large:hover .play-overlay {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-overlay i {
    color: white;
    font-size: 24px;
    margin-left: 4px;
}

/* Информация о видео */
.video-info {
    flex: 1;
}

.video-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2c3e50;
}

.video-meta {
    display: flex;
    margin-bottom: 15px;
    color: #7f8c8d;
}

.video-meta-item {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.video-meta-item i {
    margin-right: 5px;
}

/* Прогресс видео */
.video-progress {
    margin-top: 15px;
}

.progress-label {
    font-size: 14px;
    margin-bottom: 5px;
    color: #7f8c8d;
}

.progress-bar {
    height: 8px;
    background-color: #ecf0f1;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #2ecc71;
    width: 45%;
    border-radius: 4px;
}

/* ===== РАСПОЗНАВАНИЕ СЦЕН ===== */
.recognition-status {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8edf3;
}

.recognition-status.processing .progress-bar {
    height: 10px;
    border-radius: 5px;
    background: #eef3f8;
}

.recognition-status.processing .progress-fill {
    background: linear-gradient(90deg, #3498db, #2ecc71);
    transition: width 0.4s ease;
}

.recognition-status.processing .progress-text {
    margin-top: 12px;
    font-size: 14px;
    color: #2c3e50;
    font-weight: 600;
}

.progress-segments {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12px, 1fr));
    gap: 2px;
    margin-top: 18px;
    text-align: center;
    font-size: 10px;
    line-height: 18px;
}

.progress-segments .segment {
    height: 20px;
    border-radius: 4px;
    background: #dfe6ed;
    position: relative;
    overflow: hidden;
}

.progress-segments .segment::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progress-segments .segment-completed {
    background: #2ecc71;
}

.progress-segments .segment-completed::after {
    background: rgba(255, 255, 255, 0.25);
    opacity: 1;
}

.progress-segments .segment-queued {
    background: #d6d6d6;
}

.progress-segments .segment-retrying {
    background: #e65a22;
    color: #fff;
}

.progress-segments .segment-failed {
    background: #a71101;
}

.progress-segments .segment:hover::after {
    opacity: 0.3;
}

/* Вкладки */
.tabs-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.tabs-header {
    display: flex;
    background-color: white;
    border-bottom: 1px solid #e0e0e0;
    padding: 0 20px;
}

.tab {
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 600;
    color: #7f8c8d;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.tab:hover {
    color: #3498db;
}

.tab.active {
    color: #3498db;
    border-bottom-color: #3498db;
}

/* Контент вкладок */
.tab-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: white;
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tab-content h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.tab-content p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #555;
}

.tab-content .btn {
    margin-top: 10px;
}

.tab-content .btn-primary {
    padding: 10px 20px;
    font-size: 14px;
}

/* Шаги процесса */
.process-step {
    margin-bottom: 20px;
    padding: 15px;
    border-left: 4px solid #3498db;
    background-color: #f8f9fa;
}

.process-step h3 {
    color: #2c3e50;
    margin-bottom: 8px;
}

/* Контент транскрипта */
.transcript-content {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    line-height: 1.6;
    white-space: pre-wrap;
    max-height: 400px;
    overflow-y: auto;
}

/* ===== САЙДБАР СПРАВКИ (ПРАВЫЙ) ===== */
.help-sidebar {
    width: 500px;
    background-color: white;
    border-left: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex-shrink: 0;
}

.help-header {
    padding: 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.help-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.help-subtitle {
    font-size: 14px;
    color: #7f8c8d;
}

.help-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    color: #555;
}

.help-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #bdc3c7;
    text-align: center;
    padding: 20px;
}

.help-placeholder i {
    font-size: 60px;
    margin-bottom: 20px;
}

.help-placeholder h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #7f8c8d;
}

.help-placeholder p {
    line-height: 1.5;
    max-width: 400px;
}

/* ===== МОДАЛЬНЫЕ ОКНА ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(3px);
}

.modal {
    background-color: white;
    border-radius: 10px;
    width: 500px;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease;
}

.youtube-player-modal {
    width: 900px;
    max-width: 95%;
    height: 80vh;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Шапка модального окна */
.modal-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 18px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #7f8c8d;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.modal-close:hover {
    background-color: #f5f5f5;
}

/* Тело модального окна */
.modal-body {
    padding: 20px;
    flex: 1;
    overflow-y: auto;
}

.youtube-player-modal .modal-body {
    padding: 10px;
}

/* Контейнер YouTube плеера */
.youtube-player-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
    position: relative;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
}

.youtube-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 1;
}

.youtube-placeholder .fab {
    font-size: 60px;
    color: #ff0000;
    margin-bottom: 20px;
    display: block;
}

.youtube-placeholder p {
    font-size: 16px;
    margin: 0;
    opacity: 0.8;
}

/* Контент модального окна */
.modal-content {
    display: flex;
    flex-direction: column;
}

.modal-content label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

#youtube-url {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

#youtube-url:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

/* Сообщение об ошибке */
.error-message {
    color: #e74c3c;
    margin-top: 8px;
    font-size: 14px;
    display: none;
}

.modal.error .error-message {
    display: block;
}

/* Подвал модального окна */
.modal-footer {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* ===== КНОПКИ ===== */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #3498db;
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background-color: #2980b9;
}

.btn-primary:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}

.btn-secondary {
    background-color: #ecf0f1;
    color: #2c3e50;
}

.btn-secondary:hover {
    background-color: #d5dbdb;
}

/* ===== СТАТУСЫ ===== */
.status-complete {
    color: #2ecc71;
    font-weight: 600;
}

.status-pending {
    color: #e74c3c;
    font-weight: 600;
}

.status-processing {
    color: #f39c12;
    font-weight: 600;
}

/* ===== ЗАГРУЗОЧНЫЕ СОСТОЯНИЯ ===== */
/* Спиннер загрузки */
.loading-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 10px 0;
}

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

/* Кнопка с индикатором загрузки */
.modal.loading .btn[data-action="add"] {
    position: relative;
    color: transparent !important;
}

.modal.loading .btn[data-action="add"]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: buttonSpinner 0.8s linear infinite;
}

@keyframes buttonSpinner {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ===== АНИМАЦИИ ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1400px) {
    .help-sidebar {
        width: 400px;
    }
}

@media (max-width: 1200px) {
    .help-sidebar {
        width: 350px;
    }
    
    .sidebar {
        width: 250px;
    }
}

@media (max-width: 1000px) {
    .youtube-player-modal {
        width: 95%;
        height: 70vh;
    }
}

@media (max-width: 768px) {
    .youtube-player-modal {
        height: 60vh;
    }
}


/* ===== СТАТУСЫ ПРОЕКТОВ ===== */

/* Статус в карточке проекта */
.project-status {
    font-size: 11px;
    margin-top: 2px;
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

/* Статус в заголовке видео */
.video-status {
    font-size: 14px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 4px;
    background-color: #f8f9fa;
    display: inline-block;
}

.video-status i {
    font-size: 8px;
    margin-right: 5px;
}

/* Цвета статусов */
.status-created {
    color: #3498db;
    background-color: rgba(52, 152, 219, 0.1);
}

.status-downloading {
    color: #f39c12;
    background-color: rgba(243, 156, 18, 0.1);
}

.status-downloaded {
    color: #2ecc71;
    background-color: rgba(46, 204, 113, 0.1);
}

.status-error {
    color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.1);
}

.status-processing {
    color: #9b59b6;
    background-color: rgba(155, 89, 182, 0.1);
}

.status-complete {
    color: #2ecc71;
    background-color: rgba(46, 204, 113, 0.1);
}

.status-pending {
    color: #95a5a6;
    background-color: rgba(149, 165, 166, 0.1);
}

/* Прогресс-бар в заголовке видео */
.video-progress {
    margin-top: 15px;
    max-width: 300px;
}

.progress-label {
    font-size: 12px;
    margin-bottom: 5px;
    color: #7f8c8d;
    font-weight: 500;
}

.progress-bar {
    height: 6px;
    background-color: #ecf0f1;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #3498db;
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Иконка загрузки в заголовке */
.video-loading-icon {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(243, 156, 18, 0.3);
    border-top: 2px solid #f39c12;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

/* Спиннер в контенте вкладки */
.tab-content .loading-spinner {
    margin: 20px auto;
}

/* Контейнер для информации о файле */
.video-file-info {
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid #3498db;
}

.video-file-info i {
    margin-right: 8px;
    color: #3498db;
}

/* ===== АНИМАЦИИ ДЛЯ СТАТУСОВ ===== */
@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.status-downloading {
    animation: pulse 1.5s infinite;
}

/* ===== ОТВЕТСТВЕННОСТЬ КНОПОК ВО ВКЛАДКЕ ===== */
#startTranscribeBtn,
#retryDownloadBtn {
    margin-top: 15px;
    padding: 12px 24px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ===== СТИЛИ ДЛЯ СООБЩЕНИЙ В ПРОЦЕССЕ ===== */
.process-step {
    margin-bottom: 20px;
    padding: 15px;
    border-left: 4px solid #3498db;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.process-step h3 {
    color: #2c3e50;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.process-step .status-error {
    color: #e74c3c;
}

.process-step .status-complete {
    color: #2ecc71;
}

.process-step .status-downloading {
    color: #f39c12;
}

/* ===== ОБНОВЛЕННЫЕ СТИЛИ ДЛЯ МЕТА-ИНФОРМАЦИИ ===== */
.video-meta {
    flex-wrap: wrap;
    gap: 10px;
}

.video-meta-item {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
}

.video-meta-item i {
    margin-right: 5px;
    color: #7f8c8d;
}

/* Добавляем к существующим стилям статусов */
.status-transcribing {
  color: #9b59b6; /* Фиолетовый для транскрибации */
  background-color: rgba(155, 89, 182, 0.1);
}

.status-transcribed {
  color: #2ecc71; /* Зеленый для завершенной транскрибации */
  background-color: rgba(46, 204, 113, 0.1);
}

/* Стили для кнопок во вкладке */
.btn-group {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.btn-group .btn {
  flex: 1;
  min-width: 150px;
}


/* ===== МОДАЛЬНОЕ ОКНО ТРАНСКРИПЦИИ ===== */
.transcription-modal-content {
    width: 900px;
    max-width: 95%;
    height: 80vh;
    display: flex;
    flex-direction: column;
}

.transcription-info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
}

.info-item i {
    color: #3498db;
    width: 16px;
    text-align: center;
}

/* Контролы транскрипции */
.transcription-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.tabs {
    display: flex;
    gap: 5px;
}

.tab-btn {
    padding: 8px 16px;
    background-color: #ecf0f1;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #7f8c8d;
    transition: all 0.3s;
}

.tab-btn:hover {
    background-color: #d5dbdb;
}

.tab-btn.active {
    background-color: #3498db;
    color: white;
}

.actions {
    display: flex;
    gap: 8px;
}

.actions .btn {
    padding: 8px 12px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Контент транскрипции */
.transcription-content {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tab-content {
    flex: 1;
    overflow-y: auto;
    display: none;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background-color: #fcfcfc;
}

.tab-content.active {
    display: block;
}

/* Сырой JSON */
#raw-json {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 15px;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 13px;
    line-height: 1.5;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: 400px;
    overflow-y: auto;
}

/* Только текст */
.text-content-wrapper {
    padding: 15px;
    background-color: white;
    border-radius: 4px;
    line-height: 1.6;
    font-size: 15px;
    color: #333;
}

#plain-text {
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 0;
}

/* Сегменты */
.segments-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.segment-item {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px;
    transition: transform 0.2s ease;
}

.segment-item:hover {
    transform: translateX(2px);
    border-color: #3498db;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.1);
}

.segment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #f0f0f0;
}

.segment-time {
    font-size: 12px;
    color: #7f8c8d;
    background-color: #f8f9fa;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', monospace;
}

.segment-id {
    font-weight: 600;
    color: #3498db;
    background-color: rgba(52, 152, 219, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.segment-text {
    line-height: 1.5;
    color: #333;
    font-size: 14px;
}

/* Уведомление о копировании */
.copy-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #2ecc71;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    animation: slideIn 0.3s ease, fadeOut 0.3s ease 2s forwards;
    display: flex;
    align-items: center;
    gap: 8px;
}

.copy-notification.error {
    background-color: #e74c3c;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Адаптивность для модального окна */
@media (max-width: 768px) {
    .transcription-modal-content {
        width: 95%;
        height: 90vh;
    }
    
    .transcription-controls {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .tabs {
        justify-content: center;
    }
    
    .actions {
        justify-content: center;
    }
    
    .info-item {
        flex: 1 0 calc(50% - 15px);
    }
}

/* Индикатор загрузки */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.loading-spinner-large {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-text {
    font-size: 16px;
    color: #2c3e50;
    font-weight: 500;
}

/* Сообщение об отсутствии сегментов */
.no-segments {
    text-align: center;
    padding: 40px 20px;
    color: #7f8c8d;
    font-style: italic;
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    margin: 20px 0;
}

/* Стили для заглушек других вкладок */
.process-step {
  margin-bottom: 20px;
  padding: 20px;
  border-left: 4px solid #3498db;
  background-color: #f8f9fa;
  border-radius: 4px;
}

.process-step h3 {
  color: #2c3e50;
  margin-bottom: 10px;
  font-size: 18px;
}

.process-step p {
  color: #555;
  line-height: 1.5;
  margin-bottom: 10px;
}

.process-step .btn-group {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.process-step .btn {
  min-width: 150px;
}


/* Стили для JSON контейнера */
.json-container {
    margin-top: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f8f9fa;
}

.json-container h4 {
    margin: 0;
    padding: 15px;
    background-color: #2c3e50;
    color: white;
    font-size: 16px;
    border-bottom: 1px solid #34495e;
}

.json-output {
    padding: 15px;
    margin: 0;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.5;
    color: #333;
    background-color: white;
    max-height: 500px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.json-output.error {
    color: #e74c3c;
    background-color: #fdf2f2;
    border-left: 4px solid #e74c3c;
}

/* Для красивого форматирования JSON */
.json-output {
    counter-reset: line;
}

.json-output .line {
    display: block;
    position: relative;
    padding-left: 3em;
}

.json-output .line:before {
    counter-increment: line;
    content: counter(line);
    position: absolute;
    left: 0;
    width: 2.5em;
    text-align: right;
    color: #999;
    font-size: 12px;
    padding-right: 0.5em;
}

/* Цвета синтаксиса JSON (опционально) */
.json-output .string { color: #2ecc71; }
.json-output .number { color: #e74c3c; }
.json-output .boolean { color: #3498db; }
.json-output .null { color: #f39c12; }
.json-output .key { color: #9b59b6; }



/* ===== СТИЛИ ДЛЯ ГАЛЕРЕИ КАДРОВ ===== */

/* Форма извлечения кадров */
.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-text {
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 5px;
    display: block;
}

.form-preview {
    background-color: #f8f9fa;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 15px;
    border-left: 3px solid #3498db;
}

/* Галерея кадров */
.frames-summary {
    background-color: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
}

.frames-summary p {
    margin: 5px 0;
}

.frames-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.frames-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 5px;
    margin-bottom: 20px;
}

.frame-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background-color: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.frame-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.frame-image-container {
    position: relative;
    height: 90px;
    overflow: hidden;
    background-color: #2c3e50;
}

.frame-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.frame-image:hover {
    transform: scale(1.05);
}

.frame-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
}

.frame-placeholder i {
    font-size: 40px;
    margin-bottom: 10px;
}

.frame-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    padding: 8px;
    font-size: 11px;
    display: flex;
    justify-content: space-between;
}

.frame-time {
    font-weight: 600;
}

.frame-info {
    padding: 10px;
}

.frame-filename {
    font-size: 12px;
    color: #7f8c8d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 8px;
}

.frame-actions {
    display: flex;
    gap: 5px;
    justify-content: flex-end;
}

.btn-sm {
    padding: 4px 8px;
    font-size: 12px;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #ddd;
    color: #555;
}

.btn-outline:hover {
    background-color: #f8f9fa;
    border-color: #3498db;
    color: #3498db;
}

/* Пагинация */
.frames-pagination-controls {
    text-align: center;
    padding: 15px;
    border-top: 1px solid #e0e0e0;
    margin-top: 20px;
}

.pagination-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}

/* Просмотрщик кадров */
.frame-modal .modal {
    max-width: 800px;
    width: 90%;
}

.frame-viewer-container {
    text-align: center;
}

.frame-viewer-info {
    margin-top: 15px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 6px;
    text-align: left;
}

/* Адаптивность */
@media (max-width: 768px) {
    .frames-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .frame-image-container {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .frames-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .frame-image-container {
        height: 80px;
    }
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.frame-item {
    animation: fadeIn 0.3s ease;
}


/* В public/main.css добавляем новые стили */

/* Детализированный прогресс-бар */
.video-progress-detailed {
    margin-top: 15px;
    max-width: 500px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
}

.progress-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 5px;
    border-radius: 6px;
    font-size: 11px;
    text-align: center;
    transition: all 0.3s ease;
    min-width: 60px;
}

.step-icon {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 4px;
    display: block;
}

.step-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Цвета для статусов этапов */
.step-completed {
    background-color: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.step-processing {
    background-color: rgba(52, 152, 219, 0.1);
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.3);
    animation: pulse 1.5s infinite;
}

.step-error {
    background-color: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.step-pending {
    background-color: rgba(149, 165, 166, 0.1);
    color: #95a5a6;
    border: 1px solid rgba(149, 165, 166, 0.3);
}

/* Анимация пульсации для активных этапов */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Адаптивность для прогресс-бара */
@media (max-width: 768px) {
    .progress-steps {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .progress-step {
        flex: 0 0 calc(33.333% - 10px);
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    .progress-step {
        flex: 0 0 calc(50% - 10px);
    }
}


/* В public/main.css добавляем */

.existing-transcription,
.existing-frames {
    border-left: 4px solid #f39c12;
    margin-top: 15px;
}

.existing-transcription h4,
.existing-frames h4 {
    color: #f39c12;
    margin-bottom: 5px;
}

.existing-transcription .fa-info-circle,
.existing-frames .fa-info-circle {
    color: #f39c12;
    margin-right: 8px;
}

.transcription-actions,
.frames-controls {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.text-warning {
    color: #f39c12;
    background-color: rgba(243, 156, 18, 0.1);
    padding: 10px;
    border-radius: 4px;
    border-left: 3px solid #f39c12;
}

/* ===== СТИЛИ ДЛЯ ВКЛАДКИ РАЗДЕЛЕНИЯ СЦЕН ===== */

/* Сводка разделения сцен */
.scenes-summary {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #9b59b6;
    margin-bottom: 20px;
}

.scenes-summary h4 {
    color: #9b59b6;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.summary-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.summary-info p {
    margin: 5px 0;
    font-size: 14px;
}

.summary-info strong {
    color: #555;
    margin-right: 5px;
}

/* Превью сцен */
.scenes-preview {
    margin-top: 20px;
}

.scenes-preview h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.scenes-preview-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.scene-preview-item {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 12px;
    transition: all 0.2s ease;
}

.scene-preview-item:hover {
    border-color: #9b59b6;
    box-shadow: 0 2px 8px rgba(155, 89, 182, 0.1);
}

.scene-number {
    font-weight: 600;
    color: #9b59b6;
    margin-bottom: 5px;
    font-size: 14px;
}

.scene-time {
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 13px;
    color: #555;
    margin-bottom: 3px;
}

.scene-duration {
    font-size: 12px;
    color: #7f8c8d;
}

/* Элементы управления сценами */
.scenes-controls,
.scenes-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

/* Статусы для этапа разделения сцен */
.status-scene-detect {
    color: #9b59b6;
    background-color: rgba(155, 89, 182, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Анимация для процесса разделения сцен */
@keyframes scenePulse {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

.status-processing .fa-cut {
    animation: scenePulse 1.5s infinite;
}

/* Адаптивность */
@media (max-width: 768px) {
    .summary-info {
        grid-template-columns: 1fr;
    }
    
    .scenes-preview-list {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .scenes-controls,
    .scenes-actions {
        flex-direction: column;
    }
    
    .scenes-controls .btn,
    .scenes-actions .btn {
        width: 100%;
    }
}

/* ===== СТИЛИ ДЛЯ ГАЛЕРЕИ СЦЕН ===== */

/* Контейнер всех сцен */
.scenes-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 20px;
}

/* Контейнер одной сцены */
.scene-container {
    background-color: white;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.scene-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Шапка сцены */
.scene-header {
    background-color: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.scene-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
    font-size: 16px;
    color: #2c3e50;
    flex-wrap: wrap;
}

.scene-number {
    font-weight: 700;
    color: #9b59b6;
    background-color: rgba(155, 89, 182, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 14px;
}

.scene-time {
    color: #555;
    font-size: 14px;
    font-family: 'Consolas', 'Monaco', monospace;
}

.scene-duration {
    color: #7f8c8d;
    font-size: 13px;
    margin-left: 5px;
}

.scene-stats {
    display: flex;
    gap: 15px;
}

.scene-stat {
    font-size: 13px;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    gap: 5px;
}

.scene-stat i {
    color: #3498db;
}

/* Кадры сцены */
.scene-frames {
    padding: 15px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
    background-color: #fcfcfc;
}

/* Элемент кадра */
.frame-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    background-color: #2c3e50;
    aspect-ratio: 16/9;
}

.frame-item:hover {
    transform: scale(1.05);
    border-color: #3498db;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.2);
    z-index: 1;
}

/* Стили для первого и последнего кадра */
.frame-first {
    border-color: #2ecc71;
}

.frame-last {
    border-color: #e74c3c;
}

.frame-item.frame-first:hover {
    border-color: #27ae60;
}

.frame-item.frame-last:hover {
    border-color: #c0392b;
}

/* Контейнер изображения */
.frame-image-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.frame-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.frame-item:hover .frame-image {
    transform: scale(1.1);
}

/* Оверлей на кадре */
.frame-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 8px;
    font-size: 11px;
    opacity: 0;
    transition: opacity 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.frame-item:hover .frame-overlay {
    opacity: 1;
}

.frame-time {
    font-weight: 600;
    font-family: 'Consolas', 'Monaco', monospace;
}

.frame-index {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
}

/* Бейджи для первого/последнего кадра */
.frame-badge {
    position: absolute;
    top: 5px;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 3px;
    color: white;
}

.frame-badge.first {
    left: 5px;
    background-color: #2ecc71;
}

.frame-badge.last {
    right: 5px;
    background-color: #e74c3c;
}

/* Если кадров нет */
.no-frames {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #7f8c8d;
    font-style: italic;
}

.no-frames i {
    font-size: 40px;
    margin-bottom: 10px;
    color: #bdc3c7;
    display: block;
}

/* Сводка сцен */
.scenes-summary {
    background-color: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid #9b59b6;
    margin-bottom: 20px;
}

.scenes-summary h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.scenes-summary h4 i {
    color: #9b59b6;
}

.summary-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-item {
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: white;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.stat-item i {
    color: #3498db;
}

/* Предупреждение о существующих сценах */
.existing-scenes-warning {
    background-color: #fff8e6;
    border-left: 4px solid #f39c12;
    padding: 12px 15px;
    border-radius: 6px;
    margin: 15px 0;
}

.existing-scenes-warning h4 {
    color: #f39c12;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.existing-scenes-warning p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Модальное окно просмотра кадра */
.frame-viewer-large {
    max-width: 900px;
    width: 95%;
}

.frame-viewer-content {
    text-align: center;
    padding: 10px;
}

.frame-viewer-image {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.frame-timecode {
    margin-top: 15px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 16px;
    color: #555;
    background-color: #f8f9fa;
    padding: 8px 15px;
    border-radius: 6px;
    display: inline-block;
}

/* Кнопки управления сценами */
.scenes-controls {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

/* Адаптивность */
@media (max-width: 768px) {
    .scene-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .scene-stats {
        width: 100%;
        justify-content: flex-start;
    }
    
    .scene-frames {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 8px;
        padding: 10px;
    }
    
    .summary-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .stat-item {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .scene-frames {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .frame-overlay {
        font-size: 10px;
        padding: 5px;
    }
    
    .frame-time, .frame-index {
        font-size: 9px;
    }
}


/* ===== СТИЛИ ДЛЯ ТРАНСКРИБАЦИИ СЦЕН ===== */

.scene-transcription {
    background-color: #f8f9fa;
    padding: 12px 15px;
    border-left: 3px solid #3498db;
    margin: 10px 15px;
    border-radius: 4px;
}

.transcription-text {
    margin: 0;
    line-height: 1.5;
    color: #333;
    font-size: 14px;
}

/* Для сцен без транскрибации */
.scene-transcription.empty {
    background-color: #f5f5f5;
    border-left-color: #95a5a6;
    color: #7f8c8d;
    font-style: italic;
}