:root {
  --bg: #eef6ff;
  --surface: #f9fcff;
  --text: #13273b;
  --muted: #47627c;
  --line: #c7dced;
  --accent: #2f79b8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Sora", "Avenir Next", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 0% 0%, #f8fcff 0%, var(--bg) 60%);
}

.admin-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.admin-login,
.admin-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1rem;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  margin: 0;
}

h1 {
  font-size: 2.2rem;
  margin-top: 0.2rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  margin-top: 1rem;
  font-size: 1.45rem;
}

.eyebrow,
.helper,
.small,
label {
  color: var(--muted);
}

label {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.86rem;
}

input,
textarea,
button {
  font: inherit;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 0.6rem;
  margin-top: 0.3rem;
}

select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 0.6rem;
  margin-top: 0.3rem;
}

textarea {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.82rem;
  line-height: 1.45;
}

button {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(120deg, #245f93, #3d8acb);
  color: #fff;
  padding: 0.62rem 0.95rem;
  margin-top: 0.75rem;
  cursor: pointer;
}

button.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.panel-head,
.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.actions {
  margin-top: 1rem;
}

.hidden {
  display: none;
}

@media (max-width: 640px) {
  .panel-head,
  .actions {
    flex-direction: column;
    align-items: stretch;
  }
}
