/* ===========================================================================
   URUN TALEBI KARTI — "Aradigin oyunu bulamadin mi?" (Plan eb01ca6c, 16.11.2026)
   Kaynak: Claude Design handoff_urun_talebi (README + koyu / acik / mobil prototip).
   Isaretleme: resources/views/revolution/_shared/urun-talep-formu.blade.php · Betik: js/urun-talebi.js
   Onek utf*: css/urun-turu.css .ut* kullanir (oyun sayfasinda ikisi birlikte yuklu), karismasin.
   Platform Select2 (aramasiz) ortak yeni temadan (css/select2-yeni.css, .s2Kapsam); burada olcu eslenir.
   =========================================================================== */
.utfKart {
    --utfKart: #20212B; --utfIc: #1C1D26; --utfGirdi: #111117;
    --utfKenar: #333444; --utfCizgi: #2A2B38; --utfKenarGuclu: #4E4F5C;
    --utfM0: #EDEEF2; --utfM1: #C8C9D8; --utfM2: #ABACB5; --utfM3: #8B8C99;
    --utfNane: #80F1B1; --utfNaneUstu: #0A2416; --utfNaneZemin: rgba(128,241,177,.10); --utfNaneKenar: rgba(128,241,177,.42);
    --utfOnay: #248A50;
    --utfKehribar: #E8C268; --utfKehribarZemin: rgba(232,194,104,.12); --utfKehribarKenar: rgba(232,194,104,.40);
    --utfKirmizi: #F0908A; --utfKirmiziZemin: rgba(224,85,63,.10); --utfKirmiziKenar: rgba(224,85,63,.55);
    --utfGolge: none;
    margin-top: 24px; padding: 18px 20px; border-radius: 14px; background: var(--utfKart); border: 1px solid var(--utfKenar);
    box-shadow: var(--utfGolge); color: var(--utfM1); font-family: "Wix Madefor Display", system-ui, sans-serif;
    transition: border-color .2s ease;
}
body.light .utfKart {
    --utfKart: #FFFFFF; --utfIc: #F5F4EE; --utfGirdi: #F5F4EE;
    --utfKenar: #E3E1D9; --utfCizgi: #E8E6DF; --utfKenarGuclu: #C7C5BC;
    --utfM0: #1F1E1D; --utfM1: #3D3C38; --utfM2: #6B6A65; --utfM3: #5F5E58;
    --utfNane: #137E4C; --utfNaneUstu: #FFFFFF; --utfNaneZemin: rgba(19,126,76,.08); --utfNaneKenar: rgba(19,126,76,.40);
    --utfOnay: #0E8F52;
    --utfKehribar: #7A5F0E; --utfKehribarZemin: #FFF6E6; --utfKehribarKenar: #E09A1A;
    --utfKirmizi: #B3402C; --utfKirmiziZemin: rgba(179,64,44,.08); --utfKirmiziKenar: rgba(179,64,44,.45);
    --utfGolge: 0 1px 2px rgba(31,30,29,.05);
}
.utfKart.acik, .utfKart.bitti { border-color: var(--utfKenarGuclu); }
.utfKart [hidden] { display: none !important; }
.utfKart a { color: var(--utfNane); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.utfKart button:focus-visible, .utfKart a:focus-visible, .utfKart input:focus-visible { outline: 2px solid var(--utfNane); outline-offset: 2px; }

/* ---- Ust satir (K3) ---- */
.utfUst { display: flex; align-items: center; gap: 16px; }
.utfUstSol { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; }
.utfIkon {
    flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--utfNaneZemin); border: 1px solid var(--utfNaneKenar);
    color: var(--utfNane); display: flex; align-items: center; justify-content: center;
}
.utfIkon svg { display: block; }
.utfMetinler { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.utfBaslik { margin: 0; font-size: 16px; font-weight: 800; letter-spacing: -.2px; line-height: 1.3; color: var(--utfM0); }
.utfAciklama { margin: 0; font-size: 13px; line-height: 1.5; color: var(--utfM2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.utfKart.acik .utfAciklama, .utfKart.bitti .utfAciklama { white-space: normal; }
.utfAcBtn, .utfCizgiBtn {
    flex: none; min-height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--utfNaneKenar); background: transparent;
    color: var(--utfNane); font-family: inherit; font-size: 13.5px; font-weight: 800; display: inline-flex; align-items: center;
    justify-content: center; gap: 7px; cursor: pointer; transition: background .15s, border-color .15s;
}
.utfAcBtn:hover { background: var(--utfNaneZemin); border-color: var(--utfNane); }
.utfCizgiBtn { min-height: 38px; padding: 0 14px; border-color: var(--utfKenarGuclu); color: var(--utfM1); font-size: 13px; font-weight: 750; gap: 6px; }
.utfCizgiBtn:hover { border-color: var(--utfNane); color: var(--utfNane); }
.utfAcBtn svg, .utfCizgiBtn svg { display: block; flex: none; }
/* Urun listesi bos hali (x-ilan-bos, Plan 1cebc0af): "Bize bildir" kartin kapali halindeki dugmeyle ayni. Kart disinda
   oldugu icin kullandigi token'lar burada da tanimli; mobilde tam genislik degil (bos kutunun ortali eylem satiri). */
.ilanBos .utfAcBtn { --utfNane: #80F1B1; --utfNaneZemin: rgba(128,241,177,.10); --utfNaneKenar: rgba(128,241,177,.42); }
body.light .ilanBos .utfAcBtn { --utfNane: #137E4C; --utfNaneZemin: rgba(19,126,76,.08); --utfNaneKenar: rgba(19,126,76,.40); }
.ilanBos .utfAcBtn:focus-visible { outline: 2px solid var(--utfNane); outline-offset: 2px; }

/* ---- Form (K4) ---- */
.utfForm, .utfSonucAlan, .utfMevcut { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--utfCizgi); animation: utfIn .2s ease-out; }
.utfForm { display: flex; flex-direction: column; gap: 16px; }
@keyframes utfIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.utfTuzak { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.utfAlanlar { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 12px; align-items: start; }
.utfAlan { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.utfEtiket { display: flex; justify-content: space-between; gap: 8px; margin: 0; padding: 0; font-size: 12.5px; font-weight: 700; color: var(--utfM2); }
.utfSayac { font-weight: 600; color: var(--utfM3); font-variant-numeric: tabular-nums; }
.utfAlan input[type=text] {
    width: 100%; height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--utfKenar); background: var(--utfGirdi);
    font-family: inherit; font-size: 14px; font-weight: 600; color: var(--utfM0); outline: none;
}
.utfAlan input[type=text]::placeholder { color: var(--utfM3); opacity: 1; font-weight: 500; }
.utfAlan input[type=text]:focus { border-color: var(--utfNane); }
.utfAlan input[type=text][aria-invalid="true"] { border-color: var(--utfKirmizi); } /* :focus kuralini da yener (ayni ozgulluk, sonra) */
.utfAlan input:disabled { opacity: .7; }
.utfAlanHata { display: flex; gap: 6px; align-items: flex-start; font-size: 12.5px; line-height: 1.45; font-weight: 650; color: var(--utfKirmizi); }
.utfAlanHata svg { flex: none; margin-top: 2px; }

/* Platform: Select2 yeni tema (aramasiz). Olcu kart diline eslenir. */
.utfSecim { --s2Yuk: 44px; --s2Rad: 10px; --s2Alan: var(--utfGirdi); --s2Cerceve: var(--utfKenar); --s2Metin2: var(--utfM0); --s2Metin4: var(--utfM3); }
body.light .utfKart .utfSecim.s2Kapsam { --s2Alan: var(--utfGirdi); --s2Cerceve: var(--utfKenar); --s2Metin2: var(--utfM0); }
.utfSecim select { width: 100%; height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--utfKenar); background: var(--utfGirdi); color: var(--utfM0); font-family: inherit; font-size: 14px; }
.utfSecim .select2-container { width: 100% !important; }
.utfSecim .select2-selection__rendered { font-weight: 600; }

/* Haber secenekleri (K6): sitenin onay kutusu, satirin tamami tiklanir. */
.utfHaber { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.utfHaber legend { float: none; width: auto; margin-bottom: 0; }
.utfSecenekler { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.utfSecenek { position: relative; min-height: 36px; padding: 0 4px; margin: 0; display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--utfM1); cursor: pointer; }
.utfSecenek input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.utfKutu {
    flex: none; width: 20px; height: 20px; border-radius: 6px; background: var(--utfGirdi); border: 1px solid var(--utfKenarGuclu);
    color: #FFFFFF; display: flex; align-items: center; justify-content: center;
}
.utfKutu svg { display: block; opacity: 0; }
.utfSecenek input:checked + .utfKutu { background: var(--utfOnay); border-color: var(--utfOnay); }
.utfSecenek input:checked + .utfKutu svg { opacity: 1; }
.utfSecenek input:focus-visible + .utfKutu { outline: 2px solid var(--utfNane); outline-offset: 2px; }
.utfSecenek.utfPasif { opacity: .55; cursor: not-allowed; color: var(--utfM3); }
.utfIpucu { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--utfM2); }
.utfMisafir { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.utfIpucuIkon { flex: none; display: flex; color: var(--utfM3); }

.utfFormHata {
    display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: var(--utfKirmiziZemin);
    border: 1px solid var(--utfKirmiziKenar); font-size: 13px; line-height: 1.5; color: var(--utfM0);
}
.utfFormHata svg { flex: none; margin-top: 2px; color: var(--utfKirmizi); }
.utfNot { margin: 0; max-width: 80ch; font-size: 12px; line-height: 1.55; color: var(--utfM2); }

/* Gonder (K7) */
.utfAlt { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.utfGonder {
    min-height: 44px; padding: 0 20px; border-radius: 10px; border: 1px solid var(--utfNane); background: var(--utfNane); color: var(--utfNaneUstu);
    font-family: inherit; font-size: 14px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
    transition: filter .12s;
}
.utfGonder:hover { filter: brightness(1.06); }
.utfGonder > span { display: inline-flex; align-items: center; gap: 8px; }
.utfGonder svg { display: block; flex: none; }
.utfGonderMesgul { display: none !important; }
.utfGonder.mesgul { cursor: wait; opacity: .85; }
.utfGonder.mesgul .utfGonderBos { display: none !important; }
.utfGonder.mesgul .utfGonderMesgul { display: inline-flex !important; }
.utfDonen { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: utfDon .7s linear infinite; flex: none; }
@keyframes utfDon { to { transform: rotate(360deg); } }

/* ---- Basari (K7) ---- */
.utfSonucAlan { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 18px; padding-bottom: 4px; text-align: center; }
.utfTik {
    width: 52px; height: 52px; border-radius: 50%; background: var(--utfNaneZemin); border: 1px solid var(--utfNaneKenar); color: var(--utfNane);
    display: flex; align-items: center; justify-content: center; animation: utfPop .35s ease-out;
}
.utfTik.kehribar { background: var(--utfKehribarZemin); border-color: var(--utfKehribarKenar); color: var(--utfKehribar); }
.utfTik svg { display: block; }
@keyframes utfPop { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.06); opacity: 1; } 100% { transform: none; } }
.utfSonucMetin { margin: 0; max-width: 520px; font-size: 14.5px; line-height: 1.55; font-weight: 700; color: var(--utfM0); }
.utfBildirdigin { font-size: 12.5px; color: var(--utfM3); }
.utfBildirdigin b { color: var(--utfM1); }

/* ---- Sitede var (K8) ---- */
.utfMevcut { display: flex; flex-direction: column; gap: 12px; }
.utfMevcutBas { display: flex; align-items: center; gap: 10px; }
.utfMevcutBas b { font-size: 14.5px; font-weight: 800; color: var(--utfM0); }
.utfTikKucuk {
    flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--utfNaneZemin); border: 1px solid var(--utfNaneKenar);
    color: var(--utfNane); display: flex; align-items: center; justify-content: center;
}
.utfUrunler { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; border-radius: 12px; border: 1px solid var(--utfKenar); overflow: hidden; }
.utfUrunler > li + li { border-top: 1px solid var(--utfCizgi); }
.utfKart a.utfUrun {
    min-height: 46px; padding: 8px 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    color: inherit; text-decoration: none; background: var(--utfIc); font-weight: 400;
}
.utfUrunAd { min-width: 0; font-size: 13.5px; font-weight: 700; color: var(--utfM0); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.utfUrunGit { flex: none; display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 800; color: var(--utfNane); }
.utfUrunGit svg { display: block; }
.utfKart a.utfUrun:hover .utfUrunAd { color: var(--utfNane); }
.utfDahaFazla { padding: 8px 14px; font-size: 12.5px; font-weight: 700; color: var(--utfM2); background: var(--utfIc); }

/* ---- Bos filtre satiri (CD-Key alt kategori) ---- */
.utfBosCta {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px;
    background: var(--utfIc, #1C1D26); border: 1px solid var(--utfKenar, #333444); font-size: 13.5px; color: #C8C9D8;
}
.utfBosCta b { color: #EDEEF2; }
.utfBosCta button {
    flex: none; min-height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(128,241,177,.42); background: transparent;
    color: #80F1B1; font-family: inherit; font-size: 13px; font-weight: 800; cursor: pointer;
}
.utfBosCta button:hover { background: rgba(128,241,177,.10); border-color: #80F1B1; }
body.light .utfBosCta { background: #F5F4EE; border-color: #E3E1D9; color: #3D3C38; }
body.light .utfBosCta b { color: #1F1E1D; }
body.light .utfBosCta button { border-color: rgba(19,126,76,.40); color: #137E4C; }

/* ---- Mobil ---- */
@media (max-width: 575.98px) {
    .utfKart { padding: 16px; }
    .utfUst { flex-direction: column; align-items: stretch; gap: 12px; }
    .utfUstSol { align-items: flex-start; }
    .utfAciklama { white-space: normal; }
    .utfAcBtn { width: 100%; min-height: 44px; }
    .ilanBos .utfAcBtn { width: auto; }
    .utfAlanlar { grid-template-columns: minmax(0, 1fr); }
    .utfAlan input[type=text] { height: 46px; font-size: 16px; }
    .utfSecim { --s2Yuk: 46px; }
    .utfSecenek { min-height: 44px; }
    .utfAlt { flex-direction: column; align-items: stretch; }
    .utfGonder { min-height: 48px; width: 100%; }
    .utfCizgiBtn { width: 100%; min-height: 44px; }
    .utfKart a.utfUrun { min-height: 52px; }
    .utfBosCta { flex-direction: column; align-items: stretch; }
    .utfBosCta button { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
    .utfForm, .utfSonucAlan, .utfMevcut, .utfTik, .utfDonen { animation: none; }
    .utfKart, .utfAcBtn, .utfCizgiBtn, .utfGonder { transition: none; }
}
