/* screen: dashboard — main portfolio overview layout */

.dash-body {
  padding: 20px 24px;
  max-width: 1440px;
  margin: 0 auto;
}

.dash-disclaimer {
  font-size: 10px;
  color: var(--dim);
  text-align: center;
  padding: 20px 0 8px;
  border-top: 1px solid var(--border);
  margin-top: 20px;
  letter-spacing: 0.3px;
}

/* ── Locked nav tabs ────────────────────────────────────────────────────────── */

.nav-tab-locked {
  color: var(--dim) !important;
  cursor: not-allowed !important;
  opacity: 0.5;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tab-lock {
  opacity: 0.65;
  flex-shrink: 0;
  vertical-align: middle;
}

/* ── Preview / paywall layout ───────────────────────────────────────────────── */

.visible-rows-wrap {
  position: relative;
  overflow-x: auto;
}

.preview-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: linear-gradient(to bottom, transparent 0%, var(--bg2) 100%);
  pointer-events: none;
  z-index: 2;
}

/* ── Paywall zone (locked content container) ────────────────────────────────── */

.paywall-zone {
  position: relative;
  min-height: 560px;
  background: var(--bg2);
  overflow: hidden;
}

.paywall-bg {
  position: absolute;
  inset: 0;
  filter: blur(1.5px);
  opacity: 0.22;
  pointer-events: none;
  user-select: none;
}

/* ── Skeleton rows ──────────────────────────────────────────────────────────── */

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.85; }
}

.skel-row td {
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  padding: 9px 12px;
}

.skel-row:last-child td { border-bottom: none; }

.skel-bar {
  background: var(--border2);
  border-radius: 3px;
  height: 10px;
  display: block;
  animation: pulse 2s ease-in-out infinite;
}

/* ── Paywall overlay card ───────────────────────────────────────────────────── */

.paywall-overlay {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 480px;
  z-index: 10;
  background: rgba(13, 17, 23, 0.97);
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 28px 28px 24px;
  box-shadow: 0 0 48px rgba(0, 229, 176, 0.14), 0 8px 32px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.paywall-lock-icon {
  color: var(--accent);
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
}

.paywall-heading {
  font-family: var(--syne);
  font-size: 22px;
  font-weight: 800;
  color: var(--bright);
  letter-spacing: -0.4px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.paywall-sub {
  font-size: 12px;
  color: var(--dim);
  line-height: 1.8;
  margin-bottom: 18px;
}

.paywall-features {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  text-align: left;
}

.paywall-features li {
  font-size: 11px;
  color: var(--text);
  padding: 4px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pf-bullet {
  color: var(--accent);
  font-size: 8px;
  margin-top: 3px;
  flex-shrink: 0;
}

.paywall-btn {
  display: block !important;
  width: 100%;
  padding: 14px 32px !important;
  text-align: center;
  margin-bottom: 10px;
  transition: background 0.15s, box-shadow 0.2s !important;
  box-shadow: none;
}

.paywall-btn:hover {
  background: #00c9a0 !important;
  box-shadow: 0 0 24px rgba(0, 229, 176, 0.35) !important;
}

.paywall-note {
  font-size: 10px;
  color: var(--dim);
  margin-bottom: 14px;
}

.paywall-sep {
  border: none;
  border-top: 1px solid var(--border);
  margin: 14px 0;
}

.paywall-restore {
  font-size: 10px;
  color: var(--dim);
}

.paywall-restore-link {
  color: var(--dim);
  text-decoration: underline;
  cursor: pointer;
}

.paywall-restore-link:hover { color: var(--text); }

/* ── Responsive ─────────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .dash-body { padding: 14px 16px; }
}

@media (max-width: 640px) {
  .paywall-bg { display: none; }

  .paywall-zone {
    min-height: auto;
    overflow: visible;
  }

  .paywall-overlay {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: none;
    border-radius: 0;
    border-left: none;
    border-right: none;
    box-shadow: none;
    margin: 0;
  }
}
