/* ============================================
   MULTI-STEP REGISTRATION STYLES
   ============================================ */

/* Wider auth box for registration */
.auth-box-wide {
  max-width: 520px !important;
  width: 100%;
}

/* Step Indicator */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  margin-bottom: 8px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #E5E7EB;
  color: #6B7280;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.step.active .step-number {
  background: var(--brand-primary, #3B82F6);
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.step.completed .step-number {
  background: #22C55E;
  color: white;
}

.step.completed .step-number::after {
  content: '✓';
  font-size: 14px;
}

.step.completed .step-number span {
  display: none;
}

.step-label {
  font-size: 12px;
  color: #6B7280;
  font-weight: 500;
  white-space: nowrap;
}

.step.active .step-label {
  color: var(--brand-primary, #3B82F6);
  font-weight: 600;
}

.step.completed .step-label {
  color: #22C55E;
}

.step-line {
  flex: 1;
  height: 2px;
  background: #E5E7EB;
  margin: 0 8px;
  margin-bottom: 24px;
  min-width: 30px;
  max-width: 60px;
  transition: background 0.3s ease;
}

.step-line.active {
  background: var(--brand-primary, #3B82F6);
}

.step-line.completed {
  background: #22C55E;
}

/* Step Content */
.register-step {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px 0;
}

.step-description {
  font-size: 14px;
  color: #6B7280;
  margin: 0 0 24px 0;
  line-height: 1.5;
}

/* Form Row (2 columns) */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 480px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-hint {
  display: block;
  font-size: 12px;
  color: #9CA3AF;
  margin-top: 4px;
}

/* Specialisaties Container */
.specialisaties-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

/* Search Bar */
.specialisaties-search-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 4px;
}

.specialisaties-search {
  flex: 1;
  position: relative;
}

.specialisaties-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.specialisaties-search input {
  width: 100%;
  padding-left: 42px !important;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
}

.specialisaties-search input:focus {
  background: white;
  border-color: var(--brand-primary, #3B82F6);
}

.specialisaties-count {
  font-size: 13px;
  color: #6B7280;
  white-space: nowrap;
}

.specialisaties-count span {
  font-weight: 600;
  color: var(--brand-primary, #3B82F6);
}

/* Simple List Container */
.specialisaties-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 320px;
  overflow-y: auto;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  background: white;
}

.specialisaties-list::-webkit-scrollbar {
  width: 6px;
}

.specialisaties-list::-webkit-scrollbar-track {
  background: #F3F4F6;
}

.specialisaties-list::-webkit-scrollbar-thumb {
  background: #D1D5DB;
  border-radius: 3px;
}

/* Category Label - Clickable */
.specialisatie-category-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  background: #F9FAFB;
  border-bottom: 1px solid #E5E7EB;
  position: sticky;
  top: 0;
  z-index: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.specialisatie-category-label:hover {
  background: #EFF6FF;
  color: var(--brand-primary, #3B82F6);
}

.specialisatie-category-label .category-text {
  font-weight: 700;
}

.specialisatie-category-label .category-select-hint {
  font-size: 10px;
  font-weight: 500;
  color: #9CA3AF;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.specialisatie-category-label:hover .category-select-hint {
  opacity: 1;
  color: var(--brand-primary, #3B82F6);
}

/* When all items in category are selected */
.specialisatie-category-label.all-selected {
  background: #DBEAFE;
  color: var(--brand-primary, #3B82F6);
}

.specialisatie-category-label.all-selected .category-select-hint {
  opacity: 1;
}

.specialisatie-category-label.all-selected:hover .category-select-hint::after {
  content: ' (klik om te deselecteren)';
}

/* List Item */
.specialisatie-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #F3F4F6;
  cursor: pointer;
  transition: background 0.15s ease;
  background: white;
}

.specialisatie-item:last-child {
  border-bottom: none;
}

.specialisatie-item:hover {
  background: #F8FAFC;
}

.specialisatie-item.selected {
  background: #EFF6FF;
}

.specialisatie-item input[type="checkbox"] {
  display: none;
}

.specialisatie-checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid #D1D5DB;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.specialisatie-item.selected .specialisatie-checkbox {
  background: var(--brand-primary, #3B82F6);
  border-color: var(--brand-primary, #3B82F6);
}

.specialisatie-checkbox svg {
  opacity: 0;
  transition: opacity 0.15s ease;
}

.specialisatie-item.selected .specialisatie-checkbox svg {
  opacity: 1;
}

.specialisatie-label {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}

.specialisatie-item.selected .specialisatie-label {
  color: var(--brand-primary, #3B82F6);
}

/* Step Navigation */
.step-navigation {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.step-navigation .btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-navigation .btn-secondary {
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  color: #374151;
}

.step-navigation .btn-secondary:hover {
  background: #E5E7EB;
}

.step-navigation .btn-success {
  background: #22C55E !important;
}

.step-navigation .btn-success:hover {
  background: #16A34A !important;
}

/* Completion Icon */
.completion-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

/* Summary Card */
.summary-card {
  background: #F8FAFC;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 20px;
  margin-top: 24px;
}

.summary-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 16px 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #E5E7EB;
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-label {
  font-size: 14px;
  color: #6B7280;
}

.summary-value {
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  text-align: right;
  max-width: 60%;
  word-break: break-word;
}

/* Error State */
.form-control.error {
  border-color: #EF4444;
  background: #FEF2F2;
}

.form-error {
  color: #EF4444;
  font-size: 12px;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Responsive */
@media (max-width: 520px) {
  .auth-box-wide {
    margin: 16px;
  }
  
  .step-indicator {
    padding: 16px 8px;
  }
  
  .step-number {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  
  .step-label {
    font-size: 10px;
  }
  
  .step-line {
    min-width: 20px;
  }
}
