/* Identity verification (apply.html): the hub, the QR window and the cards
   Moved out of styles.css on 2026-11-05 (one big file split by section; the rules are unchanged and in the same order).
   Every page links this file right after css/verify.css. */

/* ─── Verification Hub & Mobile-Optimized Options ─── */
.ver-hub-card {
  background: linear-gradient(145deg, rgba(18, 22, 32, 0.95) 0%, rgba(12, 14, 21, 0.98) 100%);
  border: 1.5px solid rgba(212, 160, 23, 0.25);
  border-radius: 14px;
  padding: 16px;
  margin-top: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.ver-hub-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 12px;
}
.ver-hub-card-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 160, 23, 0.08);
  border: 1px solid rgba(212, 160, 23, 0.2);
  border-radius: 10px;
  padding: 5px 8px;
}
.id-card-svg {
  filter: drop-shadow(0 2px 6px rgba(212, 160, 23, 0.25));
  transition: transform 0.25s ease;
}
.ver-hub-card:hover .id-card-svg {
  transform: scale(1.03);
}
.ver-hub-text {
  min-width: 0;
  flex: 1;
}
.ver-hub-text h4 {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ver-hub-text p {
  font-size: 12px;
  color: var(--t2);
  line-height: 1.45;
  margin: 0;
}

.ver-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px 0;
}
.ver-option-card {
  display: flex;
  flex-direction: column;
  padding: 13px 14px;
  background: rgba(14, 16, 23, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.22s ease;
  position: relative;
  user-select: none;
  gap: 6px;
}
.ver-option-card:hover {
  border-color: rgba(212, 160, 23, 0.45);
  background: rgba(22, 26, 36, 0.95);
  transform: translateY(-1px);
}
.ver-option-card.active {
  border-color: var(--gold);
  background: rgba(212, 160, 23, 0.08);
  box-shadow: 0 4px 18px rgba(212, 160, 23, 0.12);
}
.ver-option-card.completed {
  border-color: rgba(34, 197, 94, 0.6);
  background: rgba(34, 197, 94, 0.07);
}

.ver-opt-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  flex-wrap: wrap;
}
.ver-opt-start-group {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
}
.ver-opt-radio-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ver-opt-radio {
  accent-color: var(--gold);
  width: 18px;
  height: 18px;
  cursor: pointer;
  margin: 0;
}
.ver-opt-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--gold);
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.ver-option-card.active .ver-opt-icon {
  background: rgba(212, 160, 23, 0.18);
  border-color: var(--gold);
  color: #fff;
}
.ver-option-card.completed .ver-opt-icon {
  background: rgba(34, 197, 94, 0.18);
  border-color: var(--green);
  color: var(--green);
}
.ver-opt-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--t1);
  white-space: nowrap;
}
.ver-opt-status-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  margin-inline-start: auto;
}
.ver-opt-desc {
  font-size: 12px;
  color: var(--t2);
  line-height: 1.5;
  margin-top: 2px;
  padding-right: 64px;
}

/* Mobile responsive adjustments */
@media (max-width: 580px) {
  .ver-hub-card {
    padding: 12px;
  }
  .ver-hub-header {
    gap: 10px;
    padding-bottom: 10px;
  }
  .ver-hub-text h4 {
    font-size: 14px;
  }
  .ver-hub-text p {
    font-size: 11.5px;
  }
  .ver-option-card {
    padding: 10px 12px;
    gap: 6px;
  }
  .ver-opt-top-bar {
    gap: 6px;
  }
  .ver-opt-title {
    font-size: 13.5px;
  }
  .ver-opt-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  .ver-opt-desc {
    padding-right: 0;
    font-size: 11.5px;
    margin-top: 2px;
  }
  .ver-opt-status-wrap .bdg {
    font-size: 10.5px;
    padding: 2px 7px;
  }
  .ver-action-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .ver-action-row .ver-next-btn {
    width: 100%;
    justify-content: center;
    padding: 11px 16px;
    font-size: 14px;
  }
  .ver-summary-badge {
    text-align: center;
    font-size: 11.5px;
  }
}

.ver-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}
.ver-next-btn {
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(212, 160, 23, 0.25);
}
.ver-summary-badge {
  font-size: 12px;
  color: var(--t3);
  line-height: 1.4;
}

/* ─── Dedicated QR Modal Styling (PC -> Mobile) ─── */
.qr-modal-box {
  max-width: 440px;
  width: 92%;
  text-align: center;
  background: #14161f;
  border: 1px solid rgba(212, 160, 23, 0.35);
  border-radius: 18px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.7);
}
.qr-container-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px auto;
}
.qr-white-card {
  background: #ffffff;
  padding: 12px;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 224px;
  height: 224px;
  box-sizing: border-box;
}
.qr-white-card canvas,
.qr-white-card img,
.qr-white-card svg {
  display: block;
  margin: 0 auto;
  border-radius: 4px;
  width: 200px;
  height: 200px;
  max-width: 200px;
  max-height: 200px;
}
.qr-sync-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gold);
  background: rgba(212, 160, 23, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(212, 160, 23, 0.25);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: pulseDotAnim 1.4s infinite ease-in-out;
  flex-shrink: 0;
}
@keyframes pulseDotAnim {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* ═════════════════════════════════════════════════════════════
   Identity verification cards on apply.html (moved here from an inline <style>).
   Kept as the last layer of the stylesheet on purpose: it overrides the earlier .ver-* rules.
   ═════════════════════════════════════════════════════════════ */
    /* Absolute Guarantees for Identity Verification Cards on Mobile */
    .ver-option-card {
      display: flex;
      flex-direction: column;
      padding: 12px 14px;
      background: rgba(16, 19, 28, 0.92);
      border: 1.5px solid rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      cursor: pointer;
      user-select: none;
      gap: 8px;
      margin-bottom: 10px;
      position: relative;
      transition: all 0.2s ease;
    }
    .ver-option-card.active {
      border-color: #d4a017;
      background: rgba(212, 160, 23, 0.08);
      box-shadow: 0 4px 16px rgba(212, 160, 23, 0.15);
    }
    .ver-option-card.completed {
      border-color: rgba(34, 197, 94, 0.6);
      background: rgba(34, 197, 94, 0.08);
    }
    .ver-opt-top-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      gap: 8px;
      flex-wrap: wrap;
    }
    .ver-opt-start-group {
      display: flex;
      align-items: center;
      gap: 8px;
      min-width: 0;
      flex: 1 1 auto;
    }
    .ver-opt-radio {
      accent-color: #d4a017;
      width: 18px;
      height: 18px;
      cursor: pointer;
      margin: 0;
      flex-shrink: 0;
    }
    .ver-opt-icon {
      width: 34px;
      height: 34px;
      border-radius: 9px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.12);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 15px;
      color: #d4a017;
      flex-shrink: 0;
    }
    .ver-option-card.active .ver-opt-icon {
      background: rgba(212, 160, 23, 0.2);
      border-color: #d4a017;
      color: #fff;
    }
    .ver-option-card.completed .ver-opt-icon {
      background: rgba(34, 197, 94, 0.2);
      border-color: #22c55e;
      color: #22c55e;
    }
    .ver-opt-title {
      font-size: 14px;
      font-weight: 800;
      color: #fff;
      white-space: nowrap;
    }
    .ver-opt-status-wrap {
      flex-shrink: 0;
      display: flex;
      align-items: center;
      margin-inline-start: auto;
    }
    .ver-opt-desc {
      font-size: 12px;
      color: #94a3b8;
      line-height: 1.5;
      margin: 0;
      padding: 0;
    }
    @media (max-width: 480px) {
      .ver-option-card {
        padding: 10px 12px;
        gap: 6px;
      }
      .ver-opt-top-bar {
        gap: 6px;
      }
      .ver-opt-title {
        font-size: 13px;
      }
      .ver-opt-desc {
        font-size: 11px;
      }
      .ver-opt-status-wrap .bdg {
        font-size: 10.5px;
        padding: 2px 7px;
      }
    }

    .ver-card-locked {
      cursor: default !important;
      pointer-events: none !important;
      border-color: rgba(34, 197, 94, 0.7) !important;
      background: rgba(34, 197, 94, 0.08) !important;
    }
    .ver-locked-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: rgba(34, 197, 94, 0.1);
      border: 1px solid rgba(34, 197, 94, 0.25);
      border-radius: 10px;
      padding: 10px 14px;
      margin-top: 10px;
      gap: 10px;
      flex-wrap: wrap;
    }
    /* Absolute Guarantees: When hidden, MUST be hidden completely */
    .hidden,
    [hidden],
    .ver-option-card.hidden,
    .ver-locked-bar.hidden,
    .ver-action-row.hidden {
      display: none !important;
    }
