.ical-availability-wrap {
    font-family: inherit;
    max-width: 760px;
    margin: 0 auto;
    padding: 1.5rem 0;
}

.ical-cal-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Status bar */
.ical-status {
    font-size: 13px;
    color: #666;
    margin-bottom: 0.75rem;
    min-height: 20px;
}
.ical-status.is-error {
    color: #c0392b;
}

/* Navigation */
.ical-nav {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    align-items: center;
}
.ical-nav button {
    background: none;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    color: #333;
    transition: background 0.15s;
}
.ical-nav button:hover {
    background: #f5f5f5;
}
.ical-today {
    font-size: 13px !important;
    padding: 5px 14px !important;
}
.ical-today.is-disabled {
    opacity: 0.4;
    cursor: default !important;
}

/* Month grid */
.ical-months {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
@media (max-width: 540px) {
    .ical-months {
        grid-template-columns: 1fr;
    }
}

.ical-month-title {
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.75rem;
    color: #222;
}

/* Day-of-week labels */
.ical-day-labels {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 4px;
}
.ical-day-labels span {
    font-size: 12px;
    color: #999;
    padding: 4px 0;
}

/* Day cells */
.ical-day-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}
.ical-day {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    border-radius: 6px;
    font-size: 13px;
    color: #333;
}
.ical-day.is-empty {
    background: none;
}
.ical-day.is-past {
    color: #ccc;
}
.ical-day.is-booked {
    background: #f5f5f0;
    color: #aaa;
    text-decoration: line-through;
}
.ical-day.is-available {
    background: #316296;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, transform 0.1s;
}
.ical-day.is-available:hover {
    background: #254e78;
    transform: scale(1.08);
}
.ical-day.is-available:focus {
    outline: 3px solid #316296;
    outline-offset: 2px;
}
.ical-day.is-today {
    outline: 2px solid #333;
    outline-offset: -2px;
}

/* Legend */
.ical-legend {
    display: flex;
    gap: 1.25rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}
.ical-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #555;
}
.ical-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    flex-shrink: 0;
}
.ical-dot--available {
    background: #316296;
}
.ical-dot--booked {
    background: #f5f5f0;
    border: 1px solid #ccc;
}
.ical-dot--today {
    background: transparent;
    outline: 2px solid #333;
    outline-offset: -2px;
}
