:root {
  color-scheme: dark;
  --bg: #050508;
  --bg-elevated: #0c0c14;
  --card: rgba(14, 14, 24, 0.72);
  --card-solid: #0e0e18;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(167, 139, 250, 0.35);
  --accent: #8b5cf6;
  --accent-bright: #a78bfa;
  --cyan: #22d3ee;
  --text: #f4f4f5;
  --muted: #71717a;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4), 0 0 0 1px var(--border);
  --shadow-glow: 0 0 60px rgba(139, 92, 246, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-name, .section-title, .hero-title, .catalog-card-title {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.page {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

.page-shop {
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(139, 92, 246, 0.18), transparent),
    var(--bg);
}

.stars {
  background-image:
    radial-gradient(1px 1px at 25% 35%, rgba(255, 255, 255, 0.12), transparent),
    radial-gradient(1px 1px at 75% 65%, rgba(255, 255, 255, 0.08), transparent);
  background-size: 100% 100%;
}

.gradient-overlay {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(139, 92, 246, 0.06) 0%, transparent 40%, var(--bg) 100%);
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 3rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container-shop {
  max-width: 1200px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-glass {
  position: sticky;
  top: 0.75rem;
  z-index: 50;
  padding: 0.75rem 1.25rem;
  margin-bottom: 0.5rem;
  border-radius: 999px;
  background: rgba(8, 8, 14, 0.65);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.4), rgba(34, 211, 238, 0.2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 0.95rem;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 700;
}

.badge {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.72rem;
  color: #a1a1aa;
  white-space: nowrap;
}

.badge-glass {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
}

.hero {
  margin-top: 4rem;
  display: grid;
  gap: 3rem;
  flex: 1;
  align-items: center;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1fr 1fr;
  }
}

.pill {
  display: inline-flex;
  border: 1px solid rgba(139, 92, 246, 0.3);
  background: rgba(139, 92, 246, 0.1);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  color: #ddd6fe;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  font-weight: 700;
}

h1 .highlight {
  display: block;
  background: linear-gradient(135deg, #c4b5fd, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 32rem;
}

.features {
  margin-top: 2rem;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #d4d4d8;
}

.features li span {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.card {
  border: 1px solid var(--border);
  background: rgba(18, 18, 31, 0.85);
  border-radius: 1.5rem;
  padding: 2rem;
  backdrop-filter: blur(8px);
}

.glow-ring {
  box-shadow:
    0 0 0 1px rgba(124, 58, 237, 0.3),
    0 0 40px rgba(124, 58, 237, 0.15);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1.5rem;
}

.card-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #71717a;
}

.card-title {
  margin-top: 0.25rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--accent-bright);
}

.info-box {
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 2rem;
}

.info-box p {
  font-size: 0.875rem;
  color: var(--muted);
}

.info-box .mono {
  margin-top: 0.5rem;
  font-family: Consolas, monospace;
  font-size: 0.875rem;
  color: #ddd6fe;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: none;
  border-radius: 0.75rem;
  background: var(--accent);
  color: white;
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  background: #9d6ff7;
  transform: translateY(-1px);
}

.btn-glow {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.35);
}

.btn-glow:hover {
  box-shadow: 0 6px 28px rgba(139, 92, 246, 0.5);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: transparent;
  color: #a1a1aa;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.btn-ghost:hover {
  color: #fff;
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.04);
}

.btn-secondary {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #ddd6fe;
}

.btn-secondary:hover {
  background: rgba(139, 92, 246, 0.18);
}

.note {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: #71717a;
}

.footer {
  margin-top: auto;
  padding-top: 3rem;
  text-align: center;
  font-size: 0.8rem;
  color: #52525b;
}

.center-card {
  max-width: 560px;
  margin: 4rem auto;
}

.success-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #34d399;
}

.error-text {
  color: #f87171;
}

.code-block {
  margin-top: 2rem;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.4);
  border-radius: 1rem;
  padding: 1.25rem;
}

.code-block pre {
  white-space: pre-wrap;
  font-family: Consolas, monospace;
  font-size: 0.875rem;
  color: #ddd6fe;
}

.code-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.5rem;
  list-style: none;
}

.code-list li {
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-family: Consolas, monospace;
  font-size: 0.875rem;
  color: #d4d4d8;
}

.link-back {
  display: inline-block;
  margin-top: 2rem;
  color: #71717a;
  text-decoration: none;
  font-size: 0.875rem;
}

.link-back:hover {
  color: #d4d4d8;
}

.copy-row {
  margin-top: 1rem;
}

.center-text {
  text-align: center;
}

/* ─── Shop homepage ─── */

.shop-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: rgba(139, 92, 246, 0.25);
  top: -120px;
  right: -80px;
}

.orb-2 {
  width: 320px;
  height: 320px;
  background: rgba(34, 211, 238, 0.12);
  bottom: 20%;
  left: -100px;
  animation-delay: -7s;
}

.orb-3 {
  width: 260px;
  height: 260px;
  background: rgba(167, 139, 250, 0.15);
  top: 45%;
  right: 15%;
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-shop {
  padding: 2rem 0 4rem;
}

.hero-shop-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-shop-inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    padding-top: 1rem;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #6ee7b7;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero-title {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-gradient {
  display: block;
  background: linear-gradient(135deg, #c4b5fd 0%, #8b5cf6 45%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  color: #a1a1aa;
  max-width: 34rem;
  line-height: 1.7;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.hero-pill {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  color: #d4d4d8;
}

.hero-panel-card {
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.hero-panel-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #71717a;
}

.hero-panel-stat {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  margin: 0.25rem 0;
  background: linear-gradient(135deg, #fff, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-panel-caption {
  color: #a1a1aa;
  font-size: 0.95rem;
}

.hero-panel-divider {
  height: 1px;
  background: var(--border);
  margin: 1.5rem 0;
}

.hero-panel-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.hero-panel-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #d4d4d8;
  font-size: 0.9rem;
}

.hero-panel-list li span {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  color: #8b5cf6;
  width: 1.5rem;
}

.catalog-section {
  padding: 1rem 0 4rem;
}

.catalog-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #8b5cf6;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-eyebrow-center,
.section-title-center {
  text-align: center;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
}

.catalog-head-note {
  color: #71717a;
  font-size: 0.9rem;
  max-width: 280px;
}

@media (min-width: 640px) {
  .catalog-head-note {
    text-align: right;
  }
}

.catalog-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.catalog-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  background: var(--card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s, box-shadow 0.25s;
}

.catalog-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card), 0 20px 40px rgba(0, 0, 0, 0.3);
}

.catalog-card-visual {
  position: relative;
  height: 100px;
  min-height: 100px;
  max-height: 100px;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  overflow: hidden;
}

.catalog-card-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.9;
}

.cat-mod .catalog-card-visual::before {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.35), rgba(139, 92, 246, 0.2));
}

.cat-eco .catalog-card-visual::before {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.35), rgba(34, 211, 238, 0.15));
}

.cat-util .catalog-card-visual::before {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.35), rgba(139, 92, 246, 0.2));
}

.cat-ticket .catalog-card-visual::before {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(139, 92, 246, 0.2));
}

.cat-fun .catalog-card-visual::before {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.35), rgba(139, 92, 246, 0.2));
}

.cat-default .catalog-card-visual::before {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.4), rgba(34, 211, 238, 0.1));
}

.catalog-card-num {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.1);
  line-height: 1;
  pointer-events: none;
}

.catalog-card-category {
  position: relative;
  z-index: 1;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.catalog-card-body {
  padding: 1.35rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
}

.catalog-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.catalog-card-desc {
  color: #71717a;
  font-size: 0.875rem;
  line-height: 1.55;
  flex: 1;
}

.catalog-card-footer {
  margin-top: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.catalog-card-price {
  margin-bottom: 0.85rem;
}

.price-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #52525b;
  margin-bottom: 0.15rem;
}

.price-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.catalog-card-actions {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0.5rem;
  align-items: stretch;
}

.catalog-card-actions form {
  margin: 0;
}

.catalog-card-actions .btn {
  height: 100%;
}

.catalog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  border-radius: var(--radius-xl);
  border: 1px dashed var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.catalog-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.catalog-empty h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.catalog-empty p {
  color: #71717a;
}

.steps-section {
  padding: 2rem 0 1rem;
}

.steps-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}

.step-card:hover {
  border-color: rgba(139, 92, 246, 0.25);
  background: rgba(139, 92, 246, 0.04);
}

.step-num {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(139, 92, 246, 0.1));
  border: 1px solid rgba(139, 92, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  color: #c4b5fd;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-card p {
  color: #71717a;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Legacy shop aliases */
.shop-hero { padding: 2rem 0; }
.product-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.product-card { border-radius: var(--radius-xl); border: 1px solid var(--border); background: var(--card); padding: 1.5rem; }
.product-title { font-family: var(--font-display); font-weight: 700; }
.product-short { color: #71717a; font-size: 0.875rem; }
.product-actions { display: grid; gap: 0.5rem; margin-top: 1rem; }
.product-actions form { margin: 0; }
.empty-shop { grid-column: 1 / -1; text-align: center; padding: 3rem; color: #71717a; }

.product-detail {
  margin-top: 2rem;
}

.product-detail-grid {
  margin-top: 2rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .product-detail-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.product-description {
  max-width: 40rem;
}

.product-buy-box {
  position: sticky;
  top: 1.5rem;
}

.product-detail-price {
  margin: 0.5rem 0 1.5rem;
}

.shop-info {
  margin-bottom: 2rem;
}

.info-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.steps {
  margin-left: 1.25rem;
  color: var(--muted);
  display: grid;
  gap: 0.5rem;
}

.empty-shop {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
  color: var(--muted);
}

/* Admin */
.admin-container {
  max-width: 1200px;
}

.admin-header .admin-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.admin-nav a {
  color: #c4b5fd;
  text-decoration: none;
  font-size: 0.875rem;
}

.admin-nav a:hover {
  color: #fff;
}

.admin-page {
  margin-top: 2rem;
}

.admin-page-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.admin-table-card {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.admin-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #71717a;
}

.mono-small {
  font-family: Consolas, monospace;
  font-size: 0.75rem;
  color: #71717a;
}

.admin-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.admin-actions form {
  margin: 0;
}

.btn-small {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  width: auto;
}

.btn-danger {
  background: #dc2626;
}

.btn-danger:hover {
  background: #ef4444;
}

.status {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
}

.status-active {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
}

.status-inactive {
  background: rgba(113, 113, 122, 0.2);
  color: #a1a1aa;
}

.empty-cell {
  text-align: center;
  color: var(--muted);
  padding: 2rem;
}

.admin-form-card,
.admin-login {
  max-width: 760px;
  margin: 2rem auto 0;
}

.admin-form {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.admin-form label {
  display: grid;
  gap: 0.5rem;
}

.admin-form label span {
  font-size: 0.875rem;
  color: #d4d4d8;
}

.admin-form input,
.admin-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font: inherit;
}

.admin-form textarea {
  resize: vertical;
  min-height: 120px;
}

.admin-form small {
  color: #71717a;
  font-size: 0.75rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 0.75rem;
}

.checkbox-label input {
  width: auto;
}

.form-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.form-actions .btn,
.form-actions .btn-secondary {
  width: auto;
  text-decoration: none;
}

.flash {
  margin-top: 1.5rem;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
}

.flash-success {
  background: rgba(16, 185, 129, 0.12);
  color: #6ee7b7;
}

.flash-error {
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
}
