:root {
  --bk-girdi-kenar: 1px solid var(--cizgi-2, var(--cizgi, #dfe3ec));
  --bk-girdi-yaricap: 10px;
  --bk-girdi-yukseklik: 40px;
  --bk-egri: cubic-bezier(.2, .9, .3, 1.04);
}

.bk-secim select { cursor: pointer; }
.secim-sarma--oto { position: relative; display: inline-block; max-width: 100%; vertical-align: middle; }
.secim-sarma--oto.secim-sarma--tam { display: block; width: 100%; }
.secim-sarma--oto select { padding-inline-end: 34px !important; -webkit-appearance: none; appearance: none; }
.secim-ok { position: absolute; inset-inline-end: 11px; top: 50%; width: 16px; height: 16px; margin-top: -8px; color: var(--soluk, #6b7280); pointer-events: none; transition: transform .35s var(--bk-egri); }
.secim-ok svg { display: block; width: 100%; height: 100%; }
.secim-perde { position: absolute; inset: 0; z-index: 2; cursor: pointer; border-radius: inherit; -webkit-tap-highlight-color: transparent; }
.bk-secim select:disabled ~ .secim-perde { cursor: not-allowed; }
.bk-secim > .ikon { transition: transform .35s var(--bk-egri); }
.bk-secim.acik > .ikon, .bk-secim.acik > .secim-ok { transform: rotate(180deg); }
.bk-secim.acik select { border-color: var(--murekkep, #12151c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--murekkep, #12151c) 9%, transparent); }

.bk-liste {
  position: fixed;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  min-width: 180px;
  max-height: 380px;
  padding: 6px;
  overflow: hidden;
  border: 1px solid var(--cizgi, #e3e6ee);
  border-radius: 14px;
  background: var(--kart, #fff);
  color: var(--metin, #1b2133);
  box-shadow: 0 28px 60px -20px rgba(18, 21, 28, .38), 0 2px 10px rgba(18, 21, 28, .07);
  font-size: 15px;
  line-height: 1.35;
  text-align: start;
  transform-origin: top center;
  animation: bk-liste-gel .34s var(--bk-egri) both;
}
.bk-liste--ters { transform-origin: bottom center; animation-name: bk-liste-gel-ters; }
.bk-liste.kapaniyor { animation: bk-liste-git .2s ease-in forwards; pointer-events: none; }
.bk-liste--ters.kapaniyor { animation-name: bk-liste-git-ters; }
@keyframes bk-liste-gel { from { opacity: 0; transform: translateY(-8px) scale(.97); clip-path: inset(0 0 100% 0 round 14px); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 14px); } }
@keyframes bk-liste-gel-ters { from { opacity: 0; transform: translateY(8px) scale(.97); clip-path: inset(100% 0 0 0 round 14px); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 14px); } }
@keyframes bk-liste-git { to { opacity: 0; transform: translateY(-6px) scale(.97); } }
@keyframes bk-liste-git-ters { to { opacity: 0; transform: translateY(6px) scale(.97); } }

.bk-liste-ogeler { flex: 1 1 auto; min-height: 0; margin: 0; padding: 0; list-style: none; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--cizgi, #d8dce6) transparent; }
.bk-liste-oge {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--metin, #1b2133);
  cursor: pointer;
  user-select: none;
  transition: background-color .16s, color .16s;
  animation: bk-oge-gel .36s var(--bk-egri) both;
  animation-delay: calc(var(--i, 0) * 16ms + 50ms);
}
.bk-liste--ters .bk-liste-oge { animation-name: bk-oge-gel-ters; }
@keyframes bk-oge-gel { from { opacity: 0; transform: translateY(-5px); } }
@keyframes bk-oge-gel-ters { from { opacity: 0; transform: translateY(5px); } }
.bk-liste-oge.etkin { background: color-mix(in srgb, var(--murekkep, #12151c) 6%, transparent); color: var(--murekkep, #12151c); }
.bk-liste-oge[aria-selected="true"] { color: var(--murekkep, #12151c); font-weight: 600; }
.bk-liste-oge[aria-disabled="true"] { opacity: .4; cursor: not-allowed; }
.bk-liste-etiket { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-liste-ek { flex: none; color: var(--soluk, #6b7280); font-size: 13px; font-variant-numeric: tabular-nums; }
.bk-liste-tik { flex: none; width: 16px; height: 16px; color: var(--murekkep, #12151c); opacity: 0; transform: scale(.6); transition: opacity .2s, transform .3s var(--bk-egri); }
.bk-liste-tik svg { display: block; width: 100%; height: 100%; }
.bk-liste-oge[aria-selected="true"] .bk-liste-tik { opacity: 1; transform: none; }
.bk-liste-gorsel { flex: none; width: 22px; height: 16px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(18, 21, 28, .1); pointer-events: none; -webkit-user-drag: none; }
.bk-liste-grup { padding: 10px 12px 4px; color: var(--silik, #8a90a2); font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.bk-liste-grup:empty { height: 1px; margin: 6px 10px; padding: 0; background: var(--cizgi, #e3e6ee); }
.bk-liste-bos { margin: 0; padding: 18px 12px 14px; color: var(--soluk, #6b7280); font-size: 14px; text-align: center; animation: bk-oge-gel .3s both; }
.bk-liste-ara-kap { position: relative; flex: none; padding: 2px 2px 8px; }
.bk-liste-ara-kap svg { position: absolute; inset-inline-start: 14px; top: 13px; width: 16px; height: 16px; color: var(--soluk, #6b7280); pointer-events: none; }
.bk-liste-ara { width: 100%; height: 40px; padding: 0 12px; padding-inline-start: 38px; border: 1px solid var(--cizgi, #e3e6ee); border-radius: 10px; background: var(--zemin, #f6f7fa); color: var(--murekkep, #12151c); font: inherit; font-size: 14px; outline: none; -webkit-appearance: none; appearance: none; transition: border-color .2s, box-shadow .2s; }
.bk-liste-ara:focus { border-color: var(--murekkep, #12151c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--murekkep, #12151c) 8%, transparent); }
.bk-liste-ara::-webkit-search-cancel-button { display: none; }
.bk-liste--ulke .bk-liste-oge { gap: 12px; }

.bk-liste--alt {
  left: 0 !important;
  right: 0;
  top: auto !important;
  bottom: 0 !important;
  width: 100% !important;
  max-height: 74vh !important;
  padding: 10px 10px calc(14px + env(safe-area-inset-bottom));
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
  transform-origin: bottom center;
  animation: bk-liste-alttan .42s cubic-bezier(.2, .9, .3, 1) both;
}
.bk-liste--alt::before { content: ""; flex: none; display: block; width: 40px; height: 4px; margin: 2px auto 10px; border-radius: 4px; background: var(--cizgi, #e3e6ee); }
.bk-liste--alt .bk-liste-oge { min-height: 48px; padding: 12px 14px; font-size: 16px; }
.bk-liste--alt .bk-liste-ara { height: 46px; font-size: 16px; }
.bk-liste--alt .bk-liste-ara-kap svg { top: 15px; }
.bk-liste--alt.kapaniyor { animation: bk-liste-alta .3s ease-in forwards; }
@keyframes bk-liste-alttan { from { transform: translateY(100%); } to { transform: none; } }
@keyframes bk-liste-alta { to { transform: translateY(100%); } }
.bk-liste-ortu { position: fixed; inset: 0; z-index: 999; background: rgba(8, 13, 30, .42); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); animation: bk-belir .3s both; }
.bk-liste-ortu.kapaniyor { animation: bk-sol .3s forwards; }
@keyframes bk-belir { from { opacity: 0; } }
@keyframes bk-sol { to { opacity: 0; } }

.tel-kutu { display: flex; align-items: stretch; min-width: 0; width: 100%; }
.tel-ulke {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--bk-girdi-yukseklik);
  padding: 0 10px 0 12px;
  border: var(--bk-girdi-kenar);
  border-start-start-radius: var(--bk-girdi-yaricap);
  border-end-start-radius: var(--bk-girdi-yaricap);
  border-start-end-radius: 0;
  border-end-end-radius: 0;
  border-inline-end-width: 0;
  background: var(--kart, #fff);
  color: var(--murekkep, #12151c);
  font: inherit;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.tel-ulke:hover { background: color-mix(in srgb, var(--murekkep, #12151c) 3%, var(--kart, #fff)); }
.tel-ulke:focus-visible, .tel-kutu.acik .tel-ulke { outline: none; border-color: var(--murekkep, #12151c); }
.tel-ulke:disabled { opacity: .6; cursor: not-allowed; }
.tel-bayrak { display: block; width: 22px; height: 16px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(18, 21, 28, .1); pointer-events: none; -webkit-user-drag: none; }
.tel-kod { font-size: .94em; }
.tel-ok { display: block; width: 14px; height: 14px; color: var(--soluk, #6b7280); transition: transform .35s var(--bk-egri); }
.tel-ok svg { display: block; width: 100%; height: 100%; }
.tel-kutu.acik .tel-ok { transform: rotate(180deg); }
.tel-kutu .tel-numara { flex: 1 1 auto; min-width: 0; width: auto !important; border-start-start-radius: 0 !important; border-end-start-radius: 0 !important; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.alan--hata .tel-ulke { border-color: var(--hata, #d93025); }

.alan.sayacli { position: relative; }
.alan.sayacli > label:first-child, .alan.sayacli > .alan-etiket:first-child { padding-inline-end: 76px; }
.karakter-sayac { color: var(--silik, #8a90a2); font-size: 11.5px; font-weight: 500; line-height: 1.3; letter-spacing: .01em; font-variant-numeric: tabular-nums; white-space: nowrap; pointer-events: none; user-select: none; transition: color .25s; }
.alan.sayacli > .karakter-sayac { position: absolute; top: 2px; inset-inline-end: 0; }
.karakter-sayac--alt { display: block; margin-top: 4px; text-align: end; }
.karakter-sayac.yakin { color: var(--uyari, #b7791f); }
.karakter-sayac.dolu { color: var(--hata, #d93025); font-weight: 600; animation: bk-sayac-dolu .4s; }
@keyframes bk-sayac-dolu { 30% { transform: scale(1.12); } }

@media (prefers-reduced-motion: reduce) {
  .bk-liste, .bk-liste-oge, .bk-liste-ortu, .bk-liste.kapaniyor, .bk-liste--alt, .bk-liste--alt.kapaniyor { animation: none !important; }
}
.bk-liste .bk-liste-ara:focus, .bk-liste .bk-liste-ara:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--murekkep, #12151c) 8%, transparent); }
