body { font-family: system-ui, -apple-system, Roboto, Arial; padding: 16px; max-width: 880px; margin: auto; background: radial-gradient(1200px 600px at 10% -10%, #e6f0ff 0%, rgba(230,240,255,0) 60%), radial-gradient(1000px 500px at 110% 10%, #ffe9f0 0%, rgba(255,233,240,0) 60%), linear-gradient(180deg, #f7f9fc, #f4f6fb); color: #1b1f2a; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.card { border: 1px solid rgba(17, 24, 39, 0.08); padding: 16px; border-radius: 14px; margin-bottom: 16px; background: rgba(255,255,255,0.72); box-shadow: 0 8px 24px rgba(17,24,39,0.06), inset 0 1px 0 rgba(255,255,255,0.5); backdrop-filter: saturate(140%) blur(6px); }
label { display:block; margin-top:10px; font-weight: 600; color:#111827; letter-spacing: 0.2px }
input, button, textarea { width:100%; padding:12px; margin-top:6px; box-sizing:border-box; border:1px solid rgba(17,24,39,0.12); border-radius:10px; background:#ffffff; color:#111827; transition: border-color .2s ease, box-shadow .2s ease, transform .05s ease; }
input:focus, textarea:focus { outline:none; border-color:#2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.15) }
input[type="password"] { letter-spacing: 0.2em }
button { cursor:pointer; background: linear-gradient(180deg, #2563eb, #1d4ed8); color:#fff; border: none; font-weight:700; letter-spacing:.2px; box-shadow: 0 6px 14px rgba(37,99,235,.25); }
button:hover { filter: brightness(1.05) }
button:active { transform: translateY(1px) }
button:disabled { opacity:0.65; cursor:not-allowed; filter: grayscale(20%) }
.row { display:flex; gap:10px }
.small { width: 160px }
pre { background:#0b1021; color:#e5e7eb; padding:12px; border-radius:10px; overflow:auto; max-height:280px; font-size:12px; border:1px solid rgba(255,255,255,0.08) }
.hint { color:#4b5563; font-size:0.95rem }
.disabled-section { opacity:0.5; pointer-events:none; }
.header { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 8px 0 18px; }
h2 { font-size: 1.8rem; line-height:1.2; letter-spacing:.2px; margin: 0; }
h3 { font-size: 1.2rem; margin: 0 0 12px; color:#0f172a }
hr { border: none; height:1px; background: linear-gradient(90deg, rgba(17,24,39,0), rgba(17,24,39,.15), rgba(17,24,39,0)); margin: 14px 0 }
@media (max-width: 640px) { body { padding: 12px; max-width: 100% } .row { flex-direction: column } }

/* Layout helpers for clearer separation of input vs backend output */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px }
.pane { border: 1px solid rgba(17,24,39,0.06); border-radius: 12px; padding: 12px; background: rgba(255,255,255,0.6) }
.pane h4 { margin: 0 0 8px; font-size: 1rem; color:#0f172a }

/* Badges / pills */
.pill { display:inline-block; padding: 4px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing:.2px; }
.pill.info { background: rgba(37,99,235,.12); color:#1e40af; }
.pill.success { background: rgba(16,185,129,.14); color:#065f46; }

/* Visual distinction for read-only backend fields */
input[readonly] { background: #f9fafb }
.muted { color:#6b7280 }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}

.btn-github {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  background: linear-gradient(180deg, #3a3a3a, #1c1c1c);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .2px;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
  transition: all .2s ease;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-github:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,.3);
}

.btn-github:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.warning-box {
  display: none; /* Hidden by default */
  padding: 12px;
  border-radius: 10px;
  background: #fffbe6;
  border: 1px solid #ffe58f;
  color: #8a6d00;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.5;
}