/* KYC Verification Page */

.kyc-main {
  padding: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.kyc-title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 24px 0;
}

/* Verification Levels */
.kyc-levels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.kyc-level {
  background: #111827;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: border-color 0.2s;
}

.kyc-level.active {
  border-color: #5cb8e6;
}

.level-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.level-badge.basic {
  background: rgba(92,184,230,0.15);
  color: #5cb8e6;
}

.level-badge.advanced {
  background: rgba(168,85,247,0.15);
  color: #a855f7;
}

.level-badge.institutional {
  background: rgba(251,191,36,0.15);
  color: #fbbf24;
}

.level-limit {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.level-status {
  font-size: 12px;
  color: #8a94a6;
}

/* Progress Steps */
.kyc-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  gap: 0;
}

.kyc-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1e293b;
  border: 2px solid #374151;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #8a94a6;
  transition: all 0.2s;
}

.kyc-step.active .step-circle {
  background: #5cb8e6;
  border-color: #5cb8e6;
  color: #0a0e17;
}

.kyc-step.completed .step-circle {
  background: #22c55e;
  border-color: #22c55e;
  color: #fff;
}

.step-label {
  font-size: 12px;
  color: #8a94a6;
  white-space: nowrap;
}

.kyc-step.active .step-label {
  color: #5cb8e6;
  font-weight: 600;
}

.kyc-step.completed .step-label {
  color: #22c55e;
}

.step-connector {
  width: 60px;
  height: 2px;
  background: #374151;
  margin: 0 8px;
  margin-bottom: 24px;
  transition: background 0.2s;
}

.step-connector.filled {
  background: #22c55e;
}

/* KYC Card */
.kyc-card {
  background: #111827;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
}

.kyc-card-header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.kyc-card-header h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #e2e8f0;
}

.kyc-card-body {
  padding: 20px;
}

/* Form elements */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #8a94a6;
  margin-bottom: 6px;
}

.form-input,
.form-select {
  width: 100%;
  padding: 10px 14px;
  background: #0a0e17;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #e2e8f0;
  font-size: 14px;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: #5cb8e6;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a94a6' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* Upload areas */
.upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.upload-area {
  border: 2px dashed rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 32px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s;
  cursor: pointer;
}

.upload-area:hover {
  border-color: rgba(92,184,230,0.4);
}

.upload-single {
  max-width: 400px;
  margin: 0 auto 16px;
}

.upload-icon {
  margin-bottom: 4px;
}

.upload-title {
  font-size: 14px;
  font-weight: 600;
  color: #e2e8f0;
}

.upload-hint {
  font-size: 12px;
  color: #64748b;
}

.upload-btn {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  background: rgba(92,184,230,0.15);
  color: #5cb8e6;
  border: none;
  cursor: pointer;
  margin-top: 4px;
  transition: background 0.15s;
}

.upload-btn:hover {
  background: rgba(92,184,230,0.25);
}

/* Info box */
.kyc-info-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(92,184,230,0.08);
  border: 1px solid rgba(92,184,230,0.2);
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.5;
}

.kyc-info-box svg {
  flex-shrink: 0;
  margin-top: 1px;
}

/* Step actions */
.step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: #5cb8e6;
  color: #0a0e17;
  transition: background 0.15s;
}

.btn-primary:hover { background: #4da8d6; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: #5cb8e6;
  border: 1px solid rgba(92,184,230,0.3);
  transition: border-color 0.15s;
}

.btn-outline:hover { border-color: #5cb8e6; }

/* Review step */
.review-body {
  text-align: center;
}

.review-icon {
  margin-bottom: 16px;
}

.review-title {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px 0;
}

.review-desc {
  font-size: 14px;
  color: #8a94a6;
  margin: 0 0 24px 0;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.review-summary {
  background: #0a0e17;
  border-radius: 10px;
  padding: 20px;
  text-align: left;
  max-width: 500px;
  margin: 0 auto 24px;
}

.review-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.review-row:last-child { border-bottom: none; }

.review-label {
  font-size: 13px;
  color: #8a94a6;
}

.review-value {
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
}

.review-value.status-pending {
  color: #fbbf24;
}

/* Responsive */
@media (max-width: 700px) {
  .kyc-main { padding: 16px; }
  .kyc-levels { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .upload-grid { grid-template-columns: 1fr; }
  .step-connector { width: 30px; }
  .step-label { font-size: 10px; }
}
