/* Light surfaces, dark text in every state; shared by public and member searches. */
.stay-dates {
    position: relative;
    min-width: 0;
    max-width: 100%;
    color: #1f2937;
}
.stay-dates [hidden] { display: none !important; }
.stay-dates-fallback { display: flex; flex-wrap: wrap; gap: .75rem; }
.stay-dates-fallback > div { flex: 1 1 9rem; min-width: 0; }
.stay-range-control { position: relative; }
.stay-range-label { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .25rem; }
.stay-range-label > small { color: #334e40 !important; }
.stay-dates .stay-range-input {
    width: 100%;
    min-width: 0;
    padding-inline-end: 2.4rem;
    background: #fff !important;
    color: #1f2937 !important;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    text-overflow: ellipsis;
}
.stay-range-control > i {
    position: absolute;
    inset-inline-end: .85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #285c43;
    pointer-events: none;
}
.stay-quick-nights { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .6rem; }
.stay-dates button {
    border: 1px solid #b5cec0;
    border-radius: .5rem;
    background: #f3f8f5 !important;
    color: #244c39 !important;
    box-shadow: none;
    font: inherit;
    font-size: .875rem;
    font-weight: 600;
    text-shadow: none;
    line-height: 1.4;
    cursor: pointer;
}
.stay-dates .stay-night-button { min-height: 2.4rem; padding: .4rem .7rem; }
.stay-dates button:hover:not(:disabled),
.stay-dates button[aria-pressed="true"] {
    background: #d5eddf !important;
    color: #173d2a !important;
    border-color: #407f5b;
}
.stay-dates button[aria-pressed="true"] { box-shadow: inset 0 0 0 1px #407f5b; }
.stay-dates button:focus-visible, .stay-dates .stay-range-input:focus-visible {
    outline: 3px solid #285c43;
    outline-offset: 2px;
}
.stay-dates button:disabled { color: #667369 !important; background: #f5f6f5 !important; cursor: default; opacity: 1; }
.stay-dates .stay-calendar {
    position: relative;
    z-index: 1050;
    width: min(100%, 23rem);
    padding: .75rem;
    margin-top: .4rem;
    border: 1px solid #b5cec0;
    border-radius: .85rem;
    color: #1f2937 !important;
    background: #fff !important;
    box-shadow: 0 .75rem 2rem #1f293726;
}
.stay-calendar-toolbar { display: flex; align-items: center; gap: .3rem; }
.stay-calendar-toolbar > strong { flex: 1; text-align: center; color: #1f2937 !important; font-size: .95rem; }
.stay-calendar-toolbar > button { flex: 0 0 2rem; min-height: 2.25rem; font-size: 1.3rem; }
.stay-dates .stay-calendar-hint { margin: .6rem 0; color: #334e40 !important; font-size: .875rem; }
.stay-calendar-weekdays, .stay-calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .2rem; text-align: center; }
.stay-calendar-weekdays { margin-bottom: .35rem; color: #526256; font-size: .75rem; }
.stay-calendar-weekdays > span { overflow: hidden; }
.stay-dates .stay-calendar-days > button { min-width: 0; min-height: 2.3rem; padding: .3rem 0; border-color: transparent; background: #fff !important; }
.stay-dates .stay-calendar-days > button.is-in-range { background: #edf6f0 !important; }
.stay-dates .stay-calendar-days > button[aria-pressed="true"] { background: #d5eddf !important; border-color: #407f5b; }
.stay-dates .stay-calendar-days > button:disabled { background: #f5f6f5 !important; }
.stay-dates .stay-change-start { margin-top: .6rem; padding: .4rem .6rem; }
.stay-dates .stay-date-error { display: block; margin-top: .5rem; color: #a02127 !important; font-size: .875rem; }
@media (max-width: 575.98px) {
    .stay-dates .stay-range-input { font-size: .83rem; padding-inline-start: .6rem; padding-inline-end: 2rem; }
    .stay-dates .stay-calendar { padding: .55rem; }
    .stay-dates .stay-night-button { flex: 1 1 auto; }
}
