﻿@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;700&family=Manrope:wght@300;400;600;700&display=swap');

:root {
  --bg: #050505;
  --ink: #f6e7b6;
  --muted: #c9b57b;
  --card: rgba(15, 12, 8, 0.85);
  --accent: #d4a240;
  --accent-2: #f6e7b6;
  --accent-3: #8a6b2a;
  --border: rgba(246, 231, 182, 0.12);
  --success: #5fd18c;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 20% 20%, #16110a 0%, #050505 55%, #000 100%);
  min-height: 100vh;
}

h1, h2, h3 {
  font-family: "Fraunces", "Georgia", serif;
  letter-spacing: 0.4px;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  background: rgba(5, 5, 5, 0.75);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand {
  font-size: 20px;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: lowercase;
  color: var(--accent-2);
}

.site-header nav a {
  margin-left: 16px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

.site-header nav a.primary {
  color: var(--accent);
}

.hero {
  padding: 84px 0 40px;
}

.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  margin-bottom: 12px;
}

.hero p {
  font-size: 18px;
  max-width: 560px;
  color: var(--muted);
}

.hero-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  background: transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(212, 162, 64, 0.2);
}

.button.primary {
  background: linear-gradient(120deg, #f6e7b6, #d4a240, #8a6b2a);
  color: #1a1408;
  border-color: transparent;
}

.button.ghost {
  border-color: var(--border);
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 50px;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.form-card {
  max-width: 460px;
  margin: 60px auto;
}

label {
  display: block;
  margin-top: 16px;
  font-weight: 600;
}

input {
  width: 100%;
  padding: 11px 12px;
  margin-top: 6px;
  border-radius: 12px;
  border: 1px solid rgba(246, 231, 182, 0.2);
  background: rgba(0, 0, 0, 0.4);
  color: var(--ink);
  font-size: 16px;
}

button {
  width: 100%;
  margin-top: 20px;
  cursor: pointer;
}

.alert {
  background: rgba(143, 76, 50, 0.2);
  border: 1px solid rgba(238, 160, 105, 0.3);
  padding: 10px 12px;
  border-radius: 10px;
  color: #f3c7a8;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 40px 0 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.muted {
  color: var(--muted);
}

.amount {
  font-size: 32px;
  font-weight: 700;
  margin: 18px 0;
}

.success {
  background: rgba(77, 154, 110, 0.2);
  border: 1px solid rgba(95, 209, 140, 0.3);
  color: #c7f2d8;
  padding: 12px;
  border-radius: 10px;
}

.small {
  font-size: 13px;
}

.table {
  display: grid;
  gap: 10px;
}

.table-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.8fr 1.2fr;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  padding: 4px 0;
}

.table-row.header {
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 12px;
}

.dashboard-history-table {
  margin-top: 6px;
}

.dashboard-history-row {
  grid-template-columns: 1.4fr 1.2fr 1.6fr 0.8fr;
  border-bottom: 1px solid rgba(157,180,225,0.07);
  padding: 8px 0;
}

.dashboard-history-row:last-child {
  border-bottom: none;
}

.dashboard-history-row strong {
  color: #f3f7ff;
}

.status {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
}

.status.paid {
  color: var(--success);
}

.coming {
  padding: 90px 0 60px;
  position: relative;
  overflow: hidden;
}

.coming-hero {
  max-width: 720px;
  position: relative;
  z-index: 2;
}

.coming-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(212, 162, 64, 0.16);
  color: var(--accent-2);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 18px;
}

.coming h1 {
  font-size: clamp(36px, 5vw, 60px);
  margin: 0 0 16px;
}

.shine {
  background: linear-gradient(120deg, #f6e7b6, #d4a240, #f6e7b6);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  color: transparent;
  animation: shimmer 4s ease-in-out infinite;
}

.coming p {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
}

.coming-orb {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 231, 182, 0.22), rgba(0, 0, 0, 0));
  top: -140px;
  right: -180px;
  filter: blur(2px);
}

.coming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}

.coming-card {
  background: rgba(12, 10, 6, 0.75);
  border: 1px solid rgba(246, 231, 182, 0.16);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.coming-card h3 {
  margin-top: 0;
}

.site-footer {
  padding: 30px 0 50px;
  color: var(--muted);
  font-size: 13px;
}

@keyframes shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (max-width: 860px) {
  .table-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 64px;
  }
}
.landing-map {
  padding: 48px 0 72px;
  position: relative;
}

.landing-shell {
  display: grid;
  gap: 32px;
}

.landing-copy {
  max-width: 720px;
}

.landing-copy h1 {
  font-size: clamp(40px, 6vw, 72px);
  margin: 0 0 14px;
  line-height: 0.94;
}

.landing-copy p {
  max-width: 720px;
  font-size: 18px;
  color: var(--muted);
}

.landing-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-map {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr) minmax(180px, 220px);
  gap: 18px;
  align-items: center;
}

.hero-map::before {
  content: "";
  position: absolute;
  inset: 10% 18%;
  background:
    radial-gradient(circle, rgba(71, 118, 255, 0.22), rgba(0, 0, 0, 0) 60%),
    radial-gradient(circle at 70% 40%, rgba(183, 75, 255, 0.18), rgba(0, 0, 0, 0) 38%);
  filter: blur(26px);
  z-index: 0;
  pointer-events: none;
}

.map-links {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.map-link {
  position: relative;
  display: block;
  padding: 16px 18px;
  border-radius: 18px;
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(6, 15, 40, 0.82), rgba(8, 8, 18, 0.9));
  border: 1px solid rgba(59, 192, 255, 0.34);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.map-link::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, rgba(64, 206, 255, 0.8), rgba(64, 206, 255, 0));
}

.map-links-left .map-link::after {
  right: -34px;
}

.map-links-right .map-link::after {
  left: -34px;
  transform: scaleX(-1);
}

.map-link:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 20px 38px rgba(22, 79, 184, 0.22);
  border-color: rgba(132, 223, 255, 0.65);
}

.map-link-title {
  display: block;
  color: #60ebff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
}

.map-link-copy {
  display: block;
  margin-top: 6px;
  color: #b7d8f7;
  font-size: 13px;
  line-height: 1.45;
}

.map-link-cta {
  border-color: rgba(187, 100, 255, 0.44);
  background: linear-gradient(180deg, rgba(27, 13, 55, 0.86), rgba(9, 8, 22, 0.94));
}

.map-link-small {
  padding: 14px 16px;
}

.poster-frame {
  position: relative;
  z-index: 1;
  display: block;
  border-radius: 28px;
  padding: 14px;
  background:
    linear-gradient(145deg, rgba(12, 26, 72, 0.92), rgba(10, 8, 26, 0.98)),
    linear-gradient(120deg, rgba(56, 201, 255, 0.6), rgba(170, 92, 255, 0.4));
  border: 1px solid rgba(130, 216, 255, 0.35);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.48),
    0 0 40px rgba(56, 143, 255, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.poster-frame:hover {
  transform: translateY(-4px);
  box-shadow:
    0 34px 78px rgba(0, 0, 0, 0.55),
    0 0 54px rgba(106, 85, 255, 0.28);
}

.poster-image {
  width: 100%;
  display: block;
  border-radius: 20px;
}

.landing-grid {
  margin-top: 32px;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-detail {
  min-height: 100%;
}

.detail-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: #62ebff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.landing-detail h3 {
  margin: 0 0 10px;
}

.landing-detail p {
  margin: 0 0 18px;
  color: var(--muted);
}

.detail-link {
  color: #71e9ff;
  text-decoration: none;
  font-weight: 700;
}

.landing-detail-highlight {
  background:
    linear-gradient(180deg, rgba(18, 15, 43, 0.92), rgba(9, 9, 15, 0.92)),
    linear-gradient(135deg, rgba(68, 206, 255, 0.22), rgba(192, 89, 255, 0.18));
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 1120px) {
  .hero-map {
    grid-template-columns: 1fr;
  }

  .map-links {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .map-link::after {
    display: none;
  }

  .landing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .landing-map {
    padding-top: 24px;
  }

  .landing-copy p {
    font-size: 16px;
  }

  .landing-grid {
    grid-template-columns: 1fr;
  }

  .landing-actions,
  .map-links {
    grid-template-columns: 1fr;
  }

  .poster-frame {
    padding: 10px;
  }
}

body.index-page {
  margin: 0;
  min-height: 100vh;
  padding: 8px;
  font-family: "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 20% 18%, rgba(41, 107, 255, 0.14), transparent 26%),
    radial-gradient(circle at 82% 24%, rgba(160, 107, 255, 0.12), transparent 22%),
    linear-gradient(180deg, #0a1020, #050914);
  color: #eef8ff;
}

.index-shell {
  width: min(96vw, 980px);
  margin: 0 auto;
  padding: 8px;
  border-radius: 24px;
  background: rgba(7, 11, 24, 0.78);
  border: 1px solid rgba(98, 220, 255, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(10px);
}

.index-top-bar {
  margin-bottom: 6px;
  padding: 10px 12px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.index-top-links,
.index-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.index-top-actions {
  justify-content: flex-end;
}

.index-nav-link,
.index-lang-link,
.index-instagram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  color: rgba(238, 248, 255, 0.72);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.index-nav-link:hover,
.index-lang-link.active,
.index-lang-link:hover,
.index-instagram-link:hover {
  color: #eef8ff;
  border-color: rgba(98, 220, 255, 0.36);
  background: rgba(121, 233, 255, 0.06);
}

.index-nav-link:focus-visible,
.index-lang-link:focus-visible,
.index-instagram-link:focus-visible,
.index-poster-link:focus-visible {
  outline: 2px solid #79e9ff;
  outline-offset: 4px;
}

.index-instagram-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex: 0 0 16px;
}

.index-poster-link {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
}

.index-poster-image {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 840px) {
  .index-top-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .index-top-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  body.index-page {
    padding: 6px;
  }

  .index-shell {
    padding: 6px;
    border-radius: 18px;
  }

  .index-poster-link {
    border-radius: 14px;
  }

  .index-top-bar {
    border-radius: 14px;
    padding: 8px;
  }

  .index-top-links,
  .index-top-actions {
    justify-content: stretch;
  }

  .index-nav-link,
  .index-lang-link,
  .index-instagram-link {
    flex: 1 1 0;
  }
}

/* index top bar layout fix */
.index-top-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.index-top-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.index-top-links::-webkit-scrollbar {
  display: none;
}

.index-top-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: flex-end;
}

.index-nav-link,
.index-lang-link,
.index-instagram-link {
  min-height: 36px;
  padding: 0 12px;
  font-size: 12px;
  white-space: nowrap;
  margin-left: 0;
}

@media (max-width: 980px) {
  .index-top-bar {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .index-top-links,
  .index-top-actions {
    flex-wrap: wrap;
    overflow-x: visible;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .index-top-bar {
    padding: 8px;
    border-radius: 14px;
  }

  .index-top-links,
  .index-top-actions {
    justify-content: stretch;
  }

  .index-nav-link,
  .index-lang-link,
  .index-instagram-link {
    flex: 1 1 0;
  }
}

.index-footer {
  margin-top: 8px;
  padding: 8px 10px 2px;
  text-align: center;
  color: rgba(238, 248, 255, 0.58);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* index spacing adjustment */
.index-shell {
  padding: 6px;
}

.index-top-bar {
  margin-bottom: 2px;
  padding: 8px 10px;
}

.terms-body {
  padding: 24px 28px 32px;
  color: rgba(238, 248, 255, 0.88);
  font-size: 14px;
  line-height: 1.75;
}

.terms-body h1 {
  font-size: 17px;
  font-weight: 700;
  color: #eef8ff;
  margin: 0 0 8px;
  letter-spacing: 0.01em;
}

.terms-body h2 {
  font-size: 14px;
  font-weight: 700;
  color: #eef8ff;
  margin: 28px 0 6px;
}

.terms-body p {
  margin: 0 0 10px;
}

.terms-body ol {
  margin: 6px 0 10px 20px;
  padding: 0;
}

.terms-body ol li {
  margin-bottom: 4px;
}

.terms-body a {
  color: rgba(98, 220, 255, 0.9);
  text-decoration: none;
}

.terms-body a:hover {
  text-decoration: underline;
}

.terms-note {
  font-size: 12px;
  color: rgba(238, 248, 255, 0.45);
  border-left: 2px solid rgba(98, 220, 255, 0.3);
  padding-left: 10px;
  margin-bottom: 20px !important;
}

body.register-page {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 18% 18%, rgba(38, 109, 255, 0.2), transparent 24%),
    radial-gradient(circle at 82% 14%, rgba(255, 176, 44, 0.12), transparent 18%),
    linear-gradient(180deg, #060d1d, #030711 72%);
  color: #eef4ff;
}

.register-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
}

.register-card {
  box-sizing: border-box;
  width: min(100%, 620px);
  padding: 34px 30px 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(8, 17, 36, 0.96), rgba(5, 11, 24, 0.96));
  border: 1px solid rgba(120, 170, 255, 0.18);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.register-card-header {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 22px;
}

.register-icon-wrap {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffbf2d;
  background: radial-gradient(circle, rgba(255, 191, 45, 0.16), rgba(255, 191, 45, 0.04));
  border: 1px solid rgba(255, 191, 45, 0.28);
  box-shadow: 0 0 24px rgba(255, 191, 45, 0.18);
}

.register-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.register-kicker {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 2px 0 10px;
  color: rgba(161, 189, 255, 0.68);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.register-card h1 {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.05;
}

.register-subtitle {
  margin: 8px 0 0;
  color: rgba(224, 233, 255, 0.7);
  font-size: 15px;
  line-height: 1.5;
}

.register-header-accent {
  display: inline-block;
  width: 42px;
  height: 4px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #6f42ff, #ffbf2d);
}

.register-message {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
}

.register-message-error {
  background: rgba(157, 58, 58, 0.18);
  border: 1px solid rgba(255, 120, 120, 0.26);
  color: #ffc9c9;
}

.register-message-success {
  background: rgba(54, 125, 89, 0.18);
  border: 1px solid rgba(95, 209, 140, 0.26);
  color: #d9ffe9;
}

.register-form {
  display: grid;
  gap: 10px;
}

.register-field-grid {
  display: grid;
  gap: 10px;
}

.register-field-grid-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.register-field {
  display: grid;
  gap: 8px;
}

.register-field span {
  font-size: 14px;
  font-weight: 600;
  color: rgba(237, 243, 255, 0.88);
}

.register-field input {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(157, 180, 225, 0.16);
  background: rgba(15, 24, 46, 0.88);
  color: #f3f7ff;
  font-size: 15px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.register-field input::placeholder {
  color: rgba(176, 190, 224, 0.48);
}

.register-field input:focus {
  outline: none;
  border-color: rgba(93, 168, 255, 0.5);
  box-shadow: 0 0 0 4px rgba(55, 117, 255, 0.12);
  background: rgba(15, 24, 46, 0.96);
}


.currency-input-wrap {
  position: relative;
}

.currency-input-wrap input {
  padding-right: 54px;
}

.currency-input-wrap .currency-suffix {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  font-weight: 700;
  color: rgba(201, 217, 250, 0.82);
  pointer-events: none;
}


.register-input-wrap {
  position: relative;
}

.register-field-password input {
  padding-right: 52px;
}

.register-password-toggle {
  position: absolute;
  right: 12px;
  bottom: 10px;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(197, 211, 244, 0.68);
  cursor: pointer;
}

.register-password-toggle svg {
  width: 20px;
  height: 20px;
}

.register-password-toggle:hover {
  color: #eef4ff;
}

.register-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(214, 223, 245, 0.76);
  font-size: 13px;
  line-height: 1.5;
}

.register-consent input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: #ffbf2d;
}

.register-consent a {
  color: #ffbf2d;
  text-decoration: none;
  font-weight: 700;
}

.register-submit {
  width: 100%;
  min-height: 58px;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(90deg, #5d2dff, #7e3dff 36%, #ffbf2d 100%);
  color: #ffffff;
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 20px 36px rgba(62, 58, 172, 0.3);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.register-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 42px rgba(62, 58, 172, 0.36);
}

.register-submit span:first-child {
  font-size: 18px;
}

.register-submit-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(7, 12, 26, 0.3);
}

.register-submit-icon svg {
  width: 18px;
  height: 18px;
}

.register-login-prompt {
  margin: 22px 0 0;
  text-align: center;
  color: rgba(214, 223, 245, 0.72);
  font-size: 15px;
}

.register-login-prompt a {
  color: #ffbf2d;
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 640px) {
  .register-shell {
    padding: 16px 12px;
  }

  .register-card {
    padding: 24px 18px 22px;
    border-radius: 22px;
  }

  .register-card-header {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    margin-bottom: 18px;
  }

  .register-icon-wrap {
    width: 48px;
    height: 48px;
  }

  .register-field-grid-split {
    grid-template-columns: 1fr;
  }

  .register-submit {
    min-height: 54px;
  }
}
.register-type-switch {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
  padding: 4px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(157, 180, 225, 0.12);
}

.register-type-link {
  flex: 1;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(214, 223, 245, 0.55);
  font-size: 14px;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease;
  background: transparent;
}

.register-type-link.active {
  color: #ffffff;
  background: linear-gradient(90deg, rgba(93, 45, 255, 0.9), rgba(255, 191, 45, 0.9));
  box-shadow: 0 2px 12px rgba(93, 45, 255, 0.35);
}

.register-type-link:hover:not(.active) {
  color: rgba(214, 223, 245, 0.85);
  background: rgba(255, 255, 255, 0.05);
}
.register-validation {
  display: grid;
  gap: 8px;
  margin-top: -4px;
}

.register-validation-item {
  margin: 0;
  padding-left: 20px;
  position: relative;
  color: rgba(214, 223, 245, 0.66);
  font-size: 13px;
}

.register-validation-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(214, 223, 245, 0.22);
}

.register-validation-item.is-valid {
  color: #8ff0b4;
}

.register-validation-item.is-valid::before {
  background: #8ff0b4;
}

.register-validation-item.is-invalid {
  color: #ffb7b7;
}

.register-validation-item.is-invalid::before {
  background: #ff8a8a;
}

.register-submit:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 12px 24px rgba(62, 58, 172, 0.18);
}

.register-submit.is-loading {
  opacity: 0.82;
  cursor: wait;
  pointer-events: none;
}

.register-submit.is-loading .register-submit-icon svg {
  display: none;
}

.register-submit.is-loading .register-submit-icon::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: #ffffff;
  animation: register-submit-spin 0.72s linear infinite;
}

@keyframes register-submit-spin {
  to {
    transform: rotate(360deg);
  }
}
.register-field-feedback {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(214, 223, 245, 0.62);
}

.register-field-feedback.is-valid {
  color: #8ff0b4;
}

.register-field-feedback.is-invalid {
  color: #ff9090;
  font-weight: 600;
}

.register-field input.input-error,
.register-field-password input.input-error,
.dashboard-field input.input-error {
  border-color: rgba(255, 90, 90, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(255, 90, 90, 0.10);
}

.register-field input.input-valid,
.register-field-password input.input-valid {
  border-color: rgba(100, 220, 140, 0.40) !important;
}

@keyframes field-shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-5px); }
  40%       { transform: translateX(5px); }
  60%       { transform: translateX(-3px); }
  80%       { transform: translateX(3px); }
}

.field-shake {
  animation: field-shake 0.32s ease;
}

body.admin-page {
  color: #eef4ff;
}

.admin-shell {
  align-items: flex-start;
  padding-top: 24px;
  padding-bottom: 24px;
}

.admin-shell-center {
  align-items: center;
}

.admin-card {
  box-sizing: border-box;
  width: min(100%, 1120px);
}

.admin-login-card {
  box-sizing: border-box;
  width: min(100%, 620px);
}

.admin-card-header {
  margin-bottom: 0;
}

.admin-login-form {
  margin-top: 20px;
}

.admin-submit {
  margin-top: 10px;
}

.admin-dashboard-card {
  display: grid;
  gap: 22px;
}

@media (min-width: 1280px) {
  .admin-shell {
    padding: 24px 32px;
  }

  .admin-dashboard-card:not(.dashboard-card-shell) {
    width: min(100%, 1840px);
    min-height: calc(100vh - 48px);
    padding: 28px 32px 30px;
    border-radius: 18px;
  }

  .admin-finance-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .admin-finance-columns {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.15fr) minmax(360px, 0.8fr);
  }

  .admin-finance-panel-yearly {
    grid-column: span 2;
  }
}

@media (min-width: 1600px) {
  .admin-merchant-details {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

.admin-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.admin-toolbar-header {
  flex: 1;
}

.admin-toolbar-link {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(157, 180, 225, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: #eef4ff;
  text-decoration: none;
  font-weight: 700;
}

.admin-toolbar-link:hover {
  border-color: rgba(255, 191, 45, 0.28);
  color: #ffcf6b;
}

.admin-merchant-list {
  display: grid;
  gap: 14px;
}

.admin-merchant-item {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(157, 180, 225, 0.12);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.admin-merchant-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.admin-merchant-meta h2 {
  margin: 0;
  font-size: 20px;
}

.admin-merchant-meta p {
  margin: 6px 0 0;
  color: rgba(214, 223, 245, 0.72);
  word-break: break-word;
}

.admin-status {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-status-approved {
  background: rgba(70, 187, 125, 0.16);
  border: 1px solid rgba(95, 209, 140, 0.22);
  color: #9ff4bf;
}

.admin-status-pending {
  background: rgba(255, 191, 45, 0.14);
  border: 1px solid rgba(255, 191, 45, 0.22);
  color: #ffd978;
}

.admin-status-suspended {
  background: rgba(255, 120, 120, 0.14);
  border: 1px solid rgba(255, 120, 120, 0.22);
  color: #ffc3c3;
}

.admin-status-deleted {
  background: rgba(148, 163, 184, 0.14);
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: #cbd5e1;
}

.admin-merchant-details {
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-merchant-details div {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(7, 12, 26, 0.26);
  border: 1px solid rgba(157, 180, 225, 0.08);
}

.admin-merchant-details dt {
  margin: 0 0 6px;
  color: rgba(214, 223, 245, 0.56);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-merchant-details dd {
  margin: 0;
  color: #f3f7ff;
  font-weight: 600;
  word-break: break-word;
}

.admin-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-actions form {
  margin: 0;
}

.admin-action {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
}

.admin-action-primary {
  background: linear-gradient(90deg, #5d2dff, #ffbf2d);
  color: #fff;
  border: 0;
}

.admin-action-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(157, 180, 225, 0.18);
  color: #eef4ff;
}

.admin-action-danger {
  background: rgba(157, 58, 58, 0.18);
  border-color: rgba(255, 120, 120, 0.26);
  color: #ffc9c9;
}

.admin-empty {
  margin: 0;
}

@media (max-width: 800px) {
  .admin-toolbar {
    flex-direction: column;
  }

  .admin-merchant-meta {
    flex-direction: column;
  }

  .admin-merchant-details {
    grid-template-columns: 1fr;
  }
}

body.confirm-page {
  color: #eef4ff;
}

.confirm-shell {
  align-items: center;
}

.confirm-card {
  width: min(100%, 720px);
}

.confirm-card-header {
  margin-bottom: 8px;
}

.confirm-icon-wrap.is-success {
  color: #8ff0b4;
  text-shadow: 0 0 18px rgba(95, 209, 140, 0.28);
}

.confirm-icon-wrap.is-error {
  color: #ffcf7b;
  text-shadow: 0 0 18px rgba(255, 191, 45, 0.22);
}

.confirm-actions {
  margin-top: 10px;
  display: flex;
  gap: 12px;
}

.confirm-submit {
  text-decoration: none;
}

.confirm-link {
  min-width: 180px;
}

@media (max-width: 640px) {
  .confirm-actions {
    width: 100%;
  }

  .confirm-submit,
  .confirm-link {
    width: 100%;
    justify-content: center;
  }
}

.dashboard-user-grid {
  align-items: start;
}

.dashboard-account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 18px;
}

.dashboard-account-panel {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(120, 170, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(10, 19, 39, 0.94), rgba(6, 12, 26, 0.96));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.dashboard-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(157, 180, 225, 0.11);
}

.dashboard-panel-heading h3 {
  margin: 0;
  color: #f3f7ff;
  font-size: 20px;
  line-height: 1.2;
}

.dashboard-panel-kicker {
  margin: 0 0 6px;
  color: rgba(161, 189, 255, 0.68);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dashboard-panel-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #ffcf6b;
  background: rgba(255, 191, 45, 0.08);
  border: 1px solid rgba(255, 191, 45, 0.22);
}

.dashboard-panel-icon svg {
  width: 21px;
  height: 21px;
}

.dashboard-card-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(280px, 1fr);
  gap: 16px;
  align-items: start;
}

.dashboard-address-layout {
  display: grid;
  gap: 16px;
}

.dashboard-saved-area {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.dashboard-saved-title,
.dashboard-form-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 28px;
  color: rgba(214, 223, 245, 0.74);
  font-size: 13px;
  font-weight: 700;
}

.dashboard-saved-title strong {
  min-width: 28px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #07101f;
  background: #ffcf6b;
  font-size: 12px;
}

.dashboard-user-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.dashboard-user-item {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid rgba(120, 170, 255, 0.13);
  background: rgba(255, 255, 255, 0.026);
}

.dashboard-user-item strong {
  color: #f3f7ff;
}

.dashboard-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.dashboard-delete-form {
  margin: 0;
  flex-shrink: 0;
}

.dashboard-delete-btn {
  all: unset;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: rgba(214, 223, 245, 0.35);
  cursor: pointer;
  transition: color 150ms ease, background 150ms ease;
}

.dashboard-delete-btn:hover {
  color: #ff9090;
  background: rgba(255, 90, 90, 0.1);
}

.dashboard-saved-card {
  min-height: 128px;
  padding: 16px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(135deg, rgba(24, 40, 76, 0.96), rgba(10, 17, 34, 0.96) 58%, rgba(68, 48, 94, 0.72));
  border-color: rgba(160, 190, 255, 0.18);
}

.dashboard-saved-card::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(255, 191, 45, 0.12);
}

.dashboard-saved-card-top,
.dashboard-saved-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.dashboard-saved-card strong {
  position: relative;
  z-index: 1;
  margin: 16px 0 10px;
  color: #fff6dc;
  font-size: 17px;
  letter-spacing: 0.08em;
}

.dashboard-card-brand {
  color: rgba(243, 247, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-card-chip {
  width: 30px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ffe3a1, #c7932a);
  box-shadow: inset 0 0 0 1px rgba(7, 16, 31, 0.22);
}

.dashboard-saved-card-meta {
  color: rgba(214, 223, 245, 0.68);
  font-size: 12px;
  font-weight: 700;
}

.dashboard-address-item span {
  color: rgba(214, 223, 245, 0.64);
  font-size: 13px;
  line-height: 1.45;
}

.dashboard-empty-state {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 128px;
  padding: 22px 16px;
  border-radius: 8px;
  border: 1px dashed rgba(157, 180, 225, 0.18);
  background: rgba(255, 255, 255, 0.018);
  color: rgba(214, 223, 245, 0.62);
  text-align: center;
}

.dashboard-empty-state p {
  margin: 0;
  font-size: 14px;
}

.dashboard-empty-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: rgba(255, 207, 107, 0.86);
  background: rgba(255, 191, 45, 0.07);
  border: 1px solid rgba(255, 191, 45, 0.17);
}

.dashboard-empty-icon svg {
  width: 22px;
  height: 22px;
}

.dashboard-inline-form {
  display: grid;
  gap: 12px;
}

.dashboard-inline-form label {
  margin-top: 0;
}

.dashboard-card-form,
.dashboard-address-form {
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(157, 180, 225, 0.1);
  background: rgba(255, 255, 255, 0.024);
}

.dashboard-form-title {
  all: unset;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 28px;
  color: rgba(214, 223, 245, 0.74);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-sizing: border-box;
}

.dashboard-form-toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 200ms ease;
}

.dashboard-form-toggle-icon svg {
  width: 16px;
  height: 16px;
}

.js-collapsible-form.is-open .dashboard-form-toggle-icon {
  transform: rotate(45deg);
}

.dashboard-form-body {
  display: none;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
}

.js-collapsible-form.is-open .dashboard-form-body {
  display: grid;
}

.dashboard-inline-form-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-field {
  display: grid;
  gap: 7px;
  color: rgba(237, 243, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.dashboard-field input {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid rgba(157, 180, 225, 0.15);
  background: rgba(15, 24, 46, 0.88);
  color: #f3f7ff;
  font-size: 15px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.dashboard-field input::placeholder {
  color: rgba(176, 190, 224, 0.42);
}

.dashboard-field input:focus {
  outline: none;
  border-color: rgba(93, 168, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(55, 117, 255, 0.1);
  background: rgba(15, 24, 46, 0.96);
}

.dashboard-save-button {
  min-height: 52px;
  margin-top: 4px;
  border-radius: 8px;
}

.dashboard-save-button span:first-child {
  font-size: 15px;
}

@media (max-width: 640px) {
  .dashboard-inline-form-split {
    grid-template-columns: 1fr;
  }

  .dashboard-save-button {
    width: 100%;
  }
}

.admin-merchant-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-merchant-type-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(157, 180, 225, 0.14);
  color: #ffcf6b;
  flex: 0 0 46px;
}

.admin-merchant-type-icon svg {
  width: 22px;
  height: 22px;
}

body.dashboard-page {
  color: #eef4ff;
}

.dashboard-card-shell {
  gap: 24px;
}

@media (min-width: 1280px) {
  .dashboard-page .admin-shell {
    padding: 24px 32px;
  }

  .dashboard-card-shell {
    width: min(100%, 1840px);
    min-height: auto;
    padding: 28px 32px 34px;
    border-radius: 18px;
    gap: 24px;
  }

  .dashboard-summary-grid .admin-merchant-details {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dashboard-account-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }

  .dashboard-toolbar {
    min-height: 120px;
  }

  .dashboard-toolbar .register-card-header {
    align-items: center;
  }

  .dashboard-summary-grid,
  .dashboard-links-row {
    margin-top: 6px;
  }
}

@media (min-width: 1600px) {
  .dashboard-links-row {
    grid-template-columns: minmax(720px, 1.15fr) minmax(560px, 0.85fr);
    gap: 32px;
  }

  .dashboard-card-layout {
    grid-template-columns: minmax(320px, 0.9fr) minmax(420px, 1.1fr);
  }

  .dashboard-address-layout {
    grid-template-columns: minmax(320px, 0.8fr) minmax(420px, 1.2fr);
    align-items: start;
  }
}

.dashboard-toolbar {
  align-items: center;
}

.dashboard-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dashboard-summary-grid .admin-merchant-details {
  margin: 0;
}

.dashboard-company-finance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.dashboard-finance-section {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(157, 180, 225, 0.10);
  background: rgba(255, 255, 255, 0.018);
}

.dashboard-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.dashboard-section-heading h2 {
  margin: 0;
  color: #f3f7ff;
  font-size: 18px;
}

.dashboard-finance-card {
  min-width: 0;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(157, 180, 225, 0.12);
  background: rgba(255, 255, 255, 0.026);
}

.dashboard-finance-card span {
  display: block;
  min-height: 28px;
  color: rgba(161, 189, 255, 0.72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-finance-card strong {
  display: block;
  margin-top: 6px;
  color: #fff7dd;
  font-size: 22px;
}

.dashboard-finance-card p {
  margin: 8px 0 0;
  color: rgba(214, 223, 245, 0.56);
  font-size: 12px;
  line-height: 1.35;
}

.dashboard-finance-card-strong {
  border-color: rgba(255, 191, 45, 0.28);
  background: rgba(255, 191, 45, 0.07);
}

.dashboard-company-grid,
.dashboard-user-grid {
  margin-top: 0;
}

.dashboard-page .payments-card {
  align-self: start;
}

.dashboard-page {
  overflow-x: hidden;
}

.dashboard-inline-link {
  color: #ffcf6b;
  font-weight: 800;
  text-decoration: none;
}

.dashboard-inline-link:hover {
  text-decoration: underline;
}

@media (max-width: 1180px) {
  .dashboard-company-finance {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-links-row {
    grid-template-columns: 1fr;
  }

  .dashboard-page .card,
  .dashboard-page .payments-card {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 800px) {
  .dashboard-toolbar {
    align-items: flex-start;
  }

  .dashboard-toolbar-actions {
    width: 100%;
  }

  .dashboard-company-finance {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1040px) {
  .dashboard-account-grid,
  .dashboard-card-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .dashboard-account-panel {
    padding: 16px;
  }

  .dashboard-panel-heading {
    align-items: center;
  }

  .dashboard-panel-heading h3 {
    font-size: 18px;
  }

  .dashboard-card-form,
  .dashboard-address-form {
    padding: 12px;
  }
}

body.pay-page {
  color: #eef4ff;
}

.pay-card-shell {
  gap: 18px;
}

.pay-amount {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff3d0;
  text-shadow: 0 10px 30px rgba(255, 191, 45, 0.18);
}

.pay-note {
  margin: 0;
}








.table .table-row a,
.table .table-row a:visited {
  color: #ffd166 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.table .table-row a:hover,
.table .table-row a:active {
  color: #ffe19a !important;
}

/* payments card shifted right, compact */
.payments-card {
  margin-left: 12px;
}

@media (max-width: 900px) {
  .payments-card {
    margin-left: 0;
  }
}

/* dashboard company grid — links wide, payments narrower */
.dashboard-links-row {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 20px;
  align-items: start;
}

@media (max-width: 900px) {
  .dashboard-links-row {
    grid-template-columns: 1fr;
  }
}

/* links HTML table */
.links-htable {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
  margin-top: 8px;
}

.links-htable col.col-date    { width: 120px; }
.links-htable col.col-amount  { width: 88px; }
.links-htable col.col-status  { width: 92px; }
.links-htable col.col-link    { width: auto; }
.links-htable col.col-actions { width: 56px; }

.links-htable th {
  text-align: left;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 12px;
  padding: 4px 8px 8px 0;
  white-space: nowrap;
}

.links-htable td {
  padding: 8px 8px 8px 0;
  vertical-align: middle;
  white-space: nowrap;
}

.links-htable tbody tr:nth-child(even) td {
  background: rgba(255,255,255,0.03);
}

.links-htable tbody tr:nth-child(even) td:first-child {
  border-radius: 8px 0 0 8px;
}

.links-htable tbody tr:nth-child(even) td:last-child {
  border-radius: 0 8px 8px 0;
}

.links-htable .link-url-cell {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.links-htable .link-actions-cell {
  text-align: right;
  white-space: nowrap;
}

.links-htable .link-url-cell a {
  color: #ffd166;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.links-htable .link-url-cell a:hover { color: #ffe19a; }

.link-actions-cell {
  white-space: nowrap;
  text-align: right;
}

.link-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  margin: 0;
  padding: 5px;
  width: auto;
  border-radius: 6px;
  cursor: pointer;
  color: #7a8a99;
  transition: color 0.15s, background 0.15s;
  vertical-align: middle;
  line-height: 1;
}

.link-icon-btn:hover {
  color: #7ec8e3;
  background: rgba(126,200,227,0.1);
}

.link-icon-btn.link-delete-btn:hover {
  color: #ff6b6b;
  background: rgba(255,107,107,0.1);
}

/* payments table — compact 3 columns */
.payments-table-row.table-row {
  grid-template-columns: 110px 1fr 1fr;
  gap: 12px;
  font-size: 13px;
}

.table-row div:first-child {
  white-space: nowrap;
}

/* zebra striping — data rows only (not header) */
.table .table-row:not(.header):nth-child(even) {
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
}

.table .table-row:not(.header):nth-child(odd) {
  background: rgba(255,255,255,0.005);
  border-radius: 8px;
}



/* payments card — compact */
.payments-card {
  padding: 14px 16px !important;
}

.payments-card h3 {
  font-size: 14px !important;
  margin-bottom: 10px !important;
}

.payments-table-row.table-row {
  font-size: 12px !important;
  gap: 8px !important;
  padding: 2px 0 !important;
}

/* payments table with commission columns */
.payments-table-row.table-row {
  grid-template-columns: 110px 1fr 72px 72px 82px 72px;
}

/* ─────────────────────────────────────────────
   IMMACULATE PAY PAGE
   ───────────────────────────────────────────── */

body.pay-page-body {
  background:
    radial-gradient(circle at 14% 14%, rgba(38,109,255,0.16), transparent 22%),
    radial-gradient(circle at 88% 8%,  rgba(255,176,44,0.10), transparent 18%),
    linear-gradient(180deg, #060d1d, #030711 72%);
  color: #eef4ff;
  min-height: 100vh;
}

.pay-shell {
  min-height: 100vh;
  width: min(100%, 540px);
  margin: 0 auto;
  padding: 18px 14px 32px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.pay-form {
  display: grid;
  gap: 10px;
  align-content: start;
}

/* Header */
.pay-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  font-weight: 700;
  color: rgba(161,189,255,0.55);
  margin-bottom: 8px;
}

.pay-merchant-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.pay-merchant-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255,191,45,0.1);
  border: 1px solid rgba(255,191,45,0.22);
  color: #ffcf6b;
  flex: 0 0 46px;
}

.pay-merchant-icon svg { width: 22px; height: 22px; }

.pay-merchant-info { flex: 1; min-width: 0; }

.pay-merchant-name {
  margin: 0;
  font-size: clamp(22px, 4vw, 28px);
  line-height: 1.1;
  color: #f3f7ff;
}

.pay-description {
  margin: 6px 0 0;
  color: rgba(214,223,245,0.65);
  font-size: 14px;
}

.pay-amount-display {
  font-size: clamp(36px, 7vw, 52px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff3d0;
  text-shadow: 0 8px 24px rgba(255,191,45,0.2);
  margin: 8px 0 4px;
}

.pay-header-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(255,191,45,0.3), transparent);
  margin-top: 4px;
}

/* Cards / sections */
.pay-card {
  padding: 14px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(8,17,36,0.95), rgba(5,11,24,0.95));
  border: 1px solid rgba(120,170,255,0.14);
  box-shadow: 0 18px 48px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.03);
  display: grid;
  gap: 10px;
  min-width: 0;
}

.pay-card-message {
  align-items: center;
  justify-items: center;
  padding: 28px 24px;
}

.pay-global-error {
  padding: 2px 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.pay-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(161,189,255,0.7);
}

.pay-user-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: 14px;
  color: rgba(214,223,245,0.82);
}

/* Messages */
.pay-message {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 600;
}

.pay-message-error {
  background: rgba(157,58,58,0.18);
  border: 1px solid rgba(255,120,120,0.26);
  color: #ffc9c9;
}

.pay-message-success {
  background: rgba(54,125,89,0.18);
  border: 1px solid rgba(95,209,140,0.26);
  color: #d9ffe9;
  font-size: 17px;
}

.pay-message-warning {
  background: rgba(140,100,20,0.18);
  border: 1px solid rgba(255,191,45,0.26);
  color: #ffe09a;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 14px;
}

/* Saved card / address options */
.pay-card-options {
  display: grid;
  gap: 8px;
}

.pay-option-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 12px;
  border: 1px solid rgba(120,170,255,0.12);
  background: rgba(255,255,255,0.025);
  cursor: pointer;
  transition: border-color 160ms, background 160ms;
}

.pay-option-row:hover { border-color: rgba(120,170,255,0.28); }

.pay-option-row:has(.pay-radio:checked) {
  border-color: rgba(255,191,45,0.45);
  background: rgba(255,191,45,0.06);
}

.pay-radio {
  width: 16px !important;
  height: 16px !important;
  min-height: unset !important;
  margin: 0 !important;
  accent-color: #ffbf2d;
  flex: 0 0 16px;
}

.pay-option-icon {
  display: inline-flex;
  align-items: center;
  color: rgba(214,223,245,0.6);
}

.pay-option-label {
  display: grid;
  gap: 2px;
  flex: 1;
  font-size: 14px;
}

.pay-card-dots { font-weight: 700; color: #f3f7ff; letter-spacing: 0.04em; }
.pay-card-meta { font-size: 12px; color: rgba(214,223,245,0.58); }

.pay-new-option { color: rgba(214,223,245,0.68); }

/* CVV only for saved card */
.pay-cvv-only {
  display: grid;
  padding-top: 8px;
}

.pay-cvv-field { max-width: 160px; }

/* New card / address form */
.pay-new-card-form,
.pay-new-address-form {
  display: grid;
  gap: 10px;
  padding-top: 8px;
}

/* Field grid */
.pay-field-grid { display: grid; gap: 10px; }
.pay-field-grid-split { grid-template-columns: repeat(2, minmax(0,1fr)); }
.pay-field-grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }

.pay-field {
  display: grid;
  gap: 7px;
}

.pay-field span {
  font-size: 13px;
  font-weight: 600;
  color: rgba(237,243,255,0.78);
}

.pay-field input {
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(157,180,225,0.15);
  background: rgba(15,24,46,0.88);
  color: #f3f7ff;
  font-size: 15px;
  transition: border-color 160ms, box-shadow 160ms;
}

.pay-field input:focus {
  outline: none;
  border-color: rgba(93,168,255,0.5);
  box-shadow: 0 0 0 3px rgba(55,117,255,0.10);
}

/* Login prompt */
.pay-login-prompt { padding: 14px 18px; }

.pay-login-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffcf6b;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: color 160ms;
}

.pay-login-link:hover { color: #ffe19a; }

.pay-divider-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pay-divider-line {
  flex: 1;
  height: 1px;
  background: rgba(157,180,225,0.14);
}

.pay-divider-text {
  font-size: 12px;
  color: rgba(214,223,245,0.5);
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Submit */
.pay-submit-row { display: grid; gap: 8px; }

.pay-submit-btn {
  width: 100%;
  min-height: 54px;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(90deg, #5d2dff, #7e3dff 36%, #ffbf2d 100%);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 18px 36px rgba(62,58,172,0.3);
  transition: transform 160ms, box-shadow 160ms;
}

.pay-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 42px rgba(62,58,172,0.38);
}

.pay-submit-icon {
  width: 30px; height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(7,12,26,0.3);
}

.pay-demo-note {
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: rgba(214,223,245,0.42);
}

@media (max-width: 540px) {
  .pay-field-grid-split { grid-template-columns: 1fr; }
  .pay-field-grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pay-cvv-field { max-width: 100%; }
}

/* ─────────────────────────────────────────────
   ADMIN — CATEGORIES + COMMISSION
   ───────────────────────────────────────────── */

.admin-section {
  display: grid;
  gap: 14px;
  padding-top: 8px;
  border-top: 1px solid rgba(157,180,225,0.10);
}

.admin-section-title {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: #eef4ff;
}

.admin-category-list {
  display: grid;
  gap: 10px;
}

.admin-category-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(120,170,255,0.12);
  background: rgba(255,255,255,0.025);
  flex-wrap: wrap;
}

.admin-category-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-commission-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(255,191,45,0.14);
  border: 1px solid rgba(255,191,45,0.22);
  color: #ffd978;
}

.admin-category-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-add-category-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: flex-end;
  padding-top: 4px;
}

.admin-add-category-form .admin-action {
  flex: 1 0 100%;
  min-height: 48px;
}

.admin-text-input {
  flex: 1;
  min-width: 140px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(157,180,225,0.18);
  background: rgba(15,24,46,0.88);
  color: #f3f7ff;
  font-size: 14px;
  width: auto;
  margin: 0;
}

.admin-bps-input {
  width: 90px;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 12px;
  border: 1px solid rgba(157,180,225,0.18);
  background: rgba(15,24,46,0.88);
  color: #f3f7ff;
  font-size: 14px;
  margin: 0;
}

.admin-select {
  min-height: 42px;
  padding: 0 10px;
  border-radius: 12px;
  border: 1px solid rgba(157,180,225,0.18);
  background: rgba(15,24,46,0.88);
  color: #f3f7ff;
  font-size: 14px;
  width: auto;
  margin: 0;
}

.admin-inline-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.admin-category-actions .admin-inline-form {
  margin-top: 0;
}

.admin-category-form,
.admin-commission-form {
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(157,180,225,0.08);
}

.admin-payout-form {
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255,191,45,0.05);
  border: 1px solid rgba(255,191,45,0.16);
}

.admin-money-input {
  width: 120px;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 12px;
  border: 1px solid rgba(157,180,225,0.18);
  background: rgba(15,24,46,0.88);
  color: #f3f7ff;
  font-size: 14px;
  margin: 0;
}

.admin-payout-note {
  max-width: 260px;
}

.admin-inline-label {
  font-size: 12px;
  font-weight: 700;
  color: rgba(214,223,245,0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  margin: 0;
}

.admin-action-small {
  min-height: 36px;
  padding: 0 12px;
  font-size: 13px;
  border-radius: 10px;
  margin: 0;
  width: auto;
}

.admin-commission-source {
  font-size: 11px;
  color: rgba(214,223,245,0.5);
  margin-left: 4px;
}

.admin-user-item {
  border-color: rgba(100,180,120,0.12);
}

.admin-finance-section {
  margin-top: 6px;
}

.admin-finance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}

.admin-finance-stat {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(157,180,225,0.10);
  background: rgba(255,255,255,0.025);
}

.admin-finance-stat span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: rgba(214,223,245,0.58);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-finance-stat strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
  color: #fff5d6;
}

.admin-finance-stat-strong {
  border-color: rgba(255,191,45,0.28);
  background: rgba(255,191,45,0.07);
}

.admin-finance-breakdown {
  margin-top: 10px;
  display: grid;
  gap: 5px;
  padding-top: 10px;
  border-top: 1px solid rgba(157,180,225,0.12);
}

.admin-finance-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(214,223,245,0.52);
}

.admin-finance-breakdown-row span:last-child {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.admin-finance-breakdown-net {
  color: #8ff0b4;
}

.admin-finance-columns {
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(0,1fr);
  gap: 12px;
}

.admin-finance-panel {
  min-width: 0;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(157,180,225,0.10);
  background: rgba(6,12,24,0.42);
}

.admin-finance-panel h3 {
  margin: 0 0 10px;
  font-size: 14px;
  color: #eef4ff;
}

.admin-finance-table {
  display: grid;
  gap: 6px;
  overflow-x: auto;
}

.admin-finance-row {
  display: grid;
  grid-template-columns: 90px repeat(5, minmax(100px,1fr));
  gap: 8px;
  align-items: center;
  min-width: 680px;
  padding: 9px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.025);
  color: rgba(238,244,255,0.88);
  font-size: 12px;
}

.admin-payout-table .admin-finance-row {
  grid-template-columns: 125px minmax(110px,1fr) 100px;
  min-width: 360px;
}

.admin-finance-panel-yearly {
  grid-column: span 2;
}

.admin-finance-row-head {
  color: rgba(214,223,245,0.58);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 640px) {
  .admin-merchant-details {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .admin-add-category-form { flex-direction: column; }
  .admin-text-input { width: 100%; }
  .admin-finance-grid,
  .admin-finance-columns { grid-template-columns: 1fr; }
  .admin-finance-panel-yearly { grid-column: auto; }
}

/* ── Footer ── */
.app-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px 24px;
  margin-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 12px;
  color: rgba(201,217,250,0.42);
  flex-wrap: wrap;
}
.app-footer-copy { letter-spacing: 0.01em; }
.app-footer-contact {
  color: #ffbf2d;
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.15s;
}
.app-footer-contact:hover { opacity: 1; }
