/* Masaüstü programdaki PAGE stiliyle aynı renkler */
* { box-sizing: border-box; }
body { margin: 0; font: 14px/1.45 "Segoe UI", system-ui, -apple-system, sans-serif; background: #f3f6fa; color: #1e293b; }
.ust { background: #ffffff; border-bottom: 1px solid #cbd5e1; padding: 10px 18px; }
.logo { font-weight: 700; font-size: 17px; }
.logo span { color: #64748b; font-weight: 400; }
.govde { display: flex; min-height: calc(100vh - 46px); }
.menu { width: 200px; flex: none; background: #ffffff; border-right: 1px solid #cbd5e1; padding: 12px 0; }
.menu-baslik { padding: 4px 16px; font-size: 12px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: .04em; }
.menu a { display: block; padding: 7px 16px 7px 24px; color: #1e293b; text-decoration: none; }
.menu a:hover { background: #e0ecff; }
.menu a.aktif { background: #e8eef6; font-weight: 600; border-left: 3px solid #2563eb; padding-left: 21px; }
.icerik { flex: 1; min-width: 0; padding: 16px 20px; }
h1 { font-size: 20px; margin: 0 0 12px; }
h2 { font-size: 15px; margin: 0 0 10px; }
.kart { background: #ffffff; border: 1px solid #cbd5e1; border-radius: 6px; padding: 14px; margin-bottom: 14px; }
label { display: flex; flex-direction: column; gap: 3px; font-weight: 600; color: #334155; font-size: 13px; }
input, select { font: inherit; background: #fff; border: 1px solid #cbd5e1; border-radius: 4px; padding: 5px 7px; min-height: 30px; }
input.sag { text-align: right; }
button, .ikincil { font: inherit; padding: 6px 14px; border-radius: 4px; cursor: pointer; text-decoration: none; display: inline-block; }
button { background: #2563eb; border: 1px solid #1d4ed8; color: #fff; font-weight: 600; }
button:hover { background: #1d4ed8; }
.ikincil { background: #fff; border: 1px solid #94a3b8; color: #1e293b; }
.ikincil:hover { background: #e0ecff; }
.yukle { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; align-items: end; }
.yukle input, .yukle select { min-width: 0; width: 100%; }
.dosya-sec { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; grid-column: span 2; }
.dosya-sec .etiket { width: 100%; font-weight: 600; color: #334155; font-size: 13px; }
.kamera, .ikincil-dosya { display: inline-flex; flex-direction: row; align-items: center; min-height: 38px; padding: 6px 14px; border-radius: 4px; cursor: pointer; font-weight: 600; }
.kamera { background: #16a34a; border: 1px solid #15803d; color: #fff; }
.ikincil-dosya { background: #fff; border: 1px solid #94a3b8; color: #1e293b; }
.secilen { font-size: 13px; color: #475569; width: 100%; }
button:disabled { opacity: .7; cursor: wait; }
.alanlar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
.not { color: #64748b; font-size: 12px; margin: 8px 0 0; }
.tablo { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #cbd5e1; }
.tablo th { background: #e8eef6; text-align: left; padding: 5px 7px; font-weight: 600; border-right: 1px solid #cbd5e1; border-bottom: 1px solid #cbd5e1; white-space: nowrap; }
.tablo td { padding: 5px 7px; border-bottom: 1px solid #e2e8f0; vertical-align: top; }
.tablo tbody tr:nth-child(even) td { background: #f8fafc; }
.tablo td input, .tablo td select { width: 100%; }
.sag { text-align: right; }
.bos { text-align: center; color: #64748b; }
.kaydir { overflow-x: auto; }
.rozet { display: inline-block; background: #eef2f7; border: 1px solid #dce4ee; border-radius: 3px; padding: 0 5px; margin: 1px 3px 1px 0; font-size: 12px; white-space: nowrap; }
.baslik-satir { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.baslik-satir h2 { margin: 0; }
.bilgi, .hata { padding: 8px 12px; border-radius: 4px; margin-bottom: 12px; }
.bilgi { background: #e0f2fe; border: 1px solid #7dd3fc; }
.hata { background: #fee2e2; border: 1px solid #fca5a5; }
.butonlar { margin-top: 12px; }
.iki { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.onizleme img { max-width: 100%; display: block; }
.onizleme iframe { width: 100%; height: 80vh; border: 0; }
details { margin-top: 12px; }
pre { white-space: pre-wrap; background: #f8fafc; border: 1px solid #e2e8f0; padding: 8px; font-size: 12px; max-height: 320px; overflow: auto; }
@media (max-width: 800px) {
  .govde { flex-direction: column; }
  .menu { width: auto; border-right: 0; border-bottom: 1px solid #cbd5e1; padding: 6px 0; }
  .icerik { padding: 12px 16px; }
  .yukle, .alanlar, .iki { grid-template-columns: 1fr; }
  .dosya-sec { grid-column: auto; }
  .baslik-satir { flex-wrap: wrap; }
  .baslik-satir form, .baslik-satir select { width: 100%; }
  .kamera, .ikincil-dosya, .yukle button { flex: 1 1 100%; justify-content: center; min-height: 46px; font-size: 16px; }
  input, select { min-height: 42px; font-size: 16px; }
}
