/**
 * KYC Wizard Styles
 */

.kyc-wizard {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

/* Stepper */
.kyc-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  padding: 20px;
  background: rgba(0,0,0,0.2);
  border-radius: 12px;
}

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

.kyc-stepper .step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
}

.kyc-stepper .step.active .step-number {
  background: linear-gradient(135deg, #00f0ff, #007aff);
  color: #fff;
}

.kyc-stepper .step.completed .step-number {
  background: #10b981;
  color: #fff;
}

.kyc-stepper .step-label {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.kyc-stepper .step.active .step-label {
  color: #fff;
}

.kyc-stepper .step-line {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.1);
  margin: 0 20px;
  max-width: 100px;
}

.kyc-stepper .step-line.active {
  background: linear-gradient(90deg, #10b981, #00f0ff);
}

/* Step Content */
.kyc-step {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.kyc-step h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.step-subtitle {
  color: #888;
  margin-bottom: 30px;
}

/* Document Cards */
.document-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.document-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: all 0.3s;
}

.document-card:hover {
  border-color: rgba(0,240,255,0.3);
}

.document-card.pending {
  border-color: #f59e0b;
}

.document-card.approved {
  border-color: #10b981;
  background: rgba(16,185,129,0.1);
}

.document-card.rejected {
  border-color: #ef4444;
  background: rgba(239,68,68,0.1);
}

.doc-icon {
  font-size: 32px;
}

.doc-info h4 {
  margin: 0 0 5px 0;
  font-size: 16px;
}

.doc-info h4 .required {
  color: #ef4444;
}

.doc-info h4 .optional {
  color: #888;
  font-weight: normal;
  font-size: 12px;
}

.doc-info p {
  color: #888;
  font-size: 13px;
  margin: 0;
}

.doc-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  margin-top: 8px;
}

.doc-badge.pending {
  background: rgba(245,158,11,0.2);
  color: #f59e0b;
}

.doc-badge.approved {
  background: rgba(16,185,129,0.2);
  color: #10b981;
}

.doc-badge.rejected {
  background: rgba(239,68,68,0.2);
  color: #ef4444;
}

.doc-actions {
  margin-top: auto;
}

.upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #00f0ff, #007aff);
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
}

.upload-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,240,255,0.3);
}

.upload-btn input {
  display: none;
}

.uploaded-file {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
}

.uploaded-file .filename {
  flex: 1;
  font-size: 13px;
  color: #888;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Form Sections */
.form-section {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.section-header h3 {
  margin: 0;
  font-size: 18px;
}

.section-tag {
  font-size: 12px;
  color: #00f0ff;
  background: rgba(0,240,255,0.1);
  padding: 4px 10px;
  border-radius: 20px;
}

.section-helper {
  color: #888;
  font-size: 14px;
  margin-bottom: 20px;
}

/* Form Grid */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 14px;
  color: #ccc;
}

.form-group label .required {
  color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 15px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00f0ff;
  box-shadow: 0 0 0 3px rgba(0,240,255,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.input-helper {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

/* Radio & Checkbox Chips */
.radio-chips,
.checkbox-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}

.chip:hover {
  border-color: rgba(0,240,255,0.3);
}

.chip input {
  display: none;
}

.chip:has(input:checked) {
  background: linear-gradient(135deg, rgba(0,240,255,0.2), rgba(0,122,255,0.2));
  border-color: #00f0ff;
  color: #00f0ff;
}

/* GDPR Box */
.gdpr-box {
  background: rgba(0,240,255,0.05);
  border: 1px solid rgba(0,240,255,0.2);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.gdpr-box h4 {
  margin: 0 0 10px 0;
  color: #00f0ff;
}

.gdpr-box ul {
  margin: 10px 0;
  padding-left: 20px;
}

.gdpr-box li {
  color: #888;
  margin-bottom: 5px;
}

.consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.consent-checkbox input {
  margin-top: 4px;
  width: 20px;
  height: 20px;
}

.consent-checkbox span {
  font-size: 14px;
  color: #ccc;
  line-height: 1.5;
}

/* Step Actions */
.step-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.btn-lg {
  padding: 15px 30px !important;
  font-size: 16px !important;
}

/* Review Status (Step 3) */
.review-status {
  text-align: center;
  padding: 60px 40px;
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
}

.review-status .status-icon {
  font-size: 64px;
  margin-bottom: 20px;
}

.review-status h2 {
  margin-bottom: 10px;
}

.review-status p {
  color: #888;
  max-width: 400px;
  margin: 0 auto;
}

.review-status.status-yellow {
  border-color: rgba(245,158,11,0.3);
  background: rgba(245,158,11,0.05);
}

.review-status.status-green {
  border-color: rgba(16,185,129,0.3);
  background: rgba(16,185,129,0.05);
}

.review-status.status-red {
  border-color: rgba(239,68,68,0.3);
  background: rgba(239,68,68,0.05);
}

.submitted-date {
  margin-top: 15px;
  font-size: 13px;
  color: #666;
}

.form-footer {
  text-align: center;
  color: #666;
  font-size: 13px;
  margin-top: 20px;
}

/* Country-specific questions */
.country-pension-questions {
  background: rgba(0,0,0,0.2);
  border-radius: 12px;
  padding: 20px;
  margin-top: 10px;
}

.country-pension-questions h4 {
  margin: 0 0 15px 0;
  font-size: 14px;
  color: #00f0ff;
}

/* Responsive */
@media (max-width: 768px) {
  .kyc-stepper {
    flex-direction: column;
    gap: 15px;
  }
  
  .kyc-stepper .step-line {
    display: none;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .document-grid {
    grid-template-columns: 1fr;
  }
  
  .step-actions {
    flex-direction: column;
  }
  
  .radio-chips,
  .checkbox-chips {
    flex-direction: column;
  }
  
  .chip {
    justify-content: center;
  }
}
