/* ==========================================================================
   ARANABİLİR AÇILIR LİSTE (arama-secim.js) — panel + başvuru formu
   Renkler panel değişkenlerinden; başvuru sayfasında değişken yoksa yedek değer.
   ========================================================================== */
.as-sarmal { position: relative; display: block; min-width: 0; padding: 0 !important;
    border: 0 !important; background: none !important; box-shadow: none !important; height: auto !important; }
.as-sarmal.secim { appearance: none; }
.as-asil { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important;
    opacity: 0; pointer-events: none; margin: 0 !important; }

.as-dugme {
    width: 100%; min-height: var(--satir, 34px); display: flex; align-items: center; gap: 8px;
    padding: 0 10px; text-align: left; cursor: pointer;
    border: 1px solid var(--kenar-koyu, #CFD2E0); border-radius: var(--r, 6px);
    background: var(--panel, #fff); color: var(--metin, #16161D);
    font: 400 12.5px/1.3 var(--yazi, inherit);
    transition: border-color .14s, box-shadow .14s;
}
.as-dugme:hover { border-color: var(--kenar-odak, #B0B5C9); }
.as-dugme:focus-visible, .as-acik .as-dugme { outline: none; border-color: var(--vurgu, #5B51D8); box-shadow: 0 0 0 3px rgba(90, 84, 184, .14); }
.as-dugme:disabled { background: var(--z-1, #ECEDF4); color: var(--ikincil, #4A4A57); cursor: not-allowed; }
.as-metin { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.as-dugme.as-bos .as-metin { color: var(--cok-soluk, #8b8b98); }
.as-ok { flex: none; color: var(--ikincil, #4A4A57); transition: transform .15s; }
.as-acik .as-ok { transform: rotate(180deg); }
.as-hatali .as-dugme { border-color: var(--kirmizi, #A6423D); box-shadow: 0 0 0 3px rgba(166, 66, 61, .12); }

.as-panel {
    position: fixed; z-index: 2000; display: flex; flex-direction: column; overflow: hidden;
    background: var(--panel, #fff); color: var(--metin, #16161D);
    border: 1px solid var(--kenar-koyu, #CFD2E0); border-radius: var(--r, 6px);
    box-shadow: 0 10px 28px rgba(22, 22, 29, .16), 0 2px 6px rgba(22, 22, 29, .08);
    font: 400 13px/1.35 var(--yazi, inherit);
}
.as-ara { position: relative; flex: none; padding: 8px; border-bottom: 1px solid var(--kenar, #E2E4EE); }
.as-ara svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--soluk, #7C7C8A); pointer-events: none; }
.as-ara input {
    width: 100%; height: 34px; padding: 0 10px 0 32px; font: inherit; font-size: 13px;
    border: 1px solid var(--kenar-koyu, #CFD2E0); border-radius: var(--r, 6px); background: var(--panel, #fff); color: inherit;
}
.as-ara input:focus { outline: none; border-color: var(--vurgu, #5B51D8); box-shadow: 0 0 0 3px rgba(90, 84, 184, .14); }
.as-liste { list-style: none; margin: 0; padding: 4px; overflow-y: auto; overscroll-behavior: contain; flex: 1 1 auto; }
.as-liste li[data-i] { padding: 8px 10px; border-radius: var(--r-kucuk, 4px); cursor: pointer; overflow-wrap: anywhere; }
.as-liste li.as-isaret { background: var(--vurgu-soft, #EBE9FC); }
.as-liste li.as-secili { font-weight: 600; color: var(--vurgu-koyu, #4840B4); }
.as-liste li.as-secili::after { content: "✓"; float: right; margin-left: 8px; }
.as-liste li.as-pasif { color: var(--cok-soluk, #a3a3b0); cursor: not-allowed; }
.as-liste li.as-bos-secenek { color: var(--soluk, #7C7C8A); }
.as-liste mark { background: #FFE9A8; color: inherit; border-radius: 2px; padding: 0 1px; }
.as-grup { padding: 8px 10px 4px; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--soluk, #7C7C8A); }
.as-yok { padding: 14px 10px; text-align: center; color: var(--soluk, #7C7C8A); }

/* Telefon: alttan açılan panel */
.as-panel.as-alttan {
    left: 0 !important; right: 0; bottom: 0 !important; top: auto !important; width: auto !important;
    max-height: 72vh !important; border-radius: 14px 14px 0 0; border-bottom: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -10px 30px rgba(22, 22, 29, .22);
    animation: as-yukari .16s ease-out;
}
.as-panel-bas { display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 12px 14px 4px; font-weight: 600; font-size: 14px; }
.as-kapat { width: 36px; height: 36px; border: 0; background: none; font-size: 24px; line-height: 1; color: var(--soluk, #7C7C8A); cursor: pointer; }
.as-alttan .as-ara input { height: 44px; font-size: 16px; }   /* iOS yakınlaştırmasın */
.as-alttan .as-liste li[data-i] { padding: 12px 12px; font-size: 15px; }
body.as-kilit { overflow: hidden; }
body.as-kilit::after { content: ""; position: fixed; inset: 0; background: rgba(15, 18, 25, .35); z-index: 1999; }
@keyframes as-yukari { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }

@media (max-width: 720px) {
    .as-dugme { min-height: 42px; font-size: 16px; }
}

/* Başvuru sayfası: form denetimlerinin görünümüyle uyum */
.b-sayfa .as-dugme, .form-control + .as-dugme { min-height: 44px; font-size: 15px; border-radius: 8px; }
