.tabs { margin-bottom: 10px; }
    .tabs button { padding: 8px 16px; margin-right:4px; cursor:pointer; }
    .day-grid { display:none; }
    .day-grid.active { display:block; }
    .agenda-table-wrapper { overflow-x:auto; }
    .agenda-table { border-collapse: collapse; width: 100%; min-width: 800px; }
    .agenda-table th, .agenda-table td { border: 1px solid #ddd; padding: 8px; text-align: left; vertical-align: top; }
    .agenda-table th.time-col, .agenda-table td.time-col {
        position: sticky; left:0; background:#f9f9f9; z-index:2; width: 15%;
    }
    .modal { display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.6); z-index:1000000; }
    .modal-content { background:#fff; margin:5% auto; padding:20px; border-radius:8px; max-width:800px; width:90%; max-height:85vh; overflow:auto; }
    .modal h2 { margin-top:0; }
    .presenter-card { border:1px solid #ddd; border-radius:8px; padding:10px; margin-bottom:10px; }
    .presenter-card strong { display:block; font-size:1.1em; }
    .close-btn {
        float: right;
        cursor: pointer;
        font-size: 30px;
        color: #333;
        position: absolute;
        right: 0px;
        line-height: 15px;
        padding: 0px 20px 20px;
    }
    .pagination { margin-top:15px; text-align:center; }
    .pagination a { padding:8px 12px; margin:0 4px; border:1px solid #ddd; text-decoration:none; }
    tbody, td, tfoot, th, thead, tr {
        border-color: inherit;
        border-style: solid;
        vertical-align: middle;
        border-width: 0;
        text-align: center;
        height: 100px;
    }
    .modal-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 10000;
        display: none;
        justify-content: center;
        align-items: flex-start;
        padding: 40px 15px;
        overflow-y: auto;
    }

    .modal-box {
        background: #fff;
        width: 100%;
        max-width: 850px;
        border-radius: 10px;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        position: relative;
        padding: 24px;
    }

    .modal-close {
        position: sticky;
        top: 0;
        right: 0;
        background: #1F497D;
        color: #fff;
        font-size: 26px;
        line-height: 1;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 0 10px 0 10px;
        cursor: pointer;
        z-index: 10;
    }

    body.modal-open {
        overflow: hidden;
    }

    @media (max-width: 768px) {
        .modal-overlay {
            padding: 20px 10px;
        }
        .modal-box {
            max-height: calc(100vh - 40px);
            padding: 18px;
        }
    }
    .speakers-body{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }
    .speakers-body span{
        line-height: 18px;
        max-width: 80%;
    }
    .speakers-body img{
        width: 50px;
        height: 50px;
        border-radius: 50%;
        margin-right: 10px;
    }
    .modal-box .speakers-body img{
        width: 70px;
        height: 70px;
        border-radius: 50%;
        margin-right: 0px;
    }
    .modal-box .speakers-body{
        align-items: start;
    }
    .table th:first-child{
        width: 180px;
    }
    @media(max-width: 720px){
        .table th:first-child{
            width: 120px;
        }
        .schedule-tabs{
            flex-wrap: wrap;
        }
        .schedule-tab{
            width: 100%;
            text-align: center;
        }
        .btn-style-four {
            line-height: 15px;
            padding: 10px 24px;
            font-size: var(--font-12);
        }
        .table h4 {
            font-size: var(--font-20);
        }
        .modal-box h5 {
            font-size: var(--font-18);
        }
        .modal-box h6 {
            font-size: var(--font-16);
        }
        .modal-box .speakers-body img{
            width: 15%;
            height: auto;
        }
        .modal-box .speakers-body span {
            width: 80%;
        }
        .modal-box .speakers-body span h6{
            font-size: var(--font-13);
        }
        .modal-box .speakers-body span p{
            line-height: 0.8em;
            font-size: var(--font-13);
        }
        tbody, td, tfoot, th, thead, tr {
            height: 70px;
        }
        .modal-box {
            padding: 50px 20px 20px;
        }
    }