/**
 * RHMP Booking Vehicle
 *
 * Professional Booking Modal
 *
 * @package RHMP_Booking_Vehicle
 */


/* =========================================================
   VARIABLES
========================================================= */

:root {

    --rhmp-green: #008f5a;
    --rhmp-green-dark: #007a4d;

    --rhmp-green-soft: #eefaf5;
    --rhmp-green-light: #dff5eb;

    --rhmp-text: #101a32;
    --rhmp-text-light: #68738a;
    --rhmp-muted: #98a1b2;

    --rhmp-border: #dfe4eb;
    --rhmp-border-light: #e9edf2;

    --rhmp-white: #ffffff;

    --rhmp-booked: #ed1c24;
    --rhmp-booked-bg: #fff0f1;

    --rhmp-pending: #f3aa18;
    --rhmp-pending-bg: #fff7e5;

    --rhmp-disabled: #b8c0ca;

}


/* =========================================================
   RESET
========================================================= */

.rhmp-booking-modal *,
.rhmp-booking-modal *::before,
.rhmp-booking-modal *::after {

    box-sizing: border-box;

}


/* =========================================================
   BODY
========================================================= */

body.rhmp-booking-open {

    overflow: hidden;

}


/* =========================================================
   OVERLAY
========================================================= */

.rhmp-booking-overlay {

    position: fixed;

    inset: 0;

    z-index: 999999;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    height: 100%;
    height: 100dvh;

    padding: 12px;

    background:
        rgba(13, 20, 28, .68);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .2s ease,
        visibility .2s ease;

}


/* =========================================================
   HARD CLOSED STATE
========================================================= */

/*
 * The booking modal template starts with:
 *
 * hidden
 *
 * Therefore the popup cannot appear during page load,
 * navigation or rendering.
 *
 * JavaScript must explicitly remove the hidden state
 * after the booking button is clicked/tapped.
 */

.rhmp-booking-overlay[hidden] {

    display: none !important;

}


/* =========================================================
   OPEN
========================================================= */

.rhmp-booking-overlay.is-open:not([hidden]),
.rhmp-booking-overlay[aria-hidden="false"]:not([hidden]) {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

}


/* =========================================================
   MAIN MODAL
========================================================= */

.rhmp-booking-modal {

    position: relative;

    width: min(100%, 650px);

    max-width: 650px;

    max-height: calc(100dvh - 24px);

    margin: auto;

    padding: 18px 19px 14px;

    overflow-x: hidden;

    overflow-y: auto;

    background: #ffffff;

    border: 3px solid var(--rhmp-green);

    border-radius: 19px;

    box-shadow:
        0 28px 80px rgba(0, 0, 0, .28);

    scrollbar-width: thin;

    scrollbar-color:
        rgba(0, 143, 90, .35)
        transparent;

    -webkit-overflow-scrolling: touch;

}


/* =========================================================
   SCROLLBAR
========================================================= */

.rhmp-booking-modal::-webkit-scrollbar {

    width: 6px;

}

.rhmp-booking-modal::-webkit-scrollbar-track {

    background: transparent;

}

.rhmp-booking-modal::-webkit-scrollbar-thumb {

    background:
        rgba(0, 143, 90, .3);

    border-radius: 20px;

}


/* =========================================================
   HEADER
========================================================= */

.rhmp-booking-header {

    position: relative;

    padding-right: 48px;

    margin-bottom: 13px;

    text-align: center;

}


/* =========================================================
   LABEL
========================================================= */

.rhmp-booking-label {

    display: none;

}


/* =========================================================
   TITLE
========================================================= */

.rhmp-booking-header h2 {

    margin: 0;

    color: var(--rhmp-text);

    font-size: 26px;

    line-height: 1.15;

    font-weight: 800;

    letter-spacing: -.025em;

}


/* =========================================================
   SUBTITLE
========================================================= */

.rhmp-booking-header p {

    margin: 3px 0 0;

    color: var(--rhmp-text-light);

    font-size: 13px;

    line-height: 1.3;

    font-weight: 500;

}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.rhmp-booking-close {

    position: absolute;

    top: -1px;

    right: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 40px;

    height: 40px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: #edf0f4;

    color: #667085;

    font-family: inherit;

    font-size: 29px;

    line-height: .8;

    font-weight: 300;

    cursor: pointer;

    transition:
        background .18s ease,
        color .18s ease,
        transform .12s ease;

}


.rhmp-booking-close:hover {

    background: #e2e6eb;

    color: #344054;

}


.rhmp-booking-close:active {

    transform: scale(.94);

}


/* =========================================================
   CUSTOMER DETAILS
========================================================= */

.rhmp-booking-customer {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;

    margin-bottom: 13px;

}


/* =========================================================
   FIELD
========================================================= */

.rhmp-booking-field {

    min-width: 0;

}


/* =========================================================
   LABEL
========================================================= */

.rhmp-booking-field label {

    display: block;

    margin: 0 0 4px;

    color: var(--rhmp-text);

    font-size: 12px;

    line-height: 1.3;

    font-weight: 750;

}


.rhmp-booking-field label span {

    color: #e03131;

}


/* =========================================================
   INPUT WRAPPER
========================================================= */

.rhmp-input-wrap {

    position: relative;

    width: 100%;

}


/* =========================================================
   INPUT ICON
========================================================= */

.rhmp-input-icon {

    position: absolute;

    top: 50%;

    left: 13px;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 20px;

    height: 20px;

    color: #8792a6;

    transform: translateY(-50%);

    pointer-events: none;

}


/* =========================================================
   INPUT
========================================================= */

.rhmp-input-wrap input {

    display: block;

    width: 100%;

    height: 44px;

    padding:
        0 12px 0 43px;

    border: 1.5px solid #d6dbe3;

    border-radius: 9px;

    outline: none;

    background: #ffffff;

    color: var(--rhmp-text);

    font-family: inherit;

    font-size: 13px;

    font-weight: 500;

    box-shadow:
        0 1px 2px rgba(16, 24, 40, .02);

    transition:
        border-color .18s ease,
        box-shadow .18s ease;

}


.rhmp-input-wrap input::placeholder {

    color: #8b95a7;

    opacity: 1;

}


.rhmp-input-wrap input:focus {

    border-color: var(--rhmp-green);

    box-shadow:
        0 0 0 3px rgba(0, 143, 90, .10);

}


/* =========================================================
   DATE HEADER
========================================================= */

.rhmp-booking-date-section {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 10px;

    margin-bottom: 7px;

}


/* =========================================================
   SELECT DATE TITLE
========================================================= */

.rhmp-date-title {

    color: var(--rhmp-text);

    font-size: 17px;

    line-height: 1.2;

    font-weight: 800;

}


/* =========================================================
   CALENDAR NAVIGATION
========================================================= */

.rhmp-calendar-navigation {

    display: flex;

    align-items: center;

    gap: 6px;

}


/* =========================================================
   NAV BUTTON
========================================================= */

.rhmp-calendar-prev,
.rhmp-calendar-next {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 38px;

    height: 38px;

    padding: 0;

    border: 0;

    border-radius: 10px;

    background: #f1f3f7;

    color: var(--rhmp-text);

    cursor: pointer;

    transition:
        background .18s ease,
        color .18s ease,
        transform .12s ease;

}


.rhmp-calendar-prev:hover,
.rhmp-calendar-next:hover {

    background: var(--rhmp-green);

    color: #fff;

}


.rhmp-calendar-prev:active,
.rhmp-calendar-next:active {

    transform: scale(.94);

}


/* =========================================================
   MONTH
========================================================= */

.rhmp-calendar-month {

    min-width: 130px;

    text-align: center;

}


.rhmp-calendar-month-name {

    color: var(--rhmp-text);

    font-size: 15px;

    line-height: 1.2;

    font-weight: 650;

}


.rhmp-calendar-year {

    margin-left: 4px;

    color: var(--rhmp-text);

    font-size: 15px;

    line-height: 1.2;

    font-weight: 500;

}


/* =========================================================
   CALENDAR CARD
========================================================= */

.rhmp-calendar-card {

    width: 100%;

    min-width: 0;

    overflow: hidden;

    border: 1px solid #dfe3e8;

    border-radius: 10px;

    background: #ffffff;

}


/* =========================================================
   WEEKDAYS
========================================================= */

.rhmp-calendar-weekdays {

    display: grid;

    grid-template-columns:
        repeat(7, minmax(0, 1fr));

    width: 100%;

    border-bottom: 1px solid #dfe3e8;

    background: #f6f7fa;

}


/* =========================================================
   WEEKDAY
========================================================= */

.rhmp-calendar-weekday {

    min-width: 0;

    padding: 8px 3px;

    text-align: center;

    color: #596579;

    font-size: 11px;

    line-height: 1.2;

    font-weight: 600;

}


/* =========================================================
   GRID
========================================================= */

.rhmp-calendar-grid {

    display: grid;

    grid-template-columns:
        repeat(7, minmax(0, 1fr));

    width: 100%;

    min-width: 0;

}


/* =========================================================
   DAY
========================================================= */

.rhmp-calendar-day {

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    min-width: 0;

    height: 44px;

    padding: 0;

    border: 0;

    border-right: 1px solid #e6e9ee;

    border-bottom: 1px solid #e6e9ee;

    background: #ffffff;

    color: #151c2e;

    font-family: inherit;

    font-size: 12px;

    line-height: 1;

    font-weight: 500;

    cursor: pointer;

    outline: none;

    touch-action: manipulation;

    transition:
        background .15s ease,
        color .15s ease,
        box-shadow .15s ease;

}


/* remove final right edge */

.rhmp-calendar-day:nth-child(7n) {

    border-right: 0;

}


/* =========================================================
   DAY NUMBER
========================================================= */

.rhmp-calendar-day-number {

    position: relative;

    z-index: 3;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 28px;

    height: 28px;

}


/* =========================================================
   OTHER MONTH
========================================================= */

.rhmp-calendar-day.other-month {

    color: #aeb6c2;

    background: #fbfcfd;

}


/* =========================================================
   TODAY
========================================================= */

.rhmp-calendar-day.today {

    box-shadow:
        inset 0 0 0 2px rgba(0, 143, 90, .35);

}


/* =========================================================
   BOOKED
========================================================= */

.rhmp-calendar-day.booked {

    background: var(--rhmp-booked-bg);

    color: var(--rhmp-booked);

    font-weight: 700;

}


/* =========================================================
   PENDING
========================================================= */

.rhmp-calendar-day.pending {

    background: var(--rhmp-pending-bg);

    color: var(--rhmp-pending);

    font-weight: 700;

}


/* =========================================================
   IN RANGE
========================================================= */

.rhmp-calendar-day.in-range {

    background: #dff5eb;

    color: #101a32;

}


/* =========================================================
   SELECTED
========================================================= */

.rhmp-calendar-day.selected {

    background: var(--rhmp-green);

    color: #ffffff;

    font-weight: 800;

    box-shadow: none;

}


/* FIXED SELECTED NUMBER SELECTOR */

.rhmp-calendar-day.selected .rhmp-calendar-day-number {

    border-radius: 10px;

}


/* =========================================================
   RANGE START / END
========================================================= */

.rhmp-calendar-day.range-start,
.rhmp-calendar-day.range-end {

    background: var(--rhmp-green);

    color: #ffffff;

    font-weight: 800;

}


/* =========================================================
   DISABLED
========================================================= */

.rhmp-calendar-day.disabled {

    background: #fafbfc;

    color: #c4cad3;

    cursor: not-allowed;

    opacity: .7;

}


.rhmp-calendar-day.disabled:hover {

    background: #fafbfc;

    color: #c4cad3;

}


/* =========================================================
   STATUS DOT
========================================================= */

.rhmp-calendar-status-dot {

    position: absolute;

    left: 50%;

    bottom: 4px;

    width: 5px;

    height: 5px;

    border-radius: 50%;

    background: currentColor;

    transform: translateX(-50%);

}


/* =========================================================
   LEGEND
========================================================= */

.rhmp-calendar-legend {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 6px;

    margin-top: 8px;

}


/* =========================================================
   LEGEND ITEM
========================================================= */

.rhmp-calendar-legend-item {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 6px;

    min-width: 0;

    min-height: 40px;

    padding: 5px 6px;

    border-radius: 8px;

    background: #f5f6f9;

    color: var(--rhmp-text);

    font-size: 10px;

    line-height: 1.2;

    font-weight: 500;

}


/* =========================================================
   LEGEND DOT
========================================================= */

.rhmp-calendar-legend-dot {

    display: block;

    width: 13px;

    height: 13px;

    flex: 0 0 13px;

    border-radius: 50%;

}


/* booked */

.rhmp-calendar-legend-dot.booked {

    background: var(--rhmp-booked);

}


/* pending */

.rhmp-calendar-legend-dot.pending {

    background: var(--rhmp-pending);

}


/* available */

.rhmp-calendar-legend-dot.available {

    width: 16px;

    height: 16px;

    flex-basis: 16px;

    border-radius: 5px;

    background: #bcefd8;

    border: 1px solid #8eddb9;

}


/* selected */

.rhmp-calendar-legend-dot.selected {

    width: 16px;

    height: 16px;

    flex-basis: 16px;

    border-radius: 5px;

    background: var(--rhmp-green);

}


/* =========================================================
   SELECTED SUMMARY
========================================================= */

.rhmp-selected-summary {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(110px, auto);

    align-items: center;

    gap: 12px;

    margin-top: 8px;

    padding: 11px 14px;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            #eaf9f3 0%,
            #e0f6ed 100%
        );

}


/* =========================================================
   SELECTED INFO
========================================================= */

.rhmp-selected-info {

    min-width: 0;

}


/* =========================================================
   LABEL
========================================================= */

.rhmp-selected-summary-label {

    margin-bottom: 2px;

    color: #078354;

    font-size: 9px;

    line-height: 1.2;

    font-weight: 800;

    text-transform: capitalize;

}


/* =========================================================
   SELECTED DATES
========================================================= */

.rhmp-selected-dates {

    color: #101a32;

    font-size: 13px;

    line-height: 1.3;

    font-weight: 500;

    overflow-wrap: anywhere;

}


/* =========================================================
   TOTAL
========================================================= */

.rhmp-selected-total {

    padding-left: 16px;

    border-left: 1px solid #b8d9cb;

}


.rhmp-total-days {

    color: var(--rhmp-green);

    font-size: 20px;

    line-height: 1;

    font-weight: 850;

    white-space: nowrap;

}


/* =========================================================
   ACTIONS
========================================================= */

.rhmp-booking-actions {

    margin-top: 8px;

}


/* =========================================================
   SEND BUTTON
========================================================= */

.rhmp-send-owner {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    width: 100%;

    min-height: 46px;

    padding: 0 15px;

    border: 0;

    border-radius: 8px;

    background:
        linear-gradient(
            135deg,
            #00995f 0%,
            #008651 100%
        );

    color: #ffffff;

    font-family: inherit;

    font-size: 15px;

    line-height: 1;

    font-weight: 750;

    cursor: pointer;

    box-shadow:
        0 7px 18px rgba(0, 143, 90, .18);

    transition:
        background .18s ease,
        box-shadow .18s ease,
        transform .12s ease;

}


.rhmp-send-owner:hover {

    background:
        linear-gradient(
            135deg,
            #008c57 0%,
            #007b4b 100%
        );

    box-shadow:
        0 9px 23px rgba(0, 143, 90, .25);

}


.rhmp-send-owner:active {

    transform: scale(.985);

}


/* =========================================================
   SEND ICON
========================================================= */

.rhmp-send-icon {

    flex: 0 0 auto;

}


/* =========================================================
   FOOTER NOTE
========================================================= */

.rhmp-booking-footer-note {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 5px;

    margin-top: 6px;

    color: #8b94a3;

    font-size: 8px;

    line-height: 1.3;

    text-align: center;

}


/* =========================================================
   LARGE DESKTOP
   1200+
========================================================= */

@media (min-width: 1200px) {

    .rhmp-booking-overlay {

        padding: 15px;

    }


    .rhmp-booking-modal {

        max-width: 650px;

    }

}


/* =========================================================
   TABLET
   769 - 1024
========================================================= */

@media (max-width: 1024px) {

    .rhmp-booking-overlay {

        padding: 10px;

    }


    .rhmp-booking-modal {

        width: min(100%, 640px);

        max-width: 640px;

        max-height: calc(100dvh - 20px);

        padding: 17px 18px 13px;

        border-radius: 18px;

    }


    .rhmp-booking-header {

        margin-bottom: 12px;

    }


    .rhmp-booking-header h2 {

        font-size: 25px;

    }


    .rhmp-booking-header p {

        font-size: 12px;

    }


    .rhmp-booking-customer {

        gap: 9px;

        margin-bottom: 12px;

    }


    .rhmp-input-wrap input {

        height: 43px;

    }


    .rhmp-calendar-day {

        height: 43px;

    }


    .rhmp-calendar-weekday {

        padding: 8px 3px;

    }

}


/* =========================================================
   TABLET / LARGE MOBILE
   601 - 768
========================================================= */

@media (max-width: 768px) {

    .rhmp-booking-overlay {

        padding: 8px;

    }


    .rhmp-booking-modal {

        width: 100%;

        max-width: 620px;

        max-height: calc(100dvh - 16px);

        padding: 17px;

        border-radius: 17px;

    }


    .rhmp-booking-header {

        padding-right: 44px;

        margin-bottom: 13px;

    }


    .rhmp-booking-header h2 {

        font-size: 24px;

    }


    .rhmp-booking-header p {

        font-size: 12px;

    }


    .rhmp-booking-close {

        width: 38px;

        height: 38px;

        font-size: 28px;

    }


    .rhmp-booking-customer {

        gap: 8px;

        margin-bottom: 13px;

    }


    .rhmp-booking-field label {

        font-size: 11px;

    }


    .rhmp-input-wrap input {

        height: 43px;

        font-size: 12px;

    }


    .rhmp-booking-date-section {

        gap: 8px;

    }


    .rhmp-date-title {

        font-size: 16px;

    }


    .rhmp-calendar-month {

        min-width: 125px;

    }


    .rhmp-calendar-month-name,
    .rhmp-calendar-year {

        font-size: 13px;

    }


    .rhmp-calendar-prev,
    .rhmp-calendar-next {

        width: 36px;

        height: 36px;

    }


    .rhmp-calendar-day {

        height: 43px;

        font-size: 11px;

    }


    .rhmp-calendar-day-number {

        width: 27px;

        height: 27px;

    }


    .rhmp-calendar-weekday {

        padding: 8px 2px;

        font-size: 9px;

    }


    .rhmp-calendar-legend {

        gap: 5px;

    }


    .rhmp-calendar-legend-item {

        min-height: 41px;

        font-size: 9px;

    }


    .rhmp-selected-summary {

        padding: 11px 13px;

    }


    .rhmp-selected-dates {

        font-size: 12px;

    }


    .rhmp-total-days {

        font-size: 20px;

    }


    .rhmp-send-owner {

        min-height: 45px;

        font-size: 14px;

    }

}


/* =========================================================
   MOBILE
   <= 600
========================================================= */

@media (max-width: 600px) {

    .rhmp-booking-overlay {

        align-items: flex-start;

        justify-content: center;

        padding: 5px;

        overflow-y: auto;

    }


    .rhmp-booking-modal {

        width: 100%;

        max-width: none;

        max-height: calc(100dvh - 10px);

        padding: 15px 11px 11px;

        border-width: 2px;

        border-radius: 15px;

    }


    /* header */

    .rhmp-booking-header {

        padding-right: 39px;

        margin-bottom: 12px;

    }


    .rhmp-booking-header h2 {

        font-size: 20px;

        letter-spacing: -.02em;

    }


    .rhmp-booking-header p {

        margin-top: 3px;

        font-size: 10px;

    }


    .rhmp-booking-close {

        width: 36px;

        height: 36px;

        font-size: 26px;

    }


    /* customer */

    .rhmp-booking-customer {

        grid-template-columns: 1fr;

        gap: 7px;

        margin-bottom: 12px;

    }


    .rhmp-booking-field label {

        margin-bottom: 3px;

        font-size: 10px;

    }


    .rhmp-input-wrap input {

        height: 43px;

        padding-left: 43px;

        font-size: 11px;

        border-radius: 8px;

    }


    .rhmp-input-icon {

        left: 12px;

        width: 19px;

        height: 19px;

    }


    /* date heading */

    .rhmp-booking-date-section {

        grid-template-columns: 1fr;

        gap: 5px;

        margin-bottom: 6px;

    }


    .rhmp-date-title {

        font-size: 15px;

    }


    .rhmp-calendar-navigation {

        width: 100%;

        justify-content: center;

        gap: 4px;

    }


    .rhmp-calendar-month {

        min-width: 115px;

        flex: 0 1 auto;

    }


    .rhmp-calendar-month-name,
    .rhmp-calendar-year {

        font-size: 12px;

    }


    .rhmp-calendar-prev,
    .rhmp-calendar-next {

        width: 35px;

        height: 35px;

        border-radius: 8px;

    }


    /* calendar */

    .rhmp-calendar-card {

        width: 100%;

        border-radius: 8px;

    }


    .rhmp-calendar-weekday {

        padding: 7px 0;

        font-size: 8px;

        white-space: nowrap;

    }


    .rhmp-calendar-day {

        height: 39px;

        font-size: 9px;

    }


    .rhmp-calendar-day-number {

        width: 23px;

        height: 23px;

    }


    .rhmp-calendar-status-dot {

        bottom: 3px;

        width: 4px;

        height: 4px;

    }


    /* legend */

    .rhmp-calendar-legend {

        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        gap: 4px;

        margin-top: 6px;

    }


    .rhmp-calendar-legend-item {

        min-height: 36px;

        gap: 4px;

        padding: 4px;

        font-size: 8px;

    }


    .rhmp-calendar-legend-dot {

        width: 10px;

        height: 10px;

        flex-basis: 10px;

    }


    .rhmp-calendar-legend-dot.available,
    .rhmp-calendar-legend-dot.selected {

        width: 13px;

        height: 13px;

        flex-basis: 13px;

    }


    /* summary */

    .rhmp-selected-summary {

        grid-template-columns:
            minmax(0, 1fr)
            auto;

        gap: 8px;

        margin-top: 6px;

        padding: 10px 11px;

        border-radius: 8px;

    }


    .rhmp-selected-summary-label {

        margin-bottom: 2px;

        font-size: 7px;

    }


    .rhmp-selected-dates {

        font-size: 10px;

        line-height: 1.3;

    }


    .rhmp-selected-total {

        padding-left: 11px;

    }


    .rhmp-total-days {

        font-size: 16px;

    }


    /* send */

    .rhmp-booking-actions {

        margin-top: 7px;

    }


    .rhmp-send-owner {

        min-height: 45px;

        border-radius: 8px;

        font-size: 13px;

    }


    .rhmp-booking-footer-note {

        margin-top: 5px;

        font-size: 7px;

    }

}


/* =========================================================
   SMALL MOBILE
   <= 480
========================================================= */

@media (max-width: 480px) {

    .rhmp-booking-overlay {

        padding: 3px;

    }


    .rhmp-booking-modal {

        max-height: calc(100dvh - 6px);

        padding: 13px 8px 9px;

        border-radius: 13px;

    }


    .rhmp-booking-header {

        padding-right: 37px;

        margin-bottom: 10px;

    }


    .rhmp-booking-header h2 {

        font-size: 18px;

    }


    .rhmp-booking-header p {

        font-size: 9px;

    }


    .rhmp-booking-close {

        width: 33px;

        height: 33px;

        font-size: 24px;

    }


    /* input */

    .rhmp-booking-field label {

        font-size: 9px;

    }


    .rhmp-input-wrap input {

        height: 40px;

        padding-left: 40px;

        font-size: 10px;

    }


    .rhmp-input-icon {

        left: 10px;

        width: 17px;

        height: 17px;

    }


    /* date */

    .rhmp-date-title {

        font-size: 14px;

    }


    .rhmp-calendar-navigation {

        gap: 3px;

    }


    .rhmp-calendar-prev,
    .rhmp-calendar-next {

        width: 33px;

        height: 33px;

        border-radius: 8px;

    }


    .rhmp-calendar-month {

        min-width: 108px;

    }


    .rhmp-calendar-month-name,
    .rhmp-calendar-year {

        font-size: 11px;

    }


    /* calendar */

    .rhmp-calendar-weekday {

        padding: 6px 0;

        font-size: 7px;

    }


    .rhmp-calendar-day {

        height: 37px;

        font-size: 8px;

    }


    .rhmp-calendar-day-number {

        width: 21px;

        height: 21px;

    }


    .rhmp-calendar-status-dot {

        bottom: 3px;

        width: 3px;

        height: 3px;

    }


    /* legend */

    .rhmp-calendar-legend {

        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        gap: 3px;

    }


    .rhmp-calendar-legend-item {

        min-height: 34px;

        gap: 3px;

        font-size: 7px;

    }


    .rhmp-calendar-legend-dot {

        width: 9px;

        height: 9px;

        flex-basis: 9px;

    }


    .rhmp-calendar-legend-dot.available,
    .rhmp-calendar-legend-dot.selected {

        width: 12px;

        height: 12px;

        flex-basis: 12px;

    }


    /* summary */

    .rhmp-selected-summary {

        padding: 8px;

    }


    .rhmp-selected-dates {

        font-size: 8px;

    }


    .rhmp-total-days {

        font-size: 14px;

    }


    /* send */

    .rhmp-send-owner {

        min-height: 42px;

        font-size: 12px;

    }


    .rhmp-send-icon {

        width: 17px;

        height: 17px;

    }


    .rhmp-booking-footer-note {

        font-size: 7px;

    }

}


/* =========================================================
   VERY SMALL MOBILE
   <= 360
========================================================= */

@media (max-width: 360px) {

    .rhmp-booking-overlay {

        padding: 2px;

    }


    .rhmp-booking-modal {

        max-height: calc(100dvh - 4px);

        padding: 11px 6px 7px;

        border-radius: 12px;

    }


    .rhmp-booking-header {

        padding-right: 35px;

        margin-bottom: 8px;

    }


    .rhmp-booking-header h2 {

        font-size: 16px;

    }


    .rhmp-booking-header p {

        font-size: 8px;

    }


    .rhmp-booking-close {

        width: 31px;

        height: 31px;

        font-size: 21px;

    }


    .rhmp-booking-customer {

        gap: 5px;

        margin-bottom: 9px;

    }


    .rhmp-booking-field label {

        margin-bottom: 2px;

        font-size: 8px;

    }


    .rhmp-input-wrap input {

        height: 37px;

        padding-left: 37px;

        font-size: 9px;

        border-radius: 7px;

    }


    .rhmp-input-icon {

        left: 9px;

        width: 16px;

        height: 16px;

    }


    .rhmp-date-title {

        font-size: 12px;

    }


    .rhmp-calendar-navigation {

        gap: 2px;

    }


    .rhmp-calendar-prev,
    .rhmp-calendar-next {

        width: 30px;

        height: 30px;

        border-radius: 7px;

    }


    .rhmp-calendar-month {

        min-width: 94px;

    }


    .rhmp-calendar-month-name,
    .rhmp-calendar-year {

        font-size: 9px;

    }


    .rhmp-calendar-weekday {

        padding: 4px 0;

        font-size: 6px;

    }


    .rhmp-calendar-day {

        height: 33px;

        font-size: 7px;

    }


    .rhmp-calendar-day-number {

        width: 18px;

        height: 18px;

    }


    .rhmp-calendar-status-dot {

        bottom: 2px;

        width: 3px;

        height: 3px;

    }


    .rhmp-calendar-legend {

        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        gap: 2px;

        margin-top: 4px;

    }


    .rhmp-calendar-legend-item {

        min-height: 31px;

        padding: 3px 2px;

        font-size: 6px;

    }


    .rhmp-calendar-legend-dot {

        width: 7px;

        height: 7px;

        flex-basis: 7px;

    }


    .rhmp-calendar-legend-dot.available,
    .rhmp-calendar-legend-dot.selected {

        width: 10px;

        height: 10px;

        flex-basis: 10px;

    }


    .rhmp-selected-summary {

        grid-template-columns: 1fr auto;

        gap: 5px;

        margin-top: 4px;

        padding: 7px;

    }


    .rhmp-selected-summary-label {

        font-size: 6px;

    }


    .rhmp-selected-dates {

        font-size: 7px;

    }


    .rhmp-selected-total {

        padding-left: 7px;

    }


    .rhmp-total-days {

        font-size: 12px;

    }


    .rhmp-booking-actions {

        margin-top: 5px;

    }


    .rhmp-send-owner {

        min-height: 39px;

        font-size: 11px;

        gap: 5px;

    }


    .rhmp-send-icon {

        width: 15px;

        height: 15px;

    }


    .rhmp-booking-footer-note {

        margin-top: 3px;

        font-size: 6px;

    }

}


/* =========================================================
   MOBILE LANDSCAPE
========================================================= */

@media (max-height: 600px) and (orientation: landscape) {

    .rhmp-booking-overlay {

        align-items: flex-start;

        justify-content: center;

        padding: 4px;

        overflow-y: auto;

    }


    .rhmp-booking-modal {

        width: min(100%, 650px);

        max-height: calc(100dvh - 8px);

        padding: 12px 15px 9px;

    }


    .rhmp-booking-header {

        margin-bottom: 7px;

    }


    .rhmp-booking-header h2 {

        font-size: 19px;

    }


    .rhmp-booking-header p {

        font-size: 8px;

    }


    .rhmp-booking-customer {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 7px;

        margin-bottom: 7px;

    }


    .rhmp-booking-field label {

        font-size: 9px;

        margin-bottom: 2px;

    }


    .rhmp-input-wrap input {

        height: 36px;

    }


    .rhmp-booking-date-section {

        margin-bottom: 4px;

    }


    .rhmp-calendar-day {

        height: 31px;

    }


    .rhmp-calendar-weekday {

        padding: 4px;

    }


    .rhmp-calendar-legend {

        margin-top: 4px;

    }


    .rhmp-calendar-legend-item {

        min-height: 30px;

    }


    .rhmp-selected-summary {

        margin-top: 4px;

        padding: 6px 10px;

    }


    .rhmp-booking-actions {

        margin-top: 4px;

    }


    .rhmp-send-owner {

        min-height: 38px;

    }


    .rhmp-booking-footer-note {

        margin-top: 3px;

    }

}


/* =========================================================
   TOUCH DEVICES
========================================================= */

@media (hover: none) and (pointer: coarse) {

    .rhmp-calendar-day:not(.disabled):active {

        background: var(--rhmp-green-light);

    }


    .rhmp-calendar-day.selected:active {

        background: var(--rhmp-green-dark);

    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.rhmp-booking-modal button:focus-visible,
.rhmp-booking-modal input:focus-visible {

    outline: 3px solid rgba(0, 143, 90, .18);

    outline-offset: 2px;

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .rhmp-booking-modal *,
    .rhmp-booking-modal *::before,
    .rhmp-booking-modal *::after {

        transition: none !important;

        animation: none !important;

    }

}\n/* v1.2.0 unified RentHubMP calendar design */\n.rhmp-calendar-card{border:1px solid #dfe3e8!important;border-radius:10px!important;overflow:hidden!important;background:#fff!important}\n.rhmp-calendar-weekdays{background:#f6f7fa!important;border-bottom:1px solid #dfe3e8!important}\n.rhmp-calendar-weekday{padding:8px 3px!important;color:#596579!important;font-size:11px!important;font-weight:600!important}\n.rhmp-calendar-day{height:44px!important;border-right:1px solid #e6e9ee!important;border-bottom:1px solid #e6e9ee!important;background:#fff!important;color:#151c2e!important;font-size:12px!important;font-weight:500!important;border-radius:0!important;box-shadow:none}\n.rhmp-calendar-day.other-month{color:#aeb6c2!important;background:#fbfcfd!important}.rhmp-calendar-day.booked{background:#fff0f1!important;color:#ed1c24!important;font-weight:700!important}.rhmp-calendar-day.pending{background:#fff7e5!important;color:#f3aa18!important;font-weight:700!important}.rhmp-calendar-day.selected,.rhmp-calendar-day.range-start,.rhmp-calendar-day.range-end{background:#008f5a!important;color:#fff!important;font-weight:800!important}.rhmp-calendar-day.in-range:not(.selected):not(.range-start):not(.range-end){background:#dff5eb!important;color:#101a32!important}.rhmp-calendar-day.today:not(.booked):not(.pending):not(.selected){box-shadow:inset 0 0 0 2px rgba(0,143,90,.35)!important}\n@media(max-width:700px){.rhmp-calendar-weekday{font-size:9px!important;padding:7px 1px!important}.rhmp-calendar-day{height:40px!important;font-size:11px!important}}\n
/* Non-blocking privacy notice for customers. Owner manual-booking mode stays unchanged. */
.rhmp-booking-footer-note .rhmp-booking-privacy-link{color:#426a58;font:inherit;text-decoration:underline;text-underline-offset:2px;white-space:nowrap;}
.rhmp-booking-footer-note .rhmp-booking-privacy-link[hidden]{display:none!important;}
