/* ============================================================
   verify.css — customer verification page (EBS identity)
   ============================================================ */

.verify-main {
  padding: 40px 0 72px;
}

/* ---------- Brand hero mark ---------- */
.hero-mark {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

/* the lockup is gold on near-black; screen blend + an edge fade melt
   its background into the onyx page so it reads as a free-floating mark */
.hero-mark img {
  width: min(300px, 70vw);
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 52%, transparent 74%);
  mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 52%, transparent 74%);
  user-select: none;
  -webkit-user-drag: none;
}

.hero-eyebrow {
  text-align: center;
  margin-bottom: 36px;
}

/* ---------- Status ---------- */
#status-container {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
  text-align: center;
}

.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--mute);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 48px 0;
}

.loading-state .spinner {
  width: 30px;
  height: 30px;
}

/* ---------- Product card ---------- */
.product-card {
  max-width: 560px;
  margin: 0 auto;
  overflow: hidden;
  padding: 0;
}

.product-card .product-image-wrap {
  background: var(--onyx);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 220px;
  border-bottom: 1px solid var(--ash);
  padding: 20px;
}

.product-card #product-image {
  max-height: 300px;
  object-fit: contain;
}

.product-card .product-body {
  padding: 28px;
}

.product-card h1 {
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

/* datasheet-style spec rows, as in the identity document */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

.detail-item {
  background: var(--onyx);
  border: 1px solid var(--ash);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.detail-item .detail-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--mute);
  margin-bottom: 5px;
}

.detail-item .detail-value {
  font-family: var(--mono);
  font-size: 0.92rem;
  color: var(--champagne);
}

.detail-item.expired {
  border-color: rgba(192, 103, 74, 0.5);
}

.detail-item.expired .detail-value {
  color: var(--rust);
}

/* ---------- Certificates ---------- */
.certificates h2 {
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  color: var(--champagne);
  margin-bottom: 14px;
}

#certificate-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-certificate {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  background: transparent;
  border: 1px solid rgba(201, 155, 54, 0.4);
  border-radius: var(--radius-sm);
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-certificate::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: 0 0 auto;
  transition: background 0.2s ease;
}

.btn-certificate:hover {
  background: rgba(201, 155, 54, 0.08);
  border-color: var(--gold);
  color: var(--champagne);
}

.btn-certificate:hover::before {
  background: var(--champagne);
}

/* ---------- Welcome / error states ---------- */
.center-note {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 32px;
}

.center-note .note-mark {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--gold);
}

.center-note h1 {
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  margin-bottom: 10px;
}

.center-note p {
  color: var(--mute);
  font-size: 0.92rem;
}

/* ---------- Footer ---------- */
.verify-footer {
  border-top: 1px solid var(--ash);
  text-align: center;
  padding: 28px 16px 40px;
  color: var(--mute);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 2;
}

@media (max-width: 520px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }
}
