/* FlashBeat parent verify page - mobile-first */
:root {
  --fb-navy: #0d1b2a;
  --fb-blue: #1b4965;
  --fb-accent: #2a9d8f;
  --fb-muted: #6c757d;
  --fb-bg: #f0f4f8;
  --fb-card: #ffffff;
  --fb-border: #e2e8f0;
  --fb-shadow: 0 4px 24px rgba(13, 27, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  background: var(--fb-bg);
  color: var(--fb-navy);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 480px;
  margin: 0 auto;
  padding: 1.25rem 1rem 2.5rem;
}

.header {
  text-align: center;
  padding: 0.5rem 0 1.35rem;
  border-bottom: 1px solid var(--fb-border);
  margin-bottom: 0.25rem;
}

.header__brand {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fb-accent);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.header__official {
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 500;
  color: var(--fb-muted);
  font-size: 0.7rem;
}

.header__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--fb-navy);
  margin: 0;
  line-height: 1.35;
}

.card {
  background: var(--fb-card);
  border-radius: 16px;
  box-shadow: var(--fb-shadow);
  border: 1px solid var(--fb-border);
  overflow: hidden;
}

.card--result {
  border-top: 3px solid var(--fb-accent);
}

.card__section-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--fb-blue);
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
}

.card__section--lead .card__label {
  margin-top: 0;
}

.card__section--lead .card__value {
  margin-bottom: 0;
}

.card__hint {
  font-size: 0.78rem;
  color: var(--fb-muted);
  margin: -0.15rem 0 0.75rem;
  line-height: 1.45;
}

.card__section--status .card__label {
  margin-bottom: 0.45rem;
}

.card__section {
  padding: 1.1rem 1.15rem;
  border-bottom: 1px solid var(--fb-border);
}

.card__section:last-child {
  border-bottom: none;
}

.card__label {
  font-size: 0.7rem;
  color: var(--fb-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.2rem;
}

.card__value {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  word-break: break-word;
}

.card__value--sm {
  font-size: 0.82rem;
  font-weight: 500;
  font-family: ui-monospace, "Cascadia Code", monospace;
  color: var(--fb-blue);
}

.axis-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.axis-block {
  background: linear-gradient(165deg, #f6faf9 0%, #ffffff 55%);
  border-radius: 14px;
  border: 1px solid var(--fb-border);
  padding: 1rem 1.05rem 0.95rem;
  box-shadow: 0 1px 0 rgba(13, 27, 42, 0.04);
}

.axis-block__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--fb-navy);
  margin: 0 0 0.65rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid rgba(42, 157, 143, 0.35);
}

.axis-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.85rem;
  font-size: 0.93rem;
  padding: 0.32rem 0;
}

.axis-row__label {
  color: var(--fb-muted);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.axis-row__value {
  font-weight: 600;
  text-align: right;
  color: var(--fb-navy);
}

.axis-row--combo {
  margin-top: 0.35rem;
  padding-top: 0.55rem;
  border-top: 1px dashed var(--fb-border);
}

.axis-row__value--strong {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--fb-blue);
  letter-spacing: -0.02em;
}

.status-box {
  background: linear-gradient(135deg, #e8f4f2 0%, #f0faf8 100%);
  border: 1px solid #9ccfc4;
  border-radius: 12px;
  padding: 0.95rem 1rem;
  font-size: 0.9rem;
  color: #143d35;
  line-height: 1.55;
  box-shadow: 0 2px 8px rgba(42, 157, 143, 0.12);
}

.status-box--message {
  background: linear-gradient(135deg, #dff5f1 0%, #f4fffc 100%);
  border: 1px solid var(--fb-accent);
  border-left-width: 4px;
  padding: 1rem 1.05rem;
  font-size: 0.93rem;
  font-weight: 500;
  box-shadow: 0 3px 14px rgba(42, 157, 143, 0.18);
}

.status-box__text {
  margin: 0;
  word-break: break-word;
}

.footer-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--fb-muted);
  margin-top: 1.75rem;
  padding: 0 0.5rem;
  line-height: 1.5;
}

.cert-id-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.btn-copy {
  flex-shrink: 0;
  font-size: 0.72rem;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  border: 1px solid var(--fb-border);
  background: #fff;
  color: var(--fb-blue);
  cursor: pointer;
  font-weight: 600;
}

.btn-copy:active {
  background: var(--fb-bg);
}

.state-msg {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--fb-muted);
  font-size: 0.95rem;
}

.state-msg--error {
  color: #c0392b;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--fb-border);
  border-top-color: var(--fb-accent);
  border-radius: 50%;
  margin: 2rem auto;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hidden {
  display: none !important;
}

/* 공유 영역 */
.share-actions {
  margin-top: 1rem;
  padding: 1.1rem 1.15rem 1.2rem;
}

.share-actions__label {
  font-size: 0.82rem;
  color: var(--fb-navy);
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
  font-weight: 700;
}

.share-actions__hint {
  font-size: 0.76rem;
  color: var(--fb-muted);
  margin: 0 0 0.95rem;
  line-height: 1.45;
}

.share-actions__row {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

@media (min-width: 360px) {
  .share-actions__row {
    flex-direction: row;
    gap: 0.65rem;
  }
  .btn-share {
    flex: 1;
    min-height: 48px;
  }
}

.btn-share {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: 12px;
  border: 2px solid var(--fb-blue);
  background: #fff;
  color: var(--fb-blue);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.btn-share:active {
  background: var(--fb-bg);
  transform: scale(0.98);
}

.btn-share--kakao {
  border-color: #3c1e1e;
  background: #fee500;
  color: #3c1e1e;
}

.btn-share--kakao:active {
  background: #f5dc00;
}

.share-toast {
  margin: 0.75rem 0 0;
  padding: 0.55rem 0.65rem;
  font-size: 0.85rem;
  text-align: center;
  border-radius: 8px;
  background: #e8f4f2;
  color: #1d4339;
  line-height: 1.4;
}

.share-toast--err {
  background: #fdecea;
  color: #c0392b;
}
