/*
 * =========================================================
 * DEWPOINT OWNER - BOOKING CALENDAR
 * Authoritative stylesheet
 *
 * Migrated by KRADPC 2B-7C.
 * Calendar layout, responsive rules and owner theme
 * overrides are owned here.
 * =========================================================
 */

/* Core calendar layout migrated from dewpoint-app.css */
.booking-calendar-layout{grid-template-columns:minmax(0,1.7fr) minmax(300px,.7fr);gap:18px;display:grid}.calendar-head{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.calendar-head button{background:#fff;border:1px solid #d6e1dd;border-radius:9px;width:38px;height:38px;font-size:24px}.calendar-weekdays,.calendar-grid{grid-template-columns:repeat(7,1fr);display:grid}.calendar-weekdays b{text-align:center;padding:9px;font-size:8px}.calendar-grid button{text-align:left;background:#fff;border:0;border-top:1px solid #e0e8e5;border-left:1px solid #e0e8e5;flex-direction:column;gap:12px;min-height:92px;padding:9px;display:flex}.calendar-grid button:nth-child(7n){border-right:1px solid #e0e8e5}.calendar-grid button:nth-last-child(-n+7){border-bottom:1px solid #e0e8e5}.calendar-grid button.outside{color:#a4afab;background:#f8faf9}.calendar-grid button.selected{outline-offset:-2px;background:#f0fcf4;outline:2px solid #00b94f}.calendar-grid em{color:#087e3c;background:#e6f8ec;border-radius:7px;padding:5px;font-size:8px;font-style:normal}.calendar-grid em.pending{color:#9b6300;background:#fff0d5}.calendar-day-panel .day-total{color:#078d43;margin:8px 0 14px;display:block}.calendar-day-list article{border-bottom:1px solid #e0e8e5;grid-template-columns:115px 1fr;gap:12px;padding:13px 0;display:grid}.calendar-day-list article>div,.calendar-day-list article>span{flex-direction:column;gap:4px;display:flex}.calendar-day-list small{color:#789089}.calendar-day-list em{color:#078d43;background:#e4f8eb;border-radius:7px;align-self:flex-start;padding:4px 7px;font-size:8px;font-style:normal}.calendar-day-list em.pending{color:#9b6300;background:#fff0d5}@media (width<=950px){.booking-calendar-layout{grid-template-columns:1fr}}@media (width<=650px){.calendar-grid button{min-height:64px;padding:5px}.calendar-grid em{padding:3px;font-size:6px}.calendar-weekdays b{font-size:6px}.calendar-day-list article{grid-template-columns:95px 1fr}}

/* Existing Booking Calendar module rules */
/* =========================================================
   DEWPOINT OWNER BOOKING CALENDAR
   BLOCKED STATUS V1
   ========================================================= */

.owner-calendar-page
.calendar-grid
em.blocked{
    color:#667570;
    background:#eef2f1;
}

.owner-calendar-page
.calendar-day-list
em.blocked{
    color:#667570;
    background:#eef2f1;
}

.owner-calendar-page
.calendar-day-list
article:has(em.blocked){
    border-left:3px solid #a7b2ae;
    padding-left:10px;
}

@media (max-width:760px){

    .owner-calendar-page
    .calendar-grid
    em{
        line-height:1.25;
    }

}

/* Owner theme rules migrated from dewpoint-dashboard.css */
/* =========================================================
   BOOKING CALENDAR
   ========================================================= */

/* Selected calendar day */
.shell:not(.player-shell) .calendar-grid button.selected{
    background:var(--dp-theme-faint) !important;

    outline:
        2px solid
        var(--dp-accent) !important;
}


/* Booking count pills */
.shell:not(.player-shell) .calendar-grid em:not(.pending){
    color:var(--dp-accent-text) !important;
    background:var(--dp-theme-soft) !important;
}


/* Day total */
.shell:not(.player-shell) .calendar-day-panel .day-total{
    color:var(--dp-accent-text) !important;
}


/* Booking badges in day list */
.shell:not(.player-shell) .calendar-day-list em:not(.pending){
    color:var(--dp-accent-text) !important;
    background:var(--dp-theme-soft) !important;
}


/* Calendar navigation hover */
.shell:not(.player-shell) .calendar-head button:hover{
    color:var(--dp-accent-text) !important;
    border-color:var(--dp-accent) !important;
    background:var(--dp-theme-faint) !important;
}
