/* PANZER - eski web stili: siyah, turuncu, beyaz. Animasyon, gradient ve gölge yok. */
* { box-sizing: border-box; border-radius: 0; }
html, body { margin: 0; padding: 0; }
body { background: #000; color: #fff; font: 13px/1.5 Verdana, Tahoma, Arial, sans-serif; }
a { color: #ff8c00; }
a:hover { color: #fff; }

/* Üst çubuk */
#top { position: fixed; top: 0; left: 0; right: 0; height: 46px; background: #000; border-bottom: 2px solid #ff8c00; display: flex; align-items: center; gap: 16px; padding: 0 12px; z-index: 10; }
.logo { font: bold 20px "Courier New", Courier, monospace; letter-spacing: 3px; color: #ff8c00; text-decoration: none; }
.logo:hover { color: #fff; }
#q { flex: 1; max-width: 420px; }
.user { position: relative; margin-left: auto; }
.user summary { cursor: pointer; color: #fff; border: 1px solid #555; padding: 4px 10px; list-style: none; }
.user summary::-webkit-details-marker { display: none; }
.user > div { position: absolute; right: 0; top: 30px; width: 170px; background: #000; border: 1px solid #ff8c00; padding: 6px 12px; }
.user p { margin: 4px 0; }

/* Yerleşim */
#side { position: fixed; top: 48px; bottom: 0; left: 0; width: 210px; overflow-y: auto; background: #0a0a0a; border-right: 1px solid #444; }
#side a { display: block; padding: 6px 12px; color: #fff; text-decoration: none; border-bottom: 1px dotted #333; }
#side a:hover { color: #ff8c00; }
#side a.on { background: #ff8c00; color: #000; font-weight: bold; }
#side hr { border: 0; border-top: 1px solid #ff8c00; margin: 0; }
main { margin: 48px 0 0 210px; padding: 18px 22px 40px; max-width: 1000px; }

/* Başlıklar ve metin */
h1 { margin: 0 0 8px; font-size: 20px; color: #ff8c00; border-bottom: 1px solid #ff8c00; padding-bottom: 4px; }
h2 { margin: 22px 0 6px; font-size: 14px; color: #ff8c00; text-transform: uppercase; }
p { margin: 6px 0; }
.muted { color: #aaa; }
.warn { border: 1px solid #ff8c00; padding: 8px 10px; margin: 10px 0; }

/* Tablolar ve listeler */
table { border-collapse: collapse; width: 100%; margin: 6px 0; }
th { text-align: left; color: #ff8c00; border-bottom: 1px solid #ff8c00; padding: 4px 8px; font-weight: normal; }
td { border-bottom: 1px solid #333; padding: 5px 8px; vertical-align: top; }
td.n { white-space: nowrap; }
.tag { font-size: 11px; border: 1px solid #ff8c00; color: #ff8c00; padding: 0 5px; }
.tag.soon { border-color: #777; color: #aaa; }
.tag.perm { border-color: #fff; color: #fff; }
.stat { margin: 8px 0; }
.stat b { color: #ff8c00; }

/* Form */
form { margin: 10px 0; }
.field { margin: 10px 0; }
label { display: block; margin-bottom: 3px; color: #fff; }
.chk label { display: inline; margin-left: 4px; }
input[type=text], input[type=search], input[type=password], input[type=number], textarea, select {
  width: 100%; max-width: 560px; background: #111; color: #fff; border: 1px solid #666; padding: 5px 7px; font: inherit;
}
input[type=file] { color: #fff; max-width: 100%; }
textarea { min-height: 110px; font-family: "Courier New", Courier, monospace; }
input:focus, textarea:focus, select:focus { outline: 1px solid #ff8c00; border-color: #ff8c00; }
details.adv { border: 1px solid #444; padding: 6px 10px; margin: 12px 0; max-width: 580px; }
details.adv summary { cursor: pointer; color: #ff8c00; }
button { background: #000; color: #ff8c00; border: 1px solid #ff8c00; padding: 4px 12px; font: inherit; cursor: pointer; margin-right: 6px; }
button:hover { background: #ff8c00; color: #000; }
button:disabled { color: #777; border-color: #555; background: #000; cursor: default; }
.btns { margin: 8px 0; }

/* Sonuç alanı */
#status { margin: 8px 0; color: #aaa; }
#status.err { color: #ff8c00; font-weight: bold; }
pre#out { background: #0a0a0a; border: 1px solid #444; color: #fff; padding: 10px; margin: 6px 0; max-height: 560px; overflow: auto; white-space: pre-wrap; word-break: break-word; font: 12px/1.45 "Courier New", Courier, monospace; min-height: 40px; }

/* Küçük ekranlar */
@media (max-width: 800px) {
  #top { position: static; height: auto; flex-wrap: wrap; padding: 8px 12px; }
  #q { max-width: none; flex: 1 1 100%; order: 3; }
  #side { position: static; width: auto; border-right: 0; border-bottom: 1px solid #444; display: flex; flex-wrap: wrap; }
  #side a { border: 1px solid #333; margin: 2px; padding: 4px 8px; }
  #side hr { display: none; }
  main { margin: 0; padding: 14px 12px 30px; }
  .user > div { right: auto; left: 0; }
}