/* Simple PrivateBin-like styling, responsive */
:root{
  --bg:#f6f7f9;
  --panel:#fff;
  --accent:#1f6feb;
  --muted:#6b7280;
  --radius:10px;
  --max-width:900px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  font-family: Inter, "Segoe UI", Roboto, system-ui, -apple-system, "Helvetica Neue", Arial;
  background:var(--bg);
  margin:0;
  color:#111827;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  padding:20px;
  display:flex;
  justify-content:center;
  align-items:flex-start;
  min-height:100vh;
}

.app{
  width:100%;
  max-width:var(--max-width);
}

.topbar{
  display:flex;
  align-items:flex-start;
  margin-bottom:14px;
}

.brand h1{
  margin:0;
  font-size:20px;
  letter-spacing:-0.3px;
}

.subtitle{
  margin:6px 0 0 0;
  color:var(--muted);
  font-size:13px;
}

.panel{
  background:var(--panel);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:0 6px 24px rgba(15,23,42,0.06);
  margin-bottom:16px;
}

.label{
  display:block;
  margin-bottom:8px;
  font-weight:600;
  color:#0f172a;
  font-size:13px;
}

/* Paste area */
.paste-input{
  width:100%;
  min-height:180px;
  resize:vertical;
  padding:14px;
  font-size:14px;
  border-radius:8px;
  border:1px solid #e6e9ee;
  background:#fff;
  color:#0f172a;
  line-height:1.45;
  margin-bottom:12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono", "Courier New", monospace;
}

/* Controls */
.controls{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}

.left-controls{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

.right-controls{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

input[type="number"], input[type="password"]{
  padding:9px 10px;
  border-radius:8px;
  border:1px solid #e6e9ee;
  font-size:13px;
  min-width:170px;
}

.one-time{ font-size:13px; color:var(--muted); display:flex; gap:8px; align-items:center; }

.btn{
  padding:10px 14px;
  border-radius:8px;
  border:1px solid transparent;
  cursor:pointer;
  font-weight:600;
  font-size:14px;
  background:transparent;
}

.btn.primary{
  background:var(--accent);
  color:#fff;
  box-shadow:0 6px 18px rgba(31,111,235,0.12);
}

/* Paste link */
.paste-link{
  margin-top:12px;
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
}

.paste-link input{
  padding:9px;
  border-radius:8px;
  border:1px solid #e6e9ee;
  width:72%;
  min-width:260px;
  font-size:13px;
}

.paste-link button{
  padding:9px 12px;
  border-radius:8px;
  background:#111827;
  color:#fff;
  border:none;
  cursor:pointer;
}

/* Output area */
.output-panel .paste-output{
  white-space:pre-wrap;
  background:#0f172a;
  color:#e6edf3;
  padding:14px;
  border-radius:8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono", monospace;
  max-height:420px;
  overflow:auto;
  margin-top:8px;
}

/* Footer */
.footer{
  margin-top:8px;
  color:var(--muted);
  font-size:12px;
  text-align:center;
}

/* Responsive */
@media (max-width:720px){
  .paste-link input{ width:100%; }
  .controls{ flex-direction:column; align-items:stretch; }
  .right-controls{ width:100%; justify-content:space-between; }
  input[type="number"], input[type="password"]{ width:100%; }
}
