.volunteer-calendar-page {
    padding-top: 34px;
    padding-bottom: 28px;
}

.volunteer-calendar-container {
    max-width: 1280px;
}

.volunteer-calendar-header {
    margin-bottom: 20px;
}

.volunteer-calendar-header h1 {
    margin: 0 0 10px;
    font-size: 3rem;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.volunteer-calendar-header p {
    margin: 0;
    max-width: 840px;
    color: #697089;
    font-size: 1.05rem;
    line-height: 1.7;
}

.volunteer-calendar-top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.volunteer-calendar-toolbar {
    border-radius: 28px;
    overflow: hidden;
    margin-bottom: 24px;
}

.volunteer-calendar-toolbar-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 28px;
}

.volunteer-calendar-toolbar-nav,
.volunteer-calendar-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.volunteer-calendar-toolbar-nav {
    justify-content: flex-start;
}

.volunteer-calendar-range {
    display: grid;
    gap: 6px;
    text-align: center;
    justify-items: center;
}

.volunteer-calendar-range strong {
    font-size: 1.2rem;
    color: #232435;
}

.volunteer-calendar-range span {
    color: #707792;
    font-size: 0.95rem;
}

.volunteer-calendar-toolbar-actions {
    justify-content: flex-end;
}

.volunteer-calendar-nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.volunteer-calendar-nav-button.is-current-week {
    background: rgba(124, 121, 184, 0.1);
    border-color: rgba(124, 121, 184, 0.22);
}

.volunteer-calendar-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.volunteer-calendar-day-card {
    border-radius: 24px;
    overflow: hidden;
    min-height: 100%;
}

.volunteer-calendar-day-body {
    padding: 20px;
    display: grid;
    gap: 16px;
    align-content: start;
}

.volunteer-calendar-day-header h2 {
    margin: 0 0 6px;
    font-size: 1.18rem;
}

.volunteer-calendar-day-header p {
    margin: 0;
    color: #707792;
    font-size: 0.92rem;
}

.volunteer-calendar-events {
    display: grid;
    gap: 12px;
    align-content: start;
}

.volunteer-calendar-event {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid #e2e6f2;
    background: linear-gradient(180deg, #fcfcff 0%, #f5f7fd 100%);
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    align-content: start;
}

.volunteer-calendar-event:hover,
.volunteer-calendar-event:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(34, 42, 70, 0.08);
    border-color: #d4daee;
}

.volunteer-calendar-event:focus-visible {
    outline: 3px solid rgba(124, 121, 184, 0.18);
    outline-offset: 2px;
}

.volunteer-calendar-event.is-complete {
    background: linear-gradient(180deg, #f5fcf7 0%, #eef8f1 100%);
    border-color: #d8ebde;
}

.volunteer-calendar-event.is-ready {
    background: linear-gradient(180deg, #fcfbff 0%, #f3f0ff 100%);
    border-color: #ddd8f5;
}

.volunteer-calendar-event.is-past {
    background: linear-gradient(180deg, #fbfbfd 0%, #f2f4f9 100%);
}

.volunteer-calendar-event-time {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: baseline;
}

.volunteer-calendar-event-time strong {
    font-size: 1rem;
    color: #232435;
}

.volunteer-calendar-event-time span {
    color: #707792;
    font-size: 0.86rem;
}

.volunteer-calendar-event-main h3 {
    margin: 0 0 6px;
    font-size: 1rem;
    line-height: 1.35;
}

.volunteer-calendar-event-main p {
    margin: 0;
    color: #5e6485;
    font-size: 0.92rem;
}

.volunteer-calendar-event-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.volunteer-calendar-empty-day {
    min-height: 120px;
    padding: 20px 18px;
    display: grid;
    place-items: center;
    text-align: center;
    color: #707792;
}

@media (max-width: 1200px) {
    .volunteer-calendar-container {
        max-width: 1140px;
    }
}

@media (max-width: 900px) {
    .volunteer-calendar-toolbar-body {
        flex-direction: column;
        align-items: stretch;
    }

    .volunteer-calendar-range {
        text-align: left;
        justify-items: flex-start;
    }

    .volunteer-calendar-toolbar-nav,
    .volunteer-calendar-toolbar-actions {
        justify-content: flex-start;
    }

    .volunteer-calendar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .volunteer-calendar-header h1 {
        font-size: 2.45rem;
    }
}

@media (max-width: 640px) {
    .volunteer-calendar-page {
        padding-top: 18px;
        padding-bottom: 20px;
    }

    .volunteer-calendar-grid {
        grid-template-columns: 1fr;
    }

    .volunteer-calendar-nav-button {
        width: 100%;
    }

    .volunteer-calendar-day-body,
    .volunteer-calendar-toolbar .card-body {
        padding: 18px;
    }
}
