/* Thriday verification flow */

.verify-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(0, 212, 168, 0.14), transparent),
    linear-gradient(180deg, #f0fdf8 0%, var(--bg-soft) 40%, var(--bg) 100%);
}

.verify-header {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.verify-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.verify-secure {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.verify-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem 3rem;
}

.verify-shell {
  width: min(520px, 100%);
}

.verify-progress {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
}

.verify-progress span {
  flex: 1;
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--border);
  transition: background 0.25s;
}

.verify-progress span.done { background: var(--green); }
.verify-progress span.active { background: var(--green-dark); box-shadow: 0 0 0 2px rgba(0, 212, 168, 0.25); }

.verify-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 2rem;
}

.verify-step { display: none; animation: fadeUp 0.35s ease; }
.verify-step.active { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.verify-notice {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  margin-bottom: 1.25rem;
}

.verify-notice strong {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
  color: #92400e;
}

.verify-notice p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #78350f;
}

  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--green-soft);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.verify-card h1 {
  margin: 0 0 0.5rem;
  font-size: 1.65rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.verify-lead {
  margin: 0 0 1.5rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.verify-lead strong { color: var(--ink); }

.field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font: inherit;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 212, 168, 0.2);
}

.field-hint {
  font-size: 0.78rem;
  color: var(--ink-light);
}

.otp-row {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin: 1.25rem 0;
}

.otp-cell {
  width: 46px;
  height: 52px;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.otp-cell:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 212, 168, 0.2);
}

.resend-row {
  text-align: center;
  font-size: 0.875rem;
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
}

.resend-row button {
  color: var(--green-dark);
  font-weight: 600;
  text-decoration: underline;
}

.upload-grid {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.upload-zone {
  border: 2px dashed var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.upload-zone:hover,
.upload-zone.dragover {
  border-color: var(--green);
  background: var(--green-soft);
}

.upload-zone strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.upload-zone span {
  font-size: 0.8rem;
  color: var(--ink-light);
}

.upload-zone input { display: none; }

.upload-zone.has-file {
  border-style: solid;
  border-color: var(--green);
  background: var(--green-soft);
}

.checklist {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.checklist li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.checklist li::before {
  content: "✓";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.verify-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.verify-actions .btn { width: 100%; }

.verify-error {
  display: none;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.verify-error.show { display: block; }

.processing-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 4px solid var(--border);
  border-top-color: var(--green);
  margin: 0 auto 1.25rem;
  animation: spin 0.9s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.success-check {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green);
  color: var(--ink);
  font-size: 2rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin: 0 auto 1.25rem;
}

.verify-footer-note {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--ink-light);
  line-height: 1.5;
}

.verify-footer-note a {
  color: var(--green-dark);
  text-decoration: underline;
}

@media (max-width: 480px) {
  .verify-card { padding: 1.5rem 1.25rem; }
  .otp-cell { width: 40px; height: 48px; }
}
