/* ═══════════════════════════════════════════════════════════════════════════════
   annual-agenda.css — Modern timeline-style agenda with filters
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ─── Toolbar ─── */
.agenda-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
    padding: 16px 20px;
    background: #ffffff;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.agenda-toolbar__search {
    position: relative;
    flex: 1;
    min-width: 200px;
    max-width: 320px;
}

.agenda-toolbar__search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9aa0a6;
    font-size: 14px;
}

.agenda-toolbar__search input {
    width: 100%;
    padding: 10px 14px 10px 40px;
    border: 1px solid #e8eaed;
    border-radius: 8px;
    font-size: 14px;
    background: #f8f9fa;
    transition: all 0.2s;
    outline: none;
}

.agenda-toolbar__search input:focus {
    border-color: #1a73e8;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(26,115,232,0.1);
}

.agenda-toolbar__filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.agenda-filter {
    padding: 8px 16px;
    border: 1px solid #e8eaed;
    border-radius: 20px;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    color: #5f6368;
    cursor: pointer;
    transition: all 0.2s;
}

.agenda-filter:hover {
    background: #f1f3f4;
    border-color: #dadce0;
}

.agenda-filter.active {
    background: #1a73e8;
    color: #fff;
    border-color: #1a73e8;
}

.agenda-filter i {
    margin-right: 4px;
    font-size: 11px;
}

/* ─── Timeline ─── */
.agenda-timeline {
    position: relative;
}

/* ─── Month Group ─── */
.agenda-month-group {
    margin-bottom: 40px;
}

.agenda-month-label {
    position: sticky;
    top: 80px;
    z-index: 10;
    margin-bottom: 16px;
}

.agenda-month-label span {
    display: inline-block;
    padding: 6px 16px;
    background: #1a73e8;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 20px;
}

.agenda-month-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 16px;
    border-left: 2px solid #e8eaed;
}

/* ─── Cards ─── */
.agenda-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    background: #ffffff;
    border: 1px solid #e8eaed;
    border-radius: 12px;
    transition: all 0.25s ease;
    position: relative;
}

.agenda-card:hover {
    border-color: #dadce0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transform: translateX(4px);
}

.agenda-card--past {
    opacity: 0.6;
}

.agenda-card--holiday {
    border-left: 4px solid #34a853;
}

.agenda-card--event {
    border-left: 4px solid #1a73e8;
}

/* Date box */
.agenda-card__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    height: 56px;
    background: #f8f9fa;
    border-radius: 10px;
    flex-shrink: 0;
}

.agenda-card--holiday .agenda-card__date {
    background: #e8f5e9;
}

.agenda-card--event .agenda-card__date {
    background: #e8f0fe;
}

.agenda-card__day {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
    color: #000000;
}

.agenda-card__weekday {
    font-size: 11px;
    font-weight: 500;
    color: #5f6368;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Content */
.agenda-card__content {
    flex: 1;
    min-width: 0;
}

.agenda-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.agenda-card__title {
    font-size: 15px;
    font-weight: 600;
    color: #000000;
    margin: 0;
    line-height: 1.4;
}

.agenda-card__desc {
    font-size: 13px;
    color: #5f6368;
    margin: 0;
    line-height: 1.5;
}

/* Badge */
.agenda-badge {
    display: inline-block;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 12px;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.agenda-badge--holiday {
    background: #e8f5e9;
    color: #1b7a2e;
}

.agenda-badge--event {
    background: #e8f0fe;
    color: #1a56c4;
}

/* Past status check */
.agenda-card__status {
    position: absolute;
    top: 12px;
    right: 12px;
    color: #34a853;
    font-size: 16px;
}

/* ─── Empty State ─── */
.agenda-empty {
    text-align: center;
    padding: 60px 20px;
    color: #5f6368;
}

.agenda-empty i {
    font-size: 48px;
    color: #dadce0;
    margin-bottom: 16px;
}

.agenda-empty h3 {
    font-size: 18px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 8px;
}

.agenda-empty p {
    font-size: 14px;
    color: #5f6368;
}

/* ─── Responsive ─── */
@media (max-width: 576px) {
    .agenda-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .agenda-toolbar__search {
        max-width: 100%;
    }

    .agenda-toolbar__filters {
        justify-content: center;
    }

    .agenda-card {
        flex-direction: column;
        gap: 12px;
    }

    .agenda-card__date {
        flex-direction: row;
        gap: 8px;
        width: auto;
        height: auto;
        padding: 6px 12px;
    }

    .agenda-month-items {
        padding-left: 12px;
    }
}