#sr-calendar {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
}

.fc-event {
    cursor: pointer;
}

#sr-calendar .fc-daygrid-day.sr-day-selected .fc-daygrid-day-frame {
    background: #e0f2fe;
    border-radius: 8px;
}

.sr-cal-dot {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    margin: 0 auto;
    background-color: currentColor;
}

.sr-upcoming-events,
.sr-event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.sr-event,
.sr-event-item {
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.sr-event h3,
.sr-event-item h3 {
    margin: 0 0 12px;
    font-size: 1.25rem;
}

.sr-event-item img {
    width: 100%;
    height: auto;
    border-radius: 8px 8px 0 0;
    margin-bottom: 12px;
}

.sr-event-details {
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.sr-event-thumbnail {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 24px;
}

.event-description {
    margin-top: 24px;
    line-height: 1.7;
}

.sr-calendar-view-toggle {
    display: inline-flex;
    gap: 6px;
    border-radius: 999px;
    padding: 2px;
    background: #f3f4f6;
    margin: 0 auto 16px;
}

.sr-view-btn {
    border: none;
    background: transparent;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    cursor: pointer;
    color: #4b5563;
}

.sr-view-btn-active {
    background: #111827;
    color: #f9fafb;
}

.sr-calendar-wrapper select {
    padding: 10px 16px;
    font-size: 16px;
    border-radius: 6px;
    border: 1px solid #ccc;
    min-width: 220px;
}

#sr-calendar-day-list {
    max-width: 1100px;
    margin: 20px auto 0;
    padding: 0 15px 10px;
}

.sr-daylist h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 6px;
}

.sr-daylist-item {
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.sr-daylist-time {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 2px;
}

.sr-daylist-title a {
    font-weight: 600;
    text-decoration: none;
}

.sr-daylist-title a:hover {
    text-decoration: underline;
}

.sr-daylist-empty {
    padding: 10px 0 0;
}

.sr-daylist-empty p {
    margin: 4px 0 0;
    color: #6b7280;
    font-size: 0.95rem;
}

#sr-calendar-full-list {
    max-width: 1100px;
    margin: 20px auto 0;
    padding: 0 15px 10px;
}

.sr-fulllist-day h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 4px;
}

.sr-fulllist-item {
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.sr-fulllist-time {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 2px;
}

.sr-fulllist-title a {
    font-weight: 600;
    text-decoration: none;
}

.sr-fulllist-title a:hover {
    text-decoration: underline;
}

.sr-fulllist-empty p {
    margin: 4px 0 0;
    color: #6b7280;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .sr-calendar-wrapper {
        padding: 0 10px;
    }
    #sr-calendar .fc-toolbar {
        flex-wrap: wrap;
        row-gap: 8px;
    }
    #sr-calendar .fc-toolbar-chunk {
        flex: 1 1 100%;
        display: flex;
        justify-content: space-between;
    }
    #sr-calendar .fc-toolbar-title {
        font-size: 1.1rem;
    }
    #sr-calendar .fc-button {
        padding: 4px 8px;
        font-size: 0.8rem;
    }
    #sr-calendar .fc-daygrid-day-number,
    #sr-calendar .fc-col-header-cell-cushion {
        font-size: 0.75rem;
        padding: 2px 3px;
    }
    #sr-calendar .fc-daygrid-day-frame {
        padding: 4px;
    }
    #sr-calendar .fc-list-day-cushion {
        padding: 6px 10px;
    }
    #sr-calendar .fc-list-event-graphic {
        display: none;
    }
}

