/* =============================================================================
 * FILE:      ES_YourStay.css
 * LOCATION:  assets/CSS/ES_YourStay.css (under the ease-see domain root)
 * PART OF:   ease-see (ease-see.com) - public site: the your-stay page
 * PURPOSE:   The look of the 'stay_picker' block (Render/ES_Blocks.php) - the
 *            "Where are you staying?" search box, the short list when several
 *            stays match, the "not found" line - and the "Change" link beside
 *            the town in a loaded stay's opening. Its own small file
 *            (ES_Core.css is parked for splitting); linked once by the block.
 *            Colours inherit from the page; the button is the site's es-btn.
 * CREATED:   2026-10-26
 * UPDATED:   2026-10-26  (late night) the box inside the top block
 *            (es-your-stay-in-open; slimmer: es-your-stay-form--slim) and a
 *            label for screen readers only (es-visually-hidden).
 *            (later) the box's text is its own dark colour and the hint grey -
 *            it inherited the panel's white text and could not be read.
 *            (night, later) THE BAND: the search on its own slim band above the
 *            top block (es-your-stay-band) - question, box and button on one
 *            line (stacked on a phone), the same height in every state; the
 *            matches / "not found" drop down OVER the page
 *            (es-your-stay-results, absolutely placed) so nothing moves.
 * =============================================================================
 */
.es-block-stay-picker { padding: 1.5rem 0; }
.es-your-stay-form { max-width: 640px; }
.es-your-stay-q { display: block; font-size: 1.35rem; font-weight: 600; margin: 0 0 0.6rem; }
.es-your-stay-row { display: flex; gap: 0.5rem; align-items: stretch; }
.es-your-stay-row input[type="search"] { flex: 1 1 auto; min-width: 0; font: inherit; padding: 0.7rem 0.9rem;
                    border: 1px solid rgba(0,0,0,0.25); border-radius: 8px; background: #fff; color: #1f2a44; }   /* own colour: the box is always white, even on a dark panel */
.es-your-stay-row input[type="search"]::placeholder { color: #6b7280; opacity: 1; }
.es-your-stay-row input[type="search"]:focus { outline: 2px solid #1f2a44; outline-offset: 1px; }
.es-your-stay-go { display: inline-flex; align-items: center; justify-content: center; padding: 0 1rem; }
.es-your-stay-matches { list-style: none; margin: 1rem 0 0; padding: 0; max-width: 640px; }
.es-your-stay-matches li { padding: 0.45rem 0; border-bottom: 1px solid rgba(0,0,0,0.08); }
.es-your-stay-town { opacity: 0.7; margin-left: 0.35rem; }
.es-your-stay-none { margin: 1rem 0 0; opacity: 0.8; }
.es-your-stay-change { margin-left: 0.6rem; font-size: 0.85em; }

/* 2026-10-26 (late night): the box inside the top block */
.es-your-stay-in-open { margin-top: 1rem; }
.es-your-stay-in-open .es-your-stay-form { max-width: 520px; }
.es-your-stay-form--slim .es-your-stay-row input[type="search"] { padding: 0.55rem 0.8rem; }
.es-your-stay-in-open .es-your-stay-matches,
.es-your-stay-in-open .es-your-stay-none { max-width: 520px; }
.es-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
                      clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 2026-10-26 (night, later): the band above the top block - nothing moves */
.es-your-stay-band { padding: 0.75rem 0; background: #f4f1ea; border-bottom: 1px solid rgba(0,0,0,0.08); }
.es-your-stay-band .es-your-stay-form { position: relative; max-width: none; display: flex; align-items: center; gap: 0.5rem 1rem; flex-wrap: wrap; }
.es-your-stay-band .es-your-stay-q { margin: 0; font-size: 1.05rem; white-space: nowrap; }
.es-your-stay-band .es-your-stay-row { flex: 1 1 320px; max-width: 560px; }
.es-your-stay-band .es-your-stay-row input[type="search"] { padding: 0.55rem 0.8rem; }
.es-your-stay-results { position: absolute; z-index: 1200; top: 100%; left: 0; right: 0; max-width: 640px; margin-top: 0.4rem;
                        background: #fff; color: #1f2a44; border: 1px solid rgba(0,0,0,0.15); border-radius: 8px;
                        box-shadow: 0 8px 24px rgba(0,0,0,0.15); padding: 0.25rem 0.9rem; max-height: 60vh; overflow-y: auto; }
.es-your-stay-results .es-your-stay-matches { margin: 0; max-width: none; }
.es-your-stay-results .es-your-stay-matches li:last-child { border-bottom: 0; }
.es-your-stay-results .es-your-stay-matches a { color: inherit; }
.es-your-stay-results .es-your-stay-none { margin: 0.5rem 0; }