/* Görevler (1.25.0): şablon / kurs görevi formu, ilerleme ekranları */
.gorev-form > .kart + .kart { margin-top: 16px; }
.gorev-form .alan { min-width: 0; }
.gorev-form select { max-width: 100%; }
.gorev-kurallar { align-items: end; }
.gorev-kurallar .onay-kutu { margin: 0 0 10px; }
.gorev-sartlar { display: flex; flex-direction: column; gap: 12px; margin: 12px 0; }
.gorev-sart { border: 1px solid var(--cizgi, #e3e5ea); border-radius: 10px; padding: 12px 14px; background: #fbfbfd; }
.gorev-sart-ust { display: grid; grid-template-columns: 28px minmax(0, 1fr) minmax(0, 220px) 40px; gap: 10px; align-items: center; }
.gorev-sart-ust input, .gorev-sart-ust select { padding: 9px 10px; border: 1px solid #cfd3da; border-radius: 6px; font: inherit; font-weight: 600; min-width: 0; background: #fff; }
.gorev-sart-no { font-weight: 700; color: #6b7280; }
.gorev-sart-alanlar { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px 14px; margin-top: 10px; align-items: start; }
.gorev-sart-alanlar .onay-kutu { margin: 24px 0 0; grid-column: span 2; }
.gorev-sart [hidden] { display: none !important; }
.gorev-tepe > div { display: flex; gap: 6px; align-items: center; }
.gorev-tepe input { width: 100%; min-width: 0; padding: 9px 10px; border: 1px solid #cfd3da; border-radius: 6px; font: inherit; }
.ikon-dugme { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #e3e5ea; background: #fff; border-radius: 8px; cursor: pointer; color: #374151; }
.ikon-dugme.sil { color: #c0161a; } .ikon-dugme .ikon { width: 18px; height: 18px; }
@media (max-width: 720px) {
  .gorev-sart-ust { grid-template-columns: 24px minmax(0, 1fr) 40px; }
  .gorev-sart-ust select { grid-column: 2 / 4; grid-row: 2; }
  .gorev-sart-alanlar .onay-kutu { grid-column: auto; margin-top: 4px; }
}

/* Şablon listesi, kurs kartı görev kutusu */
.gorev-kod { display: inline-block; font-weight: 700; background: #efe9fb; color: #4b2f8f; padding: 2px 8px; border-radius: 5px; font-size: 13px; }
.gorev-cipler { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.gorev-cipler li { background: #f3f4f7; border: 1px solid #e3e5ea; border-radius: 7px; padding: 5px 9px; font-size: 12.5px; }
.gorev-cipler li strong { font-size: 13px; }
.gorev-cipler li.grup { border-style: dashed; }

/* İlerleme */
.gorev-cubuk { height: 8px; background: #eceef2; border-radius: 99px; overflow: hidden; min-width: 80px; }
.gorev-cubuk > span { display: block; height: 100%; background: var(--vurgu, #6c4ab6); border-radius: 99px; }
.gorev-cubuk.tamam > span { background: #2e9e5b; }
.gorev-ilerleme-hucre { min-width: 150px; }
.gorev-ilerleme-hucre .gorev-satir { display: flex; align-items: center; gap: 8px; }
.gorev-ilerleme-hucre .gorev-cubuk { flex: 1; }
.gorev-genel { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; padding: 16px 20px; margin-bottom: 14px; }
.gorev-genel strong.yuzde { font-size: 30px; color: var(--vurgu, #6c4ab6); line-height: 1.1; }
.gorev-genel .gorev-cubuk { height: 10px; }
.gorev-genel > div:last-child { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 6px; }
.gorev-sart-liste { padding: 4px 20px; }
.gorev-sart-satir { display: grid; grid-template-columns: 28px minmax(0, 1fr) minmax(0, 240px); gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid #eef0f3; }
.gorev-sart-satir:last-child { border-bottom: 0; }
.gorev-isaret { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: #eceef2; color: #6b7280; }
.gorev-isaret.tamam { background: #e5f4e4; color: #1e6b2c; }
.gorev-isaret.devam { background: #efe9fb; color: #4b2f8f; }
.gorev-sart-satir small { display: block; color: #6b7280; font-size: 12px; margin-top: 2px; }
.gorev-deger { display: flex; flex-direction: column; gap: 5px; }
.gorev-deger > div:first-child { display: flex; justify-content: space-between; font-size: 13px; }
.gorev-secenekler { margin: 6px 0 0; padding: 0; list-style: none; font-size: 12.5px; color: #374151; }
.gorev-secenekler li.secili { font-weight: 600; color: #1e6b2c; }
.gorev-sayilmayan { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 9px 12px; background: #fffaf0; border: 1px solid #f3dfb4; border-radius: 8px; margin-top: 8px; }
.gorev-sayilmayan strong { color: #7a4d00; }
@media (max-width: 720px) { .gorev-sart-satir { grid-template-columns: 24px minmax(0, 1fr); } .gorev-sart-satir .gorev-deger, .gorev-sart-satir > form { grid-column: 2; } }
.gorev-sil { margin-top: 12px; }
.gorev-sart-not { grid-column: 1 / -1; margin: 0; }
.gorev-alan-tablo { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 13px; }
.gorev-alan-tablo td { padding: 4px 8px 4px 0; border-top: 1px solid #eef0f3; }
.gorev-alan-tablo td:not(:first-child) { text-align: right; white-space: nowrap; }
.gorev-alan-tablo tr.uygun td:first-child { color: #1e6b2c; font-weight: 600; }
.gorev-uyari-not { color: #7a4d00 !important; }
/* Ana sayfa: Görevlerim (1.28.0) */
.ana-gorevler { margin-bottom: 16px; }
.ana-gorevler .bolum-ust { margin: 0 0 6px; }
.ana-gorev { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 260px); gap: 14px; align-items: center; padding: 11px 0; border-top: 1px solid #eef0f3;
  color: inherit; text-decoration: none; }
.ana-gorev:hover strong { text-decoration: underline; }
.ana-gorev > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.ana-gorev .gorev-satir { display: flex; align-items: center; gap: 8px; }
.ana-gorev .gorev-cubuk { flex: 1; }
.gorev-ilerleme-hucre a.gorev-satir { display: flex; align-items: center; gap: 8px; color: inherit; }
.gorev-ilerleme-hucre a.gorev-satir .gorev-cubuk { flex: 1; }
@media (max-width: 720px) { .ana-gorev { grid-template-columns: 1fr; gap: 6px; } }
