/* ---- Availability calendar overlay ---- */
.flatpickr-calendar, .flatpickr-current-month .flatpickr-monthDropdown-months, .flatpickr-current-month input.cur-year {
    font-family: 'Zilla Slab', sans-serif;
    font-size: 0.95rem;
}
.room-avail-toggle-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 0.5rem;
}
.room-avail-disclaimer {
    font-size: 0.95em;
    color: #666;
    margin-top: 0.25rem;
}
#ipie-avail-overlay {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
    font-family: 'Zilla Slab', sans-serif;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    width: 320px;
    padding: 0.75rem;
    font-size: 0.9rem;
}
#ipie-avail-overlay-inner {
    position: relative;
}
#ipie-avail-close {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    color: #555;
}
#ipie-avail-close:hover { color: #000; }
#ipie-avail-calendar-content { margin-top: 0.25rem; }
.ipie-avail-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}
.ipie-avail-nav button {
    background: none;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
    padding: 0.1rem 0.4rem;
    font-size: 0.85rem;
}
.ipie-avail-nav button:disabled {
    opacity: 0.3;
    cursor: default;
}
.ipie-avail-nav-label {
    font-weight: 600;
    font-size: 0.95rem;
}
.ipie-avail-grid {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.ipie-avail-grid th,
.ipie-avail-grid td {
    text-align: center;
    padding: 3px 0;
    font-size: 0.9rem;
}
.ipie-avail-grid th {
    font-weight: 600;
    color: #444;
}
.ipie-avail-grid td.ipie-avail-empty { }
.ipie-avail-grid td.ipie-avail-day { }
.ipie-avail-grid td.ipie-avail-greyed { color: #888; text-decoration: line-through; }

/* Check-in/out range highlights — a circle rendered on the inner <span>. */
.ipie-avail-grid td.ipie-avail-range span,
.ipie-avail-grid td.ipie-avail-checkout span {
    display: block;
    padding-top: 3px;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    line-height: 1;
}
/* Check-in date and nights in range: yellow filled circle. */
.ipie-avail-grid td.ipie-avail-range span { background: #ffd700; }
/* Check-out date: yellow border circle only. */
.ipie-avail-grid td.ipie-avail-checkout span { border: 2px solid #ffd700; }
.ipie-avail-loading {
    text-align: center;
    padding: 1.5rem 0;
    color: #666;
    font-size: 0.85rem;
}
