/* ============================================================
   SuperTwentyPlus Currency Neon
   Convert2 Tron/Neon Theme
=============================================================== */

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

:root {
  --bg: #04012b; /* 070b14 */
  --fg: #e8faff;
  --muted: #8ddfff;
  --accent: #00ffff;
  --accent-strong: #06b6d4;
  --border: #00c3ff;
  --shadow: rgba(0,174,255,0.85);
}

body {
  font-family: 'Orbitron', sans-serif;
  background: var(--bg);
  color: var(--fg);
  padding: 1rem;
}

/* Hamburger Menu */
.hamburger-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 70px;
  background: rgba(0,0,0,0.75);
  border-bottom: 2px solid var(--accent);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 22px;
  z-index: 99999;
}
.hamburger-brand { font-size: 1.1rem; color: var(--accent); }
.hamburger-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--accent);
  cursor: pointer;
}
.hamburger-menu {
  position: absolute;
  right: 22px;
  top: 70px;
  background: rgba(0,0,0,0.92);
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 10px 0;
  min-width: 220px;
  display: none;
  flex-direction: column;
}
.hamburger-menu.open { display: flex; }
.hamburger-menu a {
  padding: 10px 18px;
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
}
.hamburger-menu a:hover {
  background: rgba(0,255,255,0.15);
  color: var(--fg);
}

/* Convert2 container */
.converter-container {
  max-width: 900px;
  margin: 90px auto;
  padding: 1.5rem;
  background-color: rgba(0, 10, 20, 0.8);
  border-radius: 16px;
  box-shadow: 0 0 25px var(--shadow);
  border: 1px solid var(--border);
}

/* Header */
.header h1 {
  color: var(--accent);
  text-shadow: 0 0 12px var(--accent);
  margin-bottom: .75rem;
}

.header .subheading {
  margin-top: -.8rem;
  margin-bottom: 1rem; /* controls gap below */
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

/* Two columns */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0.5rem;
}

/* Panels - */
.controls,
.results-panel {
  background: rgba(0,15,25,0.7);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 0 20px var(--shadow);
}

.full { width: 100%; }

/* Inputs */
input, select {
  width: 100%;
  padding: .6rem;
  background: rgba(0,12,20,0.8) !important;
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: 8px;
}
input:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 14px var(--accent);
}



.crypto-logo {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.results-box strong {
  opacity: 0.6;
  font-size: 0.75rem;
}



/* Results Panel --  */
.results-box {
  margin-top: .75rem;
  border: 1px solid var(--border);
  padding: .75rem;
  border-radius: 10px;
  background: rgba(0,10,18,.6);
  max-height: 800px; /* height of cards */
  min-height: 420px;
  overflow: auto;
  scroll-behavior: smooth;
}

.results-box ul { list-style: none; }

.results-box li {
  display: flex;
  justify-content: space-between;
  padding: .40rem .30rem;
  border-bottom: 1px dashed var(--border);
  font-variant-numeric: tabular-nums;
  font-size: .80rem; /* dropped by one size */
}
.results-box li:last-child {
  border-bottom: none;
}

.unit { opacity: .9; }
.value { font-weight: bold; }


        .meta-row {
          display: flex;              /* horizontal row by default */
          align-items: center;        /* vertically aligned */
          gap: 0.5rem;                /* space between Base / Updated */
          flex-wrap: nowrap;          /* keep inline on desktop */
        }



.meta-chip {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(0,12,20,0.7);
  font-size: .75rem;
  color: var(--muted);
}


/* RESPONSIVE FIX */
@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
}


@media (max-width: 468px) {
  .meta-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.35rem !important;
  }

  .meta-chip {
    width: 100%;
    text-align: left;
  }
}

/* LEGAL / DISCLAIMER PANEL */
.legal-card {
  margin-top: 3rem;
  padding: 1rem 1.1rem;
  background: rgba(30, 10, 0, 0.35);
  border: 1px solid #ffcc33;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(255, 200, 0, 0.25);
}

.legal-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffd966;
  margin-bottom: 0.75rem;
  text-shadow: 0 0 6px rgba(255, 200, 0, 0.55);
}

.legal-list {
  padding-left: 1rem;
  margin-bottom: 0.75rem;
}

.legal-list li {
  margin-bottom: 0.55rem;
  line-height: 1.45;
  font-size: 0.82rem;
  color: var(--fg);
}

.legal-fineprint {
  font-size: 0.72rem;
  opacity: 0.75;
  color: #ffd966;
  margin-top: 0.75rem;
}

/* Add spacing below Amount input */
#amountInput {
  margin-bottom: 1rem;
}

/* FX disclosure (manual) */
#stp-fx-anchor { margin-top: 10px; }

.stp-fx-disclosure {
  margin-top: 6px;
  font-size: 0.7rem;
  color: var(--muted);
  opacity: 0.85;
  line-height: 1.4;
}



