:root {
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", "Roboto", sans-serif;
  background: #0f1115;
  color: #e7ebf7;
}

.exchange-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 240px 1fr;
}

.exchange-sidebar {
  border-right: 1px solid #242a33;
  background: #161a20;
  padding: 24px 16px;
}

.brand-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 18px;
}

.brand-block strong {
  font-size: 1.05rem;
  color: #f4c542;
}

.brand-block span {
  color: #8f97a8;
  font-size: 0.85rem;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.side-nav a {
  color: #adb5c5;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
}

.side-nav a.active,
.side-nav a:hover {
  background: #232a34;
  border-color: #3a434f;
  color: #ffffff;
}

.exchange-main {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page-header h1 {
  margin: 0;
  font-size: 1.6rem;
}

.page-header p {
  margin: 6px 0 0;
  color: #9199a8;
}

.grid {
  display: grid;
  gap: 16px;
}

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

.grid.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four-col {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.panel {
  border: 1px solid #2d3540;
  border-radius: 14px;
  background: #161b22;
  padding: 14px;
}

.panel h3,
.panel h4 {
  margin: 0 0 12px;
}

.panel.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.panel.stat strong {
  font-size: 1.3rem;
}

.panel.stat span {
  color: #9199a8;
  font-size: 0.85rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th,
td {
  text-align: left;
  padding: 8px;
  border-bottom: 1px solid #2a313c;
}

th {
  color: #8e96a6;
  font-weight: 600;
}

.mock-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.mock-form label {
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  color: #b9c1cf;
}

.mock-form input,
.mock-form select {
  background: #11161d;
  border: 1px solid #343e4d;
  color: #eaf0ff;
  border-radius: 10px;
  padding: 9px 10px;
}

.mock-form button {
  margin-top: 4px;
  border: 1px solid #7a6330;
  background: #f4c542;
  color: #161a20;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 600;
  cursor: pointer;
}

.mock-form button:hover {
  background: #ffd25d;
}

.check-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
}

.notice {
  margin: 0 0 10px;
  font-size: 0.86rem;
  color: #9199a8;
  min-height: 18px;
}

.notice[data-state="success"] {
  color: #6ee7a8;
}

.notice[data-state="error"] {
  color: #ff8e8e;
}

.market-strip {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 12px;
  align-items: center;
}

.pair-block {
  display: flex;
  flex-direction: column;
}

.pair-block h2 {
  margin: 0;
  font-size: 1.35rem;
}

.pair-block span {
  color: #8e96a6;
  font-size: 0.82rem;
}

.ticker-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ticker-stat span {
  color: #8e96a6;
  font-size: 0.78rem;
}

.ticker-stat strong {
  font-size: 1rem;
  color: #f1f4fa;
}

.terminal-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

.terminal-side {
  display: grid;
  gap: 16px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.table-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-filter-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 12px;
}

.admin-filter-form label {
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
  color: #aeb6c7;
}

.admin-filter-form input,
.admin-filter-form select {
  background: #11161d;
  border: 1px solid #343e4d;
  color: #eaf0ff;
  border-radius: 10px;
  padding: 8px 10px;
}

.admin-filter-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
}

.badge-pending_review,
.badge-active,
.badge-rejected,
.badge-closed,
.badge-none,
.badge-pending,
.badge-approved {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.78rem;
  border: 1px solid transparent;
}

.badge-pending_review {
  background: rgba(255, 184, 77, 0.14);
  border-color: rgba(255, 184, 77, 0.35);
  color: #ffd08a;
}

.badge-active {
  background: rgba(74, 222, 128, 0.14);
  border-color: rgba(74, 222, 128, 0.35);
  color: #8ef3b3;
}

.badge-rejected {
  background: rgba(248, 113, 113, 0.14);
  border-color: rgba(248, 113, 113, 0.35);
  color: #ff9d9d;
}

.badge-none {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.35);
  color: #cbd5e1;
}

.badge-pending {
  background: rgba(255, 184, 77, 0.14);
  border-color: rgba(255, 184, 77, 0.35);
  color: #ffd08a;
}

.badge-approved {
  background: rgba(74, 222, 128, 0.14);
  border-color: rgba(74, 222, 128, 0.35);
  color: #8ef3b3;
}

.badge-closed {
  background: rgba(148, 163, 184, 0.14);
  border-color: rgba(148, 163, 184, 0.35);
  color: #c7d0df;
}

.intervals {
  display: flex;
  gap: 6px;
}

.intervals span {
  background: #1e242d;
  border: 1px solid #343e4d;
  border-radius: 8px;
  padding: 3px 8px;
  color: #adb5c5;
  font-size: 0.78rem;
}

.chart-panel {
  min-height: 360px;
}

.chart-placeholder {
  height: 300px;
  border: 1px solid #2e3743;
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(244, 197, 66, 0.1), rgba(244, 197, 66, 0) 65%),
    repeating-linear-gradient(
      to right,
      rgba(146, 156, 176, 0.08) 0,
      rgba(146, 156, 176, 0.08) 1px,
      transparent 1px,
      transparent 40px
    ),
    repeating-linear-gradient(
      to bottom,
      rgba(146, 156, 176, 0.08) 0,
      rgba(146, 156, 176, 0.08) 1px,
      transparent 1px,
      transparent 34px
    );
  position: relative;
  overflow: hidden;
}

.chart-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 56%;
  height: 2px;
  background: linear-gradient(90deg, #6edfa7, #f4c542, #f97373);
}

.compact-panel h3 {
  margin-bottom: 8px;
}

table.dense th,
table.dense td {
  padding: 6px;
  font-size: 0.82rem;
}

.buy {
  color: #6ee7a8;
}

.sell {
  color: #ff8e8e;
}

.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.side-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.side-tab {
  border: 1px solid #3a434f;
  background: #1e242d;
  color: #c3cbda;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}

.side-tab.active[data-side="buy"] {
  background: rgba(110, 231, 168, 0.18);
  border-color: #3a8b65;
  color: #6ee7a8;
}

.side-tab.active[data-side="sell"] {
  background: rgba(255, 142, 142, 0.16);
  border-color: #a65959;
  color: #ff8e8e;
}

.percent-quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.price-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.price-quick button {
  border: 1px solid #374250;
  background: #1b212a;
  color: #b7c0d0;
  border-radius: 8px;
  padding: 6px 0;
  cursor: pointer;
}

.price-quick button:hover {
  border-color: #f4c542;
  color: #f4c542;
}

.percent-quick button {
  border: 1px solid #374250;
  background: #1b212a;
  color: #b7c0d0;
  border-radius: 8px;
  padding: 6px 0;
  cursor: pointer;
}

.percent-quick button:hover {
  border-color: #f4c542;
  color: #f4c542;
}

.balance-hint {
  margin: -2px 0 0;
  color: #8e96a6;
  font-size: 0.82rem;
}

.order-value {
  margin: -4px 0 0;
  color: #aab3c4;
  font-size: 0.82rem;
}

.order-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: -2px;
  font-size: 0.8rem;
  color: #9ba4b6;
}

.order-preview strong {
  color: #e9edf7;
}

.hidden {
  display: none !important;
}

.order-warning {
  margin: 0;
  min-height: 18px;
  font-size: 0.82rem;
}

.order-warning[data-state="error"] {
  color: #ff8e8e;
}

.cancel-btn {
  border: 1px solid #3e4a5c;
  background: #1a2028;
  color: #d1d8e6;
  border-radius: 8px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 0.8rem;
}

.cancel-btn:hover {
  border-color: #ff8e8e;
  color: #ff8e8e;
}

.action-btn.approve:hover {
  border-color: #6ee7a8;
  color: #6ee7a8;
}

.action-btn.reject:hover {
  border-color: #ff8e8e;
  color: #ff8e8e;
}

.terminal-bottom {
  align-items: start;
}

.mock-form button.accent {
  background: #f4c542;
  color: #14181f;
}

.action-row {
  margin-top: 2px;
}

.mock-form .buy-action {
  background: #2d7d57;
  border-color: #286e4d;
  color: #ebfff4;
}

.mock-form .buy-action:hover {
  background: #379467;
}

.mock-form .sell-action {
  background: #9b3e3e;
  border-color: #873434;
  color: #fff1f1;
}

.mock-form .sell-action:hover {
  background: #b04a4a;
}

@media (max-width: 1100px) {
  .exchange-layout {
    grid-template-columns: 1fr;
  }

  .exchange-sidebar {
    border-right: 0;
    border-bottom: 1px solid #1f2a45;
  }

  .grid.two-col,
  .grid.three-col,
  .grid.four-col {
    grid-template-columns: 1fr;
  }

  .terminal-grid,
  .market-strip {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 760px) {
  .admin-filter-form {
    grid-template-columns: 1fr;
  }
}

.exchange-sidebar {
  border-right-color: var(--lux-border);
  background: linear-gradient(180deg, #0d1610 0%, #0a130e 100%);
}

.brand-block strong {
  color: var(--lux-accent);
  letter-spacing: 0.04em;
}

.brand-block span,
.page-header p,
.panel.stat span,
.ticker-stat span,
th {
  color: var(--lux-text-muted);
}

.side-nav a {
  color: #b5d5c2;
  border-color: #1b3326;
}

.side-nav a.active,
.side-nav a:hover {
  background: #16271d;
  border-color: var(--lux-border-strong);
  color: #e8fff1;
}

.side-nav a.active {
  box-shadow: inset 3px 0 0 #4de39f;
}

.panel {
  border-color: var(--lux-border);
  background: linear-gradient(180deg, rgba(20, 33, 25, 0.94) 0%, rgba(12, 21, 16, 0.98) 100%);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
}

.exchange-main {
  gap: 22px;
}

.exchange-main > section + section {
  margin-top: 2px;
  padding-top: 16px;
  border-top: 1px solid rgba(67, 122, 90, 0.24);
}

.panel + .panel {
  margin-top: 14px;
}

th,
td {
  border-bottom-color: #183225;
}

.mock-form input,
.mock-form select {
  background: #08120c;
  border-color: #234631;
  color: var(--lux-text);
}

.mock-form button,
.mock-form .buy-action,
.mock-form .sell-action,
.accent {
  background: linear-gradient(180deg, #39d98a 0%, #26975f 100%);
  border-color: #2aac69;
  color: #041008;
}

.mock-form .buy-action,
.accent.buy-action {
  background: linear-gradient(180deg, #43df95 0%, #2da867 100%);
  border-color: #35b875;
}

.mock-form .sell-action,
.accent.sell-action {
  background: linear-gradient(180deg, #412222 0%, #2d1818 100%);
  border-color: #b65454;
  color: #ffc4c4;
}

.mock-form .sell-action:hover,
.accent.sell-action:hover {
  background: linear-gradient(180deg, #582d2d 0%, #3d2020 100%);
}

.cancel-btn {
  border: 1px solid #3f684f;
  background: #102117;
  color: #c5f3da;
  border-radius: 8px;
  padding: 7px 9px;
}

.cancel-btn:hover {
  background: #173122;
  border-color: #56b782;
}

.mock-form button:hover,
.mock-form .buy-action:hover,
.mock-form .sell-action:hover,
.accent:hover {
  background: linear-gradient(180deg, #51e6a0 0%, #2fad6d 100%);
}

.notice[data-state="success"],
.buy {
  color: #63f5ad;
}

.notice[data-state="error"],
.sell {
  color: #ff7f7f;
}

.chart-line {
  background: linear-gradient(90deg, #4be3a3, #38c47f, #1f7b4f);
}

.exchange-main,
.panel,
.compact-panel,
.market-strip,
.table-filters,
.panel-head,
.row-2,
.action-row,
.price-quick,
.percent-quick {
  max-width: 100%;
}

.panel,
.compact-panel {
  overflow: hidden;
}

.panel h3,
.panel h4,
.pair-block h2,
.notice,
th,
td,
.side-nav a,
.mock-form label,
.balance-hint,
.order-value,
.order-warning {
  word-break: break-word;
}

.panel a,
.exchange-main a {
  color: #7ff0b6;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.panel a:hover,
.exchange-main a:hover {
  color: #b2ffd7;
}

.mock-form input,
.mock-form select,
.mock-form button,
.accent,
.cancel-btn,
.side-tab {
  width: 100%;
  max-width: 100%;
  white-space: normal;
}

.table-wrap,
.panel table {
  display: block;
  width: 100%;
  overflow-x: auto;
}

.price-quick,
.percent-quick,
.action-row,
.side-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.price-quick button,
.percent-quick button,
.action-row button,
.side-tabs button {
  flex: 1 1 120px;
}

.price-quick button,
.percent-quick button,
.side-tabs button {
  border: 1px solid #2c5f44;
  background: #102117;
  color: #d2f8e4;
}

.side-tabs .side-tab.active {
  border-color: #58d392;
  background: #1a3a28;
  color: #ecfff4;
}

table tbody tr:nth-child(even) {
  background: rgba(15, 31, 22, 0.45);
}

@media (max-width: 420px) {
  .exchange-main {
    padding: 12px;
    gap: 14px;
  }

  .exchange-main > section + section {
    padding-top: 10px;
  }

  .exchange-sidebar {
    padding: 14px 10px;
  }

  .brand-block {
    margin-bottom: 12px;
  }

  .brand-block strong {
    font-size: 0.95rem;
  }

  .side-nav a {
    padding: 9px 10px;
    font-size: 0.88rem;
  }

  .panel,
  .compact-panel {
    padding: 11px;
    border-radius: 12px;
  }

  .pair-block h2,
  .page-header h1 {
    font-size: 1.1rem;
  }

  .panel h3,
  .panel h4 {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .table-wrap,
  .panel table {
    font-size: 0.8rem;
  }

  th,
  td {
    padding: 6px;
  }

  .row-2,
  .price-quick,
  .percent-quick,
  .action-row,
  .side-tabs {
    gap: 6px;
  }

  .mock-form label {
    font-size: 0.84rem;
  }

  .mock-form input,
  .mock-form select,
  .mock-form button,
  .cancel-btn,
  .side-tab {
    font-size: 0.86rem;
    padding: 9px 10px;
    min-height: 40px;
  }

  .cancel-btn {
    min-height: 36px;
    padding: 7px 8px;
  }
}

.exchange-main {
  position: relative;
}

.exchange-main::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 92% -8%, rgba(89, 234, 160, 0.08), transparent 34%);
}

.panel h3,
.panel h4 {
  color: #eafcf2;
}

.panel {
  border-radius: 14px;
}

.market-strip.panel {
  border-color: #2c6a49;
}

.mock-form button,
.cancel-btn,
.side-tab,
.action-btn,
.access-btn {
  transition: transform 0.12s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.mock-form button:active,
.cancel-btn:active,
.side-tab:active,
.action-btn:active,
.access-btn:active {
  transform: translateY(1px);
}

.mock-form .buy-action,
.accent.buy-action {
  box-shadow: 0 9px 18px rgba(45, 151, 95, 0.28);
}

.mock-form .sell-action,
.accent.sell-action {
  box-shadow: 0 8px 16px rgba(92, 38, 38, 0.28);
}

.price-quick button,
.percent-quick button,
.side-tabs button,
.cancel-btn,
.action-btn {
  border-radius: 9px;
}

.panel table {
  border-radius: 10px;
}

.panel table::-webkit-scrollbar {
  height: 8px;
}

.panel table::-webkit-scrollbar-thumb {
  background: #2a5a40;
  border-radius: 10px;
}

.panel table::-webkit-scrollbar-track {
  background: #0c1711;
}

.panel a:focus-visible,
.side-nav a:focus-visible,
.mock-form button:focus-visible,
.cancel-btn:focus-visible,
.side-tab:focus-visible,
.action-btn:focus-visible,
.mock-form input:focus-visible,
.mock-form select:focus-visible {
  outline: 2px solid rgba(112, 239, 173, 0.92);
  outline-offset: 2px;
}
.landing-page {
  min-height: 100vh;
  padding: 48px 20px;
  background: radial-gradient(circle at top, #182130 0%, #0f1115 45%, #0f1115 100%);
  color: #e7ebf7;
  font-family: "Inter", "Segoe UI", "Roboto", sans-serif;
}

.hero h1 {
  margin: 10px 0 14px;
  font-size: 2rem;
  line-height: 1.25;
}

.hero-actions {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.landing-header {
  max-width: 900px;
  margin: 0 auto 32px;
  text-align: center;
}

.landing-brand {
  font-size: 2rem;
  font-weight: 700;
  color: #f4c542;
  margin-bottom: 10px;
}

.landing-subtitle {
  margin: 0;
  color: #9199a8;
  font-size: 1.05rem;
  line-height: 1.45;
}

.flash-stack {
  max-width: 900px;
  margin: 0 auto 18px;
  display: grid;
  gap: 8px;
}

.flash {
  border-radius: 10px;
  padding: 10px 12px;
  border: 1px solid;
  font-size: 0.95rem;
}

.flash-notice {
  background: #1d3a2c;
  border-color: #2d7d57;
  color: #dff7ea;
}

.flash-alert {
  background: #4a2323;
  border-color: #8b3f3f;
  color: #ffe8e8;
}

.landing-session-actions {
  max-width: 900px;
  margin: 0 auto 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: #c8cfdb;
  font-size: 0.95rem;
}

.landing-access {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.landing-highlights {
  align-items: stretch;
}

.staking-card {
  border-color: #2d7d57;
}

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

.staking-plans div {
  border: 1px solid #334f42;
  border-radius: 10px;
  background: #132018;
  padding: 8px;
  display: grid;
  gap: 4px;
}

.staking-plans strong {
  font-size: 0.9rem;
}

.staking-plans span {
  font-size: 0.82rem;
  color: #8fd2aa;
}

.access-card {
  border: 1px solid #2d3540;
  border-radius: 14px;
  background: #161b22;
  padding: 20px;
}

.access-card h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.access-card p {
  margin: 0 0 16px;
  color: #9199a8;
  line-height: 1.45;
}

.access-card h3 {
  margin: 12px 0 10px;
  font-size: 0.98rem;
  color: #e2e8f6;
}

.auth-form {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.auth-links {
  display: grid;
  gap: 8px;
}

.form-input {
  background: #0f1319;
  border: 1px solid #313946;
  border-radius: 10px;
  color: #e7ebf7;
  padding: 10px 12px;
  font-size: 0.95rem;
  line-height: 1.25;
}

.form-input:focus {
  outline: none;
  border-color: #4f6f95;
  box-shadow: 0 0 0 1px #4f6f95;
}

.access-btn {
  display: inline-block;
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}

.access-btn-user {
  background: #214f36;
  border-color: #2d7d57;
  color: #ebfff4;
}

.access-btn-admin {
  background: #5e2f2f;
  border-color: #8b3f3f;
  color: #fff2f2;
}

.access-btn:hover {
  filter: brightness(1.08);
}

.quick-link {
  display: inline-block;
  margin-top: 4px;
  color: #a9b8d1;
  text-decoration: none;
  font-size: 0.92rem;
}

.quick-link:hover {
  color: #f4c542;
}

.access-btn-logout {
  width: auto;
  background: #262d39;
  border-color: #3a4658;
  color: #edf2ff;
  padding: 8px 12px;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #0f1115;
}

.auth-page.auth-user {
  background: radial-gradient(circle at top, #14281e 0%, #0f1115 45%, #0f1115 100%);
}

.auth-page.auth-admin {
  background: radial-gradient(circle at top, #2b1717 0%, #0f1115 45%, #0f1115 100%);
}

.auth-card {
  width: min(520px, 100%);
  border: 1px solid #2d3540;
  border-radius: 14px;
  background: #161b22;
  padding: 22px;
}

.auth-card h1 {
  margin: 0 0 10px;
  font-size: 1.45rem;
}

.auth-card p {
  margin: 0 0 16px;
  color: #9199a8;
}

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

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

  .staking-plans {
    grid-template-columns: 1fr;
  }

  .landing-session-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

.landing-page {
  background: radial-gradient(circle at top, #153121 0%, var(--lux-bg) 46%, #020402 100%);
  color: var(--lux-text);
}

.landing-header,
.landing-access {
  position: relative;
}

.landing-header {
  margin-bottom: 42px;
}

.landing-access {
  gap: 22px;
  margin-top: 20px;
}

.landing-access + .landing-access {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(70, 129, 95, 0.3);
}

.landing-brand {
  color: var(--lux-accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.landing-subtitle,
.access-card p,
.auth-card p,
.landing-session-actions {
  color: var(--lux-text-muted);
}

.access-card,
.auth-card {
  border-color: var(--lux-border);
  background: linear-gradient(180deg, rgba(20, 35, 26, 0.88) 0%, rgba(13, 23, 18, 0.96) 100%);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
}

.access-card {
  padding: 24px;
}

.staking-card,
.flash-notice {
  border-color: var(--lux-border-strong);
}

.flash-notice {
  background: rgba(17, 49, 33, 0.78);
  color: #d4fbe5;
}

.flash-alert {
  background: rgba(68, 22, 22, 0.75);
  border-color: #8d3535;
  color: #ffdede;
}

.form-input {
  background: #08110b;
  border-color: var(--lux-border);
  color: var(--lux-text);
}

.form-input:focus {
  border-color: var(--lux-accent);
  box-shadow: 0 0 0 1px var(--lux-accent);
}

.access-btn-user,
.hero-actions .access-btn-user,
.auth-form .access-btn-user {
  background: linear-gradient(180deg, #34c47d 0%, #268f5b 100%);
  border-color: #2aa666;
  color: #05120a;
}

.access-btn-admin,
.hero-actions .access-btn-admin,
.auth-form .access-btn-admin {
  background: linear-gradient(180deg, #1a2f23 0%, #122319 100%);
  border-color: #58c68d;
  color: #9ff5c8;
  box-shadow: inset 0 0 0 1px rgba(116, 229, 167, 0.28);
}

.access-btn:hover {
  filter: brightness(1.1);
}

.access-btn-logout {
  background: #122319;
  border-color: var(--lux-border-strong);
  color: var(--lux-text);
}

.landing-session-actions .access-btn-logout {
  min-width: 120px;
}

.quick-link {
  color: #b8e7cb;
}

.auth-links .quick-link,
.access-card .quick-link {
  padding: 8px 10px;
  border: 1px solid rgba(76, 145, 108, 0.35);
  border-radius: 9px;
  background: rgba(14, 30, 21, 0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quick-link:hover {
  color: #63f5ad;
  border-color: rgba(108, 206, 152, 0.6);
  background: rgba(20, 42, 30, 0.95);
}

.auth-page.auth-user,
.auth-page.auth-admin {
  background: radial-gradient(circle at top, #143522 0%, var(--lux-bg) 50%, #020402 100%);
}

.hero h1,
.access-card h2,
.auth-card h1,
.landing-subtitle,
.access-card p,
.check-list li,
.landing-session-actions span {
  word-break: break-word;
}

.access-card,
.auth-card,
.landing-session-actions {
  overflow: hidden;
}

.auth-links,
.hero-actions {
  width: 100%;
}

.quick-link {
  display: block;
  width: 100%;
  line-height: 1.35;
}

.access-btn {
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  line-height: 1.3;
  min-height: 46px;
}

.form-input {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 420px) {
  .landing-page {
    padding: 24px 12px;
  }

  .landing-header {
    margin-bottom: 26px;
  }

  .landing-brand {
    font-size: 1.35rem;
  }

  .hero h1 {
    font-size: 1.34rem;
    line-height: 1.3;
  }

  .landing-subtitle {
    font-size: 0.95rem;
  }

  .landing-access {
    gap: 14px;
    margin-top: 14px;
  }

  .landing-access + .landing-access {
    margin-top: 16px;
    padding-top: 14px;
  }

  .access-card,
  .auth-card {
    border-radius: 12px;
    padding: 16px;
  }

  .access-card h2,
  .auth-card h1 {
    font-size: 1.14rem;
    margin-bottom: 8px;
  }

  .auth-page {
    padding: 12px;
  }

  .access-btn,
  .landing-session-actions .access-btn-logout {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .landing-session-actions {
    gap: 8px;
  }

  .auth-links .quick-link,
  .access-card .quick-link {
    padding: 7px 9px;
    font-size: 0.88rem;
  }
}

.landing-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 80% -10%, rgba(64, 196, 131, 0.12), transparent 36%);
}

.access-card h2,
.auth-card h1 {
  color: #eafcf1;
  letter-spacing: 0.01em;
}

.check-list {
  gap: 8px;
}

.check-list li::marker {
  color: #69e3a5;
}

.access-btn {
  transition: transform 0.14s ease, box-shadow 0.18s ease, filter 0.2s ease;
}

.access-btn:active {
  transform: translateY(1px);
}

.quick-link:focus-visible,
.access-btn:focus-visible,
.form-input:focus-visible {
  outline: 2px solid rgba(113, 243, 176, 0.92);
  outline-offset: 2px;
}

.hero-actions .access-btn-user,
.auth-form .access-btn-user {
  box-shadow: 0 10px 22px rgba(39, 140, 88, 0.32);
}

.hero-actions .access-btn-admin,
.auth-form .access-btn-admin {
  box-shadow: 0 8px 18px rgba(20, 45, 32, 0.35);
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

:root {
	color-scheme: dark;
	--lux-bg: #050806;
	--lux-bg-soft: #0b120d;
	--lux-surface: #101b14;
	--lux-surface-elev: #14231a;
	--lux-border: #1f3a2b;
	--lux-border-strong: #2c5b41;
	--lux-text: #e8f8ee;
	--lux-text-muted: #90b39d;
	--lux-accent: #39d98a;
	--lux-accent-strong: #2fb875;
	--lux-danger: #ca4f4f;
}

body {
	background: radial-gradient(circle at 20% -10%, #12301f 0%, var(--lux-bg) 48%, #030504 100%);
	color: var(--lux-text);
}

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

h1,
h2,
h3,
h4,
p,
li,
span,
a,
button {
	overflow-wrap: anywhere;
}
