/* TRANSFER MODAL SEARCH V3 - STERIL / ISOLATED */
.tm27.tm27--search-v3[data-state="search"]{
  --v3-cyan:#12d7ec;
  --v3-cyan2:#1ec3df;
  --v3-blue:#315cf2;
  --v3-bg1:#072b44;
  --v3-bg2:#041b2f;
  --v3-line:rgba(145,190,215,.25);
  --v3-muted:#a9c7da;
  place-items:center!important;
  padding:24px!important;
}

/* KRITIK: hidden attribute her zaman kazanir.
   Modal normal sayfa acilisinda kapali kalir ve X/backdrop ile kapanir. */
.tm27.tm27--search-v3[hidden]{
  display:none!important;
}
.tm27.tm27--search-v3:not([hidden]){
  display:grid!important;
}
.tm27.tm27--search-v3[data-state="search"] *{box-sizing:border-box!important}
.tm27.tm27--search-v3[data-state="search"] .tm27__backdrop{
  background:rgba(2,17,29,.80)!important;
  backdrop-filter:blur(12px)!important;
  -webkit-backdrop-filter:blur(12px)!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27__modal{
  width:min(1290px,calc(100vw - 64px))!important;
  max-height:calc(100dvh - 48px)!important;
  overflow:auto!important;
  border:1.5px solid var(--v3-cyan)!important;
  border-radius:34px!important;
  background:linear-gradient(145deg,var(--v3-bg1),#052239 48%,var(--v3-bg2))!important;
  box-shadow:0 34px 95px rgba(0,0,0,.5)!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27__header{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  gap:28px!important;
  min-height:168px!important;
  padding:38px 100px 34px 46px!important;
  border-bottom:1px solid var(--v3-line)!important;
  background:transparent!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27__brand-icon{
  width:92px!important;height:92px!important;flex:0 0 92px!important;
  display:grid!important;place-items:center!important;
  border:1px solid rgba(82,151,184,.38)!important;
  border-radius:22px!important;background:rgba(20,59,85,.45)!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27__brand-icon svg{
  width:48px!important;height:48px!important;stroke:var(--v3-cyan)!important;fill:none!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27__header h2{
  margin:0!important;color:#fff!important;font-size:40px!important;line-height:1!important;font-weight:900!important;letter-spacing:-.03em!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27__header p{
  margin:12px 0 0!important;color:#edf5f9!important;font-size:22px!important;line-height:1.3!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27__progress{display:none!important}
.tm27.tm27--search-v3[data-state="search"] .tm27__close{
  position:absolute!important;top:43px!important;right:38px!important;
  width:64px!important;height:64px!important;border-radius:16px!important;
  border:1px solid rgba(150,185,205,.3)!important;background:rgba(30,62,84,.6)!important;
  color:#fff!important;font-size:37px!important;z-index:5!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-search-screen{padding:40px 46px 42px!important}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-fields{
  display:grid!important;grid-template-columns:1fr 1fr!important;gap:35px 34px!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-field{display:grid!important;gap:13px!important;min-width:0!important}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-label{
  display:flex!important;align-items:center!important;gap:9px!important;color:var(--v3-muted)!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-label-icon{
  width:27px!important;display:inline-grid!important;place-items:center!important;color:var(--v3-cyan)!important;font-size:25px!important;line-height:1!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-label b{
  color:var(--v3-muted)!important;font-size:21px!important;font-weight:800!important;line-height:1!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-select{
  display:grid!important;grid-template-columns:78px minmax(0,1fr) 62px!important;
  min-height:92px!important;overflow:hidden!important;
  border:1.25px solid rgba(210,228,239,.64)!important;border-radius:18px!important;
  background:linear-gradient(180deg,rgba(29,61,84,.82),rgba(20,48,69,.82))!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-field:first-child .tm27v3-select{
  border-color:var(--v3-cyan)!important;box-shadow:0 0 0 1px rgba(18,215,236,.22) inset!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-select-icon,
.tm27.tm27--search-v3[data-state="search"] .tm27v3-select-arrow{
  display:grid!important;place-items:center!important;color:#fff!important;font-size:31px!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-select-icon{border-right:1px solid rgba(220,235,244,.22)!important}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-select select{
  width:100%!important;height:90px!important;margin:0!important;padding:0 20px!important;
  appearance:none!important;-webkit-appearance:none!important;border:0!important;outline:0!important;
  background:transparent!important;color:#f5f9fc!important;font-size:23px!important;font-weight:500!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-select select option{color:#0a2235!important;background:#fff!important}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-field--people{grid-column:1/2!important;max-width:577px!important}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-counter{
  display:grid!important;grid-template-columns:92px minmax(0,1fr) 92px!important;min-height:90px!important;
  overflow:hidden!important;border:1px solid rgba(151,191,214,.38)!important;border-radius:18px!important;
  background:linear-gradient(180deg,rgba(27,59,82,.8),rgba(17,44,65,.78))!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-counter button{
  width:100%!important;height:100%!important;border:0!important;border-radius:0!important;
  background:rgba(54,90,117,.38)!important;color:#fff!important;font-size:38px!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-counter strong{
  display:flex!important;align-items:center!important;justify-content:center!important;gap:14px!important;
  color:#fff!important;font-size:28px!important;font-weight:400!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-person-icon{font-size:30px!important;line-height:1!important}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-counter strong b{font-size:27px!important}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-info{
  display:grid!important;grid-template-columns:42px 1fr!important;align-items:center!important;gap:18px!important;
  min-height:72px!important;margin-top:40px!important;padding:10px 28px!important;border:1px solid rgba(72,129,164,.17)!important;
  border-radius:17px!important;background:rgba(8,39,62,.78)!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-info>span{
  width:31px!important;height:31px!important;display:grid!important;place-items:center!important;
  border:2px solid var(--v3-cyan)!important;border-radius:50%!important;color:var(--v3-cyan)!important;font-size:20px!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-info p{
  margin:0!important;text-align:center!important;color:#edf5f9!important;font-size:18px!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-search-button{
  width:100%!important;min-height:95px!important;margin-top:32px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;gap:17px!important;
  border:0!important;border-radius:18px!important;
  background:linear-gradient(105deg,#16cfe1 0%,#15bfdc 30%,#2d8de9 70%,#3154f0 100%)!important;
  color:#fff!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-search-icon{font-size:40px!important;line-height:1!important}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-search-button strong{font-size:28px!important;font-weight:900!important}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-go{font-size:39px!important;line-height:1!important}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-trust{
  display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:0!important;
  margin-top:28px!important;padding-top:28px!important;border-top:1px solid rgba(107,158,184,.2)!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-trust>div{
  display:grid!important;grid-template-columns:63px 1fr!important;align-items:center!important;gap:18px!important;padding:0 22px!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-trust>div:first-child{padding-left:0!important}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-trust>div:last-child{padding-right:0!important}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-trust i{
  width:58px!important;height:58px!important;display:grid!important;place-items:center!important;
  border:1.5px solid var(--v3-cyan)!important;border-radius:50%!important;color:var(--v3-cyan)!important;
  background:rgba(14,132,172,.05)!important;font-style:normal!important;font-size:21px!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-trust>div>span{display:grid!important;gap:6px!important}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-trust b{color:#a9ddf8!important;font-size:18px!important;font-weight:800!important}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-trust em{color:#b7c7d3!important;font-size:15px!important;font-style:normal!important}

@media (max-width:1366px){
  .tm27.tm27--search-v3[data-state="search"] .tm27__modal{width:min(1040px,calc(100vw - 38px))!important;border-radius:28px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27__header{min-height:135px!important;gap:20px!important;padding:27px 76px 25px 34px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27__brand-icon{width:72px!important;height:72px!important;flex-basis:72px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27__header h2{font-size:32px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27__header p{font-size:17px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27__close{top:31px!important;right:28px!important;width:50px!important;height:50px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-search-screen{padding:30px 34px 31px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-label b{font-size:16px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-select{grid-template-columns:62px 1fr 48px!important;min-height:72px!important;border-radius:14px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-select select{height:70px!important;font-size:18px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-field--people{max-width:470px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-counter{grid-template-columns:72px 1fr 72px!important;min-height:72px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-counter strong{font-size:21px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-info{min-height:55px!important;margin-top:29px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-info p{font-size:13px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-search-button{min-height:73px!important;margin-top:23px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-search-button strong{font-size:20px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-trust{margin-top:21px!important;padding-top:20px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-trust>div{grid-template-columns:48px 1fr!important;gap:13px!important;padding:0 15px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-trust i{width:45px!important;height:45px!important;font-size:16px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-trust b{font-size:13px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-trust em{font-size:11px!important}
}
@media (max-width:900px){
  .tm27.tm27--search-v3[data-state="search"]{padding:14px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27__modal{width:100%!important;max-width:760px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-fields{grid-template-columns:1fr!important;gap:21px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-field--people{grid-column:auto!important;max-width:none!important}
}
@media (max-width:600px){
  .tm27.tm27--search-v3[data-state="search"]{padding:0!important;place-items:end center!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27__modal{
    width:100%!important;max-width:none!important;max-height:100dvh!important;
    border-left:0!important;border-right:0!important;border-bottom:0!important;border-radius:22px 22px 0 0!important;
  }
  .tm27.tm27--search-v3[data-state="search"] .tm27__header{min-height:96px!important;gap:13px!important;padding:17px 54px 16px 16px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27__brand-icon{width:52px!important;height:52px!important;flex-basis:52px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27__header h2{font-size:23px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27__header p{font-size:12px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27__close{top:19px!important;right:12px!important;width:40px!important;height:40px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-search-screen{padding:20px 14px 18px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-label b{font-size:13px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-select{grid-template-columns:54px 1fr 43px!important;min-height:62px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-select select{height:60px!important;padding:0 13px!important;font-size:15px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-counter{grid-template-columns:61px 1fr 61px!important;min-height:62px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-counter button{font-size:27px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-counter strong{font-size:17px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-info{grid-template-columns:30px 1fr!important;gap:9px!important;min-height:58px!important;margin-top:20px!important;padding:8px 12px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-info p{text-align:left!important;font-size:10.5px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-search-button{min-height:62px!important;margin-top:16px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-search-button strong{font-size:16px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-trust{grid-template-columns:1fr!important;gap:12px!important;margin-top:17px!important;padding-top:16px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-trust>div,
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-trust>div:first-child,
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-trust>div:last-child{
    grid-template-columns:42px 1fr!important;padding:0!important;
  }
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-trust i{width:39px!important;height:39px!important;font-size:14px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-trust b{font-size:12px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-trust em{font-size:10px!important}
}


/* =========================================================
   TM27 SEARCH V4 — CUSTOM DROPDOWN / MODALA UYUMLU
   Native select form mantığı için DOM'da kalır; görünmezdir.
   ========================================================= */
.tm27.tm27--search-v3[data-state="search"] .tm27v4-select{
  position:relative!important;
  display:block!important;
  min-width:0!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v4-native{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  opacity:0!important;
  pointer-events:none!important;
  overflow:hidden!important;
  clip:rect(0 0 0 0)!important;
  clip-path:inset(50%)!important;
  white-space:nowrap!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v4-select-button{
  width:100%!important;
  min-height:92px!important;
  display:grid!important;
  grid-template-columns:78px minmax(0,1fr) 62px!important;
  align-items:stretch!important;
  overflow:hidden!important;
  padding:0!important;
  border:1.25px solid rgba(210,228,239,.64)!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,rgba(29,61,84,.82),rgba(20,48,69,.82))!important;
  color:#f5f9fc!important;
  text-align:left!important;
  box-shadow:none!important;
  cursor:pointer!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-field:first-child .tm27v4-select-button,
.tm27.tm27--search-v3[data-state="search"] .tm27v4-select.is-open .tm27v4-select-button{
  border-color:var(--v3-cyan)!important;
  box-shadow:0 0 0 1px rgba(18,215,236,.22) inset,0 0 26px rgba(18,215,236,.06)!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v4-select-icon,
.tm27.tm27--search-v3[data-state="search"] .tm27v4-select-arrow{
  display:grid!important;
  place-items:center!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v4-select-icon{
  border-right:1px solid rgba(220,235,244,.22)!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v4-select-icon svg{
  width:34px!important;height:34px!important;
  fill:none!important;stroke:#fff!important;stroke-width:1.7!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v4-select-arrow svg{
  width:33px!important;height:33px!important;
  fill:none!important;stroke:#fff!important;stroke-width:2.2!important;stroke-linecap:round!important;stroke-linejoin:round!important;
  transition:transform .18s ease!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v4-select.is-open .tm27v4-select-arrow svg{
  transform:rotate(180deg)!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v4-select-value{
  min-width:0!important;
  display:flex!important;
  align-items:center!important;
  padding:0 20px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  font-size:23px!important;
  font-weight:500!important;
  color:#f5f9fc!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v4-menu{
  position:absolute!important;
  z-index:120!important;
  top:calc(100% + 10px)!important;
  left:0!important;
  right:0!important;
  overflow:hidden!important;
  border:1px solid rgba(18,215,236,.48)!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,rgba(8,43,65,.985),rgba(4,27,44,.995))!important;
  box-shadow:0 24px 60px rgba(0,0,0,.48),0 0 0 1px rgba(255,255,255,.035) inset!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v4-menu[hidden]{
  display:none!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v4-search{
  position:sticky!important;
  top:0!important;
  z-index:2!important;
  display:grid!important;
  grid-template-columns:30px 1fr!important;
  align-items:center!important;
  gap:9px!important;
  padding:12px!important;
  border-bottom:1px solid rgba(123,172,198,.16)!important;
  background:rgba(7,38,58,.98)!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v4-search svg{
  width:22px!important;height:22px!important;
  fill:none!important;stroke:var(--v3-cyan)!important;stroke-width:1.8!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v4-search input{
  width:100%!important;
  min-height:44px!important;
  padding:0 14px!important;
  border:1px solid rgba(136,183,208,.22)!important;
  border-radius:10px!important;
  outline:0!important;
  background:rgba(255,255,255,.055)!important;
  color:#fff!important;
  font-size:14px!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v4-search input::placeholder{
  color:#8fa9b9!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v4-search input:focus{
  border-color:var(--v3-cyan)!important;
  box-shadow:0 0 0 3px rgba(18,215,236,.08)!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v4-options{
  max-height:min(360px,42vh)!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  padding:8px!important;
  scrollbar-width:thin!important;
  scrollbar-color:#20b9d1 rgba(255,255,255,.04)!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v4-options::-webkit-scrollbar{width:8px!important}
.tm27.tm27--search-v3[data-state="search"] .tm27v4-options::-webkit-scrollbar-track{background:rgba(255,255,255,.035)!important;border-radius:999px!important}
.tm27.tm27--search-v3[data-state="search"] .tm27v4-options::-webkit-scrollbar-thumb{background:linear-gradient(#18d3e7,#268ee5)!important;border-radius:999px!important}
.tm27.tm27--search-v3[data-state="search"] .tm27v4-option{
  width:100%!important;
  min-height:48px!important;
  display:grid!important;
  grid-template-columns:30px minmax(0,1fr) 26px!important;
  align-items:center!important;
  gap:8px!important;
  padding:7px 10px!important;
  border:1px solid transparent!important;
  border-radius:10px!important;
  background:transparent!important;
  color:#dce9f0!important;
  text-align:left!important;
  font-size:14px!important;
  cursor:pointer!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v4-option:hover,
.tm27.tm27--search-v3[data-state="search"] .tm27v4-option.is-active{
  border-color:rgba(18,215,236,.17)!important;
  background:rgba(18,215,236,.08)!important;
  color:#fff!important;
  transform:none!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v4-option[aria-selected="true"]{
  border-color:rgba(18,215,236,.36)!important;
  background:linear-gradient(90deg,rgba(18,215,236,.12),rgba(49,92,242,.08))!important;
  color:#fff!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v4-option-pin{
  display:grid!important;place-items:center!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v4-option-pin svg{
  width:20px!important;height:20px!important;
  fill:none!important;stroke:#28d4e6!important;stroke-width:1.7!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v4-option-check{
  opacity:0!important;
  color:var(--v3-cyan)!important;
  font-size:17px!important;
  text-align:center!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v4-option[aria-selected="true"] .tm27v4-option-check{
  opacity:1!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v4-option[hidden]{
  display:none!important;
}

@media (max-width:1366px){
  .tm27.tm27--search-v3[data-state="search"] .tm27v4-select-button{
    grid-template-columns:62px minmax(0,1fr) 48px!important;
    min-height:72px!important;
    border-radius:14px!important;
  }
  .tm27.tm27--search-v3[data-state="search"] .tm27v4-select-value{font-size:18px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v4-select-icon svg{width:27px!important;height:27px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v4-select-arrow svg{width:26px!important;height:26px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v4-options{max-height:min(320px,40vh)!important}
}
@media (max-width:600px){
  .tm27.tm27--search-v3[data-state="search"] .tm27v4-select-button{
    grid-template-columns:54px minmax(0,1fr) 43px!important;
    min-height:62px!important;
    border-radius:13px!important;
  }
  .tm27.tm27--search-v3[data-state="search"] .tm27v4-select-value{
    padding:0 13px!important;
    font-size:15px!important;
  }
  .tm27.tm27--search-v3[data-state="search"] .tm27v4-menu{
    top:calc(100% + 7px)!important;
    border-radius:13px!important;
  }
  .tm27.tm27--search-v3[data-state="search"] .tm27v4-search{
    grid-template-columns:24px 1fr!important;
    padding:9px!important;
  }
  .tm27.tm27--search-v3[data-state="search"] .tm27v4-search input{
    min-height:40px!important;font-size:13px!important;
  }
  .tm27.tm27--search-v3[data-state="search"] .tm27v4-options{
    max-height:min(300px,44vh)!important;
    padding:6px!important;
  }
  .tm27.tm27--search-v3[data-state="search"] .tm27v4-option{
    min-height:45px!important;
    grid-template-columns:26px minmax(0,1fr) 22px!important;
    padding:6px 8px!important;
    font-size:13px!important;
  }
}


/* =========================================================
   TM27 SEARCH V5 — KOMPAKT / KİBAR / FULL RESPONSIVE
   Yalnızca ilk açılış ekranını etkiler.
   ========================================================= */

.tm27.tm27--search-v3[data-state="search"]{
  padding:18px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27__modal{
  width:min(900px,calc(100vw - 36px))!important;
  max-width:900px!important;
  max-height:calc(100dvh - 36px)!important;
  border-radius:24px!important;
  overflow:auto!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27__header{
  min-height:118px!important;
  gap:18px!important;
  padding:24px 68px 22px 28px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27__brand-icon{
  width:66px!important;
  height:66px!important;
  flex-basis:66px!important;
  border-radius:17px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27__brand-icon svg{
  width:34px!important;
  height:34px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27__header h2{
  font-size:30px!important;
  line-height:1!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27__header p{
  margin-top:6px!important;
  font-size:15px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27__close{
  top:26px!important;
  right:24px!important;
  width:46px!important;
  height:46px!important;
  border-radius:13px!important;
  font-size:27px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-search-screen{
  padding:26px 28px 24px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-fields{
  grid-template-columns:1fr 1fr!important;
  gap:22px 22px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-field{
  gap:9px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-label{
  gap:7px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-label-icon{
  width:20px!important;
  font-size:18px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-label b{
  font-size:14px!important;
  letter-spacing:.015em!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v4-select-button{
  grid-template-columns:56px minmax(0,1fr) 44px!important;
  min-height:64px!important;
  border-radius:13px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v4-select-icon svg{
  width:25px!important;
  height:25px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v4-select-arrow svg{
  width:22px!important;
  height:22px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v4-select-value{
  padding:0 14px!important;
  font-size:16px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-field--people{
  max-width:430px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-counter{
  grid-template-columns:64px minmax(0,1fr) 64px!important;
  min-height:64px!important;
  border-radius:13px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-counter button{
  font-size:28px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-counter strong{
  gap:10px!important;
  font-size:18px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-person-icon{
  font-size:21px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-counter strong b{
  font-size:19px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-info{
  min-height:52px!important;
  margin-top:24px!important;
  padding:8px 16px!important;
  grid-template-columns:28px 1fr!important;
  gap:10px!important;
  border-radius:12px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-info>span{
  width:23px!important;
  height:23px!important;
  font-size:14px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-info p{
  font-size:12px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-search-button{
  min-height:62px!important;
  margin-top:18px!important;
  gap:10px!important;
  border-radius:13px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-search-icon{
  font-size:27px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-search-button strong{
  font-size:17px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-go{
  font-size:27px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-trust{
  margin-top:18px!important;
  padding-top:17px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-trust>div{
  grid-template-columns:42px 1fr!important;
  gap:10px!important;
  padding:0 14px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-trust i{
  width:40px!important;
  height:40px!important;
  font-size:14px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-trust b{
  font-size:11.5px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-trust em{
  font-size:10px!important;
}

/* Custom dropdown da daha kompakt */
.tm27.tm27--search-v3[data-state="search"] .tm27v4-menu{
  top:calc(100% + 7px)!important;
  border-radius:13px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v4-search{
  grid-template-columns:24px 1fr!important;
  gap:8px!important;
  padding:9px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v4-search input{
  min-height:38px!important;
  font-size:12.5px!important;
  border-radius:9px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v4-options{
  max-height:min(290px,38vh)!important;
  padding:6px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v4-option{
  min-height:42px!important;
  grid-template-columns:24px minmax(0,1fr) 20px!important;
  gap:7px!important;
  padding:6px 8px!important;
  border-radius:8px!important;
  font-size:12.5px!important;
}

/* Laptop */
@media (max-width:1100px){
  .tm27.tm27--search-v3[data-state="search"] .tm27__modal{
    width:min(820px,calc(100vw - 28px))!important;
  }
}

/* Tablet */
@media (max-width:760px){
  .tm27.tm27--search-v3[data-state="search"]{
    padding:10px!important;
  }

  .tm27.tm27--search-v3[data-state="search"] .tm27__modal{
    width:100%!important;
    max-width:680px!important;
    max-height:calc(100dvh - 20px)!important;
    border-radius:20px!important;
  }

  .tm27.tm27--search-v3[data-state="search"] .tm27__header{
    min-height:100px!important;
    padding:18px 56px 17px 18px!important;
    gap:13px!important;
  }

  .tm27.tm27--search-v3[data-state="search"] .tm27__brand-icon{
    width:52px!important;
    height:52px!important;
    flex-basis:52px!important;
    border-radius:14px!important;
  }

  .tm27.tm27--search-v3[data-state="search"] .tm27__brand-icon svg{
    width:28px!important;
    height:28px!important;
  }

  .tm27.tm27--search-v3[data-state="search"] .tm27__header h2{
    font-size:24px!important;
  }

  .tm27.tm27--search-v3[data-state="search"] .tm27__header p{
    font-size:12px!important;
  }

  .tm27.tm27--search-v3[data-state="search"] .tm27__close{
    top:20px!important;
    right:14px!important;
    width:38px!important;
    height:38px!important;
    font-size:23px!important;
  }

  .tm27.tm27--search-v3[data-state="search"] .tm27v3-search-screen{
    padding:20px 18px 18px!important;
  }

  .tm27.tm27--search-v3[data-state="search"] .tm27v3-fields{
    grid-template-columns:1fr!important;
    gap:17px!important;
  }

  .tm27.tm27--search-v3[data-state="search"] .tm27v3-field--people{
    grid-column:auto!important;
    max-width:none!important;
  }

  .tm27.tm27--search-v3[data-state="search"] .tm27v3-trust{
    grid-template-columns:1fr!important;
    gap:10px!important;
  }

  .tm27.tm27--search-v3[data-state="search"] .tm27v3-trust>div,
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-trust>div:first-child,
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-trust>div:last-child{
    padding:0!important;
  }
}

/* Telefon */
@media (max-width:520px){
  .tm27.tm27--search-v3[data-state="search"]{
    padding:0!important;
    place-items:end center!important;
  }

  .tm27.tm27--search-v3[data-state="search"] .tm27__modal{
    width:100%!important;
    max-width:none!important;
    max-height:100dvh!important;
    border-radius:18px 18px 0 0!important;
    border-left:0!important;
    border-right:0!important;
    border-bottom:0!important;
  }

  .tm27.tm27--search-v3[data-state="search"] .tm27__header{
    min-height:86px!important;
    padding:14px 48px 13px 14px!important;
  }

  .tm27.tm27--search-v3[data-state="search"] .tm27__brand-icon{
    width:46px!important;
    height:46px!important;
    flex-basis:46px!important;
  }

  .tm27.tm27--search-v3[data-state="search"] .tm27__header h2{
    font-size:21px!important;
  }

  .tm27.tm27--search-v3[data-state="search"] .tm27__header p{
    font-size:10.5px!important;
  }

  .tm27.tm27--search-v3[data-state="search"] .tm27__close{
    top:15px!important;
    right:10px!important;
    width:36px!important;
    height:36px!important;
  }

  .tm27.tm27--search-v3[data-state="search"] .tm27v3-search-screen{
    padding:16px 12px 14px!important;
  }

  .tm27.tm27--search-v3[data-state="search"] .tm27v4-select-button{
    grid-template-columns:48px minmax(0,1fr) 38px!important;
    min-height:56px!important;
  }

  .tm27.tm27--search-v3[data-state="search"] .tm27v4-select-value{
    font-size:14px!important;
    padding:0 11px!important;
  }

  .tm27.tm27--search-v3[data-state="search"] .tm27v3-counter{
    grid-template-columns:56px minmax(0,1fr) 56px!important;
    min-height:56px!important;
  }

  .tm27.tm27--search-v3[data-state="search"] .tm27v3-info{
    margin-top:17px!important;
  }

  .tm27.tm27--search-v3[data-state="search"] .tm27v3-search-button{
    min-height:56px!important;
    margin-top:14px!important;
  }
}


/* =========================================================
   TM27 SEARCH V6 — KİBAR / PREMIUM / FULL RESPONSIVE
   Yalnız ilk açılış ekranını etkiler.
   ========================================================= */
.tm27.tm27--search-v3[data-state="search"]{
  padding:16px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27__backdrop{
  background:rgba(1,17,28,.72)!important;
  backdrop-filter:blur(11px) saturate(.92)!important;
  -webkit-backdrop-filter:blur(11px) saturate(.92)!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27__modal{
  width:min(820px,calc(100vw - 32px))!important;
  max-width:820px!important;
  max-height:calc(100dvh - 32px)!important;
  border:1px solid rgba(24,208,228,.72)!important;
  border-radius:22px!important;
  background:
    radial-gradient(circle at 12% -10%,rgba(26,193,218,.10),transparent 34%),
    linear-gradient(145deg,#062a42 0%,#05243a 48%,#041b2f 100%)!important;
  box-shadow:
    0 28px 72px rgba(0,0,0,.44),
    0 0 0 1px rgba(255,255,255,.018) inset!important;
  scrollbar-width:thin!important;
  scrollbar-color:rgba(23,190,210,.55) transparent!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27__modal::-webkit-scrollbar{width:5px!important}
.tm27.tm27--search-v3[data-state="search"] .tm27__modal::-webkit-scrollbar-track{background:transparent!important}
.tm27.tm27--search-v3[data-state="search"] .tm27__modal::-webkit-scrollbar-thumb{
  background:rgba(23,190,210,.55)!important;border-radius:999px!important
}

.tm27.tm27--search-v3[data-state="search"] .tm27__header{
  min-height:104px!important;
  gap:15px!important;
  padding:20px 60px 19px 24px!important;
  border-bottom-color:rgba(130,181,206,.16)!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27__brand-icon{
  width:58px!important;
  height:58px!important;
  flex-basis:58px!important;
  border-radius:15px!important;
  border-color:rgba(92,159,190,.30)!important;
  background:rgba(17,60,84,.35)!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27__brand-icon svg{
  width:30px!important;height:30px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27__header h2{
  font-size:27px!important;
  letter-spacing:-.025em!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27__header p{
  margin-top:5px!important;
  font-size:13px!important;
  color:#c6d6df!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27__close{
  top:23px!important;
  right:20px!important;
  width:40px!important;
  height:40px!important;
  border-radius:12px!important;
  border-color:rgba(147,185,205,.25)!important;
  background:rgba(35,69,92,.46)!important;
  font-size:23px!important;
  transition:background .16s ease,border-color .16s ease,transform .16s ease!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27__close:hover{
  transform:translateY(-1px)!important;
  border-color:rgba(30,213,231,.46)!important;
  background:rgba(34,83,105,.62)!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-search-screen{
  padding:22px 24px 20px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-fields{
  gap:18px 18px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-field{
  gap:8px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-label{
  gap:6px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-label-icon{
  width:18px!important;
  font-size:16px!important;
  color:#21cae0!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-label b{
  font-size:12px!important;
  color:#a9c7d9!important;
  letter-spacing:.02em!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v4-select-button{
  grid-template-columns:50px minmax(0,1fr) 40px!important;
  min-height:58px!important;
  border-radius:12px!important;
  border-color:rgba(198,222,234,.38)!important;
  background:linear-gradient(180deg,rgba(31,64,86,.70),rgba(20,49,69,.70))!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-field:first-child .tm27v4-select-button{
  border-color:#18cde3!important;
  box-shadow:0 0 0 1px rgba(18,205,227,.12) inset!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v4-select-icon svg{
  width:23px!important;height:23px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v4-select-arrow svg{
  width:19px!important;height:19px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v4-select-value{
  padding:0 12px!important;
  font-size:14px!important;
  font-weight:550!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-field--people{
  max-width:390px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-counter{
  grid-template-columns:56px minmax(0,1fr) 56px!important;
  min-height:58px!important;
  border-radius:12px!important;
  border-color:rgba(153,193,215,.28)!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-counter button{
  font-size:24px!important;
  background:rgba(58,92,117,.30)!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-counter strong{
  gap:8px!important;
  font-size:16px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-person-icon{
  font-size:18px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-counter strong b{
  font-size:17px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-info{
  min-height:46px!important;
  margin-top:20px!important;
  padding:7px 13px!important;
  grid-template-columns:25px 1fr!important;
  gap:8px!important;
  border-radius:11px!important;
  background:rgba(7,38,59,.62)!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-info>span{
  width:21px!important;height:21px!important;font-size:12px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-info p{
  font-size:10.5px!important;
  color:#d8e6ed!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-search-button{
  min-height:56px!important;
  margin-top:14px!important;
  gap:8px!important;
  border-radius:12px!important;
  box-shadow:0 10px 24px rgba(22,137,214,.12)!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-search-icon{font-size:23px!important}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-search-button strong{
  font-size:15px!important;
  letter-spacing:.01em!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v3-go{font-size:23px!important}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-trust{
  margin-top:15px!important;
  padding-top:14px!important;
  border-top-color:rgba(112,160,184,.16)!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-trust>div{
  grid-template-columns:36px 1fr!important;
  gap:8px!important;
  padding:0 10px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-trust i{
  width:34px!important;height:34px!important;
  font-size:12px!important;
  border-color:rgba(20,207,227,.78)!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-trust b{
  font-size:10px!important;
  letter-spacing:.01em!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-trust em{
  font-size:8.8px!important;
  color:#aebfc9!important;
}

/* Dropdown */
.tm27.tm27--search-v3[data-state="search"] .tm27v4-menu{
  border-radius:12px!important;
  border-color:rgba(20,207,227,.38)!important;
  box-shadow:0 20px 48px rgba(0,0,0,.42)!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v4-options{
  max-height:min(270px,38vh)!important;
}
.tm27.tm27--search-v3[data-state="search"] .tm27v4-option{
  min-height:40px!important;
  font-size:12px!important;
}

/* Tablet */
@media (max-width:760px){
  .tm27.tm27--search-v3[data-state="search"]{
    padding:10px!important;
  }
  .tm27.tm27--search-v3[data-state="search"] .tm27__modal{
    width:100%!important;
    max-width:650px!important;
    max-height:calc(100dvh - 20px)!important;
    border-radius:19px!important;
  }
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-fields{
    grid-template-columns:1fr!important;
  }
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-field--people{
    grid-column:auto!important;
    max-width:none!important;
  }
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-trust{
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-trust>div,
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-trust>div:first-child,
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-trust>div:last-child{
    padding:0!important;
  }
}

/* Telefon */
@media (max-width:520px){
  .tm27.tm27--search-v3[data-state="search"]{
    padding:0!important;
    place-items:end center!important;
  }
  .tm27.tm27--search-v3[data-state="search"] .tm27__modal{
    width:100%!important;
    max-width:none!important;
    max-height:100dvh!important;
    border-radius:18px 18px 0 0!important;
    border-left:0!important;border-right:0!important;border-bottom:0!important;
  }
  .tm27.tm27--search-v3[data-state="search"] .tm27__header{
    min-height:82px!important;
    padding:13px 46px 12px 13px!important;
  }
  .tm27.tm27--search-v3[data-state="search"] .tm27__brand-icon{
    width:44px!important;height:44px!important;flex-basis:44px!important;border-radius:12px!important;
  }
  .tm27.tm27--search-v3[data-state="search"] .tm27__brand-icon svg{
    width:24px!important;height:24px!important;
  }
  .tm27.tm27--search-v3[data-state="search"] .tm27__header h2{font-size:20px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27__header p{font-size:10px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27__close{
    top:14px!important;right:10px!important;width:34px!important;height:34px!important;font-size:20px!important;
  }
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-search-screen{
    padding:15px 11px 13px!important;
  }
  .tm27.tm27--search-v3[data-state="search"] .tm27v4-select-button{
    grid-template-columns:46px minmax(0,1fr) 36px!important;
    min-height:54px!important;
  }
  .tm27.tm27--search-v3[data-state="search"] .tm27v4-select-value{font-size:13.5px!important}
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-counter{
    grid-template-columns:52px minmax(0,1fr) 52px!important;
    min-height:54px!important;
  }
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-info p{
    text-align:left!important;
  }
}


/* =========================================================
   TM27 SEARCH V7 — BİRAZ DAHA KÜÇÜK / KİBAR
   ========================================================= */
.tm27.tm27--search-v3[data-state="search"] .tm27__modal{
  width:min(760px,calc(100vw - 30px))!important;
  max-width:760px!important;
  border-radius:20px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27__header{
  min-height:94px!important;
  padding:17px 54px 16px 20px!important;
  gap:13px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27__brand-icon{
  width:50px!important;
  height:50px!important;
  flex-basis:50px!important;
  border-radius:13px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27__brand-icon svg{
  width:26px!important;
  height:26px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27__header h2{
  font-size:24px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27__header p{
  font-size:11.5px!important;
  margin-top:4px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27__close{
  top:20px!important;
  right:17px!important;
  width:36px!important;
  height:36px!important;
  border-radius:10px!important;
  font-size:21px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-search-screen{
  padding:19px 20px 18px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-fields{
  gap:16px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-label b{
  font-size:11px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v4-select-button{
  grid-template-columns:46px minmax(0,1fr) 36px!important;
  min-height:54px!important;
  border-radius:11px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v4-select-icon svg{
  width:21px!important;
  height:21px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v4-select-value{
  font-size:13px!important;
  padding:0 10px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-field--people{
  max-width:350px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-counter{
  grid-template-columns:50px minmax(0,1fr) 50px!important;
  min-height:54px!important;
  border-radius:11px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-counter button{
  font-size:22px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-counter strong{
  font-size:14px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-counter strong b{
  font-size:15px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-person-icon{
  font-size:16px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-info{
  min-height:42px!important;
  margin-top:17px!important;
  padding:6px 11px!important;
  border-radius:10px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-info p{
  font-size:9.5px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-search-button{
  min-height:52px!important;
  margin-top:12px!important;
  border-radius:11px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-search-button strong{
  font-size:14px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-trust{
  margin-top:13px!important;
  padding-top:12px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-trust>div{
  grid-template-columns:32px 1fr!important;
  gap:7px!important;
  padding:0 8px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-trust i{
  width:30px!important;
  height:30px!important;
  font-size:11px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-trust b{
  font-size:9px!important;
}

.tm27.tm27--search-v3[data-state="search"] .tm27v3-trust em{
  font-size:7.8px!important;
}

@media (max-width:760px){
  .tm27.tm27--search-v3[data-state="search"] .tm27__modal{
    width:100%!important;
    max-width:620px!important;
  }
}

@media (max-width:520px){
  .tm27.tm27--search-v3[data-state="search"] .tm27__modal{
    max-width:none!important;
  }
  .tm27.tm27--search-v3[data-state="search"] .tm27v3-field--people{
    max-width:none!important;
  }
}


/* TM27 FINAL VISIBILITY GUARD — MUST BE LAST */
.tm27.tm27--search-v3[hidden],
.tm27.tm27--search-v3[data-state="search"][hidden]{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
.tm27.tm27--search-v3:not([hidden]){
  display:grid!important;
  visibility:visible!important;
  pointer-events:auto!important;
}
