/* Expert registration wizard */

.hidden { display: none !important; }

.ex-reg-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: #0f172a;
}

.ex-reg-card {
  width: min(760px, 100%);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  background: #1e293b;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.ex-reg-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  color: #f8fafc;
  text-decoration: none;
  font-weight: 700;
}

.ex-reg-card h1 {
  margin: 0 0 0.35rem;
  color: #f8fafc;
  font-size: 1.5rem;
}

.ex-reg-lead {
  color: #94a3b8;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.ex-reg-steps {
  display: flex;
  align-items: center;
  margin-bottom: 1.75rem;
}

.ex-reg-step {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 2px solid #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #94a3b8;
  flex-shrink: 0;
}

.ex-reg-step.active {
  border-color: #d4af37;
  background: rgba(212, 175, 55, 0.15);
  color: #d4af37;
}

.ex-reg-step.done {
  border-color: #10b981;
  color: #10b981;
}

.ex-reg-step-line {
  flex: 1;
  height: 2px;
  background: #334155;
  max-width: 3rem;
  margin: 0 0.35rem;
}

.step-content h2 {
  color: #f8fafc;
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.step-description {
  color: #94a3b8;
  font-size: 0.9rem;
  margin: 0 0 1.25rem;
}

.field {
  margin-bottom: 1.25rem;
}

.field label {
  display: block;
  color: #e2e8f0;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.req {
  color: #d4af37;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="password"],
.field select {
  width: 100%;
  padding: 12px 16px;
  background: #0f172a;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  color: #f8fafc;
  font-size: 15px;
  font-family: inherit;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

input[type="text"]:not(:placeholder-shown),
input[type="email"]:not(:placeholder-shown),
input[type="tel"]:not(:placeholder-shown),
input[type="password"]:not(:placeholder-shown) {
  color: #f8fafc !important;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder {
  color: #64748b;
}

.field select {
  cursor: pointer;
}

.field-hint {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: #64748b;
}

.phone-field {
  display: grid;
  gap: 0.75rem;
}

.phone-field .btn-sm {
  justify-self: start;
}

.sms-verify input {
  letter-spacing: 0.25em;
  max-width: 160px;
}

/* Password */
.password-requirements {
  margin-top: 12px;
  padding: 16px;
  background: rgba(30, 41, 59, 0.5);
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.requirement {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #94a3b8;
  font-size: 13px;
  transition: color 0.2s;
}

.requirement:last-child {
  margin-bottom: 0;
}

.requirement .icon {
  font-size: 14px;
  transition: all 0.2s;
}

.requirement.met {
  color: #10b981;
}

.requirement.met .icon {
  color: #10b981;
}

.password-strength {
  margin-top: 12px;
}

.strength-bar {
  height: 4px;
  background: #334155;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
}

.strength-bar::before {
  content: "";
  display: block;
  height: 100%;
  width: 0%;
  transition: all 0.3s;
  border-radius: 2px;
}

.strength-bar.weak::before {
  width: 33%;
  background: #ef4444;
}

.strength-bar.medium::before {
  width: 66%;
  background: #f59e0b;
}

.strength-bar.strong::before {
  width: 100%;
  background: #10b981;
}

.strength-label {
  font-size: 12px;
  color: #64748b;
}

.strength-label.weak { color: #ef4444; }
.strength-label.medium { color: #f59e0b; }
.strength-label.strong { color: #10b981; }

/* Legal status */
.legal-status-selector {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.status-option {
  cursor: pointer;
}

.status-option input[type="radio"] {
  display: none;
}

.status-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(30, 41, 59, 0.5);
  border: 2px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  transition: all 0.2s;
}

.status-option input:checked + .status-card {
  border-color: #d4af37;
  background: rgba(212, 175, 55, 0.1);
}

.status-icon {
  font-size: 32px;
}

.status-info h3 {
  color: #f8fafc;
  font-size: 16px;
  margin-bottom: 4px;
}

.status-info p {
  color: #94a3b8;
  font-size: 13px;
  margin: 0;
}

.dynamic-fields {
  margin-top: 24px;
  padding: 24px;
  background: rgba(30, 41, 59, 0.3);
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.dynamic-fields .field:last-child {
  margin-bottom: 0;
}

/* Categories */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.category-option {
  cursor: pointer;
}

.category-option input[type="radio"] {
  display: none;
}

.category-card {
  padding: 24px;
  background: rgba(30, 41, 59, 0.5);
  border: 2px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  text-align: center;
  transition: all 0.2s;
  height: 100%;
}

.category-option input:checked + .category-card {
  border-color: #d4af37;
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
}

.category-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.category-card h3 {
  color: #f8fafc;
  font-size: 15px;
  margin: 0;
}

/* Success */
.success-screen {
  text-align: center;
  padding: 20px 0 0;
}

.success-icon {
  font-size: 64px;
  margin-bottom: 24px;
}

.success-screen h2 {
  color: #f8fafc;
  font-size: 28px;
  margin-bottom: 16px;
}

.success-message {
  color: #94a3b8;
  font-size: 16px;
  margin-bottom: 32px;
}

.profile-completion {
  max-width: 400px;
  margin: 0 auto 32px;
  text-align: left;
}

.completion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  font-size: 14px;
}

.completion-item.completed {
  color: #10b981;
}

.completion-item.pending {
  color: #64748b;
}

.completion-item .check {
  font-weight: bold;
  font-size: 16px;
}

.success-cta .ex-btn-gold {
  display: inline-block;
  padding: 16px 32px;
  background: #d4af37;
  color: #0f172a;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  margin-bottom: 16px;
  border: none;
}

.success-cta .ex-btn-gold:hover {
  background: #e8c547;
}

.success-note {
  color: #64748b;
  font-size: 14px;
}

/* Actions */
.ex-reg-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ex-btn-gold {
  background: #d4af37 !important;
  color: #0f172a !important;
  border-color: #d4af37 !important;
}

.ex-btn-gold:hover {
  background: #e8c547 !important;
  border-color: #e8c547 !important;
}

.ex-reg-footer {
  margin-top: 1.25rem;
  text-align: center;
  color: #94a3b8;
  font-size: 0.9rem;
}

.ex-reg-footer a {
  color: #d4af37;
}

.ex-reg-page .consent-block {
  background: rgba(30, 41, 59, 0.5);
  border-color: rgba(212, 175, 55, 0.2);
}

.ex-reg-page .checkbox-label {
  color: #e2e8f0;
}

.ex-reg-page .checkbox-label a {
  color: #d4af37;
}

@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ex-reg-card {
    padding: 1.25rem;
  }
}

@media (max-width: 500px) {
  .category-grid {
    grid-template-columns: 1fr;
  }
  .ex-reg-actions {
    flex-direction: column-reverse;
  }
  .ex-reg-actions .btn {
    width: 100%;
  }
}
