/* === Audio Player === */

.audio-card {
    position: relative;
    background: #faf6f0;
    border: 1.5px solid #e0d5c5;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.audio-card-label {
    font-size: 0.8rem;
    color: #8a7e6e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.audio-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #343a40;
    margin-bottom: 0.75rem;
}

.audio-card audio {
    width: 100%;
    display: block;
}

/* === Interactive Transcript === */

.transcript-card {
    background: #faf6f0;
    border: 1.5px solid #e0d5c5;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.transcript-container {
    max-height: 600px;
    overflow-y: auto;
    line-height: 1.8;
}

.transcript-container .chunk {
    margin-bottom: 1rem;
}

.transcript-container .alignment {
    cursor: pointer;
    border-radius: 4px;
    padding: 2px 0;
    transition: background-color 0.15s ease;
}

.transcript-container .alignment:hover {
    background-color: rgba(39, 128, 227, 0.10);
}

.transcript-container .word {
    transition: background-color 0.15s ease, color 0.15s ease;
    border-radius: 2px;
    padding: 1px 0;
}

.highlight-sentence {
    background-color: rgba(39, 128, 227, 0.12);
}

.highlight-word {
    background-color: rgba(39, 128, 227, 0.35);
}
