/* Grup kartı (.gk) — Pages/Shared/_GrupKarti.cshtml (2026-11-08; önceden EgitimDetay.css içindeydi). Eğitim sayfasında "Açık Gruplar"
   (kapsayıcı .bk-in.gkAlan) ve gizli grup davetiyle gelinen başvuru formunda (.gkAlan.gkTek) aynı kart. Davranış static/scripts/GrupKarti.js. */
/* kurumsal-renk varsayılanları (egitimfoni): Services/KurumsalRenk.cs ile aynı; kurum ayarları /SiteStyle.css "html:root" ile ezer. Elle değiştirmeyin: tools/kurumsal-renk/kontrol.py --yaz */
:root { --koyu: #252b37; --koyu-2: #232a3a; --kenar: #d3d8e3; --kenar-3: #c9cfdb; --kenar-4: #d6dae3; --cizgi-k: #e3e6ee; --zemin-k: #f7f8fb; --zemin-k2: #e9ecf1; --zemin-k3: #e6e9ef; --zemin-k4: #eef0f5; --zemin-k5: #e3e5ea; --metin-k: #3b4250; --sari: #f6c32d; --sari-rgb: 246,195,45; --sari-2: #f8cb49; --sari-3: #fad366; --sari-4: #fcdc85; --altin: #9a6a00; --rozet-zemin: #fbe7a6; --rozet-metin: #5c4300; --sayac-2: #2b2d3a; --sayac-3: #353038; --sayac-4: #403433; }
/* başvuru formu gibi .edv dışındaki sayfalarda kartın zemini: eğitim sayfası (.edv) değerleriyle aynı yazı ve renkler */
.gkTek { --ink: #1f2a3d; --muted: #62666d; --sel-bg: #ecebe5; --danger: #b42318; color: var(--ink); font-size: 17px; line-height: 1.7; }
.gkTek *, .gkTek *::before, .gkTek *::after { box-sizing: border-box; }
.gkTek a, .gkTek a:hover, .gkTek a:focus { color: inherit; }
.gkTek h3 { font-family: inherit; text-transform: none; }
.gkTek :focus-visible { outline: 3px solid #4f86f755; outline-offset: 2px; border-radius: 6px; }
.gkTek .ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* grup kartı */
.gkAlan .gk { background: var(--zemin-k); border: 1px solid var(--kenar); border-radius: 14px; padding: 14px 14px 12px; margin-bottom: 12px; animation: edGin .5s cubic-bezier(.2,.7,.2,1) both; }
.gkAlan .gk[hidden] { display: none; }
.gkAlan .gk-bas { display: flex; align-items: flex-start; gap: 8px; }
.gkAlan .gk-bas h3 { flex: 1; min-width: 0; margin: 0; font-size: 16px; line-height: 1.35; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.gkAlan .gk-rozet { flex: none; margin-top: 1px; font-style: normal; font-size: 10.5px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; line-height: 1.5; background: var(--rozet-zemin); color: var(--rozet-metin); border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.gkAlan .gk-rozet.onkayit { background: var(--sel-bg); color: var(--ink); }
.gkAlan .gk-alt { margin: 4px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
/* dikey zaman çizelgesi: solda çizgi + noktalar */
.gkAlan .gk-zaman { list-style: none; margin: 10px 0 0; padding: 0 0 0 20px; position: relative; }
.gkAlan .gk-zaman::before { content: ""; position: absolute; left: 3px; top: 6px; bottom: 6px; width: 2px; background: var(--koyu); border-radius: 2px; }
.gkAlan .gk-zaman li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 92px; gap: 8px; align-items: baseline; padding: 5px 0; }
.gkAlan .gk-zaman li[hidden] { display: none; }
.gkAlan .gk-zaman li::before { content: ""; position: absolute; left: -20px; top: calc(50% - 3.5px); width: 9px; height: 9px; border-radius: 50%; background: var(--koyu); box-shadow: 0 0 0 2px var(--zemin-k); }
.gkAlan .gk-zaman b { font-size: 14.5px; line-height: 1.35; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.gkAlan .gk-zaman span { font-size: 13px; color: var(--muted); white-space: nowrap; }
.gkAlan .gk-dahatarih { margin: 0 0 0 20px; background: none; border: 0; padding: 2px 0; font: inherit; font-size: 13px; font-weight: 500; color: var(--altin); cursor: pointer; }
/* eğitim saatleri */
.gkAlan .gk-saat-tek { display: flex; justify-content: space-between; gap: 8px; margin: 10px 0 0; padding-top: 8px; border-top: 1px solid var(--cizgi-k); font-size: 13px; line-height: 1.4; }
.gkAlan .gk-saat-tek span { color: var(--muted); }
.gkAlan .gk-saat-tek b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; }
.gkAlan .gk-saat { margin-top: 8px; }
.gkAlan .gk-saat > button { display: flex; width: 100%; justify-content: space-between; align-items: center; background: none; border: 0; padding: 4px 0; font: inherit; font-size: 13px; color: var(--muted); cursor: pointer; }
.gkAlan .gk-saat > button em { display: inline-flex; align-items: center; gap: 3px; font-style: normal; font-weight: 600; color: var(--altin); }
.gkAlan .gk-saat > button .ic { width: 13px; height: 13px; stroke-width: 2.2; transition: transform .2s; }
.gkAlan .gk-saat > button[aria-expanded="true"] .ic { transform: rotate(180deg); }
.gkAlan .gk-saat > button[aria-expanded="true"] .ac, .gkAlan .gk-saat > button[aria-expanded="false"] .kp { display: none; }
.gkAlan .gk-saat table { width: 100%; margin-top: 4px; border-collapse: separate; border-spacing: 0; background: var(--zemin-k2); border-radius: 8px; font-size: 13px; line-height: 1.45; }
.gkAlan .gk-saat table[hidden] { display: none; }
.gkAlan .gk-saat th, .gkAlan .gk-saat td { padding: 6px 10px; vertical-align: top; }
.gkAlan .gk-saat tr:first-child th, .gkAlan .gk-saat tr:first-child td { padding-top: 9px; }
.gkAlan .gk-saat tr:last-child th, .gkAlan .gk-saat tr:last-child td { padding-bottom: 9px; }
.gkAlan .gk-saat th { width: 96px; font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.gkAlan .gk-saat td { color: var(--metin-k); }
.gkAlan .gk-sinav { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }
/* son başvuru sayacı (hap) */
/* Son başvuru sayacı — K "çevirmeli saat" (Bilal, 2026-10-29): açık zemin, koyu kanatlı kutular, her saniye kanat döner */
.gkAlan .gk-sayac { display: flex; flex-direction: column; align-items: stretch; gap: 7px; margin-top: 10px; padding: 9px 10px 7px; border-radius: 10px; /* C düzeni (Bilal 2026-10-29): üstte etiket+tarih tek satır, altta kutular tam genişlik */
  background: radial-gradient(140% 160% at 0% 50%, rgba(var(--sari-rgb),.22) 0%, rgba(var(--sari-rgb),.08) 38%, rgba(var(--sari-rgb),0) 62%), var(--zemin-k); border: 1px solid var(--kenar); } /* soldan sağa radyal sarı ton (Bilal 2026-10-29) */
.gkAlan .gk-sayac-et { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 7px; min-width: 0; }
.gkAlan .gk-sayac-et .ic { display: none; }
.gkAlan .gk-sayac-ad { font-size: 12px; color: var(--muted); }
.gkAlan .gk-sayac-tarih { font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.gkAlan .gk-sayac-say { display: flex; justify-content: space-between; gap: 6px; align-items: flex-start; font-variant-numeric: tabular-nums; }
.gkAlan .gk-sayac-say .fk { display: flex; flex-direction: column; align-items: center; flex: 1 1 0; max-width: 72px; }
.gkAlan .gk-sayac-say .fk b { display: block; width: 100%; box-sizing: border-box; text-align: center; background: var(--koyu); color: var(--sari); background-image: radial-gradient(120% 90% at 30% 0%, rgba(255,255,255,.14), rgba(255,255,255,0) 60%); border-radius: 6px; font-size: 17px; font-weight: 600; line-height: 30px; position: relative; overflow: hidden; transform-style: preserve-3d; }
.gkAlan .gk-sayac-say .fk b::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255,255,255,.18); }
/* kutular soldan sağa koyu laciverttan sıcak kahveye kayar; rakam sarıdan açık altına */
.gkAlan .gk-sayac-say .fk:nth-child(1) b { background-color: var(--koyu-2); color: var(--sari); }
.gkAlan .gk-sayac-say .fk:nth-child(2) b { background-color: var(--sayac-2); color: var(--sari-2); }
.gkAlan .gk-sayac-say .fk:nth-child(3) b { background-color: var(--sayac-3); color: var(--sari-3); }
.gkAlan .gk-sayac-say .fk:nth-child(4) b { background-color: var(--sayac-4); color: var(--sari-4); }
.gkAlan .gk-sayac.az .gk-sayac-say .fk b { background-color: #8f2a1f !important; color: #ffd9d3 !important; }
.gkAlan .gk-sayac.az { background: radial-gradient(140% 160% at 0% 50%, rgba(226,75,74,.2) 0%, rgba(226,75,74,.07) 38%, rgba(226,75,74,0) 62%), var(--zemin-k); border-color: #f0b3ad; }
.gkAlan .gk-sayac-say .fk i { font-style: normal; font-size: 10px; color: var(--muted); margin-top: 3px; letter-spacing: .02em; }
.gkAlan .gk-sayac-say .fk.sifir { display: none; }
.gkAlan .gk-sayac-say .fk b.cv { animation: edCevir .35s ease-in-out; }
@keyframes edCevir { 0% { transform: rotateX(0); } 50% { transform: rotateX(-90deg); } 100% { transform: rotateX(0); } }
.gkAlan .gk-sayac.az .gk-sayac-tarih { color: #8f2a1f; }
.gkAlan .gk-sayac.bitti { color: #5f6570; }
.gkAlan .gk-sayac.bitti .gk-sayac-say { font-size: 12.5px; color: #5f6570; background: var(--zemin-k5); border-radius: 8px; padding: 6px 10px; justify-content: center; }
.gkAlan .gk-onkayit { display: block; margin-top: 10px; padding: 9px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--kenar); color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; }
.gkAlan .gk-onkayit small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.gkAlan .gk-onkayit:hover { background: var(--zemin-k4); text-decoration: none; }
/* yer + kalan yer */
.gkAlan .gk-alt-satir { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--kenar-3); }
.gkAlan .gk-yer { display: inline-flex; align-items: center; gap: 5px; min-width: 0; font-size: 13px; font-weight: 600; color: var(--altin); }
.gkAlan .gk-yer .ic { width: 15px; height: 15px; stroke-width: 2; }
.gkAlan .gk-yer span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gkAlan a.gk-yer, .gkAlan a.gk-yer:hover, .gkAlan a.gk-yer:focus { color: var(--altin); }
.gkAlan a.gk-yer span { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.gkAlan .gk-yer.online { color: var(--ink); }
.gkAlan .gk-kalan { flex: none; margin-left: auto; font-size: 12px; font-weight: 600; color: var(--ink); background: var(--zemin-k3); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.gkAlan .gk-kalan.az { background: #fbe4e1; color: var(--danger); }
/* grup sorumlusu (2026-10-29, docs/GRUP-SORUMLUSU.md): gruba göre farklıysa kartta tek satır, tek kişiyse kartın altında "Sorularınız için" kutusu */
.gkAlan .gk-sorumlu { display: flex; align-items: flex-start; gap: 6px; margin: 10px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.gkAlan .gk-sorumlu .ic { flex: none; width: 14px; height: 14px; margin-top: 2px; stroke-width: 2; }
.gkAlan .gk-sorumlu b { font-weight: 600; color: var(--ink); }
.gkAlan .gk-sorumlu a { color: var(--altin); font-weight: 600; white-space: nowrap; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
@keyframes edGin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Ders programı (2026-10-29, docs/GRUP-DERS-PROGRAMI.md): "Eğitim saatleri" tablosunda gün başlığı + oturumlar (saat + konu) */
.gkAlan .gk-program table tbody + tbody tr.gun th { border-top: 1px solid var(--kenar-4); }
.gkAlan .gk-program tr.gun th { width: auto; padding-bottom: 2px; font-size: 12px; font-weight: 600; letter-spacing: .01em; color: var(--ink); }
.gkAlan .gk-program tr.gun th span { float: right; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.gkAlan .gk-program tbody:first-child tr.gun th { padding-top: 9px; }
.gkAlan .gk-program tbody tr:not(.gun) th, .gkAlan .gk-program tbody tr:not(.gun) td { padding-top: 3px; padding-bottom: 3px; }
.gkAlan .gk-program tbody tr:not(.gun) th { font-weight: 500; color: var(--metin-k); padding-left: 14px; width: 104px; }
.gkAlan .gk-program tbody:last-child tr:last-child th, .gkAlan .gk-program tbody:last-child tr:last-child td { padding-bottom: 9px; }
.gkAlan .gk-program tbody:not(:last-child) tr:last-child th, .gkAlan .gk-program tbody:not(:last-child) tr:last-child td { padding-bottom: 7px; }
.gkAlan .gk-program td small { display: block; font-size: 12px; color: var(--muted); }

/* 2026-10-31 (ekip 7, madde 3b): son başvurusu geçmiş ama geç başvuru alan grup */
.gkAlan .gk-rozet.gec { background: #fde2d4; color: #8a2c0d; }

@media (prefers-reduced-motion: reduce) {
  .gkAlan .gk-saat .ic { transition: none; }
  .gkAlan .gk, .gkAlan .gk-sayac-say .fk b.cv { animation: none !important; transition: none !important; }
}

/* başvuru formunda tek kart: alt boşluk kutunun kendi iç boşluğundan */
.gkTek .gk { margin-bottom: 0; }
