.event-description strong {
    font-weight: 600;
}

.events-schedule-wrapper {
    width: 100%;
}

.schedule-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.nav-btn {
    background-color: var(--primary-color, #71BF45);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-btn:hover:not(:disabled),
.nav-btn:focus:not(:disabled),
.nav-btn:active:not(:disabled) {
    background-color: var(--secondary-color, #305475);
    transform: translateY(-1px);
}

.nav-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.section-indicator {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color, #555555);
}

.events-schedule-container {
    width: 100%;
    position: relative;
}

/* Tabs Navigation */
.schedule-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.schedule-tab {
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity .2s, transform .2s;
    border-radius: 4px;
}

.schedule-tab.active {
    opacity: 1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Tab Content Panels */
.schedule-tab-content {
    display: none;
}

.schedule-tab-content.active {
    display: block;
}

/* Desktop Schedule Layout */
.desktop-schedule {
    display: block;
}

.mobile-schedule {
    display: none;
}

/* Schedule Grid: TIME column + EVENT column */
.schedule-tab-content .schedule-header {
    display: grid;
    grid-template-columns: 118px 1fr;
    background-color: var(--primary-color);
}

.schedule-tab-content .schedule-row {
    display: grid;
    grid-template-columns: 118px 1fr;
    gap: 1px;
    background-color: #e0e0e0;
}

.time-column,
.hall-column {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 12px;
    font-weight: 500;
    text-align: center;
    font-size: 15px;
}

.schedule-body {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.time-cell {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 8px;
    font-weight: 500;
    text-align: center;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-cell {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background-color: #f8f9fa;
    padding: 16px 14px;
    min-height: 120px;
    border: 1px solid #e9ecef;
}

.event-cell.empty {
    background-color: #ffffff;
}

.event-title {
    font-weight: 600;
    font-size: 16px;
    width: 70%;
    color: var(--secondary-color);
    text-transform: uppercase;
}

.event-description {
    font-size: 16px;
    font-weight: 300;
    color: var(--text-color);
    margin-bottom: 12px;
    width: 70%;
}

.event-partner {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
    justify-content: center;
}

.partner-description {
    font-size: 14px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.partner-logo img {
    max-width: 249px;
    object-fit: contain;
}

/* Modal Styles */
.event-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.7) !important;
}

.modal-open {
    overflow: hidden !important;
}

.event-modal .modal-body * {
    visibility: visible !important;
    opacity: 1 !important;
}

#schedule-modal ~ .event-modal {
    display: none !important;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-dialog {
    position: relative;
    background: white;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    background-color: var(--primary-color, #71BF45);
    padding: 15px 20px;
    position: relative;
}

.modal-header-title {
    display: flex;
    align-items: center;
    width: 80%;
    font-size: 14px;
    font-weight: 500;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-close {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 20%;
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-event-title {
    font-weight: 600;
    font-size: 18px;
    color: var(--secondary-color, #305475);
    margin-bottom: 15px;
    line-height: 1.3;
}

.modal-event-description {
    font-size: 14px;
    color: var(--text-color, #555555);
    line-height: 1.6;
    margin-bottom: 20px;
}

.modal-event-partner {
    border-top: 1px solid #e9ecef;
    padding-top: 15px;
    text-align: center;
}

.modal-partner-description {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.modal-partner-logo img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
}

.event-details-btn {
    display: none;
    background-color: var(--primary-color, #71BF45);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    margin: 8px 0;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
    width: 100%;
    justify-content: center;
}

.event-details-btn:hover,
.event-details-btn:focus,
.event-details-btn:active {
    background-color: var(--secondary-color, #305475);
    transform: translateY(-1px);
}

.event-details-btn svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.event-details-btn:hover svg {
    transform: translateY(1px);
}

.event-content-mobile {
    display: none;
}

.event-content-desktop {
    display: block;
}

.desktop-partner {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    justify-content: center;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .schedule-header {
        display: none;
    }
    
    .schedule-navigation {
        padding: 10px 15px;
    }
    
    .nav-btn {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .section-indicator {
        font-size: 14px;
    }
    
    .desktop-schedule {
        display: none;
    }
    
    .mobile-schedule {
        display: block;
    }
    
    .hall-section {
        background: #f8f9fa;
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid #e9ecef;
        margin-bottom: 20px;
    }
    
    .hall-header {
        display: none;
        padding: 12px 16px;
        font-weight: 600;
        text-align: center;
        font-size: 14px;
        color: white;
    }
    
    .hall-events {
        padding: 16px;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    
    .mobile-event-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 12px;
        background: white;
        border-radius: 6px;
        border: 1px solid #e9ecef;
    }
    
    .mobile-time-cell {
        background-color: var(--primary-color, #71BF45);
        color: white;
        padding: 8px 12px;
        border-radius: 4px;
        font-weight: 500;
        font-size: 12px;
        text-align: center;
        white-space: nowrap;
        width: 100%;
        flex-shrink: 0;
    }
    
    .mobile-event-content {
        flex: 1;
        width: 100%;
    }
    
    .no-events {
        text-align: center;
        color: #999;
        font-style: italic;
        padding: 20px;
    }
    
    .event-content-desktop {
        display: block;
    }
    
    .event-content-mobile {
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
    }
    
    .desktop-partner {
        display: none;
    }
    
    .event-title {
        text-align: center;
        width: 100%;
        font-size: 14px;
        margin: 0px;
    }
    
    .event-description {
        font-size: 13px;
        width: 100%;
    }
    
    .event-partner {
        margin-top: 8px;
        align-items: center;
        gap: 6px;
        display: flex;
        flex-direction: column;
    }
    
    .event-partner.desktop-partner {
        display: flex;
    }
    
    .partner-description {
        font-size: 11px;
        text-align: center;
    }
    
    .partner-logo img {
        max-width: 100%;
        max-height: 28px;
    }
    
    .event-details-btn {
        display: flex;
        width: 50%;
    }
    
    .modal-body {
        padding: 15px;
        max-height: 100vh;
    }
    
    .schedule-tabs {
        gap: 16px;
        margin-bottom: 32px;
        align-items: center;
        justify-content: center;
    }
    
    .schedule-tab {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .time-column {
        display: none;
    }
    
    .schedule-tab-content .schedule-header {
        grid-template-columns: unset;
    }
}

/* Tablet */
@media (max-width: 1024px) and (min-width: 768px) {
    .event-details-btn {
        display: none;
    }
    
    .schedule-tab {
        padding: 10px 20px;
        font-size: 14px;
    }
}
