/* @chrrrstn */

/* body {
 font-family: 'Open Sans', sans-serif;
} */

div#session_list p {
    color:#333333;
    font-family:var( --e-global-typography-text-font-family ), Sans-serif;
}

.speaker_wrapper h2 a, .session_wrapper h4 a, .sessionView_wrapper h2 a {
  text-decoration: none;
/*  color: var(--e-global-color-accent );*/
}

.speaker_wrapper h2 a{ 
    font-size: 16px;
    color:#333333;
}

.session_track h5 {
    margin-bottom: 0px;
    margin-top: 0;
    font-size: 16px;
    font-weight: normal;
    margin-right: 5px;
}
.session_type h5 {
    font-size:16px;
    font-size: 16px;
    font-weight: normal;
    margin-top: 0;
    margin-left: 0px;
    margin-bottom:0;
/*    font-family:var(--e-global-typography-accent-font-family);
    font-weight:var(--e-global-typography-accent-font-weight);*/
}
.session_type h5 a {
    color: #333333;
}

.session_track_wrapper {
    display: flex;
    flex-direction: row;
    margin-top: 1rem;
    margin-bottom:5px;
}

.speaker_name h6 {
    font-size: 1rem;
    text-align:left;
    color: var(--e-global-color-b533d83);
}

h4.session_title {
    margin-bottom: 0;
}

.dateTime {
    display: flex;
    color: #333333;
    font-weight: bold;
    margin-bottom: 5px;
}

.room {
    color: var(--e-global-color-text);
}


.date {
    margin-right:10px;
}


p.speaker_company, .speaker_bio {
  color: #333333;
  font-family: var(--e-global-typography-primary-font-family ), Sans-serif;
}
p.speaker_company {
  text-align: left;
  margin-top:10px;
}

.session_wrapper {
    background-color: #ffffff;
    padding: 20px;
    margin: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    background-color: #fff;
    width: 100%;
    max-width: 350px;
    min-height: 100%;
    border: 0 solid #818a91;
    transition: all .25s;
    box-shadow: 0 0 2px 0 rgba(0,0,0,.15);
}

/*.session_wrapper:hover {
    box-shadow: 0 0 30px 0 rgba(0,0,0,.3);
}*/

.sessionView_wrapper {
    padding: 10px;
    margin: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 1600px;
    min-height: 100%;
    transition: all .25s;
}

.session_panel {
    margin-left: 10px;
}

.session_content {
    display: flex;
}
.session_inner {
    max-width: 60%;
    margin-right: 25px;
}
.search_box {
  display:none;
  margin: 0rem 25px; 
  margin-top: 23px;
  max-width: 350px;
}

input#search {
    border-radius: 0;
    margin-bottom: 10px;
    border-color: var(--e-global-color-primary);
    color: var(--e-global-color-primary);
}

div#session_list, div#speakers_list {
    font-family: var(--e-global-typography-text-font-family ), Sans-serif;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    color:#777;
    margin-bottom:2rem;
    margin-top:2rem;
}

.session_speaker {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /* margin-top: 0.6rem; */
}



.speakers_container {
    display: flex;
    flex-wrap: wrap;
}

.speakers_container .speaker:not(:last-child) .speaker_name h6::after {
    content: ",";
}

.speakers_container .speaker:last-child .speaker_name h6::after {
    content: "";
}


.speaker_name {
    margin-right: 10px;
    margin-bottom: 10px;
}

.speaker_name {
    margin: 10px 10px 10px 0;
    text-align: center;
}

.speaker_wrapper_portrait .speaker_name {
    margin: 0 0 15px 0;
    text-align: left;
}

.session_abstract {
    display: grid;
    margin-top: 0.8rem;
    flex-grow: 1; /* Allow abstract to expand and push calendar to bottom */
    margin-bottom: 5px;
}
.session_abstract button {
    margin-bottom: 20px;
    order: 2;
}

div#loading {
  width:100px;
  margin: auto;
}
.speaker_wrapper .speaker_image {
  object-fit: cover;
  width: 260px;
  height: 260px !important;
  border-radius:0%;
}

.speaker_wrapper h2.speaker_name {
/*  margin: 15px 20px 10px;
  padding: 0 10px;*/
  display: flex;
  justify-content: center;
  align-items: center;

}
.speaker_wrapper .speaker_bio {
  padding: 0 10px;
}
.speaker_wrapper_portrait .image_wrapper {
    height: 450px;
    width: 450px;
    background-color: transparent;
    overflow: hidden;
}
.image_wrapper {
    height: 260px;
    width: 100vw;
    background-color: #333333; /*war: #3d3182*/
    overflow: hidden;
}
/*.image_wrapper img {
   object-fit: cover;
   opacity: 0.7;
   filter: grayscale();
}*/

.modal {
    max-width: 800px!important;
  }

.session_type {
  display: flex;
  flex-direction: row;
}
/*.type_img {
    width: 18px;
}*/

h1.entry-title {
  display:none;
}

.speaker_portrait_content {
  display: grid;
  grid-template-columns: 0fr 1fr;
}
.speaker_wrapper_portrait .speaker_image {
  object-fit: cover;
  width: 50vw;
  max-height: 500px;
  border-radius:0%;
}

.speaker_content_inner {
  margin: 0 0 0 40px;
}
.speaker_session_link {
    margin-bottom: 5px;
}

.speaker_portrait_content .elementor-social-icon-linkedin, .elementor-social-icon-linkedin-in  {
    background-color: var(--e-global-color-primary);
    border: 1px solid var(--e-global-color-primary);
}

.speaker_portrait_content .elementor-social-icon-linkedin:hover, .elementor-social-icon-linkedin-in:hover {
   background-color: transparent;
   border: 1px solid var(--e-global-color-primary);
}

.speaker_portrait_content .elementor-social-icon-linkedin:hover svg {
   fill:var(--e-global-color-primary);
}

h4.sessions-h {
    margin-top: 40px;
}

.speaker_portrait_content .elementor-icon.elementor-social-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
}

.elementor-social-icon svg:hover {
    fill:var(--e-global-color-primary);
}

.nav_buttons {
    display: flex;
    justify-content: left;
    margin-top: 50px;
    margin-bottom: 30px;
}

.ppp_button a {
    margin: 0 10px 0 0;
    background-color: var(--e-global-color-primary);
    padding: 12px 24px;
    font-size: 15px;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-weight: var(--e-global-typography-primary-font-weight);
    fill: var(--e-global-color-60f7254);
    color: #ffffff;
    text-decoration: none;
    border: 2px solid var(--e-global-color-primary);
}

.ppp_button a:hover {
    background-color: transparent;
    border: 2px solid var(--e-global-color-primary);
    color: var(--e-global-color-primary);
}

.speaker_wrapper {
  background-color: #ffffff;
  padding: 0px;
  margin: 10px 10px 30px 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 260px;
  min-height: 100%;
  transition: all .25s;
  box-shadow: 0 0 2px 0 rgba(0,0,0,.15);
}

.page-id-1186 h1, .page-id-1185 h1.elementor-heading-title {
    display: none;
}

/*.page-id-1186 .e-con-full, .page-id-1186 .e-con > .e-con-inner { 
    padding-block-start: 0;
}*/

@media (max-width: 1280px) {
  .speaker_portrait_content {
    display: grid;
    grid-template-columns: 1fr;
  }
  .speaker_wrapper_portrait .image_wrapper {
    width: 350px;
    height: 350px;
    background-color: #3D3182;
    overflow: hidden;
    margin:auto;
}
.speaker_wrapper_portrait .speaker_image {
    object-fit: cover;
    width: 500px;
    height: 500px;
    border-radius: 0%;
}
/*.session_content {
  flex-direction: column;
}*/
.session_inner {
  width:100%;
  margin-right:0;
}
div#session_list, div#speakers_list {
    justify-content: center;
}
}


.hash {
    display: flex;
    flex-wrap: wrap;
}

.session_hashtags {
    margin-right: 7px;
}

button:focus {
    outline: none;
    color: #e54d45;
    background-color: #fff;
    text-decoration: none;
    border-color: #e54d45;
}


button.active, #toggle-liked-sessions:hover, #toggle-liked-sessions:active {
    color: #fff;
    background-color: #e54d45;
    text-decoration: none;
}


.filter-buttons {
    display: flex;
    flex-direction: row;
    max-width: 1024px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 0 20px;
}

button {
    margin: 5px;
}

.slides {
    margin-top: 1rem;
}

.yt-checker {
    cursor: pointer;
    color: var(--e-global-color-b533d83);
    padding: .5rem;
    height: 370px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--e-global-color-14cc5a9);
}

.video_link {
    margin-top: 10px;
}


@media (max-width: 500px) {
  .speaker_portrait_content {
    display: grid;
    grid-template-columns: 1fr;
  }
  .speaker_wrapper_portrait .image_wrapper {
    width: 300px;
    height: 300px;
    background-color: #3D3182;
    overflow: hidden;
    margin:auto;
}
.speaker_wrapper_portrait .speaker_image {
    object-fit: cover;
    width: 300px;
    height: 300px;
    border-radius: 0%;
}
div#session_list, div#speakers_list {
    justify-content: center;
    }
.speaker_wrapper_portrait {
    margin-top: 30px;
}

.speaker_wrapper_portrait .speaker_name {
    margin: 25px 0 25px 0;
}
h2 {
    font-size: 1.5rem;
}

.session_content {
    display: flex;
    flex-direction: column-reverse;
}
.session_inner {
    max-width:100%;
    width:100%;
}
.session_panel {
    margin-bottom: 20px;
    border: 1px solid;
    padding: .5rem;
    margin-left: 0;
}

.nav_buttons {
    flex-direction: column;
    margin-top: 20px;
    margin-bottom: 0;
}

.ppp_button {
    margin: 1rem;
    width: 100%;
    max-width: 100%;
    text-align:center;
}


.yt-checker {
    height:250px;
}



}/*end media query*/



/* Grid-Layout für die Session-Liste */
.session-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    margin-bottom: 5rem;
} 

/* Style für die einzelnen Session-Items */
.session-item {
    position: relative;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    background-color: #ebeaf2;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-left: 4px solid transparent; /* Default border for track coloring */
    padding-top: 25px; /* Add space for the track badge */
    min-height: 200px; /* Ensure minimum height for proper spacing */
}
.session-item:hover {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}
.session-item h2 {
    margin-top: 0;
}

.session-item img {
    max-width: 100px;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

.speaker-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    flex-direction: column;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.session-time {
    font-weight: bold;
}

.session-excerpt {
    margin-top: 1rem;
}

/* Media Query für Desktopansicht */
@media (min-width: 1024px) {
    .session-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

.session-search {
    margin-bottom: 20px;
    text-align: center;
}

#session-search-input {
    width: 80%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Grid-Layout für die Speaker-Liste */
.speaker-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    margin-bottom: 5rem;
}
.speaker-list .speaker-item img {
    width: 100%;
    height: auto;
    border-radius: 5px 5px 0px 0px;
    object-fit: cover;
    aspect-ratio: 1 / 1; /* Ensures the image is square */
}

.speaker-item h2 {
    margin-top: 10px;
    font-size: 1.2em;
}

.speaker-item a {
    text-decoration: none;
    color: #333;
}

.speaker-item a:hover {
    color: #3d3182;
}

/* Media Query für Desktopansicht */
@media (min-width: 1024px) {
    .speaker-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

.session-search, .speaker-search {
    margin-bottom: 20px;
    text-align: center;
    margin-top: 5rem;
    max-width: 1200px;
    margin-left:20px;
}

#session-search-input, #speaker-search-input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.speaker_wrapper_portrait {
    margin-bottom: 2rem;
}

.speakers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.speaker-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.session_panel .speaker img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.speakers-grid .speaker_name {
    text-align: center;
    margin-top: 5px;
    display: flex;
    justify-content: center;
    margin-right:0;
    max-width:150px;
}

.speaker_name h6 {
    margin: 0;
    font-size: 0.9em;
}

.video_player {
    background-color: #f0f0f0;
}

@media screen and (min-width: 1200px) {
    article.type-speaker, article.type-session {
        margin: 5rem 7rem 5rem 7rem;
    }
    
}

@media screen and (max-width: 1199px) {
    article.type-speaker, article.type-session {
        margin-top: 7rem;
        margin-bottom: 5rem;
    }
    .speaker_content_inner {
        margin: 3rem 0 0 0;
    }
    
}



/*schedule*/
.schedule-controls {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.day-buttons button,
#toggle-liked-sessions,
.day-buttons button:focus,
#toggle-liked-sessions:focus  {
    padding: 10px 15px;
    border: 1px solid #ddd;
    background-color: #ebeaf2;
    cursor: pointer;
    border-radius: 5px;
    color:#e54d45;
}

.day-buttons button[data-active="true"] {
    background-color: #3d3182;
    color: #fff;
}

#toggle-liked-sessions[data-showing-liked="true"], [type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover {
    background-color: #e54d45!important;
    color: #fff;
}

.search-controls {
    margin-bottom: 20px;
    width: 100%;
}

#schedule-search-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.schedule-list {
    margin: 20px 0;
}

.all-schedule-dates .schedule-date {
    margin-bottom: 30px;

}

.all-schedule-dates .schedule-date.active {
    display: block;
}

.schedule-date h2 {
    font-size: 20px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px; 
}

.sessions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.session-hour-group {
    margin-top: 20px;
}

.session-hour {
    font-weight: bold;
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

/* Make room headers sticky when scrolling */
.room-headers-container {
    position: sticky;
    top: 0;
    z-index: 90;
    background-color: #fff;
    padding: 5px 0;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-bottom: 1px solid #eee;
    width: 100%;
    overflow-x: auto;
}

.room-headers {
    display: grid;
    gap: 5px;
    min-width: 100%;
}

.room-header {
    font-weight: bold;
    font-size: 0.85rem;
    text-align: center;
    padding: 6px 3px;
    border-bottom: 2px solid #3d3182;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Time column header styling - reduced size */
.time-column-header {
    font-weight: bold;
    font-size: 0.85rem;
    text-align: center;
    padding: 6px 3px;
    border-bottom: 2px solid #3d3182;
    white-space: nowrap;
}

/* Adjust other elements to work with sticky headers */
.schedule-date {
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px dashed #ddd;
}

.schedule-date h2 {
    margin-bottom: 5px; /* Reduce margin to bring headers closer to title */
}

/* Adjust time column for consistent sizing */
.time-column {
    font-size: 0.9rem;
}

.time-start, .time-end {
    font-size: 0.9rem;
}

/* REMOVE: All sticky header related styles */
.sticky-day-time-info,
.sticky-info-container,
.sticky-day,
.sticky-rooms,
.sticky-room,
.sticky-time,
.sticky-info-left,
.sticky-room-indicator,
.sticky-room-badge {
    display: none !important;
}

/* Fix room headers container styles to be non-sticky */
.room-headers-container {
    position: sticky;
    top: 0;
    z-index: 90;
    background-color: #fff;
    padding: 5px 0;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-bottom: 1px solid #eee;
    width: 100%;
    overflow-x: auto;
}

.room-headers {
    display: grid;
    gap: 5px;
    min-width: 100%;
}

.room-header {
    font-weight: bold;
    font-size: 0.85rem;
    text-align: center;
    padding: 6px 3px;
    border-bottom: 2px solid #3d3182;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Time column header styling */
.time-column-header {
    font-weight: bold;
    text-align: center;
    padding: 8px 5px;
    border-bottom: 2px solid #3d3182;
    white-space: nowrap;
}

/* Room-based table layout for schedule */
.session-time-block {
    display: grid;
    grid-template-columns: 100px 1fr; /* Keep time column width consistent */
    gap: 10px;
    margin-bottom: 20px;
    align-items: stretch;
}

.rooms-row {
    display: grid;
    gap: 10px;
    height: 100%;
}

/* No need for the scrolling class behavior anymore */
.room-headers-container.scrolling .static-time-label {
    display: inline; /* Always show the static label */
}

.room-headers-container.scrolling .current-time-display {
    display: none; /* Don't need to show the dynamic time */
}

/* Room-based table layout for schedule */
.session-time-block {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 10px;
    margin-bottom: 20px;
    align-items: stretch; /* Make all direct children stretch to fill the container height */
}

.time-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    background-color: #ebeaf2;
    border-radius: 5px;
    border: 1px solid #ddd;
    height: 100%; /* Fill the height of the parent */
}

.time-start, .time-end {
    color: #3d3182;
}

.time-dash {
    margin: 4px 0;
    color: #999;
}

.rooms-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    height: 100%; /* Fill the height of the parent */
}

.room-column {
    /* height: 100%; Fill the height of the parent */
    display: flex;
    flex-direction: column;
}

.session-item {
    position: relative;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    background-color: #ebeaf2;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
    height: 100%; /* Make the session item fill the height */
    display: flex;
    flex-direction: column;
    border-left: 4px solid transparent; /* Default border for track coloring */
    padding-top: 25px; /* Add space for the track badge */
    min-height: 200px; /* Ensure minimum height for proper spacing */
}

.session-item:hover {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.session-item .session-duration {
    top: 28px; /* Move down below track badge */
}

.empty-slot {
    background-color: #f5f5f5;
    background-image: repeating-linear-gradient(
        45deg,
        #e9e9e9,
        #e9e9e9 10px,
        #f5f5f5 10px,
        #f5f5f5 20px
    );
    border: 1px dashed #ddd;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #999;
    height: 100%; /* Make the empty slot fill the height */
}

/* Break session styling */
.break-session {
    background-color: #e8e8e8; /* Lighter grey background for break sessions */
    border: 1px dashed #bbb;
    box-shadow: none;
    border-left-color: #bbb !important;
}

.break-session .session-title {
    text-align: center;
}

.break-session .session-room {
    display:none;
}
.break-session .session-time {
    text-align:center;
}

.break-session .session-abstract {
   text-align: center;;
}

/* Hide the old elements that might conflict */
.session-hour-group, .session-room-grid {
    display: none;
}

.session-room {
    color: #3d3182;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 0.9em;
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    .room-headers-container {
        position: relative; /* Not sticky on mobile to save space */
        padding: 3px 0;
    }
    
    .session-time-block {
        grid-template-columns: 1fr;
    }
    
    .time-column {
        margin-bottom: 10px;
    }
    
    .rooms-row {
        display: block;
    }
    
    .room-column {
        margin-bottom: 15px;
    }
    
    .room-column:empty, 
    .empty-slot {
        display: none;
    }
    
    .session-room {
        background-color: #3d3182;
        color: white;
        padding: 5px 10px;
        border-radius: 3px;
        display: inline-block;
        margin-bottom: 8px;
    }

    .sticky-day-time-info {
        padding: 3px 10px;
    }
    
    .sticky-info-container {
        display: flex; /* Switch to flex for mobile */
    }
    
    .sticky-day {
        font-size: 0.85rem;
    }
    
    .sticky-rooms {
        display: none; /* Hide rooms on mobile to keep it simple */
    }
    
    .sticky-day {
        font-size: 0.9rem;
    }
    
    .sticky-time {
        font-size: 0.8rem;
        padding: 3px 8px;
    }
    
    /* Remove mobile-specific room indicator styles */
    .sticky-room-badge,
    .sticky-room-indicator {
        display: none;
    }
}

/* Responsive design for room layout */
@media (max-width: 768px) {
    .room-headers {
        display: none;
    }
    
    .session-room-grid {
        display: block;
    }
    
    .session-slot:not(:last-child) {
        margin-bottom: 15px;
    }
    
    .empty-slot {
        display: none;
    }
    
    .mobile-room-label {
        display: block;
    }
    
    .session-hour-group {
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
}

/* Like button styles */
.favorite-star {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #ccc;
    transition: transform 0.2s ease, color 0.2s ease;
    z-index: 10;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
}

.favorite-star:hover {
    transform: scale(1.2);
    color: #f8bb00;
}

.favorite-star.favorited {
    color: #f8bb00;
    animation: star-pulse 0.5s;
}

@keyframes star-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Adjust session duration position to avoid overlap with star */
.session-duration {
    display: none;
}

/* Add styles for inline duration */
.session-duration-inline {
    font-size: 0.85em;
    color: #3d3182;
    font-weight: normal;
}

.session-warning .session-duration-inline {
    color: #e74c3c;
    font-weight: bold;
}

/* Session duration styling */
.session-extended {
    border-left: 4px solid #3d3182;
}

.session-warning {
    border-left: 4px solid #e74c3c;
}

.session-duration {
    position: absolute;
    top: 5px;
    right: 35px; /* Adjusted for favorite star */
    background: rgba(0, 115, 170, 0.1);
    color: #3d3182;
    font-size: 0.8em;
    padding: 3px 6px;
    border-radius: 3px;
    font-weight: bold;
}

.session-duration.warning {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
}

/* Track badge styling */
.track-badge {
    position: relative; 
    top: 0;
    left: 0;
    padding: 3px 8px;
    font-size: 0.75em;
    font-weight: bold;
    color: white;
    border-radius: 0 0 5px 0;
    z-index: 5;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    max-width: 70%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

/* Apply track-based styling */
/* .session-item.session-extended[class*="track-"],
.session-item.session-warning[class*="track-"] {

} */

/* Continuing session styling */
.continuing-session {
    background-color: #fef9e7;
    border: 1px dashed #f39c12;
    border-radius: 5px;
    padding: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.continuing-session-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

.continuing-text {
    font-weight: bold;
    color: #f39c12;
}

.continuing-session a {
    color: #f39c12;
    text-decoration: none;
    border-bottom: 1px dotted #f39c12;
    transition: all 0.2s;
}

.continuing-session a:hover {
    border-bottom: 1px solid #f39c12;
}

/* Responsive adjustments for continuing sessions */
@media (max-width: 768px) {
    .continuing-session {
        padding: 8px;
    }
    
    .continuing-text {
        font-size: 0.9em;
    }
}

/* Track styling */
.session-track {
    background-color: #e9f5fb;
    border: 1px solid #c9e5f5;
    color: #3d3182;
    display: inline-block;
    padding: 2px 8px;
    margin: 5px 0;
    border-radius: 3px;
    font-size: 0.85em;
}

/* Track display for single session */
.session-track-display {
    display: inline-block;
    color: white;
    font-weight: bold;
    padding: 5px 12px;
    margin-bottom: 10px;
    border-radius: 4px;
    font-size: 0.9em;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.sessionView_wrapper h2.session_title {
    margin-top: 0; /* Reduce spacing between track and title */
}

/* Fix padding for session items in list view */
.session-list .session-item {
    position: relative;
    padding-top: 25px; /* Make space for track badge */
}

/* Speaker Sessions Container */
.speaker-sessions-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Speaker Session Box */
.speaker-session-box {
    position: relative;
    border: 1px solid #ddd;
    border-left-width: 4px;
    border-left-color: #3d3182;
    border-radius: 5px;
    padding: 15px;
    padding-top: 25px; /* Space for track badge */
    background-color: #ebeaf2;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.speaker-session-box:hover {
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.speaker-session-box h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.speaker-session-box h3 a {
    text-decoration: none;
    color: #333;
}

.speaker-session-box h3 a:hover {
    color: #3d3182;
}

/* Media query to handle smaller screens */
@media (max-width: 768px) {
    .speaker-sessions-container {
        grid-template-columns: 1fr;
    }
    
    .speaker-session-box {
        margin-bottom: 15px;
    }
}

/* Track filter styling */
.track-filter-container {
    margin: 20px 0px;
    padding: 15px;
    border-radius: 5px;
    background-color: #ebeaf2;
    border: 1px solid #eee;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.track-filter-container, .search-controls, .schedule-controls {
    max-width: 1200px;
    /* margin: auto; */
}

.track-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.track-filter-header h3 {
    margin: 0;
    font-size: 1.1em;
    color: #333;
}

#clear-track-filters {
    background: transparent;
    border: 1px solid #ccc;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    color: #666;
}

#clear-track-filters:hover {
    background-color: #f2f2f2;
    color: #333;
}

.track-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.track-filter-btn, .track-filter-btn:focus {
    border: 2px solid #ddd;
    background-color: #fff;
    border-radius: 30px;
    padding: 8px 15px;
    font-size: 0.9em;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    color: #333;
}

.track-filter-btn:hover {
    filter: brightness(0.95);
}

.track-filter-btn.active {
    color: #ffffff;
    background-color: #e54d45 !important;
    font-weight: bold;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}



.track-color-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.track-filter-btn.active .track-color-dot {
    background-color: #ffffff !important;
}

.track-filter-btn:hover {
    font-weight: bold;
    background-color: #e54d45 !important;
}

.track-filter-btn:hover .track-color-dot {
    background-color: #ffffff!important;
}

@media (max-width: 768px) {
    .track-filter-container {
        padding: 10px;
    }
    
    .track-buttons {
        gap: 8px;
    }
    
    .track-filter-btn {
        padding: 6px 12px;
        font-size: 0.8em;
    }
}

/* Update day navigation button styling */

.day-buttons {
    display: flex;
    gap: 10px;
}

.day-nav-button {
    padding: 10px 15px;
    border: 1px solid #ddd;
    background-color: #ebeaf2;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.2s ease;
}

/* .day-nav-button.active {
    background-color: #3d3182;
    color: #fff;
    border-color: #3d3182;
    font-weight: bold;
} */

/* Day section styling */
.schedule-date {
    position: relative;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px dashed #ddd;
}

.schedule-date:last-child {
    border-bottom: none;
}

.schedule-date h2 {
    position: relative; /* Change from sticky to relative */
    font-size: 22px;
    margin-bottom: 20px;
    padding: 10px 15px;
    background-color: #ebeaf2;
    border-left: 5px solid #3d3182;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Style for days with no visible sessions after filtering */
.schedule-date.no-visible-sessions {
    opacity: 0.6;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.schedule-date.no-visible-sessions h2 {
    border-left-color: #ccc;
    background-color: #f1f1f1;
}

/* Scroll to top button */
#scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #3d3182;
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
}

#scroll-to-top.visible {
    opacity: 0.8;
    transform: translateY(0);
}

#scroll-to-top:hover {
    opacity: 1;
    background-color: #005c88;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #scroll-to-top {
        width: 40px;
        height: 40px;
        font-size: 18px;
        bottom: 20px;
        right: 20px;
    }
}

/* Update the time column header to allow for dynamic content */
.time-column-header {
    display: flex;
    align-items: center;
    justify-content: center;
}

.current-time-display {
    display: none;
    font-weight: bold;
    color: #3d3182;
}

.room-headers-container.scrolling .static-time-label {
    display: none;
}

.room-headers-container.scrolling .current-time-display {
    display: block;
}

/* Calendar link styles - positioned at bottom right */
.calendar-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: auto; /* Push to the bottom */
    padding-top: 10px;
    color: #ccc;
    transition: color 0.2s ease;
    font-size: 0.9em;
}

.calendar-link a {
    color: #ccc;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.calendar-link:hover a {
    color: #3d3182;
}

/* Calendar icon using CSS */
.calendar-icon {
    width: 14px;
    height: 14px;
    position: relative;
    border: 1.5px solid currentColor;
    border-radius: 2px;
    display: block;
    flex-shrink: 0;
}

.calendar-icon::before {
    content: "";
    position: absolute;
    top: -3px;
    left: 2px;
    right: 2px;
    height: 2px;
    border-left: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
}

.calendar-icon::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 2px;
    right: 2px;
    height: 1.5px;
    background-color: currentColor;
}

/* Remove the old session-links styling since we don't need it anymore */
.session-links {
    display: none;
}

/* ========================================
   MULTIPLE TRACK BADGES STYLING
   ======================================== */

/* Container for multiple track badges */
.track-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
    align-items: flex-start;
}

/* Individual track badge styling */
.track-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.7rem;
    border-radius: 1.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
    white-space: nowrap;
    line-height: 1.2;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 1.8rem;
    box-sizing: border-box;
}

.track-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* ========================================
   SINGLE SESSION TRACK DISPLAY
   ======================================== */

/* Container for tracks on single session page */
.session-tracks-display {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
    align-items: flex-start;
}

/* Individual track display on single session page */
.session-track-display {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.2rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    line-height: 1.3;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 2.5rem;
    box-sizing: border-box;
}

.session-track-display:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

/* ========================================
   CONTEXT-SPECIFIC SPACING
   ======================================== */

/* Session items in lists */
.session-item .track-badges {
    margin-top: 0.5rem;
    margin-bottom: 0.6rem;
}

/* Speaker session boxes */
.speaker-session-box .track-badges {
    margin-bottom: 0.8rem;
    margin-top: 0.3rem;
}

/* Schedule view */
.schedule-list .track-badges {
    margin-bottom: 0.5rem;
    margin-top: 0.3rem;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */

@media (max-width: 768px) {
    .track-badges {
        gap: 0.3rem;
        margin-bottom: 0.6rem;
    }
    
    .track-badge {
        padding: 0.25rem 0.6rem;
        font-size: 0.75rem;
        min-height: 1.6rem;
    }
    
    .session-tracks-display {
        gap: 0.4rem;
        margin-bottom: 1rem;
    }
    
    .session-track-display {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        min-height: 2.2rem;
    }
}

@media (max-width: 480px) {
    .track-badges {
        gap: 0.25rem;
    }
    
    .track-badge {
        padding: 0.2rem 0.5rem;
        font-size: 0.7rem;
        min-height: 1.4rem;
    }
    
    .session-track-display {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
        min-height: 2rem;
    }
}

/* ========================================
   DAY BUTTON ACTIVE STATE STYLING
   ======================================== */

/* Default button styling */
.day-buttons .day-filter {
    background-color: #ebeaf2;
    color: inherit;
    border-color: #ddd;
    font-weight: normal;
}

/* Active button styling (works with existing data-active attribute) */
.day-buttons .day-filter[data-active="true"] {
    background-color: #3d3182 !important;
    color: #fff !important;
    border-color: #3d3182 !important;
    font-weight: bold !important;
}

