/* Verification explainer + the "Not verified" pill's hover hint.
   The dialog reuses the shared people-list modal shell (gf-event-attendees__*) so it matches the
   platform's current modal language; these rules only add the longer-form content layout. */

/* ── "Not verified" pill ────────────────────────────────────────────────────── */
.gf-verify-pill-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* The pill is a button so the hover hint and the dialog are reachable by keyboard too. */
button.profile-verified-badge,
button.unreg-profile-verified-pill {
  border: 0;
  font-family: var(--gf-font);
  font-weight: var(--gf-weight-medium);
  cursor: default;
}

button.profile-verified-badge.is-unverified,
button.unreg-profile-verified-pill.is-unverified {
  cursor: pointer;
}

button.profile-verified-badge:focus-visible,
button.unreg-profile-verified-pill:focus-visible {
  outline: 2px solid #2966f4;
  outline-offset: 2px;
}

/* Same dark hint used by the Achievement Badges info button, anchored to the pill's left edge so
   it never clips on the profile header's left side (the default centres it under the trigger). */
.gf-verify-tooltip {
  left: 0;
  transform: none;
  width: 320px;
  max-width: min(320px, calc(100vw - 32px));
}

.gf-verify-tooltip::before {
  left: 24px;
  transform: none;
}

/* ── Explainer dialog ───────────────────────────────────────────────────────── */
.gf-verify-explainer {
  width: min(600px, calc(100vw - 32px));
  max-height: min(86vh, 760px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.gf-verify-explainer__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px 24px 8px;
}

.gf-verify-explainer__intro {
  margin: 0 0 18px;
  color: #475467;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
}

.gf-verify-explainer__section {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid #eaecf0;
}

.gf-verify-explainer__section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.gf-verify-explainer__icon {
  display: flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #eff4ff;
  color: #2966f4;
}

.gf-verify-explainer__icon svg {
  width: 20px;
  height: 20px;
}

.gf-verify-explainer__section h3 {
  margin: 0 0 4px;
  color: #101828;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  line-height: var(--gf-leading-body);
}

.gf-verify-explainer__section p {
  margin: 0;
  color: #475467;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  line-height: var(--gf-leading-body);
}

.gf-verify-explainer__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  padding: 16px 24px 20px;
  border-top: 1px solid #eaecf0;
  background: #fff;
}

.gf-verify-explainer__cta,
.gf-verify-explainer__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--gf-font);
  font-size: var(--gf-text-body);
  font-weight: var(--gf-weight-semibold);
  cursor: pointer;
  transition:
    background 160ms cubic-bezier(0.2, 0, 0, 1),
    border-color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.gf-verify-explainer__cta {
  border: 1px solid #2966f4;
  background: #2966f4;
  color: #fff;
}

.gf-verify-explainer__cta:hover {
  border-color: #2054cc;
  background: #2054cc;
}

.gf-verify-explainer__secondary {
  border: 1px solid #d0d5dd;
  background: #fff;
  color: #344054;
}

.gf-verify-explainer__secondary:hover {
  border-color: #98a2b3;
  background: #f9fafb;
}

@media (max-width: 640px) {
  .gf-verify-explainer__footer {
    flex-direction: column-reverse;
  }

  .gf-verify-explainer__cta,
  .gf-verify-explainer__secondary {
    width: 100%;
  }
}
