body {
    display: flex;
    padding: 0;
    margin: 0;
    height: 100vh; /* Adjust the height to full view height */
}

#left-container {
    display: flex;
    flex-direction: column; /* Stack children vertically */
    width: 50%; /* Take up half the viewport width */
}

#video-container {
    display: flex;
    justify-content: center;
    margin-top: 40px; /* Maintain margin-top for spacing */
    margin-bottom: 40px; /* Maintain margin-top for spacing */
}

#agenda-container {
    flex-grow: 1;
    overflow-y: auto; /* Scroll only the agenda container */
    padding: 10px;
    border-top: 1px solid #ccc;
}

#agenda-container table {
    width: 100%; /* Fill the container width */
    border-collapse: collapse; /* Cleaner borders */
}

#agenda-container th, #agenda-container td {
    border: 1px solid black;
    padding: 8px;
    text-align: left;
}

#transcript-container {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    border-left: 1px solid #ccc;
    width: 50%; /* Adjust width to take the remaining half of the viewport */
}

/* Ensure there are no margin issues */
html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.transcript-card {
    background-color: white;
    margin: 10px 0;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    cursor: pointer;
    scroll-margin-top: 100px;
}


.transcript-card .speaker-id {
    display: inline-block;
    background-color: #bbd6f5;
    padding: 5px 10px;
    border-radius: 4px;
    margin-bottom: 5px;
    font-size: 12px;
    color: #242424;
}

.transcript-card .tag {
    display: inline-block;
    background-color: #eee; 
    border-radius: 4px;
    padding: 5px 10px;
    margin-top: 5px;
    margin-right: 5px;
    font-size: 12px;
    color: #555;
}

.transcript-card .same-line-text {
    display: inline-block;
    margin-top: 5px;
    margin-left: 30px;
    margin-right: 5px;
    font-size: 12px;
    color: #555;
}

.transcript-card.active {
    border: 2px solid #007BFF;
}