.calendar-scroll-wrapper {
    display: flex;
    flex-direction: row;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 16px 4px;
    width: 100%;
    scroll-behavior: smooth;
    align-items: flex-start;
}

.calendar-day-column {
    flex: 0 0 280px;
    width: 280px;
    max-width: 280px;
    background-color: var(--hist-header);
    border-radius: 6px;
    padding: 12px;
    border: 1px solid var(--hist-border);
    display: flex;
    flex-direction: column;
    max-height: 70vh;
    box-sizing: border-box;
}

.list-view-container .calendar-day-column {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    max-height: none;
}

.day-column-header {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--hist-border);
    padding-bottom: 6px;
    text-transform: uppercase;
    display: block;
    width: 100%;
}

.day-column-cards-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    padding-right: 2px;
    width: 100%;
}

.compact-schedule-card {
    background-color: var(--hist-bg);
    border: 1px solid var(--hist-border);
    border-radius: 4px;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform 0.15s ease;
    width: 100%;
    box-sizing: border-box;
}

.compact-schedule-card:hover {
    transform: translateY(-2px);
}

.card-time-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--hist-muted);
    width: 100%;
}

.schedule-duration {
    background-color: rgba(187, 158, 63, 0.15);
    color: #FFFFFF;
    padding: 1px 6px;
    border-radius: 3px;
    white-space: nowrap;
}

.card-type-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--hist-text);
    word-break: break-word;
}

.card-trainer {
    font-size: 13px;
    color: var(--hist-text);
    word-break: break-word;
}

.card-notes {
    font-size: 12px;
    color: var(--hist-muted);
    font-style: italic;
    background: rgba(0,0,0,0.03);
    padding: 4px 6px;
    border-radius: 3px;
    margin-top: 2px;
    word-break: break-word;
}

.loading-spinner, .error {
    text-align: center;
    color: var(--hist-muted);
    width: 100%;
    padding: 30px 0;
    font-weight: 500;
}

.no-events-msg {
    text-align: center;
    color: var(--hist-muted);
    width: 100%;
    padding: 40px 0;
}

#refresh-btn {
    background: var(--hist-input-bg);
    color: var(--hist-text);
    border: 1px solid var(--hist-border);
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#refresh-btn:hover {
    background: #2A568C;
    color: white;
    border-color: #2A568C;
}