/* ==========================================
   UNIQUE.LIVE — MASTER STYLESHEET (styles.css)
   Contains Global Theme, Shell & Page Layouts
========================================== */

* {
  box-sizing: border-box;
}

:root {
  --bg: #050906;
  --green: #00e94f;
  --lime: #d9ff00;
  --gold: #ffc928;
  --text: #f3f7f1;
  --muted: #96a498;
}

body {
  margin: 0;
  background: radial-gradient(ellipse at 80% 10%, #06301555, transparent 28%),
              radial-gradient(ellipse at 20% 70%, #06351b30, transparent 30%),
              var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  min-height: 100vh;
}

button {
  font: inherit;
  cursor: pointer;
}

/* ==========================================
   SIDEBAR NAVIGATION
========================================== */
.sidebar {
  position: fixed;
  z-index: 5;
  inset: 15px auto 15px 15px;
  width: 270px;
  padding: 23px 16px 15px;
  border-radius: 27px;
  border: 1px solid #79ff9c28;
  background: linear-gradient(145deg, #141d17f5, #080d09f7);
  box-shadow: 0 0 30px #00e94f10;
  display: flex;
  flex-direction: column;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px 22px;
}

.logo {
  width: 48px;
  height: 48px;
  border: 1px solid #d9ff0066;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: var(--lime);
  font: 700 32px "Space Grotesk";
  background: #102417;
  text-shadow: 0 0 15px var(--green);
  position: relative;
}

.logo span {
  position: absolute;
  font-size: 13px;
  color: var(--gold);
  right: 4px;
  top: 0;
}

.brand b {
  font: 700 18px "Space Grotesk";
  letter-spacing: 0.5px;
}

.brand b span {
  color: var(--green);
}

.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 1.7px;
  color: #9cad9e;
  margin-top: 5px;
}

.close {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  color: white;
  font-size: 25px;
}

.network {
  font-size: 9px;
  letter-spacing: 1px;
  color: #a4b4a6;
  border: 1px solid #00e94f2a;
  border-radius: 12px;
  padding: 12px 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
}

.network i,
.chain i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.network b {
  margin-left: auto;
  color: var(--green);
}

nav {
  display: grid;
  gap: 7px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 12px;
  border-radius: 15px;
  border: 1px solid transparent;
  background: transparent;
  color: #a8b5aa;
  text-align: left;
  font-weight: 600;
}

.nav em {
  font-style: normal;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #1b221d;
  border-radius: 12px;
  font-size: 20px;
}

.nav.active {
  background: linear-gradient(100deg, #00e94f20, #d9ff0009);
  border-color: #00e94f4a;
  color: white;
  box-shadow: inset 3px 0 var(--green);
}

.nav.active em {
  background: linear-gradient(135deg, var(--green), var(--lime));
  color: #041007;
}

.sidebottom {
  margin-top: auto;
}

.sidebottom p {
  font-size: 11px;
  color: #9cad9e;
  padding: 15px 7px;
}

.sidebottom p b {
  color: var(--gold);
}

.sidebottom p span {
  float: right;
  font-size: 9px;
  color: var(--green);
}

#glow {
  width: 100%;
  text-align: left;
  border: 1px solid #ffffff10;
  border-radius: 14px;
  background: #171d18;
  color: #bdc9be;
  padding: 13px;
}

.switch {
  float: right;
  width: 28px;
  height: 16px;
  border-radius: 20px;
  background: #12672c;
  padding: 2px;
}

.switch:after {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  float: right;
}

.sidebottom > small {
  display: block;
  padding: 17px 7px 0;
  font-size: 8px;
  line-height: 1.8;
  letter-spacing: 1px;
  color: #728174;
}

/* ==========================================
   MAIN CONTENT & HEADER
========================================== */
main {
  margin-left: 300px;
  min-width: 0;
}

header {
  height: 88px;
  position: sticky;
  top: 0;
  z-index: 3;
  background: #050906e8;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid #ffffff0b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}

.headleft,
.headright {
  display: flex;
  align-items: center;
  gap: 14px;
}

header small {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #7f8c81;
}

header small span {
  color: var(--green);
}

h1 {
  font: 700 25px "Space Grotesk";
  margin: 5px 0;
}

.menu {
  display: none;
}

.chain {
  font-size: 11px;
  color: #a9b6aa;
  display: flex;
  gap: 8px;
  align-items: center;
}

#wallet {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #131a15;
  border: 1px solid #d9ff0030;
  border-radius: 30px;
  padding: 7px 12px 7px 7px;
  color: white;
  font-size: 11px;
  font-weight: 700;
}

.avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(130deg, var(--gold), var(--green));
  color: #061007;
}

.status {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #657365;
}

#wallet.connected .status {
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}

.content {
  max-width: 1700px;
  margin: auto;
  padding: 28px 32px;
}

/* ==========================================
   OVERVIEW PAGE COMPONENTS
========================================== */
.welcome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}

.green {
  color: var(--green);
  font-size: 9px;
  letter-spacing: 1.7px;
  font-weight: 700;
}

.welcome h2 {
  font: 700 27px "Space Grotesk";
  margin: 8px 0 5px;
}

.welcome h2 span {
  background: linear-gradient(90deg, var(--green), var(--lime), var(--gold));
  background-clip: text;
  color: transparent;
}

.welcome p {
  font-size: 12px;
  color: #91a092;
  margin: 0;
}

.member {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #ffffff10;
  background: #111812;
  border-radius: 16px;
  padding: 10px 13px;
}

.member > b {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: #00e94f17;
  color: var(--green);
  border-radius: 10px;
}

.member small {
  display: block;
  font-size: 8px;
  letter-spacing: 1px;
  color: #7e8d80;
  margin-bottom: 4px;
}

.member strong {
  font-size: 10px;
  white-space: nowrap;
}

.member hr {
  height: 28px;
  border: 0;
  border-left: 1px solid #ffffff19;
}

.meta {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 17px;
}

.meta span,
.meta button {
  border: 1px solid #ffffff0d;
  border-radius: 30px;
  padding: 9px 12px;
  background: #111612;
  color: #a9b6aa;
  font-size: 10px;
}

.meta .position {
  color: var(--green);
  background: #00e94f0d;
  border-color: #00e94f29;
}

.meta button {
  cursor: pointer;
}

.meta button b {
  color: white;
  font-family: monospace;
  margin-left: 5px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.stat,
.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid #9cffb21c;
  border-radius: 23px;
  background: linear-gradient(145deg, #172019, #0b100d 76%);
  box-shadow: inset 0 1px #ffffff07, 0 10px 25px #0003;
}

.stat {
  padding: 22px 20px;
}

.stat:before,
.panel:before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00e94f99, transparent);
}

.stat > div {
  font-size: 9px;
  letter-spacing: 1.2px;
  color: #9fafa1;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.stat > div b {
  font-size: 19px;
  color: var(--green);
}

.stat strong {
  display: block;
  font: 700 31px "Space Grotesk";
  margin: 18px 0 8px;
  white-space: nowrap;
}

.stat strong small {
  font: 600 9px "DM Sans";
  color: #849286;
}

.stat p {
  font-size: 10px;
  line-height: 1.6;
  color: #91a092;
  margin: 0;
  min-height: 32px;
}

.greenstat {
  border-color: #00e94f3d;
}

.greenstat strong {
  color: var(--green);
}

.goldstat {
  border-color: #ffc9282d;
}

.goldstat > div b,
.goldstat strong {
  color: var(--gold);
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.9fr);
  gap: 19px;
  align-items: start;
}

.left,
.right {
  display: grid;
  gap: 19px;
  min-width: 0;
}

.panel {
  padding: 22px;
}

.panelhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 19px;
}

.panel label {
  display: inline-block;
  padding: 7px 12px;
  border: 1px solid #d9ff002b;
  background: #d9ff0008;
  border-radius: 30px;
  font-size: 9px;
  letter-spacing: 2px;
  color: #cedbc8;
  font-weight: 700;
}

.panel h3 {
  font: 600 17px "Space Grotesk";
  margin: 12px 0 0;
}

.day {
  font-size: 10px;
  color: var(--green);
  font-weight: 700;
}

.claims {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.claim {
  padding: 16px 13px;
  border: 1px solid #ffffff10;
  border-radius: 19px;
  background: linear-gradient(150deg, #1b241d, #111612);
  min-width: 0;
}

.claim > b {
  font-size: 10px;
  color: #acb9ad;
}

.claim > strong {
  display: block;
  font: 700 26px "Space Grotesk";
  margin: 10px 0 5px;
}

.claim p {
  font-size: 10px;
  color: #8d9c8f;
  line-height: 1.6;
  min-height: 31px;
  margin: 0 0 12px;
}

.claim button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 30px;
  padding: 8px 9px 8px 13px;
  background: linear-gradient(110deg, var(--green), var(--lime));
  color: #061007;
  font-weight: 700;
  font-size: 11px;
}

.claim button i {
  font-style: normal;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0002;
  font-size: 16px;
}

.claim.disabled button {
  opacity: 0.4;
  cursor: not-allowed;
}

.footnote {
  font-size: 10px;
  line-height: 1.8;
  color: #92a094;
  margin: 18px 0 0;
}

.muted {
  font-size: 9px;
  color: #91a092;
}

.income {
  display: grid;
  gap: 18px;
}

.income p {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 11px;
}

.income p span {
  font-family: monospace;
  white-space: nowrap;
}

.income p small {
  font-family: "DM Sans";
  font-size: 9px;
  color: #7f8c81;
}

.income > div > i {
  height: 7px;
  display: block;
  background: #252d27;
  border-radius: 20px;
  overflow: hidden;
}

.income u {
  height: 100%;
  display: block;
  text-decoration: none;
  border-radius: 20px;
  background: linear-gradient(90deg, var(--green), var(--lime));
  box-shadow: 0 0 10px #00e94f30;
}

.income u.goldbar {
  background: linear-gradient(90deg, var(--gold), var(--green));
}

.gold {
  color: var(--gold);
  font-size: 22px;
}

.url {
  font: 11px/1.7 monospace;
  color: #9fb0a1;
  overflow-wrap: anywhere;
  margin: 0 0 15px;
}

.actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.goldbtn,
.address {
  display: flex;
  align-items: center;
  gap: 17px;
  border-radius: 30px;
  padding: 9px 11px 9px 16px;
  font-size: 11px;
  font-weight: 700;
}

.goldbtn {
  border: 1px solid #ffdf66;
  background: linear-gradient(115deg, #ffcf38, #f3a900);
  color: #171200;
}

.goldbtn i {
  font-style: normal;
  padding: 7px;
  border-radius: 50%;
  background: #5539001a;
}

.address {
  border: 1px solid #ffffff12;
  background: #1b221c;
  color: #aab8ab;
  gap: 6px;
}

.address b {
  font-family: monospace;
  color: white;
}

.shortcuts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.shortcuts button {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 12px;
  border: 1px solid #ffffff11;
  background: linear-gradient(120deg, #1b231d, #131914);
  border-radius: 14px;
  color: #e8eee7;
  font-size: 11px;
  font-weight: 600;
  text-align: left;
}

.shortcuts button span {
  color: var(--gold);
  font-size: 16px;
}

.shortcuts button:hover {
  border-color: #00e94f60;
}

.notice {
  display: flex;
  gap: 12px;
  padding: 17px;
  border: 1px solid #00e94f30;
  border-radius: 19px;
  background: linear-gradient(120deg, #00e94f10, #ffc92805);
}

.notice > b {
  color: var(--green);
  font-size: 19px;
}

.notice p {
  font-size: 11px;
  line-height: 1.8;
  color: #c2cdc3;
  margin: 0;
}

.view {
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 10px;
}

.activity {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 0;
  border-bottom: 1px solid #ffffff0b;
}

.activity:last-child {
  border: 0;
  padding-bottom: 0;
}

.activity > b {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 10px;
  background: #00e94f18;
  color: var(--green);
}

.activity div {
  display: grid;
  gap: 4px;
}

.activity strong {
  font-size: 11px;
}

.activity small {
  font-size: 10px;
  color: #8b998d;
}

.activity time {
  margin-left: auto;
  font-size: 9px;
  color: #78877a;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 23px 2px 5px;
  color: #68776b;
  font-size: 8px;
  letter-spacing: 0.7px;
}

footer span {
  color: #91a092;
}

.toast {
  position: fixed;
  z-index: 20;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  background: #17251a;
  border: 1px solid #00e94f60;
  color: white;
  padding: 12px 17px;
  border-radius: 13px;
  font-size: 12px;
  max-width: 90%;
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.no-glow .stat,
.no-glow .panel,
.no-glow .sidebar {
  box-shadow: none;
}

/* ==========================================
   GENERIC ROUTE & FORM UTILITIES
========================================== */
[hidden] {
  display: none !important;
}

.route-panel {
  margin-bottom: 18px;
}

.route-highlight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #00e94f30;
  border-radius: 18px;
  padding: 22px;
  background: linear-gradient(110deg, #00e94f0d, #ffc92806);
}

.route-highlight small {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #96a498;
}

.route-highlight h2 {
  font: 700 25px "Space Grotesk";
  margin: 8px 0;
  color: var(--green);
}

.route-highlight p,
.route-cards p {
  font-size: 11px;
  color: #93a095;
}

.route-icon {
  font-size: 35px;
  color: var(--gold);
}

.route-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.route-cards .panel h3 {
  margin: 17px 0;
}

.route-price {
  display: block;
  font: 700 25px "Space Grotesk";
  color: var(--gold);
  margin: 12px 0;
}

.route-action {
  border: 1px solid #00e94f40;
  background: linear-gradient(110deg, #00e94f, #d9ff00);
  color: #061007;
  border-radius: 30px;
  padding: 11px 15px;
  font-size: 11px;
  font-weight: 700;
  margin-top: 8px;
}

.route-stats {
  margin-bottom: 18px;
}

.empty-state {
  border: 1px dashed #00e94f30;
  background: #00e94f05;
  border-radius: 17px;
  padding: 28px 18px;
  text-align: center;
}

.empty-state > span {
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #00e94f12;
  color: var(--green);
  font-size: 24px;
}

.empty-state b {
  font-size: 12px;
}

.empty-state p {
  font-size: 11px;
  line-height: 1.7;
  color: #8f9e92;
  max-width: 420px;
  margin: 8px auto 0;
}

.empty-state.compact {
  margin-top: 18px;
  padding: 20px;
}

.form-grid {
  display: grid;
  gap: 9px;
  max-width: 600px;
}

.form-grid label {
  font-size: 11px;
  color: #b5c2b6;
  margin-top: 6px;
}

.form-grid input {
  width: 100%;
  background: #080d09;
  border: 1px solid #ffffff1b;
  color: #f3f7f1;
  border-radius: 12px;
  padding: 12px;
  font: 12px "DM Sans";
  outline: none;
}

.form-grid input:focus {
  border-color: #00e94f80;
  box-shadow: 0 0 0 3px #00e94f12;
}

.wallet-value {
  font-size: 25px !important;
  overflow-wrap: anywhere;
}

/* ==========================================
   UNIQUE.LIVE — PACKAGES PAGE STYLES
========================================== */
.packages-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(300px, 0.88fr);
  gap: 19px;
  align-items: start;
}

.packages-layout .left,
.packages-layout .right {
  display: grid;
  gap: 19px;
  min-width: 0;
}

.package-builder,
.package-explainer,
.packages-layout .panel {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid #9cffb21c;
  border-radius: 23px;
  background: linear-gradient(145deg, #172019, #0b100d 76%);
  box-shadow: inset 0 1px #ffffff07, 0 10px 25px #0003;
}

.package-builder::before,
.package-explainer::before,
.packages-layout .panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00e94f99, transparent);
  pointer-events: none;
}

.package-builder h3 {
  margin: 16px 0 10px;
  font: 700 25px "Space Grotesk", sans-serif;
  letter-spacing: -0.6px;
}

.package-intro {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin: 0 0 22px;
}

.package-intro strong {
  color: var(--text);
}

.package-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.package-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
  min-height: 178px;
  padding: 15px 12px;
  text-align: left;
  font-family: inherit;
  color: var(--text);
  cursor: pointer;
  border: 1px solid #ffffff12;
  border-radius: 19px;
  background: linear-gradient(145deg, #1b241d, #111612);
  transition: border-color 0.2s, transform 0.2s;
}

.package-option:not(:disabled):hover {
  transform: translateY(-2px);
  border-color: #00e94f80;
}

.package-option.selected {
  border-color: #1597c8;
  background: linear-gradient(145deg, #14231d, #111713);
  box-shadow: inset 0 0 20px #00e94f08, 0 0 18px #00e94f08;
}

.package-option:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.package-name {
  color: #9fafa1;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

.package-name b {
  float: right;
  color: var(--gold);
}

.package-option > strong {
  margin: 2px 0;
  font: 700 30px "Space Grotesk", sans-serif;
}

.package-option > span:not(.package-name) {
  color: #9ba99d;
  font-size: 10px;
  line-height: 1.5;
}

.package-option em {
  color: var(--gold);
  font-size: 10px;
  font-style: normal;
}

.package-option small {
  margin-top: auto;
  color: #89968a;
  font-size: 8px;
  letter-spacing: 0.8px;
}

.package-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 17px;
}

.package-metrics > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  padding: 15px 12px;
  border: 1px solid #ffffff12;
  border-radius: 17px;
  background: linear-gradient(145deg, #1b241d, #141815);
}

.package-metrics small {
  color: #a0afa1;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
}

.package-metrics strong {
  font: 700 19px "Space Grotesk", sans-serif;
}

.package-metrics span {
  color: #9ba99d;
  font-size: 10px;
  line-height: 1.5;
}

.wallet-warning {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 17px;
  padding: 15px 17px;
  border: 1px solid #ffc92845;
  border-radius: 18px;
  background: linear-gradient(100deg, #ffc92813, #ffc92805);
}

.wallet-warning > span {
  color: var(--gold);
  font-size: 19px;
}

.wallet-warning p {
  margin: 0;
  color: #e5e9df;
  font-size: 13px;
}

.wallet-warning strong {
  color: white;
}

.buy-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 19px;
}

.buy-package {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 225px;
  padding: 10px 11px 10px 20px;
  border: 0;
  border-radius: 35px;
  background: linear-gradient(110deg, #1680ad, #2458a5);
  color: #f0f6ef;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.buy-package span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff18;
  font-size: 20px;
}

.buy-package:hover {
  filter: brightness(1.15);
}

.wallet-details {
  color: #a5b0a4;
  font-size: 10px;
}

.wallet-details strong {
  color: var(--text);
  font-family: monospace;
}

.package-help {
  margin: 16px 0 0;
  color: #9ba79b;
  font-size: 10px;
  line-height: 1.8;
}

/* Package details on the right */

.package-summary {
  display: grid;
  gap: 9px;
  margin-top: 15px;
}

.package-summary > div {
  padding: 15px;
  border: 1px solid #ffffff12;
  border-radius: 18px;
  background: linear-gradient(145deg, #1b211d, #151916);
}

.package-summary > div.summary-selected {
  border-color: #1971a2;
  background: linear-gradient(110deg, #15231d, #182027);
}

.package-summary header {
  position: static;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.package-summary header strong {
  font: 700 20px "Space Grotesk", sans-serif;
}

.package-summary header b,
.package-summary header span {
  color: var(--gold);
}

.package-summary p {
  margin: 8px 0 0;
  color: #a2aea1;
  font-size: 11px;
  line-height: 1.6;
}

.package-explain-text {
  margin: 16px 1px 0;
  color: #a1ada1;
  font-size: 11px;
  line-height: 1.85;
}

/* Package history table */

.package-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 17px;
}

.package-table {
  width: 100%;
  min-width: 300px;
  border-collapse: collapse;
}

.package-table th {
  padding: 0 8px 12px;
  border-bottom: 1px solid #ffffff13;
  color: #9ca99d;
  text-align: left;
  font-size: 9px;
  letter-spacing: 1.3px;
}

.package-table td {
  padding: 17px 8px;
  border-bottom: 1px solid #ffffff08;
  color: var(--text);
  font-size: 11px;
  white-space: nowrap;
}

.package-table td:nth-child(2) {
  font-family: monospace;
  font-weight: 700;
}

.package-table td:last-child {
  color: #37caff;
}

/* ==========================================
   MEDIA QUERIES (RESPONSIVE LAYOUTS)
========================================== */
@media (max-width: 1250px) {
  .sidebar {
    width: 240px;
  }
  main {
    margin-left: 265px;
  }
  .content {
    padding: 23px;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .welcome {
    align-items: flex-start;
    flex-direction: column;
  }
  .layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.85fr);
  }
}

@media (max-width: 1200px) {
  .packages-layout {
    grid-template-columns: 1fr;
  }
  .packages-layout .right {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

@media (max-width: 950px) {
  .sidebar {
    transform: translateX(-120%);
    transition: 0.25s;
    width: 275px;
    inset: 12px auto 12px 12px;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .close,
  .menu {
    display: block;
  }
  .close {
    margin-left: auto;
    background: transparent;
    border: 0;
    color: white;
    font-size: 24px;
  }
  main {
    margin: 0;
  }
  header {
    height: 78px;
    padding: 0 19px;
  }
  .menu {
    background: #121913;
    border: 1px solid #00e94f30;
    border-radius: 10px;
    padding: 9px;
    color: white;
  }
  .chain {
    display: none;
  }
  .layout {
    grid-template-columns: 1fr;
  }
  .right {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .content {
    padding: 22px 20px;
  }
  .route-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .packages-layout {
    gap: 12px;
  }
  .packages-layout .left,
  .packages-layout .right {
    gap: 12px;
  }
  .packages-layout .right {
    grid-template-columns: 1fr;
  }
  .package-builder,
  .package-explainer,
  .packages-layout .panel {
    padding: 18px 14px;
    border-radius: 20px;
  }
  .package-builder h3 {
    font-size: 21px;
  }
  .package-intro {
    font-size: 11px;
  }
  .package-options {
    gap: 6px;
  }
  .package-option {
    min-height: 165px;
    padding: 11px 8px;
    gap: 7px;
    border-radius: 15px;
  }
  .package-name {
    font-size: 8px;
    letter-spacing: 0.8px;
  }
  .package-option > strong {
    font-size: 23px;
  }
  .package-option > span:not(.package-name),
  .package-option em {
    font-size: 9px;
  }
  .package-metrics {
    gap: 6px;
  }
  .package-metrics > div {
    padding: 12px 8px;
    border-radius: 14px;
  }
  .package-metrics small {
    font-size: 7px;
    letter-spacing: 0.4px;
  }
  .package-metrics strong {
    font-size: 15px;
  }
  .package-metrics span {
    font-size: 8px;
  }
  .wallet-warning {
    padding: 13px;
    font-size: 11px;
  }
  .buy-package {
    width: 100%;
    min-width: 0;
    font-size: 12px;
  }
  .wallet-details {
    font-size: 9px;
  }
  .package-help,
  .package-explain-text {
    font-size: 10px;
  }
  .package-summary > div {
    padding: 12px;
  }
  .package-summary p {
    font-size: 10px;
  }
}

@media (max-width: 600px) {
  header {
    padding: 0 12px;
    height: 72px;
  }
  .headleft {
    gap: 9px;
  }
  header small {
    font-size: 7px;
  }
  h1 {
    font-size: 21px;
  }
  #wallet {
    font-size: 9px;
    padding: 6px;
    gap: 5px;
  }
  .avatar {
    width: 26px;
    height: 26px;
  }
  .content {
    padding: 18px 12px;
  }
  .welcome h2 {
    font-size: 23px;
  }
  .welcome p {
    font-size: 11px;
    line-height: 1.6;
  }
  .member {
    gap: 7px;
    padding: 8px;
  }
  .member strong {
    font-size: 9px;
  }
  .member small {
    font-size: 7px;
  }
  .meta span,
  .meta button {
    font-size: 9px;
    padding: 8px;
  }
  .stats {
    gap: 9px;
  }
  .stat {
    padding: 15px 12px;
    border-radius: 18px;
  }
  .stat > div {
    font-size: 7px;
    letter-spacing: 0.5px;
  }
  .stat > div b {
    font-size: 15px;
  }
  .stat strong {
    font-size: 25px;
    margin: 14px 0 7px;
  }
  .stat p {
    font-size: 9px;
  }
  .layout {
    display: block;
  }
  .left,
  .right {
    gap: 12px;
    margin-bottom: 12px;
  }
  .right {
    display: grid;
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 17px 14px;
    border-radius: 20px;
  }
  .panel h3 {
    font-size: 15px;
    line-height: 1.4;
  }
  .claims {
    gap: 6px;
  }
  .claim {
    padding: 12px 9px;
    border-radius: 15px;
  }
  .claim > b {
    font-size: 8px;
  }
  .claim > strong {
    font-size: 22px;
  }
  .claim p {
    font-size: 9px;
    min-height: 42px;
  }
  .claim button {
    padding: 7px 7px 7px 9px;
    font-size: 9px;
    gap: 3px;
  }
  .claim button i {
    width: 20px;
    height: 20px;
  }
  .income p {
    font-size: 10px;
  }
  .shortcuts button {
    font-size: 10px;
    padding: 13px 10px;
  }
  footer {
    font-size: 7px;
    line-height: 1.7;
  }
  .route-highlight {
    padding: 16px;
  }
  .route-cards {
    grid-template-columns: 1fr;
  }
  .route-stats {
    grid-template-columns: 1fr 1fr;
  }
  .route-stats .stat:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}