/* Premium admin shell — shared across Caller Theme & Zip Lock */

:root {
  --adm-bg: #05080f;
  --adm-surface: rgba(15, 23, 42, 0.65);
  --adm-surface-2: rgba(30, 41, 59, 0.55);
  --adm-border: rgba(148, 163, 184, 0.1);
  --adm-border-strong: rgba(148, 163, 184, 0.18);
  --adm-text: #f1f5f9;
  --adm-muted: #94a3b8;
  --adm-faint: #64748b;
  --adm-radius: 16px;
  --adm-radius-sm: 12px;
  --adm-radius-lg: 22px;
  --adm-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --adm-shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.45);
  --adm-font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --adm-font-body: "Inter", system-ui, sans-serif;
}

.adm-accent-amber {
  --adm-accent: #f59e0b;
  --adm-accent-mid: #fbbf24;
  --adm-accent-dim: rgba(245, 158, 11, 0.14);
  --adm-accent-glow: rgba(251, 191, 36, 0.12);
  --adm-mesh-a: rgba(245, 158, 11, 0.09);
  --adm-mesh-b: rgba(251, 191, 36, 0.06);
  --adm-mesh-c: rgba(234, 179, 8, 0.05);
}

.adm-accent-violet {
  --adm-accent: #7c3aed;
  --adm-accent-mid: #a78bfa;
  --adm-accent-dim: rgba(124, 58, 237, 0.16);
  --adm-accent-glow: rgba(167, 139, 250, 0.12);
  --adm-mesh-a: rgba(124, 58, 237, 0.1);
  --adm-mesh-b: rgba(99, 102, 241, 0.07);
  --adm-mesh-c: rgba(167, 139, 250, 0.05);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.adm-body {
  font-family: var(--adm-font-body);
  font-size: 15px;
  line-height: 1.5;
  background: var(--adm-bg);
  color: var(--adm-text);
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

.adm-body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 100% 80% at 50% -30%, var(--adm-mesh-a), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 20%, var(--adm-mesh-b), transparent 50%),
    radial-gradient(ellipse 60% 45% at 0% 90%, var(--adm-mesh-c), transparent 45%);
  pointer-events: none;
}

.adm-body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.4;
}

.adm-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 0 28px;
  background: rgba(5, 8, 15, 0.72);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-bottom: 1px solid var(--adm-border);
}

.adm-topbar a {
  color: var(--adm-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}

.adm-topbar a:hover {
  color: var(--adm-text);
}

.adm-topbar .adm-crumb-current {
  font-family: var(--adm-font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.02em;
  color: var(--adm-accent-mid);
}

.adm-topbar-spacer {
  flex: 1;
}

.adm-btn-logout {
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 10px;
  border: 1px solid rgba(248, 113, 113, 0.22);
  background: rgba(248, 113, 113, 0.08);
  color: #fca5a5;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.adm-btn-logout:hover {
  background: rgba(248, 113, 113, 0.14);
  border-color: rgba(248, 113, 113, 0.35);
}

.adm-main {
  position: relative;
  z-index: 1;
  padding: 40px 24px 64px;
}

.adm-shell {
  max-width: 1120px;
  margin: 0 auto;
}

.adm-shell-narrow {
  max-width: 520px;
  margin: 0 auto;
}

.adm-eyebrow {
  font-family: var(--adm-font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--adm-accent-mid);
  opacity: 0.9;
  margin-bottom: 10px;
}

.adm-page-title {
  font-family: var(--adm-font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--adm-text);
  margin-bottom: 10px;
  line-height: 1.15;
}

.adm-page-sub {
  color: var(--adm-muted);
  font-size: 15px;
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.6;
}

.adm-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
}

.adm-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.adm-hub-card {
  display: block;
  padding: 26px 24px;
  border-radius: var(--adm-radius-lg);
  text-decoration: none;
  color: inherit;
  background: var(--adm-surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--adm-border);
  box-shadow: var(--adm-shadow);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.adm-hub-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--adm-accent), var(--adm-accent-mid));
  opacity: 0.85;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.adm-hub-card:hover {
  transform: translateY(-4px);
  border-color: var(--adm-border-strong);
  box-shadow: var(--adm-shadow-lg);
}

.adm-hub-card:hover::before {
  transform: scaleX(1);
}

.adm-hub-card h2 {
  font-family: var(--adm-font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--adm-accent-mid);
  margin-bottom: 10px;
}

.adm-hub-card p {
  font-size: 13px;
  color: var(--adm-muted);
  line-height: 1.55;
}

.adm-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--adm-radius-sm);
  font-family: var(--adm-font-display);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  color: #0f172a;
  background: linear-gradient(135deg, var(--adm-accent), var(--adm-accent-mid));
  box-shadow: 0 8px 28px var(--adm-accent-glow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.adm-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px var(--adm-accent-glow);
}

.adm-btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 11px 18px;
  border-radius: var(--adm-radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--adm-muted);
  border: 1px solid var(--adm-border-strong);
  background: transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.adm-btn-ghost:hover {
  color: var(--adm-text);
  border-color: var(--adm-muted);
  background: rgba(255, 255, 255, 0.03);
}

.adm-asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.adm-asset-card {
  border-radius: var(--adm-radius-lg);
  background: var(--adm-surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--adm-border);
  padding: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.adm-asset-card:hover {
  border-color: var(--adm-border-strong);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.adm-asset-card img {
  width: 100%;
  border-radius: var(--adm-radius-sm);
  display: block;
  background: rgba(0, 0, 0, 0.25);
}

.adm-asset-meta {
  font-size: 11px;
  color: var(--adm-muted);
  margin-top: 10px;
  line-height: 1.45;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.adm-type-tag {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--adm-faint);
}

.adm-card-media {
  border-radius: var(--adm-radius-sm);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
}

.adm-card-media img,
.adm-card-media video {
  width: 100%;
  display: block;
  vertical-align: middle;
}

.adm-asset-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.adm-asset-actions a,
.adm-asset-actions button {
  flex: 1;
  text-align: center;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.adm-btn-edit {
  background: var(--adm-accent-dim);
  color: var(--adm-accent-mid);
}

.adm-btn-edit:hover {
  background: rgba(255, 255, 255, 0.08);
}

.adm-btn-del {
  background: rgba(248, 113, 113, 0.1);
  color: #fca5a5;
}

.adm-btn-del:hover {
  background: rgba(248, 113, 113, 0.18);
}

.adm-empty {
  color: var(--adm-faint);
  font-size: 14px;
}

.adm-form-card {
  border-radius: var(--adm-radius-lg);
  background: var(--adm-surface);
  backdrop-filter: blur(16px);
  border: 1px solid var(--adm-border);
  padding: 32px 28px;
  box-shadow: var(--adm-shadow);
  color-scheme: dark;
}

.adm-form-card label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--adm-muted);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.adm-form-card input[type="text"],
.adm-form-card input[type="password"],
.adm-form-card select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--adm-radius-sm);
  border: 1px solid var(--adm-border-strong);
  background: rgba(5, 8, 15, 0.5);
  color: var(--adm-text);
  font-family: inherit;
  font-size: 14px;
  margin-bottom: 18px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* File upload: one bar — accent “Browse” + filename area */
.adm-form-card input[type="file"] {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin-bottom: 18px;
  border: 1px solid var(--adm-border-strong);
  border-radius: var(--adm-radius-sm);
  background: rgba(3, 7, 18, 0.85);
  color: var(--adm-muted);
  font-family: inherit;
  font-size: 12px;
  line-height: 1.45;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  overflow: hidden;
  min-height: 50px;
  box-sizing: border-box;
}

.adm-form-card input[type="file"]::file-selector-button,
.adm-form-card input[type="file"]::-webkit-file-upload-button {
  margin: 0;
  padding: 0 22px;
  min-height: 50px;
  border: none;
  border-right: 1px solid var(--adm-border-strong);
  border-radius: 0;
  background: linear-gradient(135deg, var(--adm-accent) 0%, var(--adm-accent-mid) 100%);
  color: #0c1222;
  font-family: var(--adm-font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    filter 0.2s,
    box-shadow 0.2s;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.adm-form-card input[type="file"]:hover::file-selector-button,
.adm-form-card input[type="file"]:hover::-webkit-file-upload-button {
  filter: brightness(1.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.adm-form-card input[type="file"]:active::file-selector-button,
.adm-form-card input[type="file"]:active::-webkit-file-upload-button {
  filter: brightness(0.96);
}

.adm-form-card input[type="file"]:focus-within {
  border-color: var(--adm-accent-mid);
  box-shadow: 0 0 0 3px var(--adm-accent-dim);
}

.adm-form-card select {
  cursor: pointer;
}

.adm-form-card input:focus,
.adm-form-card select:focus {
  border-color: var(--adm-accent-mid);
  box-shadow: 0 0 0 3px var(--adm-accent-dim);
}

.adm-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.adm-check input {
  width: auto;
  accent-color: var(--adm-accent);
}

.adm-check label {
  margin: 0;
  font-weight: 500;
  color: var(--adm-text);
}

.adm-btn-submit {
  width: 100%;
  padding: 15px;
  border-radius: var(--adm-radius-sm);
  border: none;
  font-family: var(--adm-font-display);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  color: #0f172a;
  background: linear-gradient(135deg, var(--adm-accent), var(--adm-accent-mid));
  box-shadow: 0 8px 28px var(--adm-accent-glow);
  transition: transform 0.2s;
}

.adm-btn-submit:hover {
  transform: translateY(-1px);
}

.adm-btn-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.adm-err {
  color: #fca5a5;
  font-size: 13px;
  margin-bottom: 16px;
}

.adm-hint {
  color: var(--adm-muted);
  font-size: 13px;
  margin-bottom: 16px;
  line-height: 1.5;
}

.adm-preview {
  max-width: 200px;
  border-radius: var(--adm-radius-sm);
  margin-bottom: 16px;
  border: 1px solid var(--adm-border);
}

.adm-catbox {
  border: 1px solid var(--adm-border-strong);
  border-radius: var(--adm-radius-sm);
  padding: 14px;
  margin-bottom: 18px;
  max-height: 200px;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.15);
}

.adm-catrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
}

.adm-catrow:last-child {
  margin-bottom: 0;
}

.adm-catrow input {
  width: auto;
  accent-color: var(--adm-accent);
}

.adm-row-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 22px;
  margin-bottom: 16px;
  border-radius: var(--adm-radius-lg);
  background: var(--adm-surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--adm-border);
  transition: border-color 0.2s;
}

.adm-row-card:hover {
  border-color: var(--adm-border-strong);
}

.adm-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 100;
  padding: 14px 20px;
  border-radius: var(--adm-radius-sm);
  font-size: 13px;
  font-weight: 500;
  animation: admToastIn 0.4s ease;
  box-shadow: var(--adm-shadow-lg);
  max-width: 400px;
}

.adm-toast-ok {
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.25);
  backdrop-filter: blur(12px);
}

.adm-toast-err {
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.25);
  backdrop-filter: blur(12px);
}

@keyframes admToastIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.adm-table-wrap {
  border-radius: var(--adm-radius-lg);
  border: 1px solid var(--adm-border);
  overflow: hidden;
  background: var(--adm-surface);
  backdrop-filter: blur(12px);
}

.adm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.adm-table th,
.adm-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--adm-border);
}

.adm-table th {
  font-family: var(--adm-font-display);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--adm-faint);
  background: rgba(0, 0, 0, 0.2);
}

.adm-table td {
  color: var(--adm-muted);
}

.adm-table code {
  font-size: 12px;
  color: var(--adm-accent-mid);
}

.adm-sep {
  color: var(--adm-faint);
  user-select: none;
}

.adm-template-preview {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.adm-pv {
  width: 72px;
  height: 118px;
  border-radius: var(--adm-radius-sm);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--adm-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--adm-faint);
  text-align: center;
  padding: 4px;
}

.adm-pv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.adm-pv img.obj-contain {
  object-fit: contain;
}

.adm-meta-block {
  flex: 1;
  min-width: 200px;
  font-size: 12px;
  color: var(--adm-muted);
}

.adm-meta-block .adm-slug {
  margin-top: 8px;
  color: var(--adm-accent-mid);
}

.adm-icon-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 18px 22px;
  margin-bottom: 14px;
  border-radius: var(--adm-radius-lg);
  background: var(--adm-surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--adm-border);
  transition: border-color 0.2s;
}

.adm-icon-row:hover {
  border-color: var(--adm-border-strong);
}

.adm-icon-pair {
  display: flex;
  gap: 14px;
  align-items: center;
}

.adm-icon-pair img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--adm-border);
}

.adm-form-hint {
  font-size: 12px;
  color: var(--adm-faint);
  margin: -10px 0 16px;
  line-height: 1.45;
}

.adm-featured-tag {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--adm-accent-mid);
}

/* Avatar / square thumb variants */
.adm-asset-card-round img {
  aspect-ratio: 1;
  border-radius: 50%;
  max-width: 128px;
  margin: 0 auto;
  object-fit: cover;
}

.adm-asset-card-tall .adm-card-media img {
  aspect-ratio: 9/16;
  object-fit: cover;
}

.adm-asset-card-landscape .adm-card-media img,
.adm-asset-card-landscape .adm-card-media video {
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Visual asset pickers (template forms) */
.adm-form-section-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--adm-muted);
  margin-bottom: 12px;
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.adm-form-section-label:first-of-type {
  margin-top: 0;
}

.adm-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.adm-picker-item {
  cursor: pointer;
  display: block;
  margin: 0;
}

.adm-picker-item input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.adm-picker-face {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--adm-border-strong);
  background: rgba(0, 0, 0, 0.4);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  aspect-ratio: 3/4;
}

.adm-picker-item:hover .adm-picker-face {
  border-color: var(--adm-muted);
}

.adm-picker-item input:focus-visible + .adm-picker-face {
  outline: 2px solid var(--adm-accent-mid);
  outline-offset: 2px;
}

.adm-picker-item input:checked + .adm-picker-face {
  border-color: var(--adm-accent-mid);
  box-shadow: 0 0 0 3px var(--adm-accent-dim);
}

.adm-picker-face img,
.adm-picker-face video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.adm-picker-face--none {
  aspect-ratio: 1;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--adm-faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.adm-picker-star {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
  font-size: 11px;
  line-height: 1;
  color: var(--adm-accent-mid);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.adm-picker-mask-tag {
  position: absolute;
  bottom: 6px;
  left: 6px;
  z-index: 2;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.55);
  color: #e2e8f0;
  pointer-events: none;
}

.adm-picker-overlay-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 8px 8px 6px;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #f8fafc;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  pointer-events: none;
}

.adm-picker-item-avatar .adm-picker-face {
  aspect-ratio: 1;
  border-radius: 50%;
}

.adm-picker-face-icons {
  aspect-ratio: 1;
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 10px;
  align-items: center;
}

.adm-picker-face-icons img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
}

/* —— Dashboard (home) —— */
.adm-body.adm-dashboard::before {
  background:
    radial-gradient(ellipse 90% 75% at 12% 8%, rgba(124, 58, 237, 0.14), transparent 52%),
    radial-gradient(ellipse 85% 70% at 88% 25%, rgba(245, 158, 11, 0.1), transparent 48%),
    radial-gradient(ellipse 70% 50% at 45% 95%, rgba(99, 102, 241, 0.08), transparent 42%);
}

.adm-dash-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.adm-dash-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px 56px;
  text-align: center;
}

.adm-dash-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 100px;
  font-family: var(--adm-font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c4b5fd;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.22);
  margin-bottom: 22px;
}

.adm-dash-title {
  font-family: var(--adm-font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--adm-text);
  margin-bottom: 12px;
  max-width: 640px;
  line-height: 1.1;
}

.adm-dash-tagline {
  color: var(--adm-muted);
  font-size: clamp(14px, 2vw, 16px);
  max-width: 420px;
  line-height: 1.65;
  margin-bottom: 44px;
}

.adm-dash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  width: 100%;
  max-width: 760px;
}

.adm-dash-card {
  text-align: left;
  padding: 32px 28px;
  border-radius: var(--adm-radius-lg);
  background: var(--adm-surface);
  backdrop-filter: blur(20px);
  border: 1px solid var(--adm-border);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.adm-dash-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--adm-shadow-lg);
}

.adm-dash-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--adm-radius-lg) var(--adm-radius-lg) 0 0;
}

.adm-dash-card.purple::before {
  background: linear-gradient(90deg, #a78bfa, #6366f1);
}

.adm-dash-card.amber::before {
  background: linear-gradient(90deg, #fbbf24, #d97706);
}

.adm-dash-card.purple:hover {
  border-color: rgba(167, 139, 250, 0.35);
}

.adm-dash-card.amber:hover {
  border-color: rgba(251, 191, 36, 0.35);
}

.adm-dash-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.35s ease;
}

.adm-dash-card:hover .adm-dash-icon {
  transform: scale(1.06) rotate(-3deg);
}

.adm-dash-card.purple .adm-dash-icon {
  background: rgba(124, 58, 237, 0.15);
  color: #c4b5fd;
  border: 1px solid rgba(167, 139, 250, 0.25);
}

.adm-dash-card.amber .adm-dash-icon {
  background: rgba(245, 158, 11, 0.12);
  color: #fcd34d;
  border: 1px solid rgba(251, 191, 36, 0.22);
}

.adm-dash-card h2 {
  font-family: var(--adm-font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  color: var(--adm-text);
}

.adm-dash-card p {
  font-size: 14px;
  color: var(--adm-muted);
  line-height: 1.6;
  margin-bottom: 26px;
}

.adm-dash-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.adm-btn-dash-violet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-family: var(--adm-font-display);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #5b21b6, #7c3aed);
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.35);
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.adm-btn-dash-violet:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(124, 58, 237, 0.4);
}

.adm-btn-dash-violet-outline {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: #c4b5fd;
  border: 1px solid rgba(167, 139, 250, 0.35);
  background: rgba(124, 58, 237, 0.06);
  transition: background 0.2s, border-color 0.2s;
}

.adm-btn-dash-violet-outline:hover {
  background: rgba(124, 58, 237, 0.12);
  border-color: rgba(167, 139, 250, 0.5);
}

.adm-btn-dash-amber {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-family: var(--adm-font-display);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  color: #1c1917;
  background: linear-gradient(135deg, #ea580c, #fbbf24);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.adm-btn-dash-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(245, 158, 11, 0.38);
}

.adm-btn-dash-amber-outline {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: #fcd34d;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(245, 158, 11, 0.06);
  transition: background 0.2s, border-color 0.2s;
}

.adm-btn-dash-amber-outline:hover {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(251, 191, 36, 0.5);
}

.adm-dash-footer {
  padding: 28px;
  text-align: center;
  font-size: 12px;
  color: var(--adm-faint);
  letter-spacing: 0.04em;
}

.adm-logo-mark {
  font-family: var(--adm-font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a5b4fc;
}

/* —— Login —— */
.adm-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  z-index: 1;
}

.adm-login-card {
  width: 100%;
  max-width: 420px;
  padding: 44px 40px;
  border-radius: var(--adm-radius-lg);
  background: var(--adm-surface);
  backdrop-filter: blur(24px);
  border: 1px solid var(--adm-border-strong);
  box-shadow: var(--adm-shadow-lg);
  animation: admCardIn 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes admCardIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.adm-login-brand {
  text-align: center;
  margin-bottom: 36px;
}

.adm-login-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--adm-accent-dim);
  border: 1px solid var(--adm-border-strong);
  color: var(--adm-accent-mid);
}

.adm-login-brand h1 {
  font-family: var(--adm-font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--adm-text);
  margin-bottom: 8px;
}

.adm-login-brand p {
  font-size: 14px;
  color: var(--adm-faint);
}

.adm-field {
  margin-bottom: 20px;
}

.adm-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--adm-muted);
  margin-bottom: 8px;
}

.adm-field input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--adm-border-strong);
  background: rgba(5, 8, 15, 0.55);
  color: var(--adm-text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.adm-field input:focus {
  border-color: var(--adm-accent-mid);
  box-shadow: 0 0 0 3px var(--adm-accent-dim);
}

.adm-field input::placeholder {
  color: var(--adm-faint);
}
