/* =====================================================================
   Air Divine — টাইপ করে খোঁজার প্যানেল (r27)
   ===================================================================== */
.adc-native { pointer-events: none !important; }
.adc-box { cursor: text; position: relative; outline: none; }
.adc-box:focus-visible { box-shadow: inset 0 0 0 2px #73052259; }
.adc-hint {
  position: absolute; right: 12px; top: 12px;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  color: #9c6d1f; background: #fbf4e4;
  opacity: 0; transform: scale(.8); transition: opacity .2s, transform .2s;
  pointer-events: none;
}
.adc-hint svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.adc-box:hover .adc-hint, .adc-box:focus-visible .adc-hint { opacity: 1; transform: none; }
.adc-box.adc-open { visibility: hidden; }
.adc-box.adc-flash { animation: adcFlash .5s ease-out; }
@keyframes adcFlash { 0% { background: #f8ebef; } 100% { background: transparent; } }

.adc {
  position: fixed; z-index: 9999; display: none; flex-direction: column;
  background: #fff;
  border: 1px solid #ead7b0;
  border-radius: 16px;
  box-shadow: 0 30px 70px -24px rgba(46, 2, 16, .45), 0 0 0 4px rgba(209, 161, 61, .12);
  font-family: "Manrope", "Hind Siliguri", system-ui, sans-serif;
  color: #1f1a1c;
  overflow: hidden;
  animation: adcIn .16s ease-out;
}
.adc.is-open { display: flex; }
@keyframes adcIn { from { opacity: 0; transform: translateY(-4px); } }

.adc__field { padding: 11px 14px 10px; border-bottom: 1px solid #f1e8d6; background: linear-gradient(180deg, #fffdf8, #fff); }
.adc__label { display: block; font-size: 12px; font-weight: 600; color: #9c6d1f; letter-spacing: .01em; }
.adc__inwrap { display: flex; align-items: center; gap: 8px; margin-top: 3px; }
.adc__ico { flex: none; width: 18px; height: 18px; fill: none; stroke: #730522; stroke-width: 2.2; stroke-linecap: round; }
.adc__input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font: 700 18px/1.35 "Manrope", "Hind Siliguri", system-ui, sans-serif;
  color: #1f1a1c; padding: 0;
}
.adc__input::placeholder { color: #b6a9ad; font-weight: 500; font-size: 15px; }
.adc__clear {
  flex: none; width: 24px; height: 24px; border-radius: 50%; border: 0;
  background: #f4eef0; color: #6f6468; font-size: 16px; line-height: 1; cursor: pointer;
}
.adc__clear:hover { background: #f8ebef; color: #730522; }

.adc__list { list-style: none; margin: 0; padding: 6px; overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.adc__list::-webkit-scrollbar { width: 6px; }
.adc__list::-webkit-scrollbar-thumb { background: #e6d3a8; border-radius: 6px; }
.adc__group {
  padding: 10px 10px 4px; font-size: 11px; font-weight: 700; color: #9c6d1f;
  text-transform: uppercase; letter-spacing: .08em;
}
html[lang="bn"] .adc__group { text-transform: none; letter-spacing: 0; font-size: 12.5px; }
.adc__item {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 10px; border-radius: 11px; cursor: pointer;
  transition: background .12s;
}
.adc__item.is-active { background: #fbf4e4; }
.adc__item.is-sel { background: #f8ebef; }
.adc__item.is-sel.is-active { background: #f5e1e7; }
.adc__pin {
  flex: none; width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; font-size: 18px;
  background: #f7f3f4;
}
.adc__pin svg { width: 17px; height: 17px; fill: none; stroke: #730522; stroke-width: 2; }
.adc__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.adc__txt b { font-size: 15.5px; font-weight: 700; color: #1f1a1c; line-height: 1.35; }
.adc__txt small { font-size: 12px; color: #8a7e82; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adc__code {
  flex: none; font: 800 11.5px/1 "Manrope", system-ui, sans-serif; letter-spacing: .06em;
  color: #730522; background: #fff; border: 1px solid #ecdcc0; border-radius: 7px; padding: 5px 7px;
}
.adc__item.is-active .adc__code, .adc__item.is-sel .adc__code { background: #730522; color: #fff; border-color: #730522; }
.adc__tick { flex: none; color: #730522; font-weight: 800; }
.adc mark { background: transparent; color: #730522; text-decoration: underline; text-decoration-color: #d1a13d; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.adc__item.is-active .adc__code mark, .adc__item.is-sel .adc__code mark { color: #f2d691; text-decoration-color: #f2d691; }
.adc__empty { padding: 26px 16px; text-align: center; display: grid; gap: 4px; }
.adc__empty b { font-size: 15px; }
.adc__empty span { font-size: 13px; color: #8a7e82; }

/* মোবাইল: নিচ থেকে ওঠা শিট */
.adc.is-sheet {
  left: 0 !important; right: 0; top: auto !important; bottom: 0; width: auto !important;
  max-height: 86vh !important; height: 86vh;
  border-radius: 20px 20px 0 0; border-bottom: 0;
  animation: adcUp .22s ease-out;
}
.adc.is-sheet .adc__field { padding: 16px 16px 12px; }
.adc.is-sheet .adc__field::before {
  content: ""; display: block; width: 40px; height: 4px; border-radius: 4px;
  background: #e2d6da; margin: -6px auto 10px;
}
.adc.is-sheet .adc__input { font-size: 17px; }
@keyframes adcUp { from { transform: translateY(40px); opacity: 0; } }
html.adc-lock, html.adc-lock body { overflow: hidden; }
html.adc-lock::after {
  content: ""; position: fixed; inset: 0; z-index: 9998; background: rgba(31, 10, 18, .45);
}
/* রুটের প্রথম ঘরে আইকন যেন অদলবদল বাটনে না লাগে */
.sc__route > .adc-box:first-child .adc-hint { right: 26px; }
