/* Torz Convert — styl w klimacie TorzCloud (GeoCities/indieweb) */

html{background:#05051a url("bg_tile.gif") repeat}
body{
  margin:0; padding:16px 10px 0;
  font-family:"Courier New",Courier,monospace;
  font-size:14px; color:#dfe9ff;
  background:transparent;
}
*{box-sizing:border-box}
a,a:link{color:#66ffff; text-decoration:none}
a:visited{color:#ff99ff}
a:hover,a:focus{color:#ffdd33; text-decoration:underline}

.container{width:auto; max-width:760px; margin:0 auto; padding:0}
.container.torz{
  background:#06115c;
  border:2px ridge #4455aa;
  box-shadow:inset 0 0 0 1px #000033, 0 0 18px rgba(0,255,204,.08);
  padding:22px 22px 26px;
  margin:10px auto 14px;
}
.torz-title{
  margin:0 0 6px; text-align:center;
  font-family:"Courier New",monospace;
  font-size:clamp(20px,4.6vw,28px);
  font-weight:bold; letter-spacing:1px;
  color:#ffff66;
  text-shadow:2px 2px 0 #ff0066, 4px 4px 0 #000;
}
.tagline{margin:0 0 14px; text-align:center; color:#a8c8ef; font-size:12.5px; letter-spacing:.2px}
hr.torz-hr{
  height:8px; border:0; margin:0 0 18px;
  background:url("rainbow.gif") repeat-x center / auto 8px;
  image-rendering:pixelated; opacity:.85;
}
.hidden{display:none !important}

/* dropzone */
.dropzone{
  border:2px dashed #00ffcc;
  background:rgba(0,255,204,.05);
  padding:26px 18px; text-align:center; cursor:pointer;
  transition:background .12s, border-color .12s;
}
.dropzone:hover,.dropzone:focus,.dropzone.dragover{
  background:rgba(0,255,204,.14); border-color:#ffdd33; outline:none;
}
.dz-plus{color:#00ffcc; font-size:34px; font-weight:bold; line-height:1; text-shadow:0 0 12px rgba(0,255,204,.55)}
.dz-text{margin-top:8px; color:#cfe6ff}
.dz-text .link{color:#00ffcc; text-decoration:underline}
.dz-hint{margin-top:6px; color:#7c90bd; font-size:12px}

/* panel */
.panel-slim{margin-top:16px; border:1px solid #2b3f8f; background:#000833; padding:14px}
.file-line{display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin-bottom:10px}
.fname{color:#eaf6ff; word-break:break-all}
.fsize{color:#8fa6d6; font-size:12px}
.row{display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin-bottom:12px}
label{color:#9fb4e0}
select{
  background:#000; color:#eaf6ff;
  border:2px solid #2b3f8f; border-radius:0;
  font-family:"Courier New",monospace; font-size:13px;
  padding:6px 8px; min-width:110px;
}
select:focus{border-color:#00ffcc; outline:none}

/* przyciski */
.btn{
  font-family:"Courier New",monospace; font-weight:bold; letter-spacing:.6px;
  border:2px solid #00ffcc; background:#000; color:#00ffcc;
  padding:8px 16px; cursor:pointer; border-radius:0;
}
.btn:hover,.btn:focus{background:#00ffcc; color:#001100; outline:none}
.btn-primary{background:#00ffcc; color:#001100}
.btn-primary:hover,.btn-primary:focus{background:#ffdd33; border-color:#ffdd33; color:#000}
.btn-small{padding:3px 9px; font-size:12px; border-color:#2b3f8f; color:#9fb4e0}
.btn-small:hover{background:#2b3f8f; color:#eaf6ff}
.btn[disabled]{opacity:.45; cursor:default}

/* progress */
.progress{height:14px; background:#000; border:1px solid #2b3f8f; margin-top:12px}
.progress-bar{height:100%; width:0; background:#00ffcc; transition:width .25s}

.msg{margin:10px 0 0; color:#a8c8ef; min-height:18px}
.msg.err{color:#ff8fb0}
.result{margin:12px 0 0; font-size:15px}
.result a{color:#ffff66; text-decoration:underline}
.fine{margin:18px 0 0; color:#6677aa; font-size:11.5px; text-align:center; line-height:1.5}

footer.torz-footer{
  max-width:760px; margin:0 auto 24px; padding:0 4px;
  font-size:12px; color:#8899cc; letter-spacing:.4px;
}
footer.torz-footer .sep{margin:0 8px; color:#4455aa}

@media (max-width:600px){
  body{padding:10px 6px 0; overflow-x:hidden}
  .container.torz{padding:16px 12px 20px}
  .tagline{font-size:11.5px}
  .row{gap:8px}
  select{min-width:0; flex:1}
}
