/* Minimal, clean styles */
:root{
  --bg:#f5f7fa;
  --card:#ffffff;
  --text:#1f2937;
  --muted:#6b7280;
  --border:#d1d5db;
  --success:#10b981;
  --danger:#ef4444;
  --radius:18px;
  --shadow:0 10px 20px rgba(0,0,0,.06);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font:15px/1.5 system-ui, -apple-system, Segoe UI, Roboto, Arial;}
.container{max-width:980px;margin:40px auto;padding:0 16px}
.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:18px}

.switches h2{margin:0 0 12px 0;font-size:18px}
.switch-row{display:flex;align-items:center;gap:10px;margin:10px 0}
.switch-row input{display:none}
.switch{width:46px;height:26px;border-radius:26px;background:#d1d5db;position:relative;flex:0 0 auto}
.switch::after{content:'';position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:999px;background:#fff;transition:all .2s}
.switch-row input:checked + .switch{background:#34d399}
.switch-row input:checked + .switch::after{left:23px}
.switch-row .label{color:#059669}

.grid-2{display:grid;grid-template-columns:1fr;gap:24px;margin-top:24px}
@media(min-width:860px){.grid-2{grid-template-columns:1fr 1fr}}

.input-card .title{margin:0 0 10px 0;text-align:center}
.title.success{color:var(--success)}
.title.danger{color:var(--danger)}

.stack{display:flex;flex-direction:column;gap:10px}
.row-between{display:flex;justify-content:space-between;align-items:center}

textarea{width:100%;padding:12px;border:1px solid var(--border);border-radius:14px;resize:vertical;min-height:110px}
.btn{border:0;padding:10px 14px;border-radius:12px;color:#fff;font-weight:600;cursor:pointer}
.btn.success{background:var(--success)}
.btn.danger{background:var(--danger)}
.btn:disabled{opacity:.6;cursor:not-allowed}

.list-card h4{margin:0 0 10px 0}
.messages{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;max-height:420px;overflow:auto}
.message{border:1px solid var(--border);border-radius:12px;padding:10px;background:#fff}
.meta{font-size:12px;color:var(--muted)}

.status{margin-top:6px;font-size:13px;color:var(--muted)}
.col{display:flex;flex-direction:column;gap:18px}
