.agenda-page {
    display: flex;
    flex-direction: column;
    justify-content: start;
    padding-top: 4rem;
    min-height: 100vh;
    scroll-margin-top: 3em;
    margin: 2em;
}

.header-wrapper{
    display: flex;
    flex-direction: column;
    width: 100%;
    align-self: center;
    margin-top: 2rem;
}
.header-wrapper p{
    font-size: 1.3rem;

}

.date {
    font-size: 1.7rem;
    margin: 0 0 .5rem;
    width: -moz-fit-content;
    width: fit-content;
}

.filters {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.filters select {
    background-color: white;
    color:red;
    border: 1px solid #555; 
    padding: 0.6rem 1rem;
    width: 12rem;
    height: 3.5rem;
    font-size: 1.2rem;
    border-radius: 5px;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.filters select:hover {
    border-color: #777;
}

.filters select:focus {
    border-color:rgba(63, 81, 181, .87);
    box-shadow: 0 0 5px rgba(255, 204, 0, 0.8);
}

.filters select option {
    background:white;
    color: rgba(0, 0, 0, .87);
    padding: 0.6rem;
}


.filters select option:hover {
    background: #444 !important;
}

.filters select option:checked {
    background: rgb(0 0 0 / 4%);
    color: rgba(63, 81, 181, .87);
    font-weight: bold;
}

/* Using pseudo-element for a checkmark icon (works only in some browsers) */
.filters select option:checked::after {
    content: "✔";
    color: rgba(63, 81, 181, .87);
} 

.main-content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.time-container {
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.carousel-functionality {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 25px;
    align-items: center;
}

.carousel-functionality button {
    background-color: transparent;
    border: none;
    width: 6rem;
    font-size: 24px;
    cursor: pointer;
}

.carousel-functionality button i {
 color: white;
}

.time-slot {
    margin-right: auto;
}

.time-slot p {
    width: -moz-fit-content;
    width: fit-content;
    height: 3rem;
    justify-content: center;
    display: flex;
    background-color: #ff0000;
    border-radius: 6px;
    align-items: center;
    font-size: larger;
    padding-left: 1rem;
    padding-right: 1rem;
    text-wrap: nowrap;
}

.carousel-container {
    display: flex;
    width: 100%;
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.carousel-content {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    width: 100%;
}

/* Center single no-speaker sessions */
.carousel-content:has(.no-speaker-session:only-child) {
    justify-content: center;
}

.carousel-content a{
    text-decoration: none;
}

#session-list {
    overflow-x: auto;  /* Enable horizontal scrolling */
    scroll-behavior: smooth;
}

.keynote-session a{
    text-decoration: none;
}


#session-list::-webkit-scrollbar {
    display: none; /* Hide scrollbar for cleaner UI */
}


@media (max-width: 450px) {
    .filters {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .filters select {
        width: 65%;
    }
}