/* Admin — same branding, form-focused */
:root {
  --bg0: #061526;
  --bg1: #071b33;
  --ice0: #bfe9ff;
  --ice1: #79d7ff;
  --ice2: #3fb7ff;
  --ink: #eaf6ff;
  --muted: #a8c7da;
  --accent: #F95131;
  --card: #0b223b99;
  --radius: 16px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Hind Siliguri", system-ui, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg0), var(--bg1));
  min-height: 100vh;
  padding: 24px;
}

.admin-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.admin-header h1 { margin: 0; font-size: 1.5rem; }
.admin-header a {
  color: var(--ice1);
  text-decoration: none;
  font-weight: 600;
}
.admin-card {
  border-radius: var(--radius);
  border: 1px solid rgba(127,215,255,.2);
  background: rgba(11,34,59,.5);
  padding: 24px;
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--muted);
}
input[type="text"],
input[type="password"],
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(127,215,255,.25);
  background: rgba(6,21,38,.6);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  margin-bottom: 16px;
}
textarea { min-height: 200px; resize: vertical; }
input:focus, textarea:focus {
  outline: none;
  border-color: var(--ice2);
  box-shadow: 0 0 0 3px rgba(63,183,255,.2);
}

.btn {
  border: 0;
  cursor: pointer;
  padding: 12px 20px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: opacity .2s, box-shadow .2s;
}
.btn-primary {
  background: linear-gradient(135deg, rgba(191,233,255,.95), rgba(121,215,255,.85));
  color: #081b2f;
  box-shadow: 0 8px 24px rgba(63,183,255,.2);
}
.btn-primary:hover { box-shadow: 0 10px 30px rgba(63,183,255,.3); }
.btn-ghost {
  background: rgba(6,21,38,.4);
  color: var(--ink);
  border: 1px solid rgba(127,215,255,.25);
}
.btn-ghost:hover { background: rgba(6,21,38,.6); }
.btn-danger { background: rgba(249,81,49,.25); color: var(--ink); border: 1px solid rgba(249,81,49,.4); }
.btn-sm { padding: 8px 12px; font-size: 13px; }
.muted { color: var(--muted); font-size: 13px; }
.msg {
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 16px;
}
.msg.err { background: rgba(249,81,49,.2); border: 1px solid rgba(249,81,49,.4); color: var(--ink); }
.msg.ok { background: rgba(121,215,255,.15); border: 1px solid rgba(127,215,255,.3); }

.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(127,215,255,.12);
  gap: 12px;
  flex-wrap: wrap;
}
.post-list li:last-child { border-bottom: 0; }
.post-list a { color: var(--ice1); text-decoration: none; font-weight: 600; }
.post-list .actions { display: flex; gap: 8px; }
