/* Identity Verification CSS - WingPal */
:root {
  --primary-teal: #0D9488;
  --primary-teal-hover: #0F766E;
  --primary-teal-light: #F0FDFA;
  --primary-teal-border: #99F6E4;
  --secondary-orange: #EA580C;
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --border-light: #E2E8F0;
  --bg-page: #F8FAFC;
  --card-bg: #FFFFFF;
}

body {
  background-color: var(--bg-page);
  color: var(--text-dark);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

.verification-page-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 32px 64px 32px;
}

/* Header back and title bar */
.verification-header {
  margin-bottom: 24px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 12px;
  cursor: pointer;
  transition: color 0.15s ease;
}

.back-link:hover {
  color: var(--primary-teal);
}

.verification-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.verification-title-group h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 6px 0;
  letter-spacing: -0.5px;
}

.verification-title-group p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* Header Stepper */
.top-stepper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stepper-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.stepper-bubble {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  transition: all 0.2s ease;
}

.stepper-item.completed .stepper-bubble {
  background: var(--primary-teal);
  color: #FFFFFF;
  border: none;
}

.stepper-item.active .stepper-bubble {
  background: #FFFFFF;
  border: 2px solid var(--primary-teal);
  color: var(--primary-teal);
}

.stepper-item.pending .stepper-bubble {
  background: #FFFFFF;
  border: 2px solid var(--border-light);
  color: var(--text-muted);
}

.stepper-labels {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}

.stepper-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
}

.stepper-subtitle {
  font-size: 11px;
  color: var(--text-muted);
}

.stepper-line {
  width: 48px;
  height: 2px;
  background: var(--border-light);
  margin-bottom: 22px;
}

.stepper-line.completed {
  background: var(--primary-teal);
}

/* Main 3-Column Layout */
.kyc-layout-grid {
  display: grid;
  grid-template-columns: 280px 1fr 310px;
  gap: 24px;
  align-items: start;
}

@media (max-width: 1024px) {
  .kyc-layout-grid {
    grid-template-columns: 1fr;
  }
}

/* Card Styling */
.kyc-card {
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  border: 1px solid #EDF2F7;
  overflow: hidden;
  position: relative;
}

/* Left Column - Why Verify Card */
.why-verify-card {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.why-verify-image-wrap {
  width: 100%;
  height: 180px;
  background: #F1F5F9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-verify-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.why-verify-banner {
  height: auto;
  aspect-ratio: 2 / 1;
}

.why-verify-content {
  padding: 24px 24px 48px 24px;
}

.why-verify-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 20px 0;
}

.why-verify-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.why-verify-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}

.why-verify-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-teal);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.why-verify-badge svg {
  width: 13px;
  height: 13px;
}

/* Bottom organic wave on Left Card */
.wave-decoration {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 28px;
  pointer-events: none;
}

/* Center Column - Main Step Card */
.center-step-card {
  padding: 32px;
}

.step-indicator-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-teal);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.step-main-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 6px 0;
  letter-spacing: -0.3px;
}

.step-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 24px 0;
}

/* ID Type Selection Cards */
.id-options-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.id-option-card {
  border: 1.5px solid var(--border-light);
  border-radius: 16px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
  background: #FFFFFF;
}

.id-option-card:hover {
  border-color: var(--primary-teal);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.08);
}

.id-option-card.active {
  border: 2px solid var(--primary-teal);
  background: var(--primary-teal-light);
}

.id-radio-indicator {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
}

.id-option-card.active .id-radio-indicator {
  border-color: var(--primary-teal);
  background: var(--primary-teal);
  color: #FFFFFF;
}

.id-option-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
}

.id-option-icon svg {
  width: 40px;
  height: 40px;
}

.id-option-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}

/* Upload Dropzone Container */
.upload-dropzone-box {
  border: 2px dashed var(--primary-teal-border);
  background: #FAFCFD;
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 28px;
  position: relative;
  transition: background 0.2s ease;
}

.upload-dropzone-box.dragover {
  background: #F0FDFA;
  border-color: var(--primary-teal);
}

.upload-cloud-icon {
  width: 56px;
  height: 56px;
  color: var(--primary-teal);
  margin-bottom: 12px;
}

.upload-cloud-icon svg {
  width: 100%;
  height: 100%;
}

.upload-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 8px 0;
}

.upload-instructions {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 420px;
  margin: 0 0 24px 0;
  line-height: 1.5;
}

.upload-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-take-photo {
  background: #FFFFFF;
  color: var(--primary-teal);
  border: 1.5px solid var(--primary-teal);
  border-radius: 12px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-take-photo:hover {
  background: #F0FDFA;
}

.btn-upload-device {
  background: var(--primary-teal);
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-upload-device:hover {
  background: var(--primary-teal-hover);
}

/* File Preview Box */
.file-uploaded-preview {
  display: none;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.preview-thumbnail-wrap {
  position: relative;
  width: 100%;
  max-width: 320px;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  margin-bottom: 12px;
}

.preview-thumbnail-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-success-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-teal);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.preview-actions-row {
  display: flex;
  gap: 12px;
}

.btn-replace-file {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.btn-replace-file:hover {
  color: var(--text-dark);
  border-color: #94A3B8;
}

/* Primary Step Action Button */
.btn-primary-continue {
  width: 100%;
  height: 48px;
  background: var(--primary-teal);
  color: #FFFFFF;
  border: none;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s ease;
}

.btn-primary-continue:hover {
  background: var(--primary-teal-hover);
}

/* Right Column - Progress & Security */
.right-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.progress-card {
  padding: 24px;
}

.progress-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 20px 0;
}

.progress-steps-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.progress-step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background 0.2s ease;
}

.progress-step-item.active {
  background: var(--primary-teal-light);
}

.progress-step-bubble {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.progress-step-item.completed .progress-step-bubble {
  background: var(--primary-teal);
  color: #FFFFFF;
}

.progress-step-item.active .progress-step-bubble {
  background: #FFFFFF;
  border: 2px solid var(--primary-teal);
  color: var(--primary-teal);
}

.progress-step-item.pending .progress-step-bubble {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: var(--text-muted);
}

.progress-step-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.progress-step-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
}

.progress-step-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Security Info Card */
.security-card {
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #FFFFFF;
}

.security-lock-icon {
  width: 28px;
  height: 28px;
  color: var(--primary-teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.security-lock-icon svg {
  width: 100%;
  height: 100%;
}

.security-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 6px 0;
}

.security-content p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   STEP 3: PHONE SELFIE CHECK STYLES
   ========================================================================== */
.kyc-qr-container {
  display: flex;
  align-items: center;
  gap: 28px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 20px;
}

@media (max-width: 640px) {
  .kyc-qr-container {
    flex-direction: column;
    text-align: center;
  }
}

.qr-code-box {
  width: 156px;
  height: 156px;
  border-radius: 14px;
  border: 1.5px solid #99F6E4;
  padding: 8px;
  background: #FFFFFF;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.08);
  cursor: pointer;
}

.qr-code-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-instructions-wrap {
  flex: 1;
}

.qr-instructions-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 14px 0;
}

.qr-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.qr-step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
}

.qr-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-teal);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.qr-or-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0 18px;
  position: relative;
}

.qr-or-divider::before,
.qr-or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #E2E8F0;
}

.qr-or-divider span {
  padding: 0 14px;
  font-size: 13px;
  color: #94A3B8;
  font-weight: 600;
}

.btn-get-secure-link {
  width: 100%;
  height: 46px;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 24px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 10px;
}

.btn-get-secure-link:hover {
  border-color: var(--primary-teal);
  color: var(--primary-teal);
  background: #F0FDFA;
}

.secure-link-note {
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: center;
  margin: 0;
}

/* ==========================================================================
   STEP 4: REVIEW & SUBMIT STYLES
   ========================================================================== */
.review-cards-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.review-item-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: 16px;
  padding: 14px 18px;
  transition: border-color 0.2s ease;
}

.review-item-card:hover {
  border-color: #CBD5E1;
}

.review-item-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.review-thumb-wrap {
  width: 72px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-info-details h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 2px 0;
}

.review-info-details p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 4px 0;
}

.review-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #0D9488;
}

.btn-review-view {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1.5px solid #0D9488;
  background: #FFFFFF;
  color: #0D9488;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-review-view:hover {
  background: #F0FDFA;
}

.info-notice-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #F0FDFA;
  border: 1px solid #CCFBF1;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 24px;
}

.info-notice-icon {
  width: 20px;
  height: 20px;
  color: #0D9488;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-notice-text h5 {
  font-size: 13.5px;
  font-weight: 700;
  color: #0F172A;
  margin: 0 0 3px 0;
}

.info-notice-text p {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.4;
  margin: 0;
}

/* ==========================================================================
   STEP 5: UNDER REVIEW STYLES
   ========================================================================== */
.status-hero-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #F0FDFA;
  border: 3px solid #CCFBF1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0D9488;
  margin: 0 auto 16px auto;
}

.status-badge-submitted {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: #ECFDF5;
  color: #10B981;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 700;
}

.what-happens-next-card {
  padding: 24px;
}

.what-happens-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 18px 0;
}

.what-happens-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
}

.what-happens-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  padding-bottom: 22px;
}

.what-happens-item:last-child {
  padding-bottom: 0;
}

.what-happens-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: 0;
  width: 2px;
  border-left: 2px dashed #CBD5E1;
}

.what-happens-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F0FDFA;
  color: #0D9488;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #CCFBF1;
}

.what-happens-info h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 3px 0;
}

.what-happens-info p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.35;
  margin: 0;
}

.btn-contact-support {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 40px;
  border-radius: 20px;
  border: 1.5px solid var(--primary-teal);
  background: #FFFFFF;
  color: var(--primary-teal);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 10px;
}

.btn-contact-support:hover {
  background: #F0FDFA;
}

/* ==========================================================================
   STEP 6: VERIFIED APPROVED STYLES
   ========================================================================== */
.approved-hero-shield {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px auto;
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
}

.status-badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: #ECFDF5;
  color: #10B981;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 700;
}

.btn-update-verification {
  width: 100%;
  height: 44px;
  background: #FFFFFF;
  border: 1.5px solid var(--primary-teal);
  border-radius: 24px;
  color: var(--primary-teal);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 10px;
}

.btn-update-verification:hover {
  background: #F0FDFA;
}

.whats-next-nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.whats-next-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  text-decoration: none;
  transition: all 0.2s ease;
}

.whats-next-nav-item:hover {
  border-color: var(--primary-teal);
  transform: translateX(2px);
  background: #F8FAFC;
}

.whats-next-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.whats-next-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #F0FDFA;
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.whats-next-details h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 2px 0;
}

.whats-next-details p {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.35;
  margin: 0;
}

/* Modal styles for KYC gating across site */
.kyc-gate-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

.kyc-gate-modal {
  background: #FFFFFF;
  border-radius: 24px;
  width: 100%;
  max-width: 480px;
  padding: 36px 32px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  position: relative;
}

.kyc-gate-shield-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px auto;
  border-radius: 50%;
  background: #F0FDFA;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-teal);
}

.kyc-gate-shield-icon svg {
  width: 36px;
  height: 36px;
}

.kyc-gate-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 8px 0;
}

.kyc-gate-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 24px 0;
}

.kyc-gate-benefits-list {
  text-align: left;
  background: #F8FAFC;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kyc-gate-benefit-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.kyc-gate-benefit-item svg {
  color: var(--primary-teal);
  flex-shrink: 0;
}

.kyc-gate-btn-start {
  width: 100%;
  height: 48px;
  background: var(--primary-teal);
  color: #FFFFFF;
  border: none;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  margin-bottom: 10px;
}

.kyc-gate-btn-start:hover {
  background: var(--primary-teal-hover);
}

.kyc-gate-btn-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px;
}

.kyc-gate-btn-close:hover {
  color: var(--text-dark);
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.identity-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 32px;
  background: #fff;
  border-bottom: 1px solid var(--border-light);
}

.identity-nav .official-brand-logo {
  display: block;
  width: 128px;
  height: auto;
}

.identity-nav nav {
  display: flex;
  gap: 24px;
}

.identity-nav nav a {
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
}

#identityStatusPanel[hidden],
#identityFlow[hidden],
#verifiedIdentitySummary[hidden] {
  display: none;
}

.kyc-layout-grid > * {
  min-width: 0;
}

.wave-decoration {
  display: block;
  width: 100%;
}

@media (max-width: 767px) {
  .identity-nav nav {
    display: none;
  }

  .verification-page-container {
    padding: 16px 14px 40px;
  }

  .verification-title-group h1 {
    font-size: 24px;
  }

  .top-stepper {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 12px minmax(0, 1fr) 12px minmax(0, 1fr) 12px minmax(0, 1fr);
    align-items: start;
    gap: 3px;
  }

  .stepper-line {
    width: 100%;
    margin: 16px 0 0;
  }

  .center-step-card {
    padding: 16px;
  }

  .id-options-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .id-option-card {
    padding: 14px 4px;
  }

  .id-option-name {
    font-size: 12px;
    overflow-wrap: anywhere;
  }

  .upload-dropzone-box {
    padding: 20px 12px;
  }

  .upload-actions-row {
    display: grid;
    width: 100%;
    gap: 8px;
  }

  .upload-actions-row > * {
    justify-content: center;
    min-height: 44px;
  }
}

#renewIdentityDialog {
  box-sizing: border-box;
  width: min(420px, calc(100% - 24px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  overflow-y: auto;
}

#renewIdentityDialog:not([open]),
#renewIdentityForm[hidden] {
  display: none;
}

#renewIdentityDialog::backdrop {
  background: #0f172a80;
}

#renewIdentityDialog input {
  display: block;
  width: 100%;
  margin-top: 8px;
  font-size: 16px;
}

#renewIdentityDialog button:disabled {
  opacity: .55;
  cursor: default;
}

#renewIdentityDialog .back-link {
  margin: 14px 0 0;
}

#renewIdentityDialog {
  border-radius: 24px;
  padding: clamp(16px, 5vw, 24px);
  box-shadow: 0 18px 48px rgb(15 23 42 / 22%);
}

#renewIdentityDialog .step-main-title { font-size: 21px; }
#renewIdentityDialog .step-subtitle { margin-bottom: 16px; }
#renewIdentityDialog input[hidden] { display: none; }

.renew-identity-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: #fff2e8;
  color: #b64a10;
}

.renew-identity-icon svg,
#chooseRenewalId svg { width: 20px; height: 20px; flex: none; }

#chooseRenewalId {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  border: 1px dashed #0f766e;
  border-radius: 12px;
  background: #edf9f7;
  color: #0f766e;
  font: inherit;
  font-weight: 700;
}

#renewIdentityFeedback {
  margin: 7px 0 14px;
  text-align: center;
  font-size: 13px;
  color: #475569;
  overflow-wrap: anywhere;
}

#renewIdentityDialog button[type="submit"]:disabled {
  background: #e2e8f0;
  color: #475569;
  opacity: 1;
}

.selfie-picker {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px dashed #83cfc7;
  border-radius: 16px;
  background: #f2fbfa;
}

.selfie-picker img {
  width: min(100%, 220px);
  max-height: 240px;
  object-fit: contain;
  border-radius: 12px;
}

.selfie-picker button {
  min-height: 44px;
}

#btnContinueStep3:disabled {
  background: #e2e8f0;
  color: #475569;
  box-shadow: none;
  cursor: default;
}

#btnFinalSubmit[hidden] {
  display: none;
}

#verificationProgress {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(344px, calc(100% - 32px));
  height: fit-content;
  text-align: center;
  border: 0;
  border-radius: 24px;
  padding: clamp(20px, 5vw, 32px);
  color: #172033;
  line-height: 1.5;
  box-shadow: 0 20px 64px #0f172a40;
}

#verificationProgress::backdrop {
  background: #0f172aa6;
}

#verificationProgress h2 {
  margin: 0;
  font-size: 1.25rem;
}

#verificationProgressDescription {
  margin: 0;
  font-size: 0.875rem;
  color: #526174;
}

body:has(#verificationProgress[open]) {
  overflow: hidden;
}

.verification-spinner {
  width: 54px;
  height: 54px;
  margin: 24px auto;
  border: 5px solid #ccfbf1;
  border-top-color: #0d9488;
  border-radius: 50%;
}

@media (prefers-reduced-motion: no-preference) {
  .verification-spinner {
    animation: verification-spin 0.8s linear infinite;
  }
}

@keyframes verification-spin {
  to { transform: rotate(360deg); }
}

#selfieCameraFrame {
  width: min(100%, 340px);
  text-align: center;
}

.selfie-camera-preview {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #172033;
}

#selfieCamera {
  display: block;
  width: 100%;
  height: min(42vh, 300px);
  object-fit: contain;
}

#selfieCamera,
#selfiePreview,
#reviewSelfieImageThumb {
  transform: scaleX(-1);
}

.selfie-face-guide {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  height: 76%;
  aspect-ratio: 3 / 4;
  max-width: 58%;
  border: 3px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 100vmax #0f172a45;
  pointer-events: none;
}

#selfiePreview {
  width: auto;
  max-width: 100%;
  border-radius: 50%;
}

.kyc-layout-grid.kyc-pending {
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
}

.kyc-pending #leftInfoCard,
.kyc-pending > :last-child {
  display: none;
}

.pending-review-receipts {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding-inline-start: 24px;
  color: #0f766e;
  font-weight: 600;
}

#verifiedIdentitySummary {
  box-sizing: border-box;
  width: min(350px, 100%);
  margin: clamp(28px, 8vh, 72px) auto 0;
  padding: 28px 22px 22px;
  border: 1px solid #dce9e7;
  border-radius: 26px;
  background: white;
  color: #132332;
  text-align: center;
  box-shadow: 0 16px 38px #16474012;
}

.verified-identity-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 24px;
  background: #d9f7ef;
  color: #00887a;
  font-size: 34px;
  font-weight: 700;
}

#verifiedIdentityTitle {
  margin: 0 0 8px;
  font-size: 27px;
  letter-spacing: -0.8px;
}

#verifiedIdentitySummary p,
#verifiedIdentityExpiry small {
  color: #526578;
}

#verifiedIdentitySummary p {
  margin: 0;
  font-size: 14px;
}

#verifiedIdentityExpiry {
  margin-top: 24px;
  padding: 14px;
  border-radius: 14px;
  background: #f1f8f7;
  text-align: left;
}

#verifiedIdentityDate {
  display: block;
  margin-top: 3px;
}

#verifiedIdentitySummary a {
  display: block;
  margin-top: 16px;
  padding: 14px 6px;
  border-radius: 13px;
  background: #007e74;
  color: white;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
