/* Phone box with our country code picker (Quick Pay 27 Nov 2026; every form 29 Nov). Markup: scripts/build/lib/phone.js,
   script: js/phone.js. Each form's own CSS sets the box's padding and border; this file is the parts they share.
   Without JS a real <select> lies over the code. With JS a button shows the flag + code and opens our list. */
.qp-phone{display:flex;align-items:stretch}
.qp-phone>input[type=tel]{flex:1;min-width:0}
.qp-cc{position:relative;z-index:1;flex:none;display:flex;align-items:center;gap:6px;padding:0 4px 0 32px;color:inherit;cursor:pointer;font-size:15px}
.qp-cc svg{opacity:.6}
.qp-cc select{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer;font-size:16px;color-scheme:dark}
@media (max-width:767px){.qp-cc{padding-left:20px}}
/* Flags: /images/flags.webp, 24x18 cells, 20 per row (position set by script). The sprite loads once a phone box is near
   the screen (html.qp-flags), so pages with the contact form at the bottom don't fetch it up front. */
.qp-flag{display:inline-block;flex:none;width:24px;height:18px;border-radius:3px;background:#ffffff1a none 0 0/480px 180px no-repeat;box-shadow:0 0 0 1px #ffffff1f}
.qp-flags .qp-flag{background-image:url(/images/flags.webp)}
.qp-cc.qp-cc-js{padding:0;cursor:default}
.qp-cc-js select{display:none}
.qp-cc-btn{display:flex;align-items:center;gap:8px;height:100%;padding:0 6px 0 24px;margin:0;border:0;background:none;color:inherit;font:inherit;font-size:15px;cursor:pointer;border-radius:12px 0 0 12px}
.qp-cc-btn svg{opacity:.6;transition:transform .2s ease-out}
.qp-cc-btn[aria-expanded=true] svg{transform:rotate(180deg)}
.qp-cc-btn:focus{outline:none}
.qp-phone>input:focus,.qp-phone>input:focus-visible{outline:none}
/* The list: under the phone box on desktop, a sheet from the bottom on phones. */
.qp-ccp-bg{display:none}
.qp-ccp{position:absolute;z-index:200;display:none;flex-direction:column;background:#2f2f3b;border-radius:12px;box-shadow:0 20px 40px #00000080;overflow:hidden;max-height:380px;color:#fff;outline:none;font-family:inherit;text-align:left}
.qp-ccp.open{display:flex}
.qp-ccp-head{display:none}
.qp-ccp-q{flex:none;box-sizing:border-box;width:calc(100% - 20px);max-width:none;margin:10px;padding:12px 14px;border:1px solid #ffffff1f;border-radius:10px;background:#ffffff0d;color:#fff;font:inherit;font-size:16px;outline:none;-webkit-appearance:none;appearance:none}
.qp-ccp-q::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}
.qp-ccp-q::placeholder{color:#ffffff80}
.qp-ccp-q:focus{border-color:#d81921}
.qp-ccp-list{list-style:none;margin:0;padding:0 0 8px;overflow-y:auto;overscroll-behavior:contain}
.qp-ccp-h{padding:10px 16px 6px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;opacity:.5}
.qp-ccp-o{display:flex;align-items:center;gap:12px;padding:11px 16px;font-size:14px;cursor:pointer}
.qp-ccp-o.on{background:#424252a1}
.qp-ccp-o[aria-selected=true]{background:#424252}
.qp-ccp-n{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.qp-ccp-d{opacity:.6;font-variant-numeric:tabular-nums}
.qp-ccp-none{padding:16px;font-size:14px;opacity:.7}
.qp-ccp-list>[hidden]{display:none}
.qp-ccp-bg.sheet.open{display:block;position:fixed;inset:0;z-index:199;background:#000000b3}
.qp-ccp.sheet{position:fixed;left:0;right:0;bottom:0;top:15vh;top:15dvh;width:auto;max-height:none;border-radius:16px 16px 0 0;padding-bottom:env(safe-area-inset-bottom)}
.qp-ccp.sheet .qp-ccp-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 0}
.qp-ccp-title{margin:0;font-size:16px;font-weight:600}
.qp-ccp-x{width:40px;height:40px;margin:-6px -8px -6px 0;border:0;background:none;color:inherit;font-size:28px;line-height:1;cursor:pointer}
.qp-ccp.sheet .qp-ccp-o{padding:14px 16px;font-size:15px}
html.qp-lock,html.qp-lock body{overflow:hidden}
@media (prefers-reduced-motion:no-preference){.qp-ccp.sheet.open{animation:qp-up .2s ease-out}}
@keyframes qp-up{from{transform:translateY(100%)}}
/* White forms (photo booth, villa): a light list. */
.qp-light .qp-flag,.qp-ccp.light .qp-flag{background-color:#0000000d;box-shadow:0 0 0 1px #0000001f}
.qp-light .qp-cc select{color-scheme:light}
.qp-ccp.light{background:#fff;color:#111;box-shadow:0 20px 40px #00000033,0 0 0 1px #0000001a}
.qp-ccp.light .qp-ccp-q{border-color:#00000026;background:#fafafa;color:#111}
.qp-ccp.light .qp-ccp-q::placeholder{color:#00000073}
.qp-ccp.light .qp-ccp-q:focus{border-color:#d81921}
.qp-ccp.light .qp-ccp-o.on{background:#0000000a}
.qp-ccp.light .qp-ccp-o[aria-selected=true]{background:#00000014}
.qp-ccp-bg.light.sheet.open{background:#00000080}
/* One focus ring round the whole box (code + number), like the site's other fields. */
.qp-phone:has(input:focus-visible,.qp-cc-btn:focus-visible,.qp-cc-btn[aria-expanded=true]){outline:2px solid #d81921;outline-offset:2px}

/* "Reach out to us" form (bottom of most pages, Contact Us): the code lines up with the other boxes' text. */
#contact form>.input-phone .qp-phone{height:100%}
#contact form>.input-phone .qp-phone>input{padding-left:10px}
#contact form>.input-phone .qp-cc-btn{padding-left:32px;font-size:16px;border-radius:0}
#contact form>.input-phone .qp-cc:not(.qp-cc-js){padding-left:32px}
#contact form>.input-phone:has(.qp-cc-btn[aria-expanded=true]):before{background-color:rgba(255,255,255,.08);border-color:rgba(255,255,255,.35)}
@media (max-width:640px){#contact form>.input-phone .qp-cc-btn,#contact form>.input-phone .qp-cc:not(.qp-cc-js){padding-left:24px}}
#contact.light form>.input-phone .qp-phone{color:#000}

/* Photo booth booking (white form): the box carries the border the other boxes have. */
#choose-photo-booth-form .fields>.qp-phone{border:1px solid rgba(0,0,0,.2);background:#00000005;color:#000}
#choose-photo-booth-form .fields>.qp-phone>input{padding:20px 24px 20px 8px;border:0;background:transparent}
#choose-photo-booth-form .qp-cc-btn,#choose-photo-booth-form .qp-cc:not(.qp-cc-js){padding-left:24px;font-size:14px;border-radius:0}

/* Villa K32-33 (white, rounded boxes). */
.user-details .qp-phone{border:.5px solid rgba(0,0,0,.2);border-radius:28px;color:#000000b3;font-size:14px}
#property-title .content-container .booking form .user-details .qp-phone input{border:0;border-radius:0 28px 28px 0;padding-left:6px}
.user-details .qp-cc-btn,.user-details .qp-cc:not(.qp-cc-js){padding-left:16px;font-size:14px;border-radius:28px 0 0 28px}
