/* FlowTag passport showcase — same dark chrome as event-details */

.ep-passport-page {
  --ep-teal: #14b8a6;
  --ep-teal-deep: #0f766e;
  --ep-ink: #f8fafc;
  --ep-muted: #94a3b8;
  --ep-card: rgba(255, 255, 255, 0.04);
}

.ep-back-row {
  margin-bottom: 1rem;
}

.ep-back-row-bottom {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: flex-start;
}

.btn-ep-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #fff !important;
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-ep-back:hover {
  transform: translateY(-1px);
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(79, 70, 229, 0.45);
}

.ep-hero-title {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 800;
  color: var(--ep-ink);
  margin: 0 0 0.5rem;
}

.ep-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  color: var(--ep-muted);
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
}

.ep-hero-meta i {
  color: var(--ep-teal);
  margin-right: 0.25rem;
}

.ep-hero-lead {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 42rem;
  margin: 0;
}

.ep-steps-card h2,
.ep-passport-section h2 {
  font-weight: 800;
  color: var(--ep-ink);
  margin-bottom: 1rem;
}

.ep-steps {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 768px) {
  .ep-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.ep-step {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(20, 184, 166, 0.16), rgba(15, 118, 110, 0.06));
  border: 1px solid rgba(45, 212, 191, 0.22);
}

.ep-step-num {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--ep-teal-deep);
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ep-step strong {
  display: block;
  color: var(--ep-ink);
  margin-bottom: 0.15rem;
}

.ep-step p {
  margin: 0;
  color: var(--ep-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.ep-passport-section {
  border-left: 5px solid var(--ep-accent, var(--ep-teal-deep));
}

.ep-passport-head {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.1rem;
}

.ep-life-seal {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #99f6e4;
  background: color-mix(in srgb, var(--ep-accent, var(--ep-teal-deep)) 28%, transparent);
  border: 1px solid color-mix(in srgb, var(--ep-accent, var(--ep-teal)) 45%, transparent);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  margin-bottom: 0.35rem;
}

.ep-window {
  margin: 0.25rem 0 0;
  color: var(--ep-muted);
  font-size: 0.9rem;
}

.btn-ep-join {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--ep-accent, var(--ep-teal-deep));
  color: #fff !important;
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--ep-accent, var(--ep-teal-deep)) 40%, transparent);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-ep-join:hover {
  transform: translateY(-1px) scale(1.02);
  color: #fff !important;
}

.ep-subhead {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ep-ink);
  margin: 1.25rem 0 0.75rem;
}

.ep-reward-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.9rem;
}

.ep-reward-card {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.ep-reward-img-wrap {
  aspect-ratio: 1;
  background: rgba(30, 41, 59, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ep-reward-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ep-reward-body {
  padding: 0.7rem 0.75rem 0.85rem;
  display: grid;
  gap: 0.3rem;
}

.ep-reward-body strong {
  font-size: 0.95rem;
  color: var(--ep-ink);
  line-height: 1.25;
}

.ep-goal {
  font-size: 0.8rem;
  color: var(--ep-muted);
  line-height: 1.35;
}

.ep-stands-count {
  font-weight: 700;
  color: var(--ep-teal);
  margin-bottom: 0.5rem;
}

.ep-stand-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.ep-stand-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: baseline;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.ep-stand-list li strong {
  color: var(--ep-ink);
}

.ep-stand-list li span {
  color: var(--ep-muted);
  font-size: 0.85rem;
}

.ep-muted {
  color: var(--ep-muted);
}

.ep-recover {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.ep-recover a {
  color: var(--ep-teal);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ep-recover a:hover {
  color: #5eead4;
}

.ep-empty-card {
  padding: 2.5rem 1.5rem;
  color: var(--ep-ink);
}

.ep-empty-icon {
  font-size: 2.5rem;
  color: var(--ep-teal);
  display: block;
  margin-bottom: 0.75rem;
}

/* Promo teaser on event-details */
.ep-promo-card {
  border: 1px solid rgba(20, 184, 166, 0.28);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(20, 184, 166, 0.22), transparent 55%),
    linear-gradient(165deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 118, 110, 0.18) 100%);
  overflow: hidden;
}

.ep-promo-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #5eead4;
  margin-bottom: 0.45rem;
}

.ep-promo-card h5 {
  font-weight: 800;
  color: #f8fafc;
  margin-bottom: 0.4rem;
}

.ep-promo-lead {
  color: #cbd5e1;
  margin-bottom: 1rem;
  line-height: 1.45;
}

.ep-promo-names {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: -0.35rem 0 0.9rem;
}

.ep-promo-rewards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.ep-promo-reward {
  width: 92px;
  text-align: center;
}

.ep-promo-reward img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  background: #1e293b;
}

.ep-promo-reward span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.2;
  max-width: 92px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ep-promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
}

.btn-ep-promo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 55%, #14b8a6 100%);
  color: #fff !important;
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.2rem;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(15, 118, 110, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-ep-promo:hover {
  transform: scale(1.03);
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(15, 118, 110, 0.55);
}

.ep-promo-already {
  color: #5eead4;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ep-promo-already:hover {
  color: #99f6e4;
}
