﻿/* Overall layout */
.te-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

/* Sticky unified control bar at the top */
.te-sticky-controls {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #f1f1f1;
    border-bottom: 1px solid #ccc;
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

    .te-sticky-controls audio {
        height: 32px;
        margin-left: 1rem;
    }

/* Scrollable timing area below */
.te-scroll-wrapper {
    flex-grow: 1;
    overflow-y: auto;
    padding: 2rem;
    background-color: #f9fafb;
    box-sizing: border-box;
}

/* Word block styling */
.te-word-block {
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

    .te-word-block.highlight {
        background-color: #fffac0;
        border-color: #f39c12;
        box-shadow: 0 0 8px rgba(255, 204, 0, 0.6);
        transition: background-color 0.2s ease-in-out;
    }

.te-timestamp {
    font-size: 0.95rem;
    font-family: monospace;
    margin-left: 1rem;
}

.te-jump-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .te-jump-controls input {
        width: 6rem;
    }

.te-speed-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
