:root {
  --bg-1: #f3f7f1;
  --bg-2: #d8efe3;
  --ink: #15231a;
  --brand: #0d8a5c;
  --brand-2: #f17932;
  --muted: #4b6254;
  --card: #ffffff;
  --danger: #c93434;
  --ok: #0d8a5c;
  --pending: #b66c00;
  --radius: 16px;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --surface-soft: #f7fbf8;
  --border: #dde8df;
  --shadow-lg: 0 20px 40px rgba(33, 65, 46, 0.09);
  --shadow-md: 0 8px 20px rgba(13, 138, 92, 0.2);
}

:root[data-theme="dark"] {
  --bg-1: #05090b;
  --bg-2: #0d1413;
  --ink: #edf4f0;
  --brand: #50e2a6;
  --brand-2: #f0b06c;
  --muted: #93a79f;
  --card: #101916;
  --danger: #ff7c7c;
  --ok: #56d791;
  --pending: #f0c86b;
  --surface: rgba(10, 17, 16, 0.82);
  --surface-strong: #101915;
  --surface-soft: #15211d;
  --border: #21302b;
  --shadow-lg: 0 28px 72px rgba(0, 0, 0, 0.42);
  --shadow-md: 0 12px 26px rgba(0, 0, 0, 0.26);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 10%, rgba(32, 201, 135, 0.14) 0, transparent 26%),
    radial-gradient(circle at 84% 0%, rgba(241, 121, 50, 0.12) 0, transparent 28%),
    radial-gradient(circle at 20% -10%, #ffffff 0%, var(--bg-1) 45%, var(--bg-2) 100%);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  min-height: 100vh;
}

.container {
  width: min(1360px, 94%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  gap: 12px;
  align-items: center;
}

.link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.link {
  color: var(--ink);
  padding: 10px 14px;
}

.button {
  background: linear-gradient(120deg, var(--brand), #00a96f);
  color: #ffffff;
  border: 0;
  padding: 12px 18px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.button.alt {
  background: linear-gradient(120deg, var(--brand-2), #f0a438);
  box-shadow: 0 8px 20px rgba(241, 121, 50, 0.22);
}

.button.ghost {
  background: var(--surface-soft);
  color: var(--ink);
  border: 1px solid var(--border);
  box-shadow: none;
}

.button:hover,
.link:hover {
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding: 64px 0 40px;
}

.hero h1 {
  font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1.05;
  margin: 0 0 16px;
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero-card {
  background: var(--surface-strong);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 22px;
  box-shadow: var(--shadow-lg);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.overview-panel {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 4px);
  background: var(--surface-soft);
}

.panel-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.overview-controls {
  margin-top: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.metric {
  background: linear-gradient(180deg, var(--surface-strong), var(--surface-soft));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 8px;
  align-content: center;
  min-height: 96px;
}

.metric strong {
  display: block;
  font-size: 1.4rem;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 700;
}

.metric-value {
  line-height: 1;
  font-family: "Bricolage Grotesque", "Space Grotesk", sans-serif;
}

.section {
  padding: 40px 0 60px;
}

.widget-demo-page {
  padding-top: 28px;
}

.widget-demo-hero {
  background:
    radial-gradient(circle at 90% 4%, rgba(87, 211, 151, 0.16), transparent 36%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(245, 251, 247, 0.96));
}

.widget-demo-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.widget-demo-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(15, 115, 77, 0.24);
  background: rgba(13, 138, 92, 0.1);
  font-size: 0.8rem;
  font-weight: 700;
  color: #1b5f43;
}

.widget-demo-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.widget-demo-panel {
  border-radius: 14px;
}

.widget-demo-checklist {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.widget-demo-checklist li {
  line-height: 1.4;
}

@media (max-width: 920px) {
  .widget-demo-grid {
    grid-template-columns: 1fr;
  }
}

.grid-2 {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}

.grid-3 {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-lg);
}

.login-card {
  width: min(520px, 100%);
  margin: 0 auto;
}

.site-banner {
  margin-bottom: 18px;
  background:
    radial-gradient(circle at 92% 20%, rgba(13, 138, 92, 0.14), transparent 38%),
    var(--surface-strong);
}

.ranking-card {
  background:
    radial-gradient(circle at 88% 8%, rgba(241, 121, 50, 0.08), transparent 34%),
    var(--surface-strong);
}

.ranking-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.ranking-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  background: var(--surface-soft);
}

.ranking-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  vertical-align: middle;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.rank-badge::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: skewX(-20deg);
  animation: rank-badge-shine 2.6s ease-in-out infinite;
  pointer-events: none;
}

.rank-badge-icon {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  display: block;
  opacity: 0.95;
  animation: rank-badge-icon-pulse 1.8s ease-in-out infinite;
}

.rank-badge.medal-gold {
  animation: rank-badge-glow-gold 1.8s ease-in-out infinite;
}

.rank-badge.medal-silver {
  animation: rank-badge-glow-silver 1.8s ease-in-out infinite;
}

.rank-badge.medal-bronze {
  animation: rank-badge-glow-bronze 1.8s ease-in-out infinite;
}

@keyframes rank-badge-shine {
  0% { left: -60%; }
  55% { left: 130%; }
  100% { left: 130%; }
}

@keyframes rank-badge-icon-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

@keyframes rank-badge-glow-gold {
  0%, 100% { box-shadow: 0 0 0 rgba(240, 207, 124, 0); }
  50% { box-shadow: 0 0 9px rgba(240, 207, 124, 0.65); }
}

@keyframes rank-badge-glow-silver {
  0%, 100% { box-shadow: 0 0 0 rgba(207, 216, 223, 0); }
  50% { box-shadow: 0 0 9px rgba(207, 216, 223, 0.65); }
}

@keyframes rank-badge-glow-bronze {
  0%, 100% { box-shadow: 0 0 0 rgba(222, 179, 148, 0); }
  50% { box-shadow: 0 0 9px rgba(222, 179, 148, 0.65); }
}

.rank-badge.medal-gold .rank-badge-icon {
  filter: drop-shadow(0 0 2px rgba(243, 193, 79, 0.35));
}

.rank-badge.medal-silver .rank-badge-icon {
  filter: drop-shadow(0 0 2px rgba(158, 176, 194, 0.35));
}

.rank-badge.medal-bronze .rank-badge-icon {
  filter: drop-shadow(0 0 2px rgba(186, 127, 86, 0.35));
}

.ranking-item-top {
  position: relative;
  isolation: isolate;
}

.ranking-item-gold {
  background: linear-gradient(120deg, #fff7df, #ffe49b, #fff7df);
  background-size: 240% 240%;
  border-color: #f0cf7c;
  animation: ranking-item-shimmer 3.4s ease-in-out infinite;
}

.ranking-item-silver {
  background: linear-gradient(120deg, #f4f7f9, #e2e8ee, #f4f7f9);
  background-size: 240% 240%;
  border-color: #cfd8df;
  animation: ranking-item-shimmer 3.4s ease-in-out infinite;
}

.ranking-item-bronze {
  background: linear-gradient(120deg, #fbe9da, #f2cfab, #fbe9da);
  background-size: 240% 240%;
  border-color: #deb394;
  animation: ranking-item-shimmer 3.4s ease-in-out infinite;
}

@keyframes ranking-item-shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.ranking-item-gold::after,
.ranking-item-silver::after,
.ranking-item-bronze::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  pointer-events: none;
}

.ranking-item-gold::after { box-shadow: inset 0 0 0 1px rgba(240, 207, 124, 0.55); animation: rank-badge-glow-gold 2.4s ease-in-out infinite; }
.ranking-item-silver::after { box-shadow: inset 0 0 0 1px rgba(207, 216, 223, 0.55); animation: rank-badge-glow-silver 2.4s ease-in-out infinite; }
.ranking-item-bronze::after { box-shadow: inset 0 0 0 1px rgba(222, 179, 148, 0.55); animation: rank-badge-glow-bronze 2.4s ease-in-out infinite; }

.ranking-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.ranking-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 35%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  transform: skewX(-20deg);
  animation: ranking-card-shine 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes ranking-card-shine {
  0% { left: -60%; }
  45% { left: 130%; }
  100% { left: 130%; }
}

@media (prefers-reduced-motion: reduce) {
  .rank-badge::after,
  .rank-badge-icon,
  .rank-badge.medal-gold,
  .rank-badge.medal-silver,
  .rank-badge.medal-bronze,
  .ranking-item-gold,
  .ranking-item-silver,
  .ranking-item-bronze,
  .ranking-item-gold::after,
  .ranking-item-silver::after,
  .ranking-item-bronze::after,
  .ranking-card::before {
    animation: none;
  }
}

.medal-gold {
  color: #7a5200;
  background: #fff2cc;
  border-color: #f0cf7c;
}

.medal-silver {
  color: #55606a;
  background: #eef2f5;
  border-color: #cfd8df;
}

.medal-bronze {
  color: #73411f;
  background: #f8e2d2;
  border-color: #deb394;
}

.ranking-msg {
  margin-top: 6px;
  font-size: 0.86rem;
  color: var(--muted);
}

.ranking-empty {
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 12px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.92rem;
}

.verse-box {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-soft);
  padding: 14px;
}

.verse-text {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
}

.verse-ref {
  font-size: 0.86rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.celebration-overlay {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  width: 10px;
  height: 16px;
  border-radius: 3px;
  opacity: 0.9;
  animation: confetti-fall 1700ms linear forwards;
}

.rocket {
  position: absolute;
  bottom: -50px;
  font-size: 28px;
  animation: rocket-up 1200ms ease-out forwards;
}

.rocket-fx {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 1000001;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(-20px) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(110vh) rotate(540deg);
    opacity: 0;
  }
}

.floating-thankyou-box {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: min(360px, calc(100vw - 24px));
  z-index: 1000000;
  background: linear-gradient(135deg, #103b2b, #165d42);
  color: #f4fff9;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  padding: 14px 14px 12px;
  box-shadow: 0 24px 42px rgba(4, 33, 23, 0.35);
  animation: floating-enter 260ms ease-out;
}

.floating-thankyou-box.hidden {
  display: none;
}

.floating-thankyou-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.floating-thankyou-verse {
  margin: 10px 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #d8f9e7;
}

.floating-thankyou-ref {
  margin: 8px 0 0;
  font-size: 0.77rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #b9efd3;
}

.floating-thankyou-close {
  position: absolute;
  top: 8px;
  right: 8px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.95rem;
  width: 28px;
  height: 28px;
  cursor: pointer;
}

@keyframes floating-enter {
  0% {
    transform: translateY(18px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes rocket-up {
  0% {
    transform: translateY(0) scale(0.9);
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  100% {
    transform: translateY(-75vh) scale(1.05);
    opacity: 0;
  }
}

.value-pop {
  animation: value-pop 520ms ease-out both;
}

@keyframes value-pop {
  0% {
    text-shadow: 0 0 0 rgba(124, 255, 191, 0);
    transform: translateZ(0);
  }
  35% {
    text-shadow: 0 0 10px rgba(124, 255, 191, 0.6), 0 0 24px rgba(69, 227, 164, 0.25);
  }
  100% {
    text-shadow: 0 0 0 rgba(124, 255, 191, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .value-pop {
    animation: none;
  }
}

.card-gradient {
  background:
    radial-gradient(circle at 88% 12%, rgba(8, 149, 93, 0.12), transparent 38%),
    radial-gradient(circle at 8% 90%, rgba(241, 121, 50, 0.1), transparent 44%),
    var(--surface-strong);
}

.form-row {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

label {
  font-size: 0.92rem;
  color: #315044;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  font: inherit;
  background: var(--surface-soft);
  color: var(--ink);
}

small {
  color: var(--muted);
}

.field-warning {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #b3261e;
  background: rgba(179, 38, 30, 0.08);
  border: 1px solid rgba(179, 38, 30, 0.28);
  border-radius: 8px;
  padding: 6px 10px;
}

.field-warning.hidden {
  display: none;
}

input.input-invalid {
  border-color: #d93a30;
  box-shadow: 0 0 0 3px rgba(217, 58, 48, 0.15);
}

.status {
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 600;
  display: inline-flex;
}

.status.pending { background: #fff1db; color: var(--pending); }
.status.paid { background: #dff8ea; color: var(--ok); }
.status.failed { background: #ffe1e1; color: var(--danger); }

:root[data-theme="dark"] .status.pending { background: rgba(255, 198, 106, 0.16); }
:root[data-theme="dark"] .status.paid { background: rgba(75, 212, 141, 0.16); }
:root[data-theme="dark"] .status.failed { background: rgba(255, 123, 123, 0.16); }

:root[data-theme="dark"] .metrics .metric,
:root[data-theme="dark"] .grid-2 > .card,
:root[data-theme="dark"] .grid-3 > .card,
:root[data-theme="dark"] .admin-grid > .card,
:root[data-theme="dark"] .sites-layout > .card,
:root[data-theme="dark"] .admin-sidebar,
:root[data-theme="dark"] .chart-wrap,
:root[data-theme="dark"] .site-banner,
:root[data-theme="dark"] .ranking-card,
:root[data-theme="dark"] .hero-card,
:root[data-theme="dark"] .card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)), var(--surface-strong);
  border-color: var(--border);
}

:root[data-theme="dark"] .metric,
:root[data-theme="dark"] .ranking-item,
:root[data-theme="dark"] .site-form-card,
:root[data-theme="dark"] .chart-wrap,
:root[data-theme="dark"] .qr-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)), var(--surface-soft);
}

:root[data-theme="dark"] .site-banner,
:root[data-theme="dark"] .ranking-card {
  background-image: none;
}

:root[data-theme="dark"] .overview-controls {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .overview-panel {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--border);
}

:root[data-theme="dark"] .metric-label {
  color: #9db3aa;
}

.qr-box {
  text-align: center;
  padding: 16px;
  border: 1px dashed var(--border);
  border-radius: 14px;
  background: var(--surface-soft);
}

.qr-box img {
  max-width: 240px;
  width: 100%;
  border-radius: 12px;
}

.table-wrap {
  overflow: auto;
}

.table-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.table-pagination-info {
  font-size: 0.82rem;
  color: var(--muted);
}

.table-pagination-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.table-pagination-pages {
  font-size: 0.86rem;
  font-weight: 600;
  min-width: 64px;
  text-align: center;
}

.button.small {
  padding: 8px 14px;
  font-size: 0.82rem;
}

.button.small:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.admin-shell {
  padding-top: 30px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.admin-head {
  gap: 18px;
}

.admin-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #2d8a67;
  font-weight: 700;
}

.muted {
  color: var(--muted);
}

.chart-card {
  overflow: hidden;
}

.chart-head {
  display: grid;
  gap: 4px;
}

.overview-charts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.overview-charts > .card {
  min-width: 0;
}

.chart-wrap {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-soft);
  padding: 12px;
  min-height: 280px;
}

.chart-wrap canvas {
  width: 100% !important;
  height: 250px !important;
}

.sites-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 18px;
}

.site-form-card {
  background: var(--surface-soft);
}

.table-inline-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mini-btn {
  padding: 7px 10px;
  font-size: 0.82rem;
}

.mini-link {
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--ink);
}

.toolbar-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(520px, 1.1fr);
  gap: 18px;
  align-items: start;
}

.toolbar-right {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 12px;
  align-items: end;
  justify-content: stretch;
}

.toolbar-label {
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.compact-input {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 11px;
}

.period-block .chip-row {
  align-items: center;
}

.filter-field {
  display: grid;
  gap: 6px;
}

.search-field {
  grid-column: 1 / -1;
}

.search-field .compact-input {
  width: 100%;
  min-width: 0;
}

.export-btn {
  justify-self: end;
  align-self: end;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--ink);
  font-weight: 600;
  padding: 9px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chip.active {
  background: linear-gradient(120deg, var(--brand), #22bd85);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(80, 226, 166, 0.18);
}

.admin-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.admin-sidebar {
  position: sticky;
  top: 84px;
  background: linear-gradient(180deg, var(--surface-strong), var(--surface-soft));
}

.admin-side-nav {
  display: grid;
  gap: 10px;
}

.admin-side-link {
  border: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--ink);
  border-radius: 14px;
  text-align: left;
  padding: 12px 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-side-link:hover {
  transform: translateX(2px);
  border-color: rgba(80, 226, 166, 0.35);
  box-shadow: var(--shadow-md);
}

.admin-side-link.active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand), #22bd85);
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(80, 226, 166, 0.18);
}

.admin-content {
  min-width: 0;
}

.admin-card {
  position: relative;
  border-radius: 18px;
  padding: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(245, 250, 247, 0.95));
  box-shadow: 0 14px 34px rgba(21, 58, 40, 0.08);
  overflow: hidden;
  isolation: isolate;
}

.admin-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.admin-content .card-gradient.admin-card {
  background:
    radial-gradient(circle at 92% -8%, rgba(13, 138, 92, 0.11), transparent 36%),
    radial-gradient(circle at 12% 120%, rgba(241, 121, 50, 0.08), transparent 40%),
    linear-gradient(180deg, #fbfdfb, #f5faf7);
}

.admin-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-card-title {
  font-family: "Bricolage Grotesque", "Space Grotesk", sans-serif;
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.admin-card-subtitle {
  margin-top: 6px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--muted);
}

.admin-content .admin-card .table-wrap {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-soft);
}

.admin-content .overview-hero {
  display: grid;
  gap: 16px;
}

.admin-content .overview-panel {
  padding: 16px;
  border-radius: 14px;
}

.admin-content .metrics {
  gap: 12px;
}

.admin-content .chart-card {
  display: grid;
  gap: 14px;
}

:root[data-theme="dark"] .admin-card {
  background: linear-gradient(180deg, rgba(24, 35, 31, 0.96), rgba(18, 27, 24, 0.96));
  border-color: var(--border);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
}

:root[data-theme="dark"] .admin-card::after {
  border-color: rgba(255, 255, 255, 0.05);
}

:root[data-theme="dark"] .admin-content .card-gradient.admin-card {
  background:
    radial-gradient(circle at 92% -8%, rgba(80, 226, 166, 0.09), transparent 38%),
    radial-gradient(circle at 10% 120%, rgba(240, 176, 108, 0.08), transparent 42%),
    linear-gradient(180deg, #111b18, #0f1714);
}

:root[data-theme="dark"] .admin-content .admin-card .table-wrap {
  background: rgba(255, 255, 255, 0.015);
}

.toolbar-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(520px, 1.1fr);
  gap: 18px;
  align-items: start;
}

.toolbar-right {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 12px;
  align-items: end;
  justify-content: stretch;
}

.toolbar-label {
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.compact-input {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 11px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.admin-head {
  gap: 18px;
}

.admin-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--brand);
  font-weight: 700;
}

.muted {
  color: var(--muted);
}

.chart-card {
  overflow: hidden;
}

.table-inline-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mini-btn {
  padding: 7px 10px;
  font-size: 0.82rem;
}

.topbar-inner {
  gap: 12px;
}

.full-width-between {
  justify-content: space-between;
  width: 100%;
}

.no-margin {
  margin: 0;
}

.hidden {
  display: none;
}

.fade-in {
  animation: fadeIn 0.5s ease both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 11px;
  border-bottom: 1px solid #e5eee8;
  font-size: 0.95rem;
}

thead th {
  color: #345445;
  font-weight: 700;
}

tbody tr:nth-child(2n) {
  background: #fbfefc;
}

tbody tr:hover {
  background: #f2faf5;
}

:root[data-theme="dark"] .table-wrap {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)), var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
}

:root[data-theme="dark"] table {
  color: var(--ink);
}

:root[data-theme="dark"] th,
:root[data-theme="dark"] td {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

:root[data-theme="dark"] thead th {
  color: var(--muted);
}

:root[data-theme="dark"] tbody tr:nth-child(2n) {
  background: rgba(255, 255, 255, 0.015);
}

:root[data-theme="dark"] tbody tr:hover {
  background: rgba(76, 212, 144, 0.07);
}

@media (max-width: 900px) {
  .hero,
  .grid-2,
  .grid-3,
  .metrics {
    grid-template-columns: 1fr;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
  }

  .admin-side-nav {
    grid-template-columns: 1fr 1fr;
  }

  .toolbar-grid {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .toolbar-right {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .compact-input {
    min-width: 100%;
    width: 100%;
  }

  .search-field {
    grid-column: auto;
  }

  .export-btn {
    justify-self: flex-start;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .overview-charts {
    grid-template-columns: 1fr;
  }

  .sites-layout {
    grid-template-columns: 1fr;
  }

  .admin-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .admin-card {
    padding: 18px;
  }

  .admin-card-header {
    align-items: stretch;
  }

  .topbar-inner {
    gap: 10px;
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  .admin-side-nav {
    grid-template-columns: 1fr;
  }
}

.mt-12 {
  margin-top: 12px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-18 {
  margin-top: 18px;
}

.admin-console {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 4%, rgba(255, 50, 80, 0.11), transparent 28%),
    radial-gradient(circle at 12% -5%, rgba(255, 68, 68, 0.09), transparent 24%),
    linear-gradient(180deg, #05070d 0%, #05060a 100%);
  color: #ecf0ff;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.admin-console .button {
  background: linear-gradient(120deg, #ff2f49, #e4203b);
  color: #ffffff;
  border: 0;
  box-shadow: 0 12px 28px rgba(255, 46, 78, 0.26);
}

.admin-console .button.ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cfd7ee;
  box-shadow: none;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 8, 14, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.admin-topbar-left,
.admin-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-rail-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #dfe6ff;
  border-radius: 10px;
  padding: 8px 10px;
  font-weight: 700;
  cursor: pointer;
  min-width: 58px;
}

.admin-rail-toggle svg {
  width: 20px;
  height: 20px;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.admin-rail-backdrop {
  display: none;
}

.admin-logo-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(145deg, #ff2e4f, #f1183d);
}

.admin-topbar-kicker {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #b9c4dd;
}

.admin-topbar-title {
  letter-spacing: 0.02em;
}

.admin-app {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: calc(100vh - 66px);
}

.admin-rail {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 14px;
  background: rgba(8, 10, 16, 0.72);
}

.admin-rail-group {
  margin: 0 8px 10px;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  color: #78839f;
  font-weight: 700;
}

.admin-rail-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin: 14px 6px;
}

.admin-side-nav {
  display: grid;
  gap: 8px;
}

.admin-side-link {
  display: block;
  width: 100%;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 11px 12px;
  background: transparent;
  color: #b1b9cd;
  text-align: left;
  font-weight: 700;
  cursor: pointer;
}

.admin-side-link:hover {
  color: #e8edff;
  border-color: rgba(255, 255, 255, 0.1);
}

.admin-side-link.active {
  color: #ffd5dc;
  border-color: rgba(255, 64, 95, 0.45);
  background: linear-gradient(120deg, rgba(255, 42, 79, 0.25), rgba(255, 42, 79, 0.08));
}

.admin-rail-shortcuts {
  display: grid;
  gap: 8px;
}

.admin-rail-link {
  text-decoration: none;
  color: #d2d9ef;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 9px 10px;
  font-size: 0.85rem;
}

.admin-main {
  padding: 22px;
  display: grid;
  gap: 16px;
  min-width: 0;
}

.admin-overview {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.admin-grid-top {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 16px;
}

.admin-card-dark,
.admin-hero-card,
.admin-account-card,
.admin-kpi-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: linear-gradient(170deg, rgba(16, 20, 31, 0.94), rgba(9, 12, 20, 0.96));
  box-shadow: 0 18px 36px rgba(1, 2, 6, 0.45);
  max-width: 100%;
  min-width: 0;
}

.admin-hero-card {
  padding: 22px;
  background:
    radial-gradient(circle at 80% -20%, rgba(255, 55, 88, 0.24), transparent 44%),
    linear-gradient(160deg, rgba(52, 9, 20, 0.9), rgba(14, 8, 14, 0.97));
}

.admin-label {
  margin: 0 0 8px;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: #d1aac4;
  font-weight: 700;
}

/* Today hero grid: liquido + bruto */
.admin-hero-today-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 4px;
}

.admin-hero-today-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-hero-today-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8898bd;
  font-weight: 600;
}

.admin-hero-today-value {
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
  color: #7cffbf;
}

.admin-hero-today-value--dim {
  color: #c4d0ef;
}

.admin-hero-inline-balance {
  margin-top: 8px;
  padding: 7px 9px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(69, 227, 164, 0.2), rgba(124, 255, 191, 0.08));
  border: 1px solid rgba(124, 255, 191, 0.45);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(124, 255, 191, 0.15) inset;
}

.admin-hero-inline-balance-label {
  display: block;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #d6ffe8;
  font-weight: 700;
}

.admin-hero-inline-balance-value {
  display: block;
  margin-top: 2px;
  font-size: 1.02rem;
  font-weight: 800;
  color: #a5ffce;
  text-shadow: 0 0 12px rgba(124, 255, 191, 0.35);
}

/* Totals grid: liquido total + para casa */
.admin-hero-totals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.admin-hero-total-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.admin-hero-total-cell--highlight {
  background: linear-gradient(145deg, rgba(69, 227, 164, 0.2), rgba(124, 255, 191, 0.08));
  border-color: rgba(124, 255, 191, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(124, 255, 191, 0.15) inset;
}

.admin-hero-total-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #6e7e9e;
  font-weight: 600;
}

.admin-hero-total-value {
  font-size: 0.92rem;
  font-weight: 700;
  color: #45e3a4;
}

.admin-hero-total-value--highlight {
  font-size: 1.06rem;
  color: #a5ffce;
  text-shadow: 0 0 12px rgba(124, 255, 191, 0.35);
}

.admin-hero-total-value--red {
  color: #ff7a7a;
}

.admin-hero-total-value--dim {
  color: #c4d0ef;
}

.admin-hero-total-value--green {
  color: #7cffbf;
}

.admin-hero-totals-obs {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  font-size: 0.68rem;
  color: #5e6c8a;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.admin-status-line {
  margin: 10px 0 0;
  color: #b9d5cb;
  font-size: 0.9rem;
}

.admin-today-received {
  margin: 10px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #d8e5ff;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-today-received strong {
  color: #7cffbf;
  font-size: 0.92rem;
}

/* Hero card aura pulse */
.admin-hero-card {
  animation: admin-hero-aura 4s ease-in-out infinite;
}

@keyframes admin-hero-aura {
  0%, 100% { box-shadow: 0 18px 36px rgba(1, 2, 6, 0.45), 0 0 0 rgba(255, 46, 78, 0); }
  50%       { box-shadow: 0 18px 36px rgba(1, 2, 6, 0.45), 0 0 28px rgba(255, 46, 78, 0.28); }
}

/* Metrics card */
.admin-metrics-card {
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.admin-metrics-card::before {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 35%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.1), transparent);
  transform: skewX(-20deg);
  animation: admin-metrics-shine 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

@keyframes admin-metrics-shine {
  0%   { left: -60%; }
  45%  { left: 130%; }
  100% { left: 130%; }
}

.admin-metrics-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.admin-metrics-icon {
  width: 30px; height: 30px;
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7cffbf;
}

.admin-metrics-icon svg { width: 16px; height: 16px; }

.admin-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

@media (max-width: 1200px) {
  .admin-metrics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-kpi-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .admin-grid-top {
    grid-template-columns: 1fr;
  }
}

.admin-metric-tile {
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid transparent;
  display: grid;
  gap: 4px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .18s ease, box-shadow .18s ease;
}

.admin-metric-tile:hover {
  transform: translateY(-2px);
}

.admin-metric-tile::after {
  content: "";
  position: absolute;
  top: 0; left: -70%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg);
  animation: admin-tile-shine 3.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes admin-tile-shine {
  0%   { left: -70%; }
  50%  { left: 130%; }
  100% { left: 130%; }
}

.admin-metric-tile--blue {
  background: linear-gradient(140deg, rgba(59,130,246,.18), rgba(9,12,20,.9));
  border-color: rgba(59,130,246,.35);
  animation: admin-tile-glow-blue 2.4s ease-in-out infinite;
}

.admin-metric-tile--purple {
  background: linear-gradient(140deg, rgba(139,92,246,.18), rgba(9,12,20,.9));
  border-color: rgba(139,92,246,.35);
  animation: admin-tile-glow-purple 2.4s ease-in-out 0.4s infinite;
}

.admin-metric-tile--green {
  background: linear-gradient(140deg, rgba(34,197,94,.18), rgba(9,12,20,.9));
  border-color: rgba(34,197,94,.35);
  animation: admin-tile-glow-green 2.4s ease-in-out 0.8s infinite;
}

.admin-metric-tile--orange {
  background: linear-gradient(140deg, rgba(249,115,22,.18), rgba(9,12,20,.9));
  border-color: rgba(249,115,22,.35);
  animation: admin-tile-glow-orange 2.4s ease-in-out 1.2s infinite;
}

.admin-metric-tile--teal {
  background: linear-gradient(140deg, rgba(20,184,166,.18), rgba(9,12,20,.9));
  border-color: rgba(20,184,166,.35);
  animation: admin-tile-glow-teal 2.4s ease-in-out 1.6s infinite;
}

.admin-metric-tile--pink {
  background: linear-gradient(140deg, rgba(236,72,153,.18), rgba(9,12,20,.9));
  border-color: rgba(236,72,153,.35);
  animation: admin-tile-glow-pink 2.4s ease-in-out 2s infinite;
}

@keyframes admin-tile-glow-blue   { 0%,100%{box-shadow:0 0 0 rgba(59,130,246,0)}  50%{box-shadow:0 0 14px rgba(59,130,246,.5)} }
@keyframes admin-tile-glow-purple { 0%,100%{box-shadow:0 0 0 rgba(139,92,246,0)}  50%{box-shadow:0 0 14px rgba(139,92,246,.5)} }
@keyframes admin-tile-glow-green  { 0%,100%{box-shadow:0 0 0 rgba(34,197,94,0)}   50%{box-shadow:0 0 14px rgba(34,197,94,.5)}  }
@keyframes admin-tile-glow-orange { 0%,100%{box-shadow:0 0 0 rgba(249,115,22,0)}  50%{box-shadow:0 0 14px rgba(249,115,22,.5)} }
@keyframes admin-tile-glow-teal   { 0%,100%{box-shadow:0 0 0 rgba(20,184,166,0)}  50%{box-shadow:0 0 14px rgba(20,184,166,.5)} }
@keyframes admin-tile-glow-pink   { 0%,100%{box-shadow:0 0 0 rgba(236,72,153,0)}  50%{box-shadow:0 0 14px rgba(236,72,153,.5)} }

.admin-metric-tile-icon {
  width: 18px; height: 18px;
  margin-bottom: 2px;
  animation: admin-metric-icon-pulse 2s ease-in-out infinite;
}

.admin-metric-tile--blue   .admin-metric-tile-icon { color: #60a5fa; }
.admin-metric-tile--purple .admin-metric-tile-icon { color: #a78bfa; }
.admin-metric-tile--green  .admin-metric-tile-icon { color: #4ade80; }
.admin-metric-tile--orange .admin-metric-tile-icon { color: #fb923c; }
.admin-metric-tile--teal   .admin-metric-tile-icon { color: #2dd4bf; }
.admin-metric-tile--pink   .admin-metric-tile-icon { color: #f472b6; }

@keyframes admin-metric-icon-pulse {
  0%,100% { transform: scale(1); }
  50%     { transform: scale(1.16); }
}

.admin-metric-tile-label {
  font-size: 0.72rem;
  color: #8898bd;
  letter-spacing: .03em;
  line-height: 1.2;
}

.admin-metric-tile-value {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.01em;
}

.admin-metric-tile--blue   .admin-metric-tile-value { color: #93c5fd; }
.admin-metric-tile--purple .admin-metric-tile-value { color: #c4b5fd; }
.admin-metric-tile--green  .admin-metric-tile-value { color: #86efac; }
.admin-metric-tile--orange .admin-metric-tile-value { color: #fdba74; }
.admin-metric-tile--teal   .admin-metric-tile-value { color: #5eead4; }
.admin-metric-tile--pink   .admin-metric-tile-value { color: #f9a8d4; }

.admin-metric-tile-desc {
  font-size: 0.67rem;
  color: #5e6c8a;
  line-height: 1.3;
  margin-top: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .admin-metrics-card::before,
  .admin-metric-tile::after,
  .admin-metric-tile-icon,
  .admin-metric-tile--blue,
  .admin-metric-tile--purple,
  .admin-metric-tile--green,
  .admin-metric-tile--orange,
  .admin-metric-tile--teal,
  .admin-metric-tile--pink,
  .admin-hero-card { animation: none; }
}

.admin-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #4cff9d;
  display: inline-block;
  margin-right: 8px;
}

.admin-hero-actions {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-account-card {
  padding: 18px;
}

.admin-status-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.admin-status-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  padding: 10px 12px;
  color: #c4cbe1;
}

.status-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.status-pill.ok {
  color: #6cffad;
  background: rgba(78, 228, 151, 0.15);
  border: 1px solid rgba(78, 228, 151, 0.22);
}

.admin-metric-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: #e8f0ff;
  text-align: right;
}

.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}

.gains-card {
  display: grid;
  gap: 10px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.gains-kpi-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8898bd;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gains-card .admin-kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 980px) {
  .gains-card .admin-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8898bd;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gains-card .admin-kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 980px) {
  .gains-card .admin-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}



/* Shimmer sweep on gains and table cards */
.gains-card::before,
.admin-card-dark:not(.gains-card):not(.admin-metrics-card)::before {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 35%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.055), transparent);
  transform: skewX(-20deg);
  animation: admin-card-sweep 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

.admin-card-dark:not(.gains-card):not(.admin-metrics-card)::before {
  animation-delay: 2s;
}

@keyframes admin-card-sweep {
  0%   { left: -60%; }
  40%  { left: 130%; }
  100% { left: 130%; }
}

/* Fade-up staggered entry for overview cards */
.admin-overview > * {
  animation: admin-card-fadein 0.55s ease both;
}

.admin-grid-top > :nth-child(1)  { animation-delay: 0s; }
.admin-grid-top > :nth-child(2)  { animation-delay: .08s; }
.admin-overview > :nth-child(2)  { animation-delay: .16s; }
.admin-overview > :nth-child(3)  { animation-delay: .24s; }
.admin-overview > :nth-child(4)  { animation-delay: .32s; }

.admin-grid-top {
  animation: none;
}

.admin-grid-top > * {
  animation: admin-card-fadein 0.55s ease both;
}

@keyframes admin-card-fadein {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* KPI grid items stagger */
.admin-kpi-grid > :nth-child(1) { animation: admin-card-fadein .45s .20s ease both; }
.admin-kpi-grid > :nth-child(2) { animation: admin-card-fadein .45s .27s ease both; }
.admin-kpi-grid > :nth-child(3) { animation: admin-card-fadein .45s .34s ease both; }
.admin-kpi-grid > :nth-child(4) { animation: admin-card-fadein .45s .41s ease both; }
.admin-kpi-grid > :nth-child(5) { animation: admin-card-fadein .45s .48s ease both; }
.admin-kpi-grid > :nth-child(6) { animation: admin-card-fadein .45s .55s ease both; }
.admin-kpi-grid > :nth-child(7) { animation: admin-card-fadein .45s .62s ease both; }

/* Sidebar nav links hover glow */
.admin-rail-link {
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.admin-rail-link:hover,
.admin-rail-link.active {
  box-shadow: 0 0 14px rgba(255, 46, 78, 0.25);
}

/* Table row hover highlight */
.admin-console tbody tr {
  transition: background .15s ease;
}

.admin-console tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

@media (prefers-reduced-motion: reduce) {
  .gains-card::before,
  .admin-card-dark::before,
  .admin-kpi-card::after,
  .admin-overview > *,
  .admin-grid-top > *,
  .admin-kpi-grid > * { animation: none; }
}

.gains-controls {
  display: grid;
  gap: 10px;
}

.gains-filters-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 10px;
}

.gains-card .chart-wrap {
  min-height: 260px;
}

.gains-card .chart-wrap canvas {
  width: 100% !important;
  height: 230px !important;
}

.admin-kpi-card {
  padding: 14px;
  display: grid;
  gap: 8px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .18s ease, box-shadow .18s ease;
  cursor: default;
}

.admin-kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 44px rgba(1, 2, 6, 0.6), 0 0 18px rgba(69, 227, 164, 0.12);
}

.admin-kpi-card::after {
  content: "";
  position: absolute;
  top: 0; left: -70%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.07), transparent);
  transform: skewX(-20deg);
  animation: admin-kpi-shine 4s ease-in-out infinite;
  pointer-events: none;
}

/* Stagger shine per nth-child */
.admin-kpi-card:nth-child(2)::after { animation-delay: .4s; }
.admin-kpi-card:nth-child(3)::after { animation-delay: .8s; }
.admin-kpi-card:nth-child(4)::after { animation-delay: 1.2s; }
.admin-kpi-card:nth-child(5)::after { animation-delay: 1.6s; }
.admin-kpi-card:nth-child(6)::after { animation-delay: 2s; }
.admin-kpi-card:nth-child(7)::after { animation-delay: 2.4s; }

@keyframes admin-kpi-shine {
  0%   { left: -70%; }
  50%  { left: 130%; }
  100% { left: 130%; }
}

.admin-kpi-card--highlight {
  border-color: rgba(69, 227, 164, 0.35);
  background: linear-gradient(170deg, rgba(13, 138, 92, 0.18), rgba(9, 12, 20, 0.96));
  grid-column: 1 / -1;
}

.admin-kpi-card--highlight strong {
  color: #45e3a4;
}

.admin-kpi-card strong {
  font-size: 2rem;
  line-height: 1;
}

.admin-kpi-label {
  color: #919db9;
  font-size: 0.82rem;
}

.admin-card-dark {
  padding: 20px;
}

.admin-console .eyebrow {
  color: #cf9eb2;
}

.admin-console .muted {
  color: #98a6c7;
}

.admin-console .overview-controls {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.admin-console .toolbar-label {
  color: #8a97b5;
}

.admin-console .compact-input,
.admin-console input,
.admin-console select,
.admin-console textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ecf2ff;
}

.admin-console select {
  color-scheme: dark;
}

.admin-console select option,
.admin-console .pix-modal select option {
  background: #141d32;
  color: #ecf2ff;
}

.admin-console select option:checked,
.admin-console .pix-modal select option:checked {
  background: #1d2b49;
  color: #ffffff;
}

.admin-console .compact-input::placeholder,
.admin-console input::placeholder,
.admin-console textarea::placeholder {
  color: #8d9ab6;
}

.admin-console .chart-wrap {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
}

.admin-console .table-wrap {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  overflow-x: auto;
  max-width: 100%;
}

.system-widget-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.system-widget-card {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
}

.system-widget-card .compact-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #e9f2ff;
  line-height: 1.35;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.system-widget-card .compact-check input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.04);
  display: inline-grid;
  place-content: center;
  margin: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.system-widget-card .compact-check input[type="checkbox"]:hover {
  border-color: rgba(120, 228, 177, 0.9);
}

.system-widget-card .compact-check input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(80, 226, 166, 0.22);
}

.system-widget-card .compact-check input[type="checkbox"]:checked {
  border-color: #50e2a6;
  background: linear-gradient(145deg, rgba(80, 226, 166, 0.26), rgba(17, 126, 89, 0.45));
}

.system-widget-card .compact-check input[type="checkbox"]:checked::before {
  content: "";
  width: 10px;
  height: 10px;
  transform: scale(1);
  background-color: #ffffff;
  clip-path: polygon(14% 52%, 0 66%, 39% 100%, 100% 28%, 84% 14%, 37% 73%);
}

.system-widget-card .compact-check input[type="checkbox"]:active {
  transform: scale(0.96);
}

.system-widget-note {
  border: 1px solid rgba(255, 190, 116, 0.3);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 190, 116, 0.1);
  color: #ffe9c4;
  font-size: 0.84rem;
  line-height: 1.4;
}

.system-widget-note strong {
  color: #ffd497;
}

.system-widget-metrics {
  border: 1px solid rgba(80, 226, 166, 0.25);
  border-radius: 11px;
  background: linear-gradient(165deg, rgba(80, 226, 166, 0.16), rgba(8, 22, 18, 0.58));
  padding: 10px;
  display: grid;
  gap: 8px;
}

.system-widget-metric {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.system-widget-metric-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a8d8c4;
  font-weight: 700;
}

.system-widget-metric strong {
  font-size: 1.35rem;
  line-height: 1;
  color: #ecfff6;
}

.system-widget-metric-subrow {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.74rem;
  color: #c4e7d7;
}

.system-widget-metric-subrow span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 4px 9px;
  background: rgba(255, 255, 255, 0.06);
}

.system-duration-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.system-duration-preset {
  padding: 8px 12px;
  font-size: 0.78rem;
  border-radius: 10px;
}

.system-duration-preset.active {
  background: linear-gradient(140deg, rgba(80, 226, 166, 0.25), rgba(20, 87, 62, 0.38));
  border-color: rgba(80, 226, 166, 0.85);
  color: #e8fff4;
  box-shadow: 0 6px 16px rgba(80, 226, 166, 0.2);
}

@media (max-width: 980px) {
  .system-widget-grid {
    grid-template-columns: 1fr;
  }
}

.admin-console th,
.admin-console td {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  color: #dce3fa;
}

.admin-console thead th {
  color: #95a3c2;
}

.admin-console tbody tr:nth-child(2n) {
  background: rgba(255, 255, 255, 0.015);
}

.admin-console tbody tr:hover {
  background: rgba(255, 68, 102, 0.06);
}

.admin-console .status.pending {
  background: rgba(247, 186, 89, 0.16);
}

.admin-console .status.paid {
  background: rgba(89, 226, 161, 0.16);
}

.admin-console .status.failed {
  background: rgba(255, 122, 122, 0.16);
}

.admin-console .sites-layout {
  display: grid;
  grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.admin-console .site-form-panel,
.admin-console .site-list-panel {
  padding: 18px;
}

.admin-console .site-form-panel .button {
  min-width: 0;
}

.admin-console .site-list-panel .table-wrap,
.admin-console .site-form-panel .table-wrap {
  margin-top: 10px;
}

.admin-console .admin-topbar-right .button {
  white-space: nowrap;
}

@media (max-width: 1240px) {
  .admin-kpi-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .admin-topbar {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .admin-app {
    grid-template-columns: 1fr;
    position: relative;
  }

  .admin-rail {
    position: fixed;
    top: 64px;
    left: 0;
    height: calc(100vh - 64px);
    width: min(240px, 84vw);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 0;
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    z-index: 30;
  }

  .admin-rail-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .admin-rail-backdrop {
    display: block;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(3, 6, 12, 0.65);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 25;
  }

  body.admin-rail-open .admin-rail {
    transform: translateX(0);
  }

  body.admin-rail-open .admin-rail-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .admin-grid-top {
    grid-template-columns: 1fr;
  }

  .admin-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-metrics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-hero-today-grid,
  .admin-hero-totals-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-console .overview-charts {
    grid-template-columns: 1fr;
  }

  .admin-console .sites-layout {
    grid-template-columns: 1fr;
  }

  .gains-filters-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .admin-main {
    padding: 12px;
  }

  .admin-topbar {
    padding: 10px 12px;
    gap: 10px;
  }

  .admin-topbar-right {
    width: 100%;
    flex-wrap: wrap;
    gap: 6px;
  }

  .admin-topbar-right .button {
    font-size: 0.78rem;
    padding: 8px 12px;
  }

  .admin-kpi-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-metrics-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-hero-today-grid,
  .admin-hero-totals-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .admin-main {
    padding: 10px;
  }

  .admin-kpi-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-metrics-grid {
    grid-template-columns: 1fr;
  }

  .admin-kpi-card strong {
    font-size: 1.4rem;
  }

  .admin-topbar-right .button {
    font-size: 0.72rem;
    padding: 7px 10px;
  }
}

/* ========== Sites Breakdown Card ========== */
.sites-breakdown {
  display: grid;
  gap: 14px;
}

.site-breakdown-row {
  display: grid;
  gap: 6px;
  position: relative;
  animation: sbd-row-in .45s ease both;
}

@keyframes sbd-row-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Exploding row (>=40%) */
.site-breakdown-row--explode {
  animation: sbd-row-in .45s ease both, sbd-explode-pulse 1.6s ease-in-out infinite;
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(255, 30, 10, 0.06);
  border: none;
  isolation: isolate;
  overflow: visible;
}

/* Energy layers - same multi-layer technique as widget TOP 1 */
.sbd-el-bg-glow,
.sbd-el-main-border,
.sbd-el-glow-1,
.sbd-el-glow-2,
.sbd-el-overlay {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  pointer-events: none;
}

.sbd-el-bg-glow {
  filter: blur(18px);
  transform: scale(1.1);
  opacity: 0.3;
  z-index: -1;
  background: linear-gradient(-30deg, #ff2020, transparent, #ff6a00);
}

.sbd-el-main-border {
  border: 2px solid #ff4400;
  filter: url(#sbd-electric-filter);
  z-index: 1;
}

.sbd-el-glow-1 {
  border: 2px solid rgba(255, 80, 20, 0.65);
  filter: blur(1px);
  z-index: 2;
}

.sbd-el-glow-2 {
  border: 2px solid #ff4400;
  filter: blur(5px);
  z-index: 2;
}

.sbd-el-overlay {
  opacity: 0.45;
  mix-blend-mode: overlay;
  transform: scale(1.06);
  filter: blur(8px);
  background: linear-gradient(-30deg, white, transparent 35%, transparent 65%, white);
  z-index: 3;
}

/* Content above layers */
.site-breakdown-row--explode .site-breakdown-head,
.site-breakdown-row--explode .site-breakdown-bar-track,
.site-breakdown-row--explode .sbd-lightning {
  position: relative;
  z-index: 5;
}

@keyframes sbd-explode-pulse {
  0%,100% { box-shadow: 0 0 0 rgba(255,40,0,0); }
  50%      { box-shadow: 0 0 18px rgba(255,60,0,.6), 0 0 36px rgba(255,40,0,.3); }
}


/* Lightning element */
.sbd-lightning {
  position: absolute;
  top: -8px;
  right: 10px;
  pointer-events: none;
  font-size: 0;
}

.sbd-lightning::before,
.sbd-lightning::after {
  content: "⚡";
  font-size: 14px;
  position: absolute;
  animation: sbd-bolt-flash 1.4s ease-in-out infinite;
  filter: drop-shadow(0 0 4px #ff6a00);
}

.sbd-lightning::before {
  right: 0;
  animation-delay: 0s;
}

.sbd-lightning::after {
  right: 18px;
  animation-delay: .5s;
}

@keyframes sbd-bolt-flash {
  0%,100% { opacity: .4; transform: scale(.9); }
  50%      { opacity: 1;  transform: scale(1.15); filter: drop-shadow(0 0 8px #ff3a00); }
}

.site-breakdown-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-breakdown-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #dce3fa;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-breakdown-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-size: 0.78rem;
}

.site-breakdown-value {
  font-weight: 700;
  color: #45e3a4;
}

.site-breakdown-value--fire {
  color: #ff7a3a;
  animation: sbd-fire-text 1s ease-in-out infinite;
}

.site-breakdown-count {
  color: #6e7e9e;
}

.site-breakdown-pct {
  font-weight: 700;
  color: #e8f0ff;
  min-width: 38px;
  text-align: right;
}

.site-breakdown-pct--fire {
  color: #ff3a00;
  animation: sbd-fire-text 1s ease-in-out infinite;
}

@keyframes sbd-fire-text {
  0%,100% { color: #ff7a3a; text-shadow: none; }
  50%      { color: #ffcc00; text-shadow: 0 0 8px rgba(255,100,0,.7); }
}

.site-breakdown-bar-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.site-breakdown-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0d8a5c, #45e3a4);
  min-width: 2px;
}

.site-breakdown-bar-fill--fire {
  animation: sbd-bar-fire 1.2s ease-in-out infinite;
}

@keyframes sbd-bar-fire {
  0%,100% { filter: none; }
  50%      { filter: brightness(1.3) drop-shadow(0 0 4px rgba(255,60,0,.7)); }
}

#sitesBreakdownCard .admin-card-header {
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
}

#sitesBreakdownCard .chip-row {
  flex-shrink: 0;
}

.admin-hero-breakdown-section {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-hero-breakdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}

.admin-hero-breakdown-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8898bd;
}

.admin-hero-breakdown-section .chip {
  font-size: 0.7rem;
  padding: 5px 9px;
}

.admin-metrics-recent-loading {
  font-size: 0.8rem;
}

.status-sm {
  font-size: 0.68rem !important;
  padding: 2px 7px !important;
}


.admin-metrics-recent-pix {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-metrics-recent-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.admin-metrics-recent-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8898bd;
}

.admin-metrics-recent-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: #45e3a4;
  text-decoration: none;
  transition: opacity .15s;
}

.admin-metrics-recent-link:hover { opacity: .75; }

.admin-metrics-recent-list {
  display: grid;
  gap: 8px;
}

.recent-pix-item {
  display: grid;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.recent-pix-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.recent-pix-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: #dce3fa;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-pix-value {
  font-size: 0.84rem;
  font-weight: 700;
  color: #45e3a4;
  flex-shrink: 0;
}

.recent-pix-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.recent-pix-site {
  font-size: 0.72rem;
  color: #6e7e9e;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-pix-date {
  font-size: 0.7rem;
  color: #5e6c8a;
  margin-left: auto;
  flex-shrink: 0;
}

/* ========== PIX Modal ========== */
.pix-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  animation: pix-modal-bg-in .22s ease both;
}

.pix-modal-backdrop.hidden {
  display: none;
}

@keyframes pix-modal-bg-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.pix-modal {
  width: min(480px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  overflow-x: hidden;
  background: #161b2e;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255,255,255,.06) inset;
  flex-shrink: 0;
  animation: pix-modal-in .28s cubic-bezier(.34,1.56,.64,1) both;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.12) transparent;
}

@keyframes pix-modal-in {
  from { opacity: 0; transform: scale(.93) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.pix-modal-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
}

.pix-modal-head-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.pix-modal-bolt {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff2f49, #c91535);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.pix-modal-bolt svg { width: 14px; height: 14px; }

.pix-modal-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #e8f0ff;
}

.pix-modal-badge {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: #fff;
  background: linear-gradient(120deg, #ff2f49, #e4203b);
  border-radius: 6px;
  padding: 3px 8px;
}

.pix-modal-close {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  color: #98a6c7;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background .15s, color .15s;
  margin-left: auto;
}

.pix-modal-close:hover { background: rgba(255,255,255,.1); color: #fff; }

.pix-modal-fee-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 18px 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  font-size: 0.82rem;
  color: #8898bd;
}

.pix-modal-fee-bar svg { width: 14px; height: 14px; vertical-align: middle; margin-right: 4px; }
.pix-modal-fee-bar strong { color: #e0e8ff; }

.pix-modal-form {
  padding: 16px 18px 20px;
  display: grid;
  gap: 14px;
}

.pix-modal-field {
  display: grid;
  gap: 6px;
}

.pix-modal-field label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .07em;
  color: #8898bd;
}

.pix-modal-optional {
  font-weight: 400;
  color: #5e6c8a;
  text-transform: none;
  letter-spacing: 0;
}

.pix-modal-field input {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  font-size: 1rem;
  color: #ecf0ff;
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
}

.pix-modal-field input:focus {
  outline: none;
  border-color: rgba(255, 47, 73, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 47, 73, 0.18);
}

.pix-modal-field input::placeholder { color: #4e5a72; }

.pix-modal-field input.input-invalid {
  border-color: #ff7a6c;
  box-shadow: 0 0 0 3px rgba(255, 122, 108, 0.22);
}

.pix-modal-warning {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #ffb4ac;
  background: rgba(255, 90, 74, 0.12);
  border: 1px solid rgba(255, 122, 108, 0.4);
  border-radius: 7px;
  padding: 5px 9px;
}

.pix-modal-submit {
  width: 100%;
  gap: 8px;
  font-size: 0.95rem;
  margin-top: 2px;
}

.pix-modal-submit svg { width: 15px; height: 15px; }
.pix-modal-submit:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.pix-modal-error {
  margin: 0;
  font-size: 0.82rem;
  color: #ff8a8a;
  text-align: center;
}

/* QR view */
.pix-modal-qr-wrap {
  display: flex;
  justify-content: center;
  padding: 16px 18px 0;
}

.pix-modal-qr-img {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1);
  background: #fff;
  object-fit: contain;
}

.pix-modal-copyrow {
  display: flex;
  gap: 8px;
  padding: 14px 18px 0;
}

.pix-modal-copyinput {
  flex: 1;
  min-width: 0;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-size: 0.78rem;
  color: #a8b6d4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pix-modal-copybtn {
  flex-shrink: 0;
  background: linear-gradient(120deg, #ff9f47, #f07a24);
  box-shadow: none;
  padding: 10px 14px;
  font-size: 0.85rem;
}

.pix-modal-status-line {
  margin: 12px 18px 0;
  font-size: 0.85rem;
  color: #8898bd;
}

.pix-modal-hint {
  margin: 6px 18px 0;
  font-size: 0.82rem;
}

.pix-modal-success {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 18px 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #86efac;
  font-size: 0.88rem;
}

.pix-modal-success svg { width: 20px; height: 20px; flex-shrink: 0; }

.pix-modal-newbtn {
  margin: 14px 18px 20px;
  width: calc(100% - 36px);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  color: #d2daef;
  box-shadow: none;
}

/* ========== end PIX Modal ========== */

/* ========== Saque Modal extras ========== */
.saque-bolt {
  background: linear-gradient(135deg, #0d8a5c, #00a96f);
}

.saque-badge {
  background: linear-gradient(120deg, #0d8a5c, #00c97e);
}

.saque-submit {
  background: linear-gradient(120deg, #0d8a5c, #00a96f);
  box-shadow: 0 12px 28px rgba(13, 138, 92, 0.3);
}

.saque-balance-bar {
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  background: rgba(13, 138, 92, 0.07);
  border-color: rgba(13, 138, 92, 0.25);
}

.saque-balance-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.saque-balance-label {
  font-size: 0.75rem;
  color: #8898bd;
}

.saque-balance-value {
  font-size: 0.92rem;
  font-weight: 700;
  color: #c4d0ef;
}

.saque-balance-value--green {
  color: #45e3a4;
}

.admin-console .pix-modal select {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
  font-size: 1rem;
  color: #ecf0ff;
  width: 100%;
  cursor: pointer;
}

.admin-console .pix-modal select:focus {
  outline: none;
  border-color: rgba(13, 138, 92, 0.6);
  box-shadow: 0 0 0 3px rgba(13, 138, 92, 0.18);
}

.saque-success-wrap {
  padding: 24px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.saque-success-icon svg {
  width: 52px;
  height: 52px;
}

.saque-success-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #86efac;
}

.saque-success-desc {
  margin: 0;
  font-size: 0.88rem;
  color: #8898bd;
  line-height: 1.5;
}

.saque-success-details {
  width: 100%;
  background: rgba(13,138,92,.08);
  border: 1px solid rgba(13,138,92,.22);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.82rem;
  color: #b4d4c8;
  text-align: left;
  line-height: 1.7;
}
/* ========== end Saque Modal ========== */

.donate-page {
  background:
    radial-gradient(circle at 84% 4%, rgba(255, 48, 90, 0.12), transparent 30%),
    radial-gradient(circle at 14% -2%, rgba(255, 75, 55, 0.09), transparent 22%),
    linear-gradient(180deg, #05070d, #05060a);
  color: #ecf0ff;
}

.donate-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 8, 14, 0.84);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.donate-topbar-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.donate-brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.donate-brand-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(145deg, #ff2e4f, #f1183d);
}

.donate-brand {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.donate-shell {
  padding: 28px 0 56px;
}

.donate-hero,
.donate-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: linear-gradient(170deg, rgba(16, 20, 31, 0.94), rgba(9, 12, 20, 0.96));
  box-shadow: 0 18px 36px rgba(1, 2, 6, 0.45);
}

.donate-hero {
  padding: 22px;
  background:
    radial-gradient(circle at 82% -28%, rgba(255, 55, 88, 0.25), transparent 46%),
    linear-gradient(160deg, rgba(52, 9, 20, 0.88), rgba(14, 8, 14, 0.97));
}

.donate-hero h1 {
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
}

.donate-empathy-box {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255, 76, 112, 0.44);
  border-radius: 14px;
  padding: 12px;
  background:
    radial-gradient(circle at 92% 16%, rgba(255, 82, 123, 0.2), transparent 42%),
    linear-gradient(160deg, rgba(61, 13, 27, 0.82), rgba(25, 10, 18, 0.94));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28);
}

.donate-empathy-cat {
  width: 86px;
  height: 86px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.donate-empathy-title {
  font-size: 1.03rem;
  font-weight: 700;
  color: #fff2f5;
}

.donate-empathy-text {
  font-size: 0.88rem;
  line-height: 1.45;
  color: #ffd7e2;
}

.donate-amount-spotlight-wrap {
  display: grid;
  gap: 6px;
  justify-items: center;
  align-self: stretch;
}

.donate-amount-spotlight {
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  border-radius: 12px;
  padding: 0 14px;
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #ffffff;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid rgba(255, 196, 120, 0.5);
  background: linear-gradient(145deg, #ff9f2d, #ff6b3a);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 12px 22px rgba(255, 102, 55, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.donate-amount-spotlight:hover,
.donate-amount-spotlight:focus-visible {
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 14px 26px rgba(255, 102, 55, 0.45);
}

.donate-amount-spotlight:active {
  transform: translateY(0);
}

.donate-amount-spotlight-hint {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #ffcfa3;
  text-align: center;
}

.donate-page .muted {
  color: #98a6c7;
}

.donate-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.donate-points span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #dce6ff;
  font-size: 0.8rem;
  padding: 6px 10px;
}

.donate-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 1.05fr);
  gap: 16px;
}

.donate-card {
  padding: 20px;
}

.donate-page .button {
  background: linear-gradient(120deg, #ff2f49, #e4203b);
  border: 0;
  box-shadow: 0 12px 28px rgba(255, 46, 78, 0.26);
}

.donate-page .button.alt {
  background: linear-gradient(120deg, #ff9f47, #f07a24);
}

.donate-page .button.ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d2daef;
  box-shadow: none;
}

.donate-page .chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e9efff;
}

.donate-page .field-warning {
  color: #ffb4ac;
  background: rgba(255, 90, 74, 0.12);
  border-color: rgba(255, 122, 108, 0.4);
}

.donate-page input.input-invalid {
  border-color: #ff7a6c;
  box-shadow: 0 0 0 3px rgba(255, 122, 108, 0.22);
}

.donate-page .chip:hover,
.donate-page .chip:focus {
  border-color: rgba(255, 71, 113, 0.5);
}

.donate-page label {
  color: #bcc8e4;
}

.donate-page small {
  color: #8898bd;
}

.donate-page input,
.donate-page select,
.donate-page textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ecf2ff;
}

.donate-page input::placeholder,
.donate-page textarea::placeholder {
  color: #8d9ab6;
}

.donate-page .qr-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.2);
}

.donate-page .ranking-card {
  background:
    radial-gradient(circle at 86% 4%, rgba(55, 109, 255, 0.08), transparent 32%),
    linear-gradient(170deg, rgba(16, 20, 31, 0.94), rgba(9, 12, 20, 0.96));
}

.donate-page .ranking-item,
.donate-page .verse-box {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.12);
}

.donate-page .ranking-item-gold,
.donate-page .ranking-item-silver,
.donate-page .ranking-item-bronze {
  color: #1a1f2e;
}

.donate-page .ranking-item-gold .ranking-msg,
.donate-page .ranking-item-silver .ranking-msg,
.donate-page .ranking-item-bronze .ranking-msg {
  color: #3d4256;
}

.donate-page .ranking-msg,
.donate-page .verse-ref {
  color: #9caacc;
}

.donate-page .verse-text {
  color: #e9f0ff;
}

.donate-page .status.pending { background: rgba(247, 186, 89, 0.16); }
.donate-page .status.paid { background: rgba(89, 226, 161, 0.16); }
.donate-page .status.failed { background: rgba(255, 122, 122, 0.16); }

.donate-request-notice {
  border: 1px solid rgba(255, 217, 138, 0.42);
  background: rgba(255, 217, 138, 0.14);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #f6edd2;
}

.donate-request-notice strong {
  color: #ffd88d;
}

.donate-pix-modal {
  width: min(700px, calc(100vw - 28px));
  max-height: min(94vh, 820px);
  overflow: auto;
  border: 1px solid rgba(108, 166, 139, 0.32);
  background:
    radial-gradient(circle at 92% 8%, rgba(32, 201, 135, 0.14), transparent 32%),
    linear-gradient(160deg, #0f1a18, #122620);
}

.donate-result-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 14px 16px 18px;
}

.donate-result-card .nav {
  flex-wrap: wrap;
}

.donate-result-card .nav .button {
  flex: 1 1 220px;
  min-height: 44px;
}

.donate-result-card textarea {
  min-height: 92px;
  resize: vertical;
}

.donate-result-card .qr-box {
  padding: 10px;
}

.donate-result-card .qr-box img {
  max-width: 200px;
}

.donate-generating-wrap {
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 10px 0 12px;
}

.donate-generating-wrap.hidden {
  display: none;
}

.donate-generating-ring {
  position: relative;
  width: 162px;
  height: 162px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(from 0deg, rgba(27, 190, 123, 0.15), rgba(255, 208, 120, 0.75), rgba(27, 190, 123, 0.15));
  animation: donate-ring-spin 1.2s linear infinite;
}

.donate-generating-ring::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: linear-gradient(160deg, #10201a, #132822);
}

.donate-generating-ring-core {
  position: relative;
  z-index: 1;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #f0f7ff;
  background: radial-gradient(circle at 22% 20%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
}

.donate-generating-caption {
  margin: 0;
  font-size: 0.8rem;
  color: #a8b7d6;
  letter-spacing: 0.03em;
}

@keyframes donate-ring-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.donate-modal-success {
  border: 1px solid rgba(74, 222, 128, 0.35);
  background: rgba(74, 222, 128, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
}

.donate-modal-success.hidden {
  display: none;
}

.donate-discord-cta {
  border: 1px solid rgba(255, 106, 106, 0.72);
  border-radius: 12px;
  padding: 10px 12px;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 120, 120, 0.22), transparent 46%),
    linear-gradient(140deg, rgba(190, 20, 20, 0.36), rgba(133, 9, 9, 0.3));
  box-shadow: 0 0 0 1px rgba(255, 138, 138, 0.24) inset;
}

.donate-discord-cta-text {
  font-size: 0.82rem;
  line-height: 1.35;
  color: #ffe8e8;
  letter-spacing: 0.02em;
  font-weight: 700;
}

.donate-discord-cta-text strong {
  color: #ffd2d2;
}

.donate-discord-cta-link {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 196, 196, 0.58);
  background: rgba(255, 255, 255, 0.1);
  color: #fff0f0;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  word-break: normal;
}

.donate-discord-cta-link:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.donate-thanks-gif-wrap {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.donate-thanks-gif {
  display: block;
  width: 100%;
  max-height: none;
  height: auto;
  object-fit: contain;
}

.donate-fraud-warning {
  border: 1px solid rgba(241, 179, 89, 0.35);
  background: rgba(241, 179, 89, 0.13);
  color: #f6edd2;
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 0.82rem;
  line-height: 1.4;
}

.donate-fraud-warning strong {
  color: #ffd88d;
}

.donate-highlights {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 980px) {
  .donate-layout,
  .donate-highlights {
    grid-template-columns: 1fr;
  }

  .donate-empathy-box {
    grid-template-columns: 72px 1fr;
  }

  .donate-empathy-cat {
    width: 72px;
    height: 72px;
  }

  .donate-amount-spotlight-wrap {
    grid-column: 1 / -1;
  }

  .donate-amount-spotlight {
    min-height: 48px;
  }
}

@media (max-width: 640px) {
  .donate-pix-modal {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
  }

  .donate-result-card {
    padding: 12px 12px 16px;
  }
}

.donate-shell {
  padding-top: 20px;
}
