/* Ödev ve Soru Gönder — Hazırlık sitesinin cam görünümü (site.css) üzerine */
main { max-width: 760px; }
.cam { position: relative; background: var(--pan); border: 1px solid var(--brd); border-radius: 24px;
  -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: 0 18px 44px var(--golge-renk), inset 0 1px 0 rgba(255, 255, 255, .38); padding: 1.1rem 1.2rem; margin-bottom: 1rem; }
.beyaz { background: var(--kart); color: var(--yazi); border-radius: 22px; padding: 1.1rem 1.2rem; margin-bottom: 1rem; box-shadow: var(--golge); }
.beyaz h2, .beyaz h3 { color: var(--yazi); }
h2 { font-family: 'Baloo 2', 'Nunito', sans-serif; font-size: 1.25rem; margin: 0 0 .5rem; line-height: 1.2; }
h3 { font-size: 1rem; margin: 1rem 0 .4rem; }
.soluk { color: var(--zemin-yazi2); }
.beyaz .soluk { color: var(--yazi2); }
.kucuk { font-size: .88rem; }

/* düğmeler */
.dugme { appearance: none; -webkit-appearance: none; border: 0; cursor: pointer; font: inherit; font-weight: 900; font-size: 1.02rem; display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .75rem 1.3rem; border-radius: 999px; text-decoration: none; transition: transform .15s, filter .15s; min-height: 48px; }
.dugme:active { transform: scale(.98); }
.dugme[disabled] { opacity: .55; cursor: default; }
.dugme.ana { background: linear-gradient(180deg, var(--ana2), var(--ana)); color: #fff; box-shadow: 0 8px 20px rgba(60, 40, 180, .35); }
.dugme.yesil { background: linear-gradient(180deg, #19a073, #12805c); color: #fff; box-shadow: 0 8px 18px rgba(18, 128, 92, .32); }
.dugme.acik { background: linear-gradient(180deg, #fff, #eceefa); color: var(--dugme-yazi); box-shadow: 0 6px 16px rgba(10, 10, 50, .22), inset 0 1px 0 #fff; }
.beyaz .dugme.acik { background: var(--ana-acik); color: var(--ana); box-shadow: none; }
.dugme.tam { width: 100%; }
.dugme.kirmizi { background: #fff1f0; color: var(--kirmizi); box-shadow: none; }
.bag { appearance: none; -webkit-appearance: none; background: none; border: 0; font: inherit; font-weight: 800; color: inherit; text-decoration: underline; cursor: pointer; padding: .3rem; }
.satir { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.satir.ayri { justify-content: space-between; }

/* giriş */
.giris { max-width: 420px; margin: 1rem auto; }
.alan { display: block; margin: 0 0 .9rem; }
.alan span { display: block; font-weight: 800; font-size: .92rem; margin-bottom: .3rem; color: var(--yazi2); }
.alan input, .alan textarea { width: 100%; font: inherit; font-size: 1.15rem; font-weight: 800; padding: .75rem .95rem; border-radius: 14px; border: 2px solid var(--cizgi); background: #f7f8fc; color: var(--yazi); }
.alan textarea { font-size: 1rem; font-weight: 600; min-height: 4.5rem; resize: vertical; }
.alan input:focus, .alan textarea:focus { outline: none; border-color: var(--ana2); background: #fff; }
.hata { background: #fff1f0; border: 2px solid #e0483e; color: #5a1410; border-radius: 14px; padding: .7rem .9rem; margin: .6rem 0; font-weight: 700; }
.bilgi { background: #eef6ff; border: 1px solid #bcd7f5; color: #17406b; border-radius: 14px; padding: .7rem .9rem; margin: .6rem 0; font-size: .93rem; }
.uyari { background: #fff8e6; border: 1px solid #f3dfa4; color: #6b4a00; border-radius: 14px; padding: .7rem .9rem; margin: .6rem 0; font-size: .93rem; }

/* ana ekran seçenekleri */
.secenekler { display: grid; gap: .8rem; grid-template-columns: 1fr; margin-bottom: 1.2rem; }
@media (min-width: 640px) { .secenekler { grid-template-columns: repeat(3, 1fr); } }
.secenek { display: flex; flex-direction: column; gap: .3rem; text-align: left; cursor: pointer; font: inherit; color: var(--zemin-yazi); appearance: none; -webkit-appearance: none;
  background: var(--pan2); border: 1px solid var(--brd); border-radius: 22px; padding: 1rem 1.1rem; box-shadow: 0 12px 30px var(--golge-renk); transition: transform .15s; }
.secenek:active { transform: scale(.98); }
.secenek .ikon { font-size: 1.9rem; line-height: 1; }
@media (max-width: 639px) {   /* telefonda yan yana: simge solda, yazı sağda */
  .secenek { display: grid; grid-template-columns: 2.6rem 1fr; column-gap: .7rem; row-gap: .1rem; align-items: center; padding: .85rem 1rem; }
  .secenek .ikon { grid-row: span 2; text-align: center; }
}
.secenek b { font-family: 'Baloo 2', sans-serif; font-size: 1.15rem; }
.secenek small { color: var(--zemin-yazi2); font-size: .86rem; font-weight: 700; }
.rozet { display: inline-block; min-width: 1.5rem; text-align: center; background: #e0483e; color: #fff; border-radius: 999px; padding: 0 .45rem; font-size: .8rem; font-weight: 900; margin-left: .3rem; }

/* listeler */
.liste { display: flex; flex-direction: column; gap: .55rem; }
.oge { display: flex; align-items: center; gap: .8rem; background: var(--kart); color: var(--yazi); border-radius: 18px; padding: .8rem .95rem; text-decoration: none;
  box-shadow: 0 6px 18px var(--golge-renk); cursor: pointer; border: 0; font: inherit; text-align: left; width: 100%; }
.oge .oge-ikon { font-size: 1.5rem; flex: none; width: 2.2rem; text-align: center; }
.oge .oge-metin { flex: 1; min-width: 0; }
.oge .oge-metin b { display: block; font-weight: 800; overflow: hidden; text-overflow: ellipsis; }
.oge .oge-metin small { color: var(--yazi2); font-weight: 700; font-size: .84rem; }
.durum { flex: none; font-size: .78rem; font-weight: 900; border-radius: 999px; padding: .2rem .65rem; white-space: nowrap; }
.durum.inceleniyor { background: #eef2ff; color: #3b3fb5; }
.durum.onayli { background: var(--yesil-acik); color: var(--yesil); }
.durum.geri { background: #fff1f0; color: var(--kirmizi); }
.durum.yeni { background: #fff8e6; color: #8a5a00; }
.durum.gonderildi { background: var(--yesil-acik); color: var(--yesil); }
.bos-liste { text-align: center; padding: 1rem; color: var(--zemin-yazi2); border: 1px dashed var(--brd); border-radius: 18px; }

/* fotoğraf adımı */
.foto-izgara { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .55rem; margin: .7rem 0; }
.kucuk-foto { position: relative; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: #e8ebf5; }
.kucuk-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kucuk-foto .sil { position: absolute; top: 4px; right: 4px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; font-size: 1rem; cursor: pointer; }
.kucuk-foto .no { position: absolute; left: 6px; bottom: 6px; background: rgba(0, 0, 0, .6); color: #fff; border-radius: 999px; font-size: .75rem; padding: 0 .45rem; font-weight: 900; }
.foto-ekle { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.foto-ekle .dugme { font-size: .95rem; padding: .7rem .5rem; white-space: nowrap; }
.gizli-girdi { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* kırpma ekranı */
.kirp-kok { position: fixed; inset: 0; z-index: 100; background: #111622; color: #fff; display: flex; flex-direction: column; }
.kirp-ust { padding: .7rem 1rem; padding-top: max(.7rem, env(safe-area-inset-top)); font-weight: 800; text-align: center; font-size: .95rem; }
.kirp-alan { flex: 1; position: relative; overflow: hidden; touch-action: none; }
.kirp-alan canvas { position: absolute; left: 0; top: 0; }
.kirp-alt { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; padding: .7rem 1rem; padding-bottom: max(.8rem, env(safe-area-inset-bottom)); }
.kirp-alt .dugme { min-height: 44px; padding: .55rem 1rem; font-size: .95rem; }
.kirp-not { text-align: center; font-size: .84rem; opacity: .8; padding: 0 1rem .3rem; }
.kalite-sonuc { position: fixed; inset: 0; z-index: 110; background: rgba(10, 14, 25, .82); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.kalite-sonuc .beyaz { max-width: 420px; width: 100%; }
.kalite-sonuc img { width: 100%; max-height: 40vh; object-fit: contain; border-radius: 12px; background: #eee; }

/* rehber */
.rehber-kok { position: fixed; inset: 0; z-index: 120; background: rgba(10, 14, 25, .7); display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 640px) { .rehber-kok { align-items: center; } }
.rehber { background: #fff; color: var(--yazi); width: 100%; max-width: 520px; max-height: 92vh; overflow: auto; border-radius: 24px 24px 0 0; padding: 1.2rem 1.2rem max(1.2rem, env(safe-area-inset-bottom)); }
@media (min-width: 640px) { .rehber { border-radius: 24px; } }
.ipuclari { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: .8rem 0 1rem; }
.ipucu { background: #f6f7fb; border-radius: 16px; padding: .7rem; text-align: center; font-size: .88rem; font-weight: 700; }
.ipucu svg { width: 100%; height: 70px; display: block; margin-bottom: .35rem; }
.ipucu.yanlis { background: #fff4f3; }
.ipucu b { display: block; font-size: .95rem; }
.ipucu.dogru b { color: var(--yesil); } .ipucu.yanlis b { color: var(--kirmizi); }

/* sonuç */
.sonuc-fotolar { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .3rem; }
.sonuc-fotolar img { height: 150px; border-radius: 12px; flex: none; background: #eee; cursor: zoom-in; }
.ogretmen-notu { background: #f0f7ff; border-left: 6px solid #4a90d9; border-radius: 12px; padding: .7rem .9rem; margin: .7rem 0; }
.ogretmen-notu b { color: #1d5d9b; }
.puan-kutu { display: flex; align-items: baseline; gap: .4rem; font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 2rem; color: var(--ana); margin: .2rem 0; }
.puan-kutu small { font-size: 1rem; color: var(--yazi2); }
.madde { border-top: 1px solid var(--cizgi); padding: .6rem 0; display: grid; grid-template-columns: minmax(3rem, auto) minmax(0, 1fr); gap: .1rem .5rem; }
.madde .m-et { font-weight: 900; color: var(--yazi2); max-width: 7rem; overflow-wrap: anywhere; line-height: 1.3; }
.madde .m-isaret { font-size: 1.1rem; }
.madde .m-ogr { font-weight: 700; }
.madde .m-dogru { color: var(--yesil); font-weight: 800; }
.madde .m-acik { color: var(--yazi2); font-size: .9rem; }
.kutu-ipucu { background: #fff8e6; border: 1px solid #f3dfa4; border-radius: 16px; padding: .8rem .95rem; margin: .6rem 0; }
.kutu-kural { background: #f3f0ff; border: 1px solid #d9d2fb; border-radius: 16px; padding: .8rem .95rem; margin: .6rem 0; }
.kutu-cevap { background: var(--yesil-acik); border: 1px solid #b9e6d3; border-radius: 16px; padding: .8rem .95rem; margin: .6rem 0; }
.kutu-ipucu b, .kutu-kural b, .kutu-cevap b { display: block; margin-bottom: .2rem; }
/* MEB sınıf içi ölçme kılavuzu üçlüsü: güçlü yön · gelişim · sonraki adım (+ düzeltip yeniden gönder) */
.kutu-guclu, .kutu-gelisim, .kutu-adim { border-radius: 16px; padding: .75rem .95rem; margin: .55rem 0; color: #1f2937; }
.kutu-guclu { background: #e9f8ef; border: 1px solid #b9e6cb; }
.kutu-gelisim { background: #fff4e5; border: 1px solid #f6d4a3; }
.kutu-adim { background: #eef4ff; border: 1px solid #c6d8fb; }
.kutu-guclu b, .kutu-gelisim b, .kutu-adim > b { display: block; margin-bottom: .2rem; }
.kutu-adim .dugme { margin-top: .6rem; }
.metin { white-space: pre-wrap; }
.buyuk-foto { position: fixed; inset: 0; z-index: 130; background: #000; display: flex; align-items: center; justify-content: center; }
.buyuk-foto img { max-width: 100%; max-height: 100%; }
.yukleme-cubuk { height: 10px; background: #e7e9f4; border-radius: 999px; overflow: hidden; margin: .6rem 0; }
.yukleme-cubuk i { display: block; height: 100%; background: linear-gradient(90deg, var(--ana2), var(--ana)); width: 0; transition: width .2s; }
.kullanici { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .8rem; }
.kullanici b { font-family: 'Baloo 2', sans-serif; font-size: 1.35rem; line-height: 1.15; }
