.session-name-time .time{color: var(--time)}
.session-name-time .name{color: var(--text-primary)}
.speaker-name{color: var(--text-primary)}
.agenda-bk{background-color: var(--bg-page)}

/* Dark overrides */
body.dark-mode .section-main-speakers .strong-h{color:#ffffff}
body.dark-mode .col-session-num{background-color: #f2f2f2}
body.dark-mode .h4-aside-title{color:#ffffff}
body.dark-mode .session-des-aside{color: var(--text-secondary)}
body.dark-mode .session-language{color: var(--text-primary)}
body.dark-mode .session-language-detail{color: #f2f2f2}
body.dark-mode .zoom-link{color:#eaeaea !important}
.theme-toggle-wrap{display:flex;align-items:center;justify-content:center;margin-bottom:15px}
.theme-toggle{display:flex;align-items:center;gap:10px;color:#1c1c1c;font-weight:600}
.toggle-switch{position:relative;width:48px;height:26px;background:#d7d7d7;border-radius:20px;cursor:pointer;transition:background .2s}
.toggle-switch:before{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;background:#fff;border-radius:50%;transition:transform .2s}
.toggle-input{display:none}
.toggle-input:checked + .toggle-switch{background:#333}
.toggle-input:checked + .toggle-switch:before{transform:translateX(22px)}

/* Theme variables */
:root{
  --bg-page: #ffffff;
  --bg-surface: #ffffff;
  --bg-panel: #ffffff;
  --text-primary: #1c1c1c;
  --text-secondary: #3e3e3e;
  --brand: #a20014;
  --time: #1A1A1A;
  --card: #f5f5f5;
}

.dark-mode .amman-gmt{
    color: #F5F5F5;  
}
.dark-mode .speaker-name{
    color: #F5F5F5;  
}
.dark-mode .speaker-title{
    color: #F5F5F5;   
}
.dark-mode .session-time-aside{
    color: #E41E25;
}
.dark-mode .session-location {
    color: #F5F5F5;  
}
.dark-mode .zoom-col img{
    filter: brightness(0.5) grayscale(1) invert(1) !important;
}
.dark-mode .session-time-aside{
    color: #E41E25;
}
.dark-mode .logo-title{
    color: #F5F5F5;
}
.dark-mode .welcome-container img{
    filter: invert(1) grayscale(1);
}

body.dark-mode{
  --bg-page: #0f0f10;
  --bg-surface: #141416;
  --bg-panel: #1b1c1f;
  --text-primary: #f2f2f2;
  --text-secondary: #d2d2d2;
  --brand: #a20014;
  --time: #ffb4b4;
  --card: #232428;
}
.section-main-speakers .strong-h {
    text-align: center;
    margin-bottom: 50px;
    font-size: 45px;
    margin-top: 30px;
    color: #ffffff;
}

.logo-title{
    color: #434343;
    margin-top: 20px;
}
.logo-col{
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}
.logo-col a{
    width: 30%;
    object-fit: contain;
    margin-right: 10px;
    margin-bottom: 20px;
}
.logo-col img{
    width: 100%;
    object-fit: contain;
    margin-right: 10px;
    margin-bottom: 20px;
}

/* Overlay to dim the background */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    transition: opacity 0.3s ease;
    opacity: 0;
  }
  
  .speaker-title02{
    margin-top: -8px;
    font-size: 17px;
    color: #000000;
    margin-bottom: 20px;
  }
  .speaker-name02{
    margin-top: 30px;
  }

  .speaker-image{
    display: none;
  }
  
  /* Show the overlay when active */
  .overlay.show {
    display: block;
    opacity: 1;
  }
.popup {
    /* display: none; */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: #fff;
    z-index: 2001;
    max-width: 600px;
    width: 90%;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
      background-color: #ececec;
      z-index: -1;
  }
 
  .moderator-image {
    width: 170px;
    height: 170px;
    display: none;
  }
  .moderator-name{
    margin-top: 30px;
  }
  .popup.show {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    z-index: 1003;
    }
    .moderator-title-popup{
        margin-top: -10px;
        font-size: 17px;
        color: #000000;
        margin-bottom: 20px;    
    }
    header{
        position: unset;
        background: unset;
        background-color: rgba(0, 0, 0, 0);  
        height: auto;
    }
  
    .main-header a{
        color: white !important;
    }
    .forum-logo-wrapper{
        display: none;
    }
  .popup-content {
    position: relative;
  }
  
  .close-btn02 {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    outline: none;
    transition: color 0.3s ease;
  }
  
  .close-btn02:hover {
    color: #FE9F2F;
  }
  
  
  .popup.show {
    display: block;
  }
  
  .popup-content {
    position: relative;
  }
  
  .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
  }
  
#section-agen{
    height: auto !important;
    padding-top: 30px;
}
.agenda-bk{
    background-image: url(../images/mainbanner.jpg);
    position: relative;
}
.agenda-bk #main-section{
    height: auto;
    min-height: auto;
    padding: 0;
}
.lyar-right {
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: fixed;
    z-index: -1;
    background-color: rgb(11 4 5 / 59%) !important;
}
.zoom-col{
    display: flex;
    width: 100%; 
    align-items: center;
}
.zoom-col a{
    color: #000000 !important;
    text-decoration: unset !important;
    font-weight: 500;
}
.zoom-col img{
    width: 29px;
    object-fit: contain;
    margin-left: 7px;
    filter: brightness(0.5) grayscale(1);
}

.check-box {
    display: none;
}

.track1 {
    background-color: #D5DDF6;
}

.track1:hover {
    background-color: #D5DDF6;
}

.track2 {
    /* background-color: #CEF2EC; */
    background-color: #f5f5f5;
}

.track2:hover {
    /* background-color: #a9dbd3; */
    background-color: #e2e2e2;
}

.track3 {
    background-color: #f5f5f5;
}

.track3:hover {
    background-color: #f5f5f5;

}
.track4 {
    /* background-color: #EFC8FE; */
    background-color: #f2f2f2;
}

.track4:hover {
    background-color: #ededed;
}

.track-box {
    margin-right: 10px;
    padding: 8px;
    border-radius: 8px;
    box-shadow: -1px 2px 0px 0px #d7d7d7;
    cursor: pointer;
    transition: all .5s;
}

.navbar-light .navbar-nav .nav-link {
    font-family: tajawal;
}

.active-date {
    background-color: #DD1E25 !important;
    color: #ffffff !important;
}


.col-dates h3 {
    color: #000000;
    font-size: 23px;
    padding-top: 10px;
    font-weight: 600 !important;
    margin-bottom: 25px;
    text-align: right;
}

.track-box p {
    margin-bottom: 0;
    color: #000000;
    font-weight: 600;
}

.main-container-row {
    display: flex;
    flex-direction: row-reverse;
    width: 100%;
    box-shadow: 0px 1px 3px 1px #00000014;
    border-radius: 10px;
    background-color: var(--bg-surface);
}

p,
h1,
h2,
h3,
h4,
h5 {
    font-family: 'tajawal';
    /* text-align: left;
    font-family: 'Quicksand', sans-serif; */
}

.row-track {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-bottom: 30px;
}
.add-calendar-wrap{
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.dates-select-box {
    color: #000000;
    font-weight: 600 !important;
    padding: 5px;
    border-radius: 9px;
    margin-left: 0;
    margin-right: 0;
    font-size: 14px;
    cursor: pointer;
    transition: all .5s;
    text-align: center;
    width: 33.33%;
    background-color: #F5F5F5;
    border-radius: 0;
}

.dates-select-box:hover {
    background-color: #DD1E25;
    color: #ffffff;
}
.dates-select-box span{
    display: block;
    margin-bottom: -8px;
}

.dates-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 10px;
    width: 100%;
    margin: auto;
    margin-bottom: 25px;

}

.sessions-time-row {
    display: flex;
    /* padding-bottom: 30px; */
    padding-bottom: 10px;
    border-bottom: 1px solid #cfcfcf;
    margin-bottom: 10px;
    flex-direction: column;
}

.masterclass-session {
    background-color: #ffc4c470 !important;
}

.masterclass-session:hover {
    background-color: #ffc4c470 !important;
}

.lightning-talk-session {
    background-color: #CBE4FD !important;
}

.lightning-talk-session:hover {
    background-color: #CBE4FD !important;
}

/* Activity type background colors */
.activity-panel-lunch-opening {
    background-color: #CBE4FD !important;
}

.activity-panel-lunch-opening:hover {
    background-color: #CBE4FD !important;
}

.activity-lunch {
    background-color: #e0e0e0 !important;
    color: #1a1a1a;
}

.activity-lunch:hover {
    background-color: #d5d5d5 !important;
}

.activity-side-meeting {
    background-color: #F1E4FF !important;
}

.activity-side-meeting:hover {
    background-color: #F1E4FF !important;
}

.activity-clinics {
    background-color: #FFC4C4 !important;
}

.activity-clinics:hover {
    background-color: #FFC4C4 !important;
}

.col-dates {
    width: 60%;
    background-color: #ffffff;
    padding: 20px 35px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.col-dates-content {
    width: 40%;
    background-color: var(--bg-panel);
    /* padding: 20px 35px; */
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    position: sticky;
    top: 0;
    height: 100%;
}

.col-time-sp {
    width: 120px;
    text-align: right;
    direction: ltr;
}

.h4-aside-title {
    color: #404040;
    font-size: 20px;
    padding-top: 10px;
    line-height: 30px;
    margin-bottom: 20px !important;
    text-align: right;
}

.session-time-aside {
    color: #B4031B;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: right;
    direction: ltr;
}

.session-des-aside {
    color: #a20014;
    color: #232323;
    text-align: right;
}

.session-location {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    font-weight: 600;
    color: #1c3557;
    font-size: 15px;
}

.session-location i {
    color: #d32f2f;
    font-size: 18px;
}

[dir="rtl"] .session-location {
    flex-direction: row-reverse;
}

[dir="rtl"] .session-location span {
    text-align: right;
}

.box-zoom-track {
    display: flex;
    /* justify-content: space-between; */
    justify-content: end;
    margin-bottom: 30px;
}

.track-col .box {
    width: 20px;
    height: 20px;
    border-radius: 100%;
}

.track-col {
    display: flex;
    align-items: center;
    display: none;
}

.track-name {
    margin-bottom: 0;
    padding-left: 9px;
    color: #a20014;
    font-size: 12px;
}

::-moz-selection {
    background-color: #a20014;
    color: white;
}
::selection {
    background-color: #a20014;
    color: white;
}
.amman-gmt{
    font-size: 14px;
    color: #4c4c4c;
    font-weight: 500;
    padding-left: 0;
    display: block;
    direction: rtl;
}
.session-name-time {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
}

.col-session-num {
    width: 100%;
    margin-bottom: 10px;
    border-radius: 10px;
    transition: all .5s;
}

.session-name-time .time {
    color: #1A1A1A;
    font-weight: 600 !important;
    font-size: 13px;
    width: 40%;
    text-align: right;
    direction: ltr;
}

.session-name-time .name {
    color: rgb(28, 26, 26);
    width: 60%;
    text-align: right;
}

.session-language {
    font-style: italic;
    font-size: 0.9em;
    margin-top: 4px;
    color: rgb(28, 26, 26);
}

.session-language-detail {
    font-style: italic;
    font-size: 15px;
    margin-top: 5px;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: left;
    margin-top: -8px;
    font-weight: bold;
    background-color: #d22f2f;
    width: max-content;
    padding: 8px 16px;
    border-radius: 10px;
    margin-left: 0px;
}

.zoom-link {
    color: #4c4c4c !important;
    text-decoration: underline !important;
    font-weight: 600;
}

.learn-more-link {
    display: flex;
    justify-content: flex-end;
}

.learn-more-link a {
    color: #4c4c4c !important;
    text-decoration: underline !important;
    font-weight: 600;
}

.learn-more-link img {
    width: 18px;
    object-fit: contain;
    margin-right: 4px;
    margin-top: 3px;
    transform: scale(-1);
}
.speaker-col{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: self-start;
    cursor: pointer;
}
.speaker-col img {
    width: 90px;
    object-fit: contain;
    height: 90px;
    border: 2px solid #a2001400;
    border-radius: 100%;
}

.speaker-name {
    color: #000000;
    font-weight: 700;
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 14px;
}
.close-btn{
    display: none; 
}
.speaker-row-container{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.row-speakers{
    width: 30%;
    margin-left: 5px;
    margin-right: 5px;
}
.speaker-title{
    text-align: right;
    font-size: 12px;
    padding: 0px 5px;
    padding-right: 0;
}
.active-class{
    border: 1px solid #b6b6b6;
    box-shadow: 0px 1px 2px 1px #c9c9c9;
}
.welcome-container{
    display: flex;
    align-items: center;
    margin-top: 25px;
    padding: 0px 35px;
    padding-bottom: 30px;
}
.welcome-container img{
    width: 29px;
    margin-left: 10px;
    object-fit: contain;
}
.welcome-container p{
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 0;
}
.add-calendar img{
    width: 24px;
    margin-left: 5px;
}
.add-calendar h3{
    font-size: 15px;
    width: max-content;
    background-color: #ffffff;
    padding: 10px;
    border-radius: 2px;
    margin-bottom: 0;
    cursor: pointer;
    transition: all .5s;
    box-shadow: 0px 0px 2px 1px #8080804a;
}
.add-calendar h3:hover{
    background-color: #b3d7d1;
}
.add-calendar{
    display: flex;
    justify-content: end;
}

.scroll-part {
    overflow-y: scroll;
    height: 90vh;
    padding: 20px 35px;
}
.moderator-title{
    margin-top: 30px;
}
.agenda-bk-en .welcome-container img{
    margin-right: 10px;
    margin-left: unset;
}
.agenda-bk-en h3{
    text-align: left;
}
.agenda-bk-en .time{
    text-align: left;
}
.agenda-bk-en .col-time-sp{
    text-align: left;
}
.agenda-bk-en h4{
    text-align: left;
}
.agenda-bk-en .zoom-col img{
    margin-right: 7px;
    margin-left: 0;
    filter: brightness(0.5) grayscale(1);
}
.agenda-bk-en h2{
    font-family: "Montserrat", sans-serif !important;
    text-align: left;
}
.agenda-bk-en h3{
    font-family: "Montserrat", sans-serif !important;
    text-align: left;
}
.agenda-bk-en h4{
    font-family: "Montserrat", sans-serif !important;
}
.agenda-bk-en p{
    font-family: "Montserrat", sans-serif !important;
    text-align: left;
    padding: 0;
}
.agenda-bk-en a{
    font-family: "Montserrat", sans-serif !important;
}
.nav-menu a{
    color: white !important;
}
.agenda-bk-en div{
    font-family: "Montserrat", sans-serif !important;
}
.agenda-bk-en .session-time-aside {
    text-align: left;
    direction: ltr;
}
.choose-date-title{
    font-size: 18px;
    margin-bottom: 15px;
    margin-top: 40px;
}

@media (max-width: 990px) {
.lyar-right{
    background-color:unset !important;
  }
}

@media (max-width: 600px) {
    .dates-select-box{
        width: 100%;
        border-radius: 5px;
        margin-bottom: 5px;
    }
    .dates-select-box span{
        display: unset;
    }
    .dates-row {
        background-color: unset;
    }
    .session-name-time{
        flex-direction: column;
    }
    .agenda-bk-en .session-name-time .time{
        text-align: left !important;
    }
    .dates-row{
        width: 100%;
        flex-direction: column;
        border-radius: 5px;
    }
    .add-calendar h3 {
        font-size: 14px;
        width: max-content;
        padding: 6px;
        border-radius: 6px;
        margin-bottom: 25px;
        }
    .add-calendar {
        display: flex;
        justify-content: flex-start;
    }
    .add-calendar img {
        width: 22px;
        margin-right: 3px;
    }
    .close-btn{
        width: 34px;
        display: block;
        margin-right: auto;
        }
.dark-mode  .close-btn{
    filter: invert(1);
}
    .main-container-row {
        position: relative;
    }
    .col-dates {
        width: 100%;
    }    
    .col-dates-content {
        width: 100%;
        position: fixed;
        opacity: 0;
        overflow: scroll;
        left: 0;
        border: 1px solid gray;
        z-index: -1;
        transition: all .5s;
        }
    .row-track{
        flex-direction: column;
    }
    .track-box{
        margin-bottom: 10px;
        margin-right: 0;
    }
    .dates-select-box{
        margin-left: 0;
        font-size: 14px;
        text-align: center;
    }
    .overflow-css{
        overflow: hidden;
    }
    .show{
        opacity:1;
        z-index: 999;
    }
    .session-name-time .time{
        font-weight: 600 !important;
        font-size: 12px;
        width: 100%;
        text-align: right;
        direction: ltr;
        margin-left: 10px;
    }   
    .session-name-time .name{
        width: 100%;
    }
    .h4-aside-title{
        margin-top: 20px;
    } 
    .agenda-bk-en .session-name-time .time{
        margin-left: 0;
    }
}