.wr-avail-calendar {
    max-width: 300px;
    font-family: Arial, sans-serif;
    margin: 15px 0;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
}

.wr-avail-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.wr-avail-calendar-header button {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #333;
    padding: 0 10px;
}

.wr-avail-calendar-header .wr-avail-month-year {
    font-weight: bold;
    font-size: 1.1em;
}

.wr-avail-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
}

.wr-avail-calendar-grid .day-name {
    font-weight: bold;
    font-size: 0.8em;
    padding: 5px 0;
    background: #f9fafb;
}

.wr-avail-calendar-grid .day {
    padding: 8px 0;
    border-radius: 4px;
    cursor: default;
}

.wr-avail-calendar-grid .day.free {
    background-color: #d1fae5; /* világoszöld */
    color: #065f46;
}

.wr-avail-calendar-grid .day.booked {
    background-color: #fee2e2; /* világospiros */
    color: #991b1b;
}

.wr-avail-calendar-grid .day.past {
    color: #ccc;
    background: none;
}

.wr-avail-legend {
    display: flex;
    gap: 15px;
    margin-top: 8px;
    font-size: 0.85em;
}

.legend-free::before,
.legend-booked::before {
    content: "●";
    margin-right: 4px;
}

.legend-free::before {
    color: #10b981;
}

.legend-booked::before {
    color: #ef4444;
}

.wr-avail-calendar-grid .day.no-rental {
    background-color: #e5e7eb; /* világosszürke háttér */
    color: #9ca3af;            /* halvány szöveg */
    cursor: default;
}

.legend-no-rental::before {
    content: "●";
    margin-right: 4px;
    color: #9ca3af; /* ugyanaz a szürke */
}

.wr-avail-calendar-grid .day.limited {
    background-color: #fed7aa; /* világos narancs */
    color: #9a3412;            /* sötétbarna szöveg */
}