/* ============================================================
   PROVIDER ECOSYSTEM — Shared Styles
   Pricing, Dashboard, Admin, Claim, Create
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --pe-surface: rgba(10, 18, 34, 0.88);
  --pe-surface-raised: rgba(18, 26, 46, 0.92);
  --pe-line: rgba(255, 255, 255, 0.08);
  --pe-line-strong: rgba(255, 255, 255, 0.14);
  --pe-glow-teal: rgba(32, 178, 170, 0.16);
  --pe-glow-purple: rgba(147, 51, 234, 0.14);
  --pe-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --pe-radius: 20px;
  --pe-radius-lg: 28px;
  --pe-max: 1140px;
}

/* ── Auth Banner ───────────────────────────────────────────── */
.pe-auth-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--pe-line);
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.pe-auth-bar-user {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--color-white);
}

.pe-auth-bar-actions {
  display: flex;
  gap: 0.75rem;
}

/* ── Status Badges ─────────────────────────────────────────── */
.pe-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pe-status-pending {
  background: rgba(255, 193, 7, 0.12);
  border: 1px solid rgba(255, 193, 7, 0.25);
  color: #ffc107;
}

.pe-status-approved {
  background: rgba(32, 178, 170, 0.12);
  border: 1px solid rgba(32, 178, 170, 0.25);
  color: #20b2aa;
}

.pe-status-rejected {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #ef4444;
}

.pe-status-flagged {
  background: rgba(255, 107, 53, 0.12);
  border: 1px solid rgba(255, 107, 53, 0.25);
  color: #ff6b35;
}

.pe-tier {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pe-tier-free {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--color-text-muted);
}

.pe-tier-verified {
  background: rgba(32, 178, 170, 0.1);
  border: 1px solid rgba(32, 178, 170, 0.22);
  color: #20b2aa;
}

.pe-tier-community {
  background: linear-gradient(135deg, rgba(32,178,170,0.12), rgba(147,51,234,0.12));
  border: 1px solid rgba(147, 51, 234, 0.25);
  color: #c084fc;
}

/* ── Form Styles ───────────────────────────────────────────── */
.pe-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pe-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.25rem;
}

.pe-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.pe-field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.pe-field input,
.pe-field select,
.pe-field textarea {
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: var(--color-white);
  padding: 0.9rem 1rem;
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pe-field textarea {
  min-height: 120px;
  resize: vertical;
}

.pe-field input:focus,
.pe-field select:focus,
.pe-field textarea:focus {
  outline: none;
  border-color: rgba(32,178,170,0.55);
  box-shadow: 0 0 0 4px rgba(32,178,170,0.14);
}

.pe-field select option {
  color: #111;
}

.pe-field-error {
  font-size: 0.82rem;
  color: #ef4444;
  display: none;
}

.pe-field.has-error .pe-field-error {
  display: block;
}

.pe-field.has-error input,
.pe-field.has-error select,
.pe-field.has-error textarea {
  border-color: rgba(239, 68, 68, 0.5);
}

.pe-form-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding-top: 0.5rem;
}

.pe-form-note {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* ── Card Enhancements ─────────────────────────────────────── */
.pe-card {
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
  border-radius: var(--pe-radius-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.02) 100%),
    radial-gradient(circle at top left, var(--pe-glow-teal), transparent 42%),
    var(--pe-surface);
  border: 1px solid rgba(118, 157, 255, 0.14);
  box-shadow: var(--pe-shadow);
}

.pe-card-highlight {
  position: relative;
  overflow: hidden;
}

.pe-card-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

/* ── Pricing Page ──────────────────────────────────────────── */
.pricing-hero {
  padding: 7rem 1.25rem 4rem;
  text-align: center;
}

.pricing-hero .hero-title {
  max-width: 18ch;
  margin: 0 auto 1.2rem;
}

.pricing-hero .hero-subtitle {
  max-width: 56ch;
  margin: 0 auto;
}

.pricing-section {
  padding: 0 0 5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border-radius: var(--pe-radius-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 100%),
    var(--pe-surface);
  border: 1px solid var(--pe-line);
  box-shadow: var(--pe-shadow);
  transition: transform 0.25s, border-color 0.25s;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card-featured {
  position: relative;
  border-color: rgba(147, 51, 234, 0.35);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%),
    radial-gradient(circle at top left, var(--pe-glow-teal), transparent 40%),
    radial-gradient(circle at bottom right, var(--pe-glow-purple), transparent 40%),
    var(--pe-surface-raised);
  box-shadow: 0 24px 80px rgba(147, 51, 234, 0.18), var(--pe-shadow);
}

.pricing-card-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--pe-radius-lg) var(--pe-radius-lg) 0 0;
}

.pricing-card-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pricing-card-badge-free {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--color-text-muted);
}

.pricing-card-badge-verified {
  background: rgba(32, 178, 170, 0.1);
  border: 1px solid rgba(32, 178, 170, 0.22);
  color: #20b2aa;
}

.pricing-card-badge-community {
  background: linear-gradient(135deg, rgba(32,178,170,0.12), rgba(147,51,234,0.12));
  border: 1px solid rgba(147, 51, 234, 0.25);
  color: #c084fc;
}

.pricing-card-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pricing-card-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
}

.pricing-card-tagline {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.pricing-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.pricing-card-amount {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--color-white);
  line-height: 1;
}

.pricing-card-period {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.pricing-card-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--color-text);
}

.pricing-feature-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  margin-top: 0.15rem;
}

.pricing-feature-included .pricing-feature-icon {
  background: rgba(32, 178, 170, 0.15);
  color: #20b2aa;
}

.pricing-feature-locked .pricing-feature-icon {
  background: rgba(255,255,255,0.06);
  color: var(--color-text-muted);
}

.pricing-feature-locked {
  color: var(--color-text-muted);
  opacity: 0.6;
}

.pricing-card-cta {
  margin-top: auto;
}

.pricing-card-cta .btn {
  width: 100%;
  border-radius: 999px;
}

.pricing-positioning {
  text-align: center;
  padding: 0 0 4rem;
}

.pricing-positioning-line {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--color-white);
  max-width: 52ch;
  margin: 0 auto 0.5rem;
}

.pricing-positioning-support {
  color: var(--color-text-muted);
  max-width: 64ch;
  margin: 0 auto;
}

/* ── Dashboard ─────────────────────────────────────────────── */
.dash-hero {
  padding: 6rem 1.25rem 3rem;
}

.dash-hero .hero-title {
  margin-bottom: 0.5rem;
}

.dash-status-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}

.dash-section {
  padding: 0 0 3rem;
}

.dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.dash-main,
.dash-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.dash-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.dash-stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.25rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--pe-line);
}

.dash-stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
}

.dash-stat-label {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dash-locked-block {
  position: relative;
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
  border-radius: var(--pe-radius-lg);
  background:
    linear-gradient(180deg, rgba(147,51,234,0.08), rgba(32,178,170,0.06)),
    var(--pe-surface);
  border: 1px solid rgba(147, 51, 234, 0.22);
  text-align: center;
}

.dash-locked-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.dash-locked-block h3 {
  margin-bottom: 0.75rem;
}

.dash-locked-block p {
  max-width: 44ch;
  margin: 0 auto 1.25rem;
  color: var(--color-text-muted);
}

.dash-locked-support {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.dash-locked-support strong {
  color: var(--color-white);
}

.dash-trigger-card {
  padding: 1.25rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(32,178,170,0.06), rgba(147,51,234,0.06));
  border: 1px solid rgba(32,178,170,0.18);
}

.dash-trigger-card p {
  margin: 0;
  font-size: 0.95rem;
}

.dash-trigger-card strong {
  color: var(--color-primary);
}

.dash-pending-notice {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: 18px;
  background: rgba(255, 193, 7, 0.06);
  border: 1px solid rgba(255, 193, 7, 0.18);
}

.dash-pending-notice-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.dash-pending-notice p {
  margin: 0;
  color: var(--color-text-muted);
}

.dash-pending-notice strong {
  color: #ffc107;
}

.dash-rejected-notice {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  border-radius: 18px;
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.18);
}

.dash-rejected-notice p {
  margin: 0;
  color: var(--color-text-muted);
}

.dash-rejected-notice strong {
  color: #ef4444;
}

/* ── Admin ─────────────────────────────────────────────────── */
.admin-hero {
  padding: 6rem 1.25rem 2rem;
}

.admin-section {
  padding: 0 0 4rem;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--pe-line);
}

.admin-toolbar-search {
  flex: 1;
  min-width: 200px;
}

.admin-toolbar-search input {
  width: 100%;
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: var(--color-white);
  padding: 0.75rem 1rem;
  font: inherit;
  font-size: 0.92rem;
}

.admin-toolbar-search input:focus {
  outline: none;
  border-color: rgba(32,178,170,0.55);
}

.admin-toolbar-filter select {
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: var(--color-white);
  padding: 0.75rem 1rem;
  font: inherit;
  font-size: 0.92rem;
}

.admin-toolbar-filter select option {
  color: #111;
}

.admin-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--pe-line);
}

.admin-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
}

.admin-stat-label {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.admin-table-wrap {
  overflow-x: auto;
  border-radius: var(--pe-radius);
  border: 1px solid var(--pe-line);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.admin-table th,
.admin-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--pe-line);
}

.admin-table th {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255,255,255,0.03);
  white-space: nowrap;
}

.admin-table td {
  color: var(--color-text);
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover td {
  background: rgba(255,255,255,0.02);
}

.admin-table-name {
  font-weight: 700;
  color: var(--color-white);
}

.admin-table-actions {
  display: flex;
  gap: 0.5rem;
}

.admin-action-btn {
  padding: 0.4rem 0.75rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid var(--pe-line);
  background: rgba(255,255,255,0.04);
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.2s;
}

.admin-action-btn:hover {
  background: rgba(255,255,255,0.08);
}

.admin-action-approve {
  border-color: rgba(32, 178, 170, 0.3);
  color: #20b2aa;
}

.admin-action-approve:hover {
  background: rgba(32, 178, 170, 0.12);
}

.admin-action-reject {
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.admin-action-reject:hover {
  background: rgba(239, 68, 68, 0.12);
}

.admin-action-flag {
  border-color: rgba(255, 107, 53, 0.3);
  color: #ff6b35;
}

.admin-action-flag:hover {
  background: rgba(255, 107, 53, 0.12);
}

.admin-empty {
  padding: 3rem;
  text-align: center;
  color: var(--color-text-muted);
}

.admin-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

/* ── Modal ─────────────────────────────────────────────────── */
.pe-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.pe-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.pe-modal {
  width: min(90vw, 520px);
  max-height: 85vh;
  overflow-y: auto;
  padding: 2rem;
  border-radius: var(--pe-radius-lg);
  background: var(--pe-surface-raised);
  border: 1px solid var(--pe-line-strong);
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

.pe-modal h3 {
  margin-bottom: 1rem;
}

.pe-modal-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ── Auth Pages ────────────────────────────────────────────── */
.pe-auth-section {
  padding: 6rem 1.25rem 4rem;
}

.pe-auth-card {
  width: min(100%, 480px);
  margin: 0 auto;
}

/* ── Claim/Create Flow ─────────────────────────────────────── */
.pe-flow-steps {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.pe-flow-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.pe-flow-step.active {
  color: var(--color-primary);
  font-weight: 700;
}

.pe-flow-step.completed {
  color: var(--color-primary);
}

.pe-flow-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}

.pe-flow-step.active .pe-flow-step-num {
  background: rgba(32, 178, 170, 0.15);
  border-color: rgba(32, 178, 170, 0.35);
  color: #20b2aa;
}

.pe-flow-step.completed .pe-flow-step-num {
  background: rgba(32, 178, 170, 0.2);
  border-color: rgba(32, 178, 170, 0.4);
  color: #20b2aa;
}

.pe-flow-divider {
  width: 32px;
  height: 1px;
  background: var(--pe-line);
}

.pe-success-card {
  text-align: center;
  padding: clamp(2rem, 4vw, 3.5rem);
}

.pe-success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.pe-success-card h2 {
  margin-bottom: 1rem;
}

.pe-success-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
  text-align: left;
}

.pe-success-benefit {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--color-text);
}

.pe-success-benefit-icon {
  color: var(--color-primary);
  flex-shrink: 0;
}

.pe-success-transition {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--pe-line);
}

.pe-success-transition p {
  max-width: 48ch;
  margin: 0 auto 1.25rem;
  color: var(--color-text-muted);
}

/* ── Trust Strip ───────────────────────────────────────────── */
.pe-trust-strip {
  text-align: center;
  padding: 1.5rem 1rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pe-trust-strip p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin: 0;
}

.pe-trust-strip a {
  color: var(--color-primary);
  text-decoration: none;
}

.pe-trust-strip a:hover {
  text-decoration: underline;
}

.pe-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.pe-trust-item-icon {
  color: var(--color-primary);
}

/* ── Club Teaser ───────────────────────────────────────────── */
.pe-club-teaser {
  padding: 3rem 0;
}

.pe-teaser-card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.pe-teaser-card p {
  color: var(--color-text-muted);
  max-width: 56ch;
  margin: 0 auto 1.5rem;
}

.pe-teaser-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.pe-teaser-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.pe-teaser-stat span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.pe-teaser-stat small {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* ── Activity Line ─────────────────────────────────────────── */
.pe-activity-line {
  font-size: 0.9rem;
  color: var(--color-primary);
  font-style: italic;
  margin-bottom: 1.5rem;
}

/* ── Trending Banner (Exchange) ────────────────────────────── */
.exchange-trending-banner {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(32, 178, 170, 0.08), rgba(147, 51, 234, 0.06));
  border: 1px solid rgba(32, 178, 170, 0.15);
}

.exchange-trending-header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.exchange-trending-header h2 {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.exchange-trending-header p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  max-width: 52ch;
  margin: 0 auto 0.75rem;
}

.exchange-trending-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.exchange-trending-card {
  display: block;
  padding: 1rem;
  border-radius: 10px;
  background: var(--pe-surface-raised);
  border: 1px solid var(--pe-line);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.15s;
}

.exchange-trending-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.exchange-trending-rank {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ff6b35;
  margin-bottom: 0.5rem;
}

.exchange-trending-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.exchange-trending-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.exchange-trending-name {
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.exchange-trending-unclaimed {
  display: block;
  font-size: 0.8rem;
  color: #ff6b35;
  margin-top: 0.35rem;
}

.exchange-trending-claim-link {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--color-primary);
  text-decoration: none;
  margin-top: 0.2rem;
}

.exchange-trending-claim-link:hover {
  text-decoration: underline;
}

/* ── Unclaimed Badge ───────────────────────────────────────── */
.exchange-unclaimed-badge {
  margin-top: 0.5rem;
}

.exchange-unclaimed-label {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #ff6b35;
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: 6px;
  cursor: help;
}

/* ── Post-Action Prompt ────────────────────────────────────── */
.dash-post-action-prompt {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(32, 178, 170, 0.08), rgba(147, 51, 234, 0.06));
  border: 1px solid rgba(32, 178, 170, 0.15);
}

.dash-post-action-prompt p {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 980px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }

  .dash-grid {
    grid-template-columns: 1fr;
  }

  .admin-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 720px) {
  .pe-auth-bar {
    flex-direction: column;
    text-align: center;
  }

  .pe-flow-steps {
    flex-direction: column;
  }

  .pe-flow-divider {
    width: 1px;
    height: 16px;
    margin-left: 13px;
  }

  .pricing-hero {
    padding: 5.5rem 1rem 3rem;
  }
}

/* ── Phase 3: Psychological Refinement Layer ───────────────── */

/* Tension line inside locked Club block */
.dash-locked-tension {
  font-size: 0.85rem;
  color: #FF6B35;
  margin-top: 0.75rem;
  font-style: italic;
  opacity: 0.9;
}

/* Trending badge in dashboard hero */
.dash-trending-badge {
  display: inline-block;
  background: rgba(255, 107, 53, 0.15);
  color: #FF6B35;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  margin-top: 0.5rem;
}

/* Ownership trigger on exchange provider page */
.exchange-ownership-trigger {
  margin-top: 0.5rem;
}

.exchange-ownership-trigger p {
  font-size: 0.88rem;
  color: #FF6B35;
  margin: 0;
}

.exchange-ownership-trigger a {
  color: #20B2AA;
  font-weight: 600;
  text-decoration: none;
}

.exchange-ownership-trigger a:hover {
  text-decoration: underline;
}

/* Trending momentum line on exchange cards */
.exchange-trending-momentum {
  display: block;
  font-size: 0.78rem;
  color: #FF6B35;
  font-weight: 600;
  margin-top: 0.15rem;
}

/* ── Owner Dashboard (Mission Control) ─────────────────────── */

.od-hero {
  padding: 6rem 1.5rem 2rem;
  background: linear-gradient(135deg, #0A0A0A 0%, #111 100%);
}

.od-section {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.od-section-compact {
  padding: 1.5rem 0 3rem;
}

/* Snapshot grid */
.od-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.od-snap-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
}

.od-snap-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.od-snap-label {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.35rem;
}

.od-snap-green { border-color: rgba(34,197,94,0.3); }
.od-snap-green .od-snap-value { color: #22c55e; }

.od-snap-orange { border-color: rgba(255,107,53,0.3); }
.od-snap-orange .od-snap-value { color: #FF6B35; }

.od-snap-red { border-color: rgba(239,68,68,0.3); }
.od-snap-red .od-snap-value { color: #ef4444; }

.od-snap-zero { opacity: 0.4; }

/* Funnel row */
.od-funnel-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.od-funnel-step {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  text-align: center;
  flex: 1;
  min-width: 100px;
}

.od-funnel-highlight {
  border-color: rgba(32,178,170,0.4);
  background: rgba(32,178,170,0.08);
}

.od-funnel-highlight .od-funnel-value {
  color: #20B2AA;
}

.od-funnel-arrow {
  color: rgba(255,255,255,0.2);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.od-funnel-rate {
  background: rgba(147,51,234,0.1);
  border: 1px solid rgba(147,51,234,0.3);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  text-align: center;
  flex-shrink: 0;
}

.od-funnel-rate .od-funnel-value {
  color: #9333EA;
}

.od-funnel-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.od-funnel-label {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.25rem;
}

/* Activity feed */
.od-activity-feed {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.od-activity-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
}

.od-activity-time {
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
  min-width: 80px;
  flex-shrink: 0;
}

.od-activity-label {
  color: rgba(255,255,255,0.8);
  flex: 1;
}

/* Quick actions */
.od-quick-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .od-snapshot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .od-funnel-row {
    flex-direction: column;
  }
  .od-funnel-arrow {
    transform: rotate(90deg);
  }
  .od-quick-actions {
    flex-direction: column;
  }
}
