.ecg-calendar-container {
    font-family: inherit;
    width: 100%;
}
.ecg-calendar-container h2 {
    text-align: center;
    margin-bottom: 20px;
}
.ecg-months-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.ecg-month {
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 5px;
    background: #fff;
}
.ecg-month-title {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 10px;
}
.ecg-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}
.ecg-day {
    padding: 5px;
    text-align: center;
    border: 1px solid #f9f9f9;
    font-size: 0.9em;
    position: relative;
    cursor: default;
}
.ecg-day.has-event {
    background-color: #0073aa;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
}
.ecg-tooltip {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 15px;
    border-radius: 6px;
    white-space: normal;
    width: 250px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    text-align: left;
}
.ecg-tooltip a {
    color: #fff;
    text-decoration: none;
}
.ecg-tooltip a:hover {
    text-decoration: underline;
}
.ecg-day.has-event:hover .ecg-tooltip {
    display: block;
}
.ecg-event-item {
    margin-bottom: 10px;
}
.ecg-event-item:last-child {
    margin-bottom: 0;
}
.ecg-event-summary {
    font-size: 0.85em;
    margin-top: 5px;
    color: #ddd;
    line-height: 1.4;
}