.authentication-wrapper.authentication-basic .authentication-inner {
  max-width: 620px;
}

.authentication-wrapper.authentication-basic .authentication-inner .card {
  padding: 0;
  border-radius: 8px;
}

.card-body {
  padding: 1rem !important;
}

.app-brand {
  display: flex;
}

.register-panel {
  color: #1f2937;
  font-family: "Public Sans", sans-serif;
}

.register-title {
  margin: 0;
  color: #17174f;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}

.register-subtitle {
  margin: 2px 0 16px;
  color: #94a3b8;
  font-size: 18px;
  font-weight: 600;
}

.register-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
  position: relative;
}

.register-steps::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 25%;
  right: 25%;
  height: 2px;
  background: #e2e8f0;
}

.register-step {
  border: 0;
  padding: 0;
  background: transparent;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: #cbd5e1;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
  width: 100%;
}

button.register-step {
  cursor: pointer;
}

.register-step-number {
  display: inline-flex;
  width: 29px;
  height: 29px;
  align-items: center;
  justify-content: center;
  border: 3px solid #e2e8f0;
  border-radius: 50%;
  background: #fff;
  color: #94a3b8;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

.register-step.is-active {
  color: #635bff;
}

.register-step.is-active .register-step-number {
  border-color: #635bff;
  background: #635bff;
  color: #fff;
}

.register-tab-panel[hidden] {
  display: none;
}

.kyc-alert {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  padding: 13px 16px;
  border: 2px solid #facc15;
  border-radius: 7px;
  background: #fff9c4;
  color: #7c2d12;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
}

.kyc-alert strong {
  font-weight: 800;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #94a3b8;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.register-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.register-field label,
.user-type-label {
  display: block;
  margin-bottom: 6px;
  color: #374151;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.required {
  color: #ef4444;
  margin-left: 4px;
}

.register-field .form-control {
  min-height: 45px;
  border: 2px solid #dfe7ef;
  border-radius: 8px;
  color: #1f2937;
  font-size: 18px;
  font-weight: 500;
  box-shadow: none;
}

.register-field .form-control:focus {
  border-color: #635bff;
  box-shadow: 0 0 0 3px rgba(99, 91, 255, .12);
}

.field-error {
  display: none;
  margin-top: 6px;
  color: #dc2626;
  font-size: 13px;
  font-weight: 700;
}

.mobile-field {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 8px;
}

.user-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.user-type-card {
  position: relative;
  display: block;
  min-height: 150px;
  padding: 14px 16px;
  border: 2px solid #dfe7ef;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.user-type-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.user-type-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 100%;
}

.user-type-icon {
  font-size: 23px;
  line-height: 1;
}

.user-type-title {
  color: #1f2937;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
}

.user-type-text {
  color: #94a3b8;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.28;
}

.user-type-check {
  position: absolute;
  top: 10px;
  right: 10px;
  display: none;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #635bff;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.user-type-card:has(input:checked) {
  border-color: #635bff;
  background: #eef2ff;
  box-shadow: 0 0 0 1px rgba(99, 91, 255, .1);
}

.user-type-card:has(input:checked) .user-type-check {
  display: inline-flex;
}

.register-actions {
  margin-top: 6px;
}

.login-field {
  margin-bottom: 18px;
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 2px 0 18px;
  color: #64748b;
  font-size: 16px;
  font-weight: 700;
}

.login-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #374151;
  cursor: pointer;
}

.forgot-password-spinner {
  display: none;
}

.login-options a,
.register-login-link a {
  color: #4f46e5;
  font-weight: 800;
  text-decoration: none;
}

.login-options a:hover,
.register-login-link a:hover {
  text-decoration: underline;
}

.register-actions .btn {
  min-height: 46px;
  border-radius: 8px;
  font-size: 17px;
  font-weight: 800;
}

.register-login-link {
  margin: 16px 0 0;
  color: #64748b;
  font-weight: 600;
  text-align: center;
}

.kyc-review-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  color: #1f2937;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}

.optional-badge {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 2px 8px;
  border: 1px solid #f59e0b;
  border-radius: 999px;
  color: #f59e0b;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.kyc-review-copy {
  max-width: 430px;
  margin: 0 0 16px;
  color: #64748b;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.kyc-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.kyc-info-card {
  min-height: 150px;
  padding: 14px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.35;
}

.kyc-info-card.warning {
  border: 1px solid #facc15;
  background: #fffbeb;
  color: #7c2d12;
}

.kyc-info-card.success {
  border: 1px solid #4ade80;
  background: #ecfdf5;
  color: #166534;
}

.kyc-info-icon {
  display: block;
  margin-bottom: 9px;
  font-size: 20px;
  line-height: 1;
}

.kyc-info-title {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
}

.kyc-upload-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 12px;
  color: #64748b;
  font-size: 15px;
  font-weight: 800;
}

.kyc-upload-title::before,
.kyc-upload-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.kyc-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.kyc-upload-card {
  display: flex;
  min-height: 166px;
  padding: 16px 14px;
  align-items: center;
  justify-content: center;
  border: 2px dashed #dfe7ef;
  border-radius: 8px;
  background: #fff;
  color: #475569;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}

.kyc-upload-card:hover {
  border-color: #635bff;
  background: #f8fafc;
}

.kyc-upload-card.has-file {
  border-color: #16a34a;
  background: #f0fdf4;
}

.kyc-upload-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.kyc-upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.kyc-upload-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 17px;
  line-height: 1;
}

.kyc-upload-icon.blue {
  background: #eef2ff;
  color: #635bff;
}

.kyc-upload-icon.green {
  background: #dcfce7;
  color: #16a34a;
}

.kyc-upload-icon.orange {
  background: #ffedd5;
  color: #f97316;
}

.kyc-upload-icon.purple {
  background: #f3e8ff;
  color: #8b5cf6;
}

.kyc-upload-name {
  color: #1f2937;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.kyc-upload-help {
  color: #64748b;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

.kyc-upload-action {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.kyc-upload-meta {
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
}

.kyc-upload-progress {
  display: none;
  margin: 0 0 16px;
  padding: 12px;
  border: 1px solid #dfe7ef;
  border-radius: 8px;
  background: #f8fafc;
}

.kyc-upload-progress.is-visible {
  display: block;
}

.kyc-upload-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  color: #334155;
  font-size: 14px;
  font-weight: 800;
}

.kyc-upload-progress-track {
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: #e5e7eb;
}

.kyc-upload-progress-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: #4f46e5;
  transition: width .2s ease;
}

.kyc-upload-file-list {
  display: grid;
  gap: 5px;
  margin: 9px 0 0;
  padding: 0;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  list-style: none;
  overflow-wrap: anywhere;
}

.kyc-upload-progress-note {
  margin-top: 7px;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
}

.kyc-review-actions {
  display: grid;
  gap: 9px;
}

.kyc-review-submit,
.kyc-review-skip {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
}

.registration-loader {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: registration-loader-spin .75s linear infinite;
}

.is-loading .registration-loader {
  display: inline-block;
}

@keyframes registration-loader-spin {
  to {
    transform: rotate(360deg);
  }
}

.kyc-review-submit {
  border: 0;
  background: #4f46e5;
  color: #fff;
}

.kyc-review-skip {
  border: 1px solid #dfe7ef;
  background: #f8fafc;
  color: #334155;
}

@media (max-width: 575.98px) {
  .register-title {
    font-size: 22px;
  }

  .register-subtitle,
  .kyc-alert,
  .register-field label,
  .user-type-label,
  .register-field .form-control {
    font-size: 16px;
  }

  .register-step {
    font-size: 14px;
  }

  .register-grid,
  .user-type-grid,
  .kyc-info-grid,
  .kyc-upload-grid {
    grid-template-columns: 1fr;
  }

  .login-options {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
