#oliva-events {
    margin: 2rem auto;
    padding: 1.5rem;
    max-width: 760px;
    border: 1px solid #BCC915;
    border-radius: 12px;
    background: #ffffff;
}

#oliva-events h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #6A720C;
}

.oliva-events-legend {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.oliva-events-legend-item {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.9rem;
}

.oliva-events-available {
    background: #eef3c3;
    color: #6A720C;
}

.oliva-events-unavailable {
    background: #6A720C;
    color: #ffffff;
}

.oliva-events-month {
    margin-top: 1.5rem;
}

.oliva-events-month h3 {
    margin: 0 0 0.75rem 0;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #BCC915;
    color: #6A720C;
    font-size: 1.2rem;
}

.oliva-events-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.oliva-events-date {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
}

.oliva-events-date-main {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.oliva-events-date-unavailable {
    background: #f4f5e4;
    border-left: 5px solid #6A720C;
}

.oliva-events-date-available {
    background: #eef3c3;
    border-left: 5px solid #BCC915;
}

.oliva-events-date-today {
    outline: 2px solid #BCC915;
    background: #fbfce9;
}

.oliva-events-date-value {
    font-weight: 600;
}

.oliva-events-date-description {
    font-size: 0.95rem;
    color: #555;
}

.oliva-events-date-status {
    white-space: nowrap;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.9rem;
}

.oliva-events-date-unavailable .oliva-events-date-status {
    background: #6A720C;
    color: #ffffff;
}

.oliva-events-date-available .oliva-events-date-status {
    background: #ffffff;
    color: #6A720C;
    border: 1px solid #BCC915;
}

.oliva-events-date-status small {
    font-size: 0.8rem;
    opacity: 0.8;
}

.oliva-events-empty {
    padding: 0.75rem;
    background: #eef3c3;
    border-radius: 8px;
    color: #6A720C;
}

@media (max-width: 600px) {
    .oliva-events-date {
        flex-direction: column;
        align-items: flex-start;
    }

    .oliva-events-date-status {
        white-space: normal;
    }
}
