/* Shared date fields and locally pinned Vanilla Calendar Pro theme. */
.booking-form form .date-field {
    border: 1px solid #ded5ca;
    border-radius: 10px;
    background: #fffdf9;
    overflow: hidden;
    transition: border-color .15s, box-shadow .15s;
}

.booking-form form .date-field:focus-within {
    border-color: #9b6538;
    box-shadow: 0 0 0 3px #dfa97440;
}

.booking-form form .date-field .form-control {
    min-height: 48px;
    min-width: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    padding: 12px 14px;
    color: #29251f;
    font-size: 16px;
    font-variant-numeric: tabular-nums;
}

.booking-form form .date-field .date-trigger {
    flex: 0 0 46px;
    width: 46px;
    height: auto;
    min-height: 48px;
    margin: 0;
    padding: 0;
    border: 0;
    border-left: 1px solid #eadfd2;
    border-radius: 0;
    background: #f6eee4;
    color: #86552f;
}

.booking-form form .date-field .date-trigger .site-icon {
    color: inherit;
}

.booking-form form .date-field .date-trigger:hover {
    background: #edddcb;
    color: #53371f;
}

.booking-form form .date-trigger:focus-visible {
    outline: 2px solid #86552f;
    outline-offset: -5px;
}

.booking-form form .date-picker-rules {
    margin: 16px 0 0;
    padding-left: 12px;
    border-left: 2px solid #dfa974;
    color: #73695f;
    font-size: 13px;
    line-height: 1.6;
}

.flurina-calendar.vc {
    --vc-bg: #fffdf9;
    --vc-color: #29251f;
    --vc-header-color: #29251f;
    --vc-title-color: #29251f;
    --vc-title-color-hover: #86552f;
    --vc-week-day-color: #73695f;
    --vc-week-day-off-color: #73695f;
    --vc-date-color: #493723;
    --vc-date-weekend-color: #493723;
    --vc-date-disabled-color: #9a948c;
    --vc-date-weekend-disabled-color: #9a948c;
    --vc-date-selected-bg: #9b6538;
    --vc-date-selected-color: #fff;
    --vc-date-weekend-selected-bg: #9b6538;
    --vc-date-weekend-selected-color: #fff;
    --vc-date-today-bg: #f0e2d1;
    --vc-date-today-color: #493723;
    --vc-date-weekend-today-color: #493723;
    --vc-months-years-bg: transparent;
    --vc-months-years-color: #493723;
    --vc-months-years-bg-hover: #f0e2d1;
    --vc-months-years-bg-selected: #9b6538;
    --vc-months-years-color-selected: #fff;
    --vc-focus-outline-color: #86552f;
    z-index: 1055;
    width: 320px;
    min-width: 0;
    max-width: calc(100vw - 24px);
    padding: 18px;
    border: 1px solid #e8dac8;
    border-radius: 18px;
    font-family: sans-serif;
    box-shadow: 0 16px 45px #37261424;
}

.flurina-calendar.vc[data-vc-input] {
    box-shadow: 0 16px 45px #37261424;
}

.flurina-calendar .vc-header {
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #eee4d7;
}

.flurina-calendar .vc-month,
.flurina-calendar .vc-year {
    font-family: serif;
    font-size: 20px;
    font-weight: 400;
}

.flurina-calendar .vc-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f6eee4;
}

.flurina-calendar .vc-date__btn {
    min-height: 36px;
    border-radius: 9px;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
}

.flurina-calendar .vc-date[data-vc-date-disabled] .vc-date__btn {
    text-decoration: line-through;
    text-decoration-color: #c9c2b9;
}

.flurina-calendar.vc button:focus-visible {
    outline: 2px solid #86552f;
    outline-offset: -2px;
}

.flurina-calendar .vc-date__btn:not(:disabled):hover {
    background: #f0e2d1;
    color: #493723;
}

.flurina-calendar-inline.vc {
    --vc-date-bg: #e7f1e9;
    --vc-date-weekend-outside-bg: #e7f1e9;
    --vc-date-color: #285b3b;
    --vc-date-weekend-color: #285b3b;
    width: 352px;
    max-width: 100%;
    box-shadow: none;
}

.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 14px;
    color: #73695f;
    font-size: 13px;
}

.calendar-legend span::before {
    content: '';
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 7px;
    border-radius: 50%;
    background: #d2ccc4;
}

.calendar-legend .calendar-legend-available::before {
    background: #49775a;
}

@media (max-width: 575px) {
    .flurina-calendar.vc {
        padding: 14px;
    }

    /* Leave room for the booking card's inset when anchored to a date field. */
    .flurina-calendar.vc[data-vc-input] {
        max-width: calc(100vw - 72px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .booking-form form .date-field {
        transition: none;
    }
}
