/* ============================================================
   CryptoView — Main CSS  (matches reference screenshot exactly)
============================================================ */
:root {
  --bg: #0d1117;
  --bg2: #161b22;
  --bg3: #1c2128;
  --bg4: #21262d;
  --card: #161b22;
  --border: #30363d;
  --border2: #21262d;
  --text: #e6edf3;
  --text2: #8b949e;
  --text3: #6e7681;
  --yellow: #f0b90b;
  --green: #0ecb81;
  --red: #f6465d;
  --blue: #388bfd;
  --radius: 8px;
  --radius-lg: 12px;
}

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

html {
  scroll-behavior: smooth
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased
}

a {
  color: inherit;
  text-decoration: none
}

img {
  display: block;
  max-width: 100%
}

input,
select,
textarea,
button {
  font-family: inherit;
  font-size: inherit
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px
}

::-webkit-scrollbar-track {
  background: var(--bg)
}

::-webkit-scrollbar-thumb {
  background: #30363d;
  border-radius: 3px
}

/* NAV2 — 2-row redesign */
.nav2 {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #0b0e13;
  border-bottom: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(16px);
}

/* ── ROW 1 ── */
.nav2-top {
  display: flex;
  align-items: center;
  padding: 0 20px;
  height: 48px;
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.nav2-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-right: 28px;
  flex-shrink: 0;
  white-space: nowrap;
  text-decoration: none;
}

.nav2-logo-icon {
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #06d6a0, #00b4d8);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  color: #0b0e13;
}

.nav2-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav2-links a,
.nav2-dd-trigger {
  padding: 5px 11px;
  border-radius: 6px;
  color: var(--text2);
  font-size: 13px;
  font-weight: 500;
  transition: all .15s;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  white-space: nowrap;
}

.nav2-links a:hover,
.nav2-dd-trigger:hover { color: var(--text); background: rgba(255,255,255,.06); }
.nav2-links a.on { color: var(--text); background: rgba(255,255,255,.08); }

/* Quick links right */
.nav2-quick {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav2-ql {
  padding: 5px 11px;
  border-radius: 6px;
  color: var(--text2);
  font-size: 12px;
  font-weight: 500;
  transition: .15s;
  text-decoration: none;
  white-space: nowrap;
}
.nav2-ql:hover { color: var(--text); background: rgba(255,255,255,.06); }

/* ── ROW 2 ── */
.nav2-bottom {
  display: flex;
  align-items: center;
  padding: 0 20px;
  height: 44px;
  gap: 8px;
}

/* Search */
.nav2-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  padding: 6px 14px;
  width: 230px;
  position: relative;
  transition: .2s;
  color: var(--text3);
}
.nav2-search:focus-within {
  border-color: rgba(6,214,160,.5);
  width: 270px;
  color: var(--text2);
}
.nav2-search input {
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 13px;
  flex: 1;
  min-width: 0;
}
.nav2-search input::placeholder { color: var(--text3); }
.nav2-slash {
  font-size: 11px;
  color: var(--text3);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 4px;
  padding: 1px 5px;
  flex-shrink: 0;
}

/* Theme toggle */
.nav2-theme-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  color: var(--text2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .15s;
  flex-shrink: 0;
}
.nav2-theme-btn:hover { border-color: #06d6a0; color: #06d6a0; }

/* User dropdown button */
.nav2-user-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: .15s;
  white-space: nowrap;
}
.nav2-user-btn:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); }

/* Inline user links */
.nav2-user-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 7px;
  color: var(--text2);
  font-size: 12px;
  font-weight: 500;
  transition: .15s;
  text-decoration: none;
  white-space: nowrap;
}
.nav2-user-link:hover { background: rgba(255,255,255,.06); color: var(--text); }

/* Logout button */
.nav2-logout-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 13px;
  border-radius: 7px;
  background: rgba(246,70,93,.12);
  border: 1px solid rgba(246,70,93,.3);
  color: var(--red);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: .15s;
  text-decoration: none;
  white-space: nowrap;
}
.nav2-logout-btn:hover { background: rgba(246,70,93,.22); border-color: rgba(246,70,93,.6); }

/* Sign In */
.nav2-signin {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 7px;
  background: var(--yellow);
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: .15s;
}
.nav2-signin:hover { filter: brightness(1.1); }

/* Admin badge */
.nav2-admin-link {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 6px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--text2);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: .15s;
}
.nav2-admin-link:hover { color: var(--text); border-color: rgba(255,255,255,.2); }

/* Dropdown shared */
.nav2-dd { position: relative; }
.nav2-dd-trigger {
  user-select: none;
}
.nav2-dd-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #161b22;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  min-width: 185px;
  padding: 6px;
  box-shadow: 0 12px 32px rgba(0,0,0,.6);
  z-index: 300;
}
.nav2-dd:hover .nav2-dd-menu { display: block; }
.nav2-dd-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 7px;
  color: var(--text2);
  font-size: 13px;
  transition: .15s;
  text-decoration: none;
}
.nav2-dd-menu a:hover { background: rgba(255,255,255,.06); color: var(--text); }

/* Keep old .nav for any legacy pages still using it */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(13, 17, 23, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 56px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 0
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 800;
  margin-right: 24px;
  flex-shrink: 0;
  color: var(--text);
  white-space: nowrap
}

.nav-logo .logo-icon {
  width: 26px;
  height: 26px;
  background: var(--yellow);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #1a1a1a;
  font-weight: 900
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1
}

.nav-links a,
.nav-links .dd-trigger {
  padding: 6px 13px;
  border-radius: 6px;
  color: var(--text2);
  font-size: 13px;
  font-weight: 500;
  transition: .15s;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  border: none;
  background: none;
  white-space: nowrap
}

.nav-links a:hover,
.nav-links .dd-trigger:hover {
  color: var(--text);
  background: var(--bg3)
}

.nav-links a.on {
  color: var(--text);
  background: var(--bg3)
}

.dd {
  position: relative
}

.dd-menu {
  display: none;
  position: absolute;
  top: calc(100%+6px);
  left: 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-width: 180px;
  padding: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .5);
  z-index: 300
}

.dd:hover .dd-menu {
  display: block
}

.dd-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius);
  color: var(--text2);
  font-size: 13px;
  transition: .15s
}

.dd-menu a:hover {
  background: var(--bg3);
  color: var(--text)
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 7px 14px;
  width: 220px;
  position: relative;
  transition: .2s
}

.nav-search:focus-within {
  border-color: var(--yellow);
  width: 260px
}

.nav-search input {
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 13px;
  flex: 1;
  min-width: 0
}

.nav-search input::placeholder {
  color: var(--text3)
}

.nav-search .slash {
  font-size: 11px;
  color: var(--text3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 5px;
  flex-shrink: 0
}

.search-drop {
  position: absolute;
  top: calc(100%+6px);
  left: 0;
  right: 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-height: 320px;
  overflow-y: auto;
  z-index: 400;
  display: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .5)
}

.search-drop.show {
  display: block
}

.search-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid var(--border2);
  transition: .15s
}

.search-item:hover {
  background: var(--bg3)
}

.search-item:last-child {
  border: none
}

.search-item img {
  width: 24px;
  height: 24px;
  border-radius: 50%
}

.search-item-name {
  font-size: 13px;
  font-weight: 600
}

.search-item-sym {
  font-size: 11px;
  color: var(--text3)
}

.nav-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .15s;
  font-size: 15px
}

.nav-icon-btn:hover {
  border-color: var(--yellow);
  color: var(--yellow)
}

.btn-signin {
  padding: 7px 16px;
  background: var(--yellow);
  border: none;
  border-radius: 20px;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: .15s;
  white-space: nowrap
}

.btn-signin:hover {
  opacity: .88
}

/* TICKER */
.ticker {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  height: 30px;
  overflow: hidden;
  display: flex;
  align-items: center
}

.ticker-inner {
  display: flex;
  animation: ticker-scroll 80s linear infinite;
  white-space: nowrap
}

.ticker-inner:hover {
  animation-play-state: paused
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 14px;
  font-size: 11.5px;
  border-right: 1px solid var(--border2)
}

.ticker-sym {
  font-weight: 700;
  color: var(--text)
}

.ticker-price {
  color: var(--text2)
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

/* CONTAINERS */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px
}

/* CARD */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border)
}

.card-title {
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px
}

.card-body {
  padding: 16px
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: .15s;
  border: 1px solid;
  text-decoration: none
}

.btn-primary {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #1a1a1a
}

.btn-primary:hover {
  opacity: .88;
  color: #1a1a1a
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text2)
}

.btn-ghost:hover {
  border-color: var(--yellow);
  color: var(--yellow)
}

.btn-danger {
  background: rgba(246, 70, 93, .1);
  border-color: rgba(246, 70, 93, .4);
  color: var(--red)
}

.btn-sm {
  padding: 5px 10px;
  font-size: 12px
}

.btn-lg {
  padding: 11px 24px;
  font-size: 15px
}

.btn-full {
  width: 100%;
  justify-content: center
}

.btn:disabled {
  opacity: .5;
  cursor: not-allowed
}

/* FORMS */
.form-control {
  width: 100%;
  padding: 9px 12px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 13px;
  outline: none;
  transition: .2s
}

.form-control:focus {
  border-color: var(--yellow)
}

.form-group {
  margin-bottom: 14px
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: .4px
}

.form-hint {
  font-size: 11px;
  color: var(--text3);
  margin-top: 4px
}

.form-hint a {
  color: var(--blue)
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

/* TABLE */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch
}

table {
  width: 100%;
  border-collapse: collapse
}

th {
  padding: 10px 12px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .5px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap
}

td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border2);
  vertical-align: middle
}

tr:last-child td {
  border-bottom: none
}

tbody tr {
  cursor: pointer;
  transition: background .1s
}

tbody tr:hover {
  background: var(--bg3)
}

.r {
  text-align: right
}

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

.coin-cell {
  display: flex;
  align-items: center;
  gap: 10px
}

.coin-ico {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0
}

.coin-ico-txt {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  flex-shrink: 0
}

.coin-name {
  font-weight: 600;
  font-size: 13px
}

.coin-sym {
  font-size: 11px;
  color: var(--text3);
  text-transform: uppercase;
  margin-top: 1px
}

/* BADGES */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600
}

.badge-green {
  background: rgba(14, 203, 129, .12);
  color: var(--green);
  border: 1px solid rgba(14, 203, 129, .3)
}

.badge-red {
  background: rgba(246, 70, 93, .12);
  color: var(--red);
  border: 1px solid rgba(246, 70, 93, .3)
}

.badge-yellow {
  background: rgba(240, 185, 11, .12);
  color: var(--yellow);
  border: 1px solid rgba(240, 185, 11, .3)
}

.badge-blue {
  background: rgba(56, 139, 253, .12);
  color: var(--blue);
  border: 1px solid rgba(56, 139, 253, .3)
}

.badge-admin {
  background: rgba(124, 58, 237, .15);
  color: #a78bfa;
  border: 1px solid rgba(124, 58, 237, .3)
}

/* ALERTS */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  margin-bottom: 14px;
  font-size: 13px;
  border: 1px solid
}

.alert-success {
  background: rgba(14, 203, 129, .08);
  border-color: rgba(14, 203, 129, .3);
  color: var(--green)
}

.alert-error {
  background: rgba(246, 70, 93, .08);
  border-color: rgba(246, 70, 93, .3);
  color: var(--red)
}

.alert-warn {
  background: rgba(240, 185, 11, .08);
  border-color: rgba(240, 185, 11, .3);
  color: var(--yellow)
}

/* COLORS */
.up {
  color: var(--green)
}

.down {
  color: var(--red)
}

/* PAGINATION */
.pagination {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin-top: 16px
}

.pagination a,
.pagination span {
  padding: 6px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--text2);
  font-size: 13px;
  transition: .15s
}

.pagination a:hover {
  border-color: var(--yellow);
  color: var(--yellow)
}

.pagination .cur {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #1a1a1a;
  font-weight: 700
}

/* LIVE DOT */
.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .4;
    transform: scale(.75)
  }
}

/* FOOTER */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 40px 0 20px;
  margin-top: 0
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px
}

.footer-brand-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px
}

.footer-brand-icon {
  width: 28px;
  height: 28px;
  background: var(--yellow);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #1a1a1a;
  font-weight: 900
}

.footer-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 14px
}

.footer-socials {
  display: flex;
  gap: 8px
}

.footer-soc {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text3);
  font-size: 13px;
  transition: .15s
}

.footer-soc:hover {
  border-color: var(--yellow);
  color: var(--yellow)
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text2);
  margin-bottom: 8px;
  transition: .15s
}

.footer-col a:hover {
  color: var(--yellow)
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text3);
  flex-wrap: wrap;
  gap: 8px
}

.footer-bottom-center {
  display: flex;
  align-items: center;
  gap: 6px
}

/* ADMIN */
.admin-layout {
  display: flex;
  min-height: calc(100vh - 56px)
}

.sidebar {
  width: 220px;
  background: var(--bg2);
  border-right: 1px solid var(--border);
  flex-shrink: 0;
  padding: 12px 0;
  position: sticky;
  top: 56px;
  height: calc(100vh - 56px);
  overflow-y: auto
}

.sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  color: var(--text3);
  font-size: 13px;
  text-decoration: none;
  transition: .15s
}

.sidebar a:hover,
.sidebar a.active {
  background: var(--bg3);
  color: var(--text)
}

.sidebar a.active {
  color: var(--yellow);
  border-right: 2px solid var(--yellow)
}

.s-section {
  padding: 10px 20px 4px;
  font-size: 10px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-top: 6px
}

.admin-content {
  flex: 1;
  padding: 24px;
  overflow: auto;
  min-width: 0
}

.page-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px
}

.page-sub {
  font-size: 13px;
  color: var(--text2)
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border2);
  font-size: 13px
}

.info-row:last-child {
  border: none
}

.info-lbl {
  color: var(--text2)
}

/* AUTH */
.auth-wrap {
  min-height: calc(100vh - 56px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: radial-gradient(ellipse at top, #1a1a2e, var(--bg))
}

.auth-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  max-width: 420px
}

.auth-logo {
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 6px
}

.auth-logo span {
  color: var(--yellow)
}

.auth-subtitle {
  font-size: 13px;
  color: var(--text2);
  text-align: center;
  margin-bottom: 24px
}

.auth-footer {
  font-size: 13px;
  color: var(--text2);
  text-align: center;
  margin-top: 16px
}

.auth-footer a {
  color: var(--yellow)
}

.divider {
  position: relative;
  text-align: center;
  margin: 16px 0;
  color: var(--text3);
  font-size: 12px
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border)
}

.divider span {
  position: relative;
  background: var(--card);
  padding: 0 12px
}

/* ARTICLE */
.article-content h2,
.article-content h3 {
  color: var(--text);
  margin: 20px 0 8px;
  font-weight: 700
}

.article-content h2 {
  font-size: 18px
}

.article-content h3 {
  font-size: 16px
}

.article-content p {
  margin-bottom: 12px;
  color: var(--text2);
  line-height: 1.8
}

.article-content ul,
.article-content ol {
  margin: 8px 0 12px 20px;
  color: var(--text2)
}

.article-content li {
  margin-bottom: 5px;
  line-height: 1.7
}

.article-content a {
  color: var(--yellow)
}

.article-content strong {
  color: var(--text)
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px
}

.article-content td,
.article-content th {
  padding: 8px 12px;
  border: 1px solid var(--border);
  font-size: 13px
}

.article-content th {
  background: var(--bg3);
  font-weight: 700
}

.article-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0
}

/* RESPONSIVE */
@media(max-width:1200px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr
  }
}

@media(max-width:900px) {
  .nav-links {
    display: none
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:600px) {
  .footer-grid {
    grid-template-columns: 1fr
  }

  .two-col {
    grid-template-columns: 1fr
  }

  .sidebar {
    display: none
  }

  .admin-content {
    padding: 16px
  }
}