 /* ============================================================
   AIRBNB FRONTEND RATE CALENDAR
============================================================ */

/* ==========================================
   OwnerRez Rate Calendar
========================================== */

.ownerrez-calendar {
    width: 100%;
    background: #fff;
    border: 1px solid #e8e0d8;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}


/* Header */
.ownerrez-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}


.ownerrez-calendar-nav {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #684c30;
    background: #fff;
    color: #684c30;
    font-size: 25px;
    cursor: pointer;
    line-height: 30px;
}


.ownerrez-calendar-nav:hover {
    background: #684c30;
    color: #fff;
}


.ownerrez-calendar-month {
    font-size: 18px;
    font-weight: 600;
    color: #684c30;
}


/* Week Header */

.ownerrez-calendar-week {
    display: grid;
    grid-template-columns: repeat(7,1fr);
    text-align: center;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #777;
}


/* Calendar Grid */

.ownerrez-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7,1fr);
    gap: 8px;
}


/* Day */

.ownerrez-calendar-day {
    min-height: 75px;
    border: 1px solid #eee;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    padding: 8px 5px;
    text-align: center;
    transition: all .2s ease;
}


.ownerrez-calendar-day:hover {
    border-color: #684c30;
    transform: translateY(-2px);
}


/* Day Number */

.ownerrez-day-number {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}


/* Price */

.ownerrez-day-price {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #684c30;
    font-weight: 700;
}


/* Custom OwnerRez Rate */

.ownerrez-calendar-day.custom-rate {
    background: #fff8ef;
    border-color: #d9b98c;
}


/* Blocked */

.ownerrez-calendar-day.blocked {
    background: #f5f5f5;
    cursor: not-allowed;
    opacity: .65;
}


.ownerrez-day-blocked {
    display:block;
    margin-top:8px;
    font-size:11px;
    color:#d9534f;
    font-weight:600;
}


/* Past Dates */

.ownerrez-calendar-day.past-date {
    background:#fafafa;
    color:#aaa;
    cursor:not-allowed;
}


/* Selected Check-in */

.ownerrez-calendar-day.selected.check-in {
    background:#684c30;
    color:#fff;
    border-color:#684c30;
}


.ownerrez-calendar-day.selected.check-in 
.ownerrez-day-number,
.ownerrez-calendar-day.selected.check-in 
.ownerrez-day-price {
    color:#fff;
}


/* Selected Checkout */

.ownerrez-calendar-day.selected.check-out {
    background:#684c30;
    color:#fff;
}


/* Between Dates */

.ownerrez-calendar-day.in-range {
    background:#f2e6d8;
    border-color:#d5b58c;
}


/* Empty Cells */

.ownerrez-calendar-day.empty {
    background:transparent;
    border:none;
}


/* Legend */

.ownerrez-calendar-legend {
    display:flex;
    gap:20px;
    margin-top:15px;
    font-size:13px;
}


.ownerrez-calendar-legend span {
    display:flex;
    align-items:center;
    gap:6px;
}


.ownerrez-calendar-legend i {
    width:12px;
    height:12px;
    border-radius:3px;
    display:inline-block;
}


.ownerrez-calendar-legend .available {
    background:#fff;
    border:1px solid #ddd;
}


.ownerrez-calendar-legend .custom {
    background:#fff8ef;
    border:1px solid #d9b98c;
}


.ownerrez-calendar-legend .blocked {
    background:#ddd;
}


/* Loading / Error */

.ownerrez-calendar-loading,
.ownerrez-calendar-error {
    padding:30px;
    text-align:center;
    color:#777;
}
.ownerrez-calendar-day.past-date {
    background:#f7f7f7;
    color:#aaa;
    cursor:not-allowed;
    opacity:.5;
}

.ownerrez-calendar-day:disabled {
    pointer-events:none;
}


/* ============================================================
   BOOKING SUMMARY
============================================================ */

.booking-summary {
    margin-top: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);
        padding: 15px;
    padding-top: 0px;
    padding-bottom: 10px;
}

.booking-summary-header {
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    border-bottom: 1px solid #eeeeee;
}

.booking-summary-dates {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 14px 8px;
}

.booking-summary-dates > div {
    display: flex;
    flex-direction: column;
}

.booking-summary-dates small {
    font-size: 9px;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.booking-summary-dates strong {
    font-size: 12px;
    color: #333;
}

.booking-summary-dates .summary-arrow {
    font-size: 17px;
    color: #999;
    padding: 0 8px;
}

.booking-summary-nights {
    padding: 0 14px 10px;
    font-size: 10px;
    color: #777;
}

.summary-nightly-rates {
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
    padding: 8px 14px;
}

.summary-rate-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    font-size: 10px;
    color: #555;
}

.summary-rate-row strong {
    font-size: 10px;
    color: #333;
}

.summary-rate-custom {
    font-size: 8px;
    color: #d61f45;
    margin-left: 4px;
}

.booking-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    background: #fafafa;
}

.booking-summary-total span {
    font-size: 11px;
    color: #555;
}

.booking-summary-total strong {
    font-size: 15px;
    color: #684c30;
}


/* Mobile */

@media (max-width: 575px) {

    .booking-summary-dates {
        padding: 11px 12px 7px;
    }

    .booking-summary-total {
        padding: 11px 12px;
    }

}

.airbnb-calendar-day.past-date {
    opacity: 0.35;
    cursor: not-allowed !important;
    pointer-events: none;
    background: #f5f5f5;
    color: #aaa;
}

.airbnb-calendar-day.past-date .airbnb-day-price {
    color: #aaa;
}

.airbnb-calendar-day.past-date .airbnb-day-number {
    color: #aaa;
}