.calendar-section {
    position: relative;
    height: auto;
    margin-bottom: 0;
    padding: 64px 0 72px;
    background: linear-gradient(180deg, #f3f7fa 0%, #ffffff 72%);
    overflow: hidden;
}

.calendar-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #0179e9;
}

.calendar-section::after {
    content: "";
    position: absolute;
    top: 40px;
    right: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(1, 121, 233, 0.05);
    pointer-events: none;
}

.calendar-section .container-fluid {
    position: relative;
    z-index: 1;
    max-width: 1200px;
}

.calendar-heading {
    margin-bottom: 30px;
}

.calendar-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #0179e9;
}

.calendar-heading h2 {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #183b56;
}

.calendar-heading p {
    margin: 8px 0 0;
    font-size: 13px;
    color: #6b7f8d;
}

.calendar-layout {
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.calendar-panel,
.agenda-panel {
    border: 1px solid #e7eef3;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(24, 59, 86, 0.08);
}

.calendar-panel {
    padding: 18px;
}

.agenda-panel {
    display: flex;
    flex-direction: column;
    min-height: 414px;
    padding: 22px;
}

.agenda-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf2f5;
}

.agenda-kicker {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8aa0ad;
}

.agenda-toolbar h3 {
    margin: 3px 0 0;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #183b56;
}

.agenda-count {
    flex: 0 0 auto;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eaf4ff;
    color: #0179e9;
    font-size: 11px;
    font-weight: 600;
}

.agenda-list {
    display: block;
    position: relative;
    max-height: 360px;
    overflow-y: auto;
    padding: 2px 6px 4px 2px;
}

.agenda-list::-webkit-scrollbar {
    width: 6px;
}

.agenda-list::-webkit-scrollbar-thumb {
    border-radius: 6px;
    background: #cfdee8;
}

.agenda-card {
    display: flex;
    gap: 14px;
    padding: 14px;
    margin-bottom: 10px;
    border: 1px solid #eaf0f4;
    border-radius: 14px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.agenda-card:hover,
.agenda-card:focus {
    transform: translateY(-2px);
    border-color: #b8d9f7;
    box-shadow: 0 8px 20px rgba(24, 59, 86, 0.08);
    color: inherit;
    text-decoration: none;
}

.agenda-thumb {
    position: relative;
    display: flex;
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eaf4ff;
    overflow: hidden;
}

.agenda-thumb::before {
    content: "\f073";
    position: absolute;
    font-family: FontAwesome;
    font-size: 24px;
    color: #9dc7ef;
}

.agenda-thumb img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agenda-content {
    flex: 1;
    min-width: 0;
}

.agenda-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.agenda-title-row h4 {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #183b56;
}

.agenda-arrow {
    display: flex;
    flex: 0 0 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eaf4ff;
    color: #0179e9;
    font-size: 12px;
}

.agenda-content p {
    margin: 5px 0 9px;
    font-size: 12px;
    line-height: 1.5;
    color: #6b7f8d;
}

.agenda-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: 11px;
    color: #8aa0ad;
}

.agenda-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.agenda-meta .fa {
    color: #0179e9;
}

.agenda-empty {
    display: flex;
    min-height: 280px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #8aa0ad;
}

.agenda-empty i {
    display: flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 50%;
    background: #f1f6fa;
    color: #0179e9;
    font-size: 22px;
}

.agenda-empty p {
    margin: 0;
    font-size: 13px;
}

.modal-agenda-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: #f1f6fa;
    overflow: hidden;
}

.modal-agenda-image img {
    display: block;
    max-width: 100%;
    max-height: 260px;
    border-radius: 14px;
    object-fit: cover;
}

.modal-agenda-title {
    margin-bottom: 10px;
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    color: #183b56;
}

.modal-agenda-desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: #6b7f8d;
}

#color-calendar .color-calendar {
    width: 100%;
    max-width: 100%;
    border-radius: 14px;
    background: #fff;
    box-shadow: none;
}

#color-calendar .color-calendar .calendar__header {
    padding: 18px 14px 14px;
    border-radius: 14px 14px 0 0;
    background: linear-gradient(135deg, #0179e9, #095bb5);
    color: #fff;
}

#color-calendar .color-calendar .calendar__monthyear {
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-weight: 600;
}

#color-calendar .color-calendar .calendar__arrow-inner::before {
    color: #fff;
}

#color-calendar .color-calendar .calendar__body {
    padding: 14px;
}

#color-calendar .color-calendar .calendar__weekday {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: #7b93a2;
    opacity: 1;
}

#color-calendar .color-calendar .calendar__days .calendar__day {
    border-radius: 10px;
    font-size: 12px;
    color: #31536a;
}

#color-calendar .color-calendar .calendar__days .calendar__day-box {
    border-radius: 10px;
}

#color-calendar .color-calendar .calendar__days .calendar__day-bullet {
    background: #0179e9;
}

@media (max-width: 991px) {
    .calendar-section {
        padding: 48px 0;
    }

    .calendar-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .calendar-panel {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
    }

    .agenda-panel {
        min-height: 0;
    }

    .agenda-list {
        max-height: none;
    }
}

@media (max-width: 575px) {
    .calendar-heading h2 {
        font-size: 24px;
    }

    .calendar-panel {
        padding: 12px;
    }

    .agenda-panel {
        padding: 16px;
    }

    .agenda-card {
        gap: 10px;
        padding: 12px;
    }

    .agenda-thumb {
        flex-basis: 64px;
        width: 64px;
        height: 64px;
    }
}
