:root {
    --pni_schedule_features: #5FB7BA;
    --pni_schedule_shorts: #D56B8B;
    --pni_schedule_forums_ap: #5FAA7C;
    --pni_schedule_storyforms: #DBE6A8;
    --pni_schedule_special: #7E91C7;
}

.sh-schedule-container {
    font-family: 'inter', sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.sh-schedule-nav {
    margin-bottom: 30px;
}

.day-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.day-btn {
    padding: 12px 24px;
    border: 2px solid #000;
    background: #fff;
    font-family: 'bookmania', serif;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.day-btn:hover,
.day-btn.active {
    background: #D9CCFF;
}

.schedule-day {
    background: #fff;
    position: relative;
    overflow: hidden;
}

.schedule-grid {
    display: grid;
    grid-template-rows: auto 1fr;
}

.schedule-header {
    display: grid;
}

.venue-header {
    padding: 15px 10px;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    text-transform: uppercase;
}

.schedule-body {
    display: flex;
    flex-direction: column;
    position: relative;
}

.schedule-row {
    display: grid;
    min-height: 40px;
}

.schedule-row.even {
    background: #CFC7E180;
}

.schedule-row.odd {
    background: #CFC7E1FF;
}

.time-slot {
    padding: 10px;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    border-right: 1px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.venue-slot {
    padding: 2px;
    border-right: 1px solid white;
    position: relative;
    min-height: 36px;
}

.venue-slot:last-child {
    border-right: none;
}

.schedule-events {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.event-block {
    position: absolute;
    padding: 8px;
    margin: 2px;
    font-size: 12px;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    cursor: pointer;
    z-index: 10;
}

.event-block.features {
    background: var(--pni_schedule_features);
}

.event-block.shorts {
    background: var(--pni_schedule_shorts);
}

.event-block.forum {
    background: var(--pni_schedule_forums_ap);
}

.event-block.storyforms {
    background: var(--pni_schedule_storyforms);
}

.event-block.special-events {
    background: var(--pni_schedule_special);
}

.event-time {
    font-weight: bold;
    font-size: 11px;
    margin-bottom: 2px;
}

.event-title {
    margin-bottom: 2px;
    flex-grow: 1;
    font-weight: bold;
    font-size: 13px;
    font-family: 'bookmania', serif;
}

.schedule-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    font-size: 14px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 3px;
}

.legend-color.features { background: var(--pni_schedule_features); }
.legend-color.shorts { background: var(--pni_schedule_shorts); }
.legend-color.forum { background: var(--pni_schedule_forums_ap); }
.legend-color.storyforms { background: var(--pni_schedule_storyforms); }
.legend-color.special-events { background: var(--pni_schedule_special); }

.desktop-schedule {
    display: block;
}

.mobile-schedule {
    display: none;
}

.mobile-time-header {
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.mobile-event-block {
    padding: 15px;
    border-bottom: 1px solid white;
}

.mobile-event-block:last-child {
    border-bottom: none;
}

.mobile-event-block.features {
    background: var(--pni_schedule_features);
}

.mobile-event-block.shorts {
    background: var(--pni_schedule_shorts);
}

.mobile-event-block.forum {
    background: var(--pni_schedule_forums_ap);
}

.mobile-event-block.storyforms {
    background: var(--pni_schedule_storyforms);
}

.mobile-event-block.special-events {
    background: var(--pni_schedule_special);
}

.mobile-event-venue {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.mobile-event-time {
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 8px;
}

.mobile-event-title {
    margin-bottom: 5px;
    font-size: 16px;
    font-family: 'bookmania', serif;
    font-weight: bold;
}

@media (max-width: 768px) {
    .sh-schedule-container {
        padding: 10px;
    }
    
    .day-buttons {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .day-btn {
        padding: 8px 16px;
        font-size: 16px;
    }
    
    /* Hide desktop layout, show mobile layout */
    .desktop-schedule {
        display: none;
    }
    
    .mobile-schedule {
        display: block;
    }
}

@media (max-width: 480px) {
    
    .day-btn {
        padding: 6px 12px;
        font-size: 14px;
    }
    
    .schedule-legend {
        flex-wrap: wrap;
        gap: 10px;
        font-size: 12px;
    }

}


