/* تنسيقات صفحة التسجيل العربية فقط؛ ملف styles.css الأساسي لم يتم تعديله. */

.register-ar { font-family: "Noto Kufi Arabic", Tahoma, Arial, sans-serif; }
.register-ar h1, .register-ar h2, .register-ar h3, .register-ar h4,
.register-ar h5, .register-ar h6, .register-ar button, .register-ar input,
.register-ar select, .register-ar textarea { font-family: inherit; }

.register-ar .wizard-aside { min-height: 100%; }
.register-ar .wizard-progress-item { align-items: flex-start; }
.register-ar .wizard-progress-item::after { right: 17px; left: auto; }
.register-ar .wizard-progress-item strong { line-height: 1.75; }
.register-ar .wizard-content { min-height: 780px; }
.register-ar .wizard-step { width: 100%; }

.register-ar .step-heading {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 26px;
}
.register-ar .step-heading .step-description { margin: 7px 0 0; }
.register-ar .step-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #151515;
  background: #f3ead5;
  border-radius: 10px;
  font-size: 1.25rem;
}

.register-ar .form-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 26px;
  padding: 15px 17px;
  color: #49443c;
  background: #faf5ea;
  border-right: 4px solid var(--gold-500);
  border-radius: 8px;
  font-size: .82rem;
  line-height: 1.9;
}
.register-ar .form-note i { color: var(--gold-700); margin-top: 3px; }

.register-ar .form-section-card {
  margin: 0 0 28px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.register-ar .form-section-card legend {
  float: none;
  width: auto;
  margin: 0 0 23px;
  padding: 0;
  color: var(--black-950);
  font-size: 1.03rem;
  font-weight: 700;
}
.register-ar .form-section-card legend i { margin-left: 8px; color: var(--gold-700); }
.register-ar .form-label { line-height: 1.7; }
.register-ar .input-ltr { direction: ltr; text-align: left !important; }

.register-ar .terms-list { display: grid; gap: 12px; }
.register-ar .term-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.register-ar .term-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #171717;
  background: var(--gold-300);
  border-radius: 50%;
  font-weight: 800;
  line-height: 1;
}
.register-ar .term-item h3 { margin: 2px 0 8px; font-size: .96rem; line-height: 1.7; }
.register-ar .term-item p { margin: 0; color: #666159; font-size: .84rem; line-height: 2; }

.register-ar .declaration-box {
  margin-top: 24px;
  padding: 23px;
  background: #faf5ea;
  border: 1px solid #e5d4ae;
  border-radius: 10px;
}
.register-ar .declaration-box h3 { margin-bottom: 16px; font-size: 1rem; }
.register-ar .declaration-box h3 i { margin-left: 7px; color: var(--gold-700); }
.register-ar .declaration-box .form-check { padding-right: 1.8em; padding-left: 0; }
.register-ar .declaration-box .form-check-input { float: right; margin-right: -1.8em; margin-left: 0; }
.register-ar .declaration-box .form-check-label { color: #393631; font-size: .88rem; line-height: 2; }

.register-ar .category-fieldset { margin-top: 5px; }
.register-ar .category-choice { position: relative; }
.register-ar .category-choice input { position: absolute; opacity: 0; pointer-events: none; }
.register-ar .category-choice label {
  min-height: 104px;
  display: grid;
  grid-template-columns: 52px 1fr 22px;
  align-items: center;
  gap: 16px;
  padding: 20px;
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.register-ar .category-choice label:hover { border-color: var(--gold-500); }
.register-ar .category-choice input:focus-visible + label { outline: 3px solid rgba(200, 163, 79, .25); outline-offset: 2px; }
.register-ar .category-choice input:checked + label { background: #faf5ea; border-color: var(--gold-500); box-shadow: 0 0 0 2px rgba(200, 163, 79, .11); }
.register-ar .category-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #171717;
  border-radius: 10px;
  font-size: 1.3rem;
}
.register-ar .category-choice strong, .register-ar .category-choice small { display: block; }
.register-ar .category-choice strong { color: var(--black-950); font-size: .94rem; line-height: 1.75; }
.register-ar .category-choice small { margin-top: 5px; color: var(--muted); font-size: .76rem; line-height: 1.7; }
.register-ar .choice-check { color: #b9b4aa; font-size: 1.2rem; }
.register-ar .category-choice input:checked + label .choice-check { color: var(--gold-700); }
.register-ar .is-invalid, .register-ar .form-check-input.is-invalid { border-color: #b1463f; }
.register-ar .success-state .lead-copy { max-width: 650px; }

@media (max-width: 991.98px) {
  .register-ar .wizard-aside { min-height: auto; }
  .register-ar .wizard-progress { grid-template-columns: repeat(3, 1fr); }
  .register-ar .wizard-progress-item::after { right: 50%; left: -50%; }
  .register-ar .wizard-content { min-height: 650px; }
}

@media (max-width: 767.98px) {
  .register-ar .wizard-progress-item strong { font-size: .66rem; line-height: 1.55; }
  .register-ar .wizard-content { min-height: 0; }
  .register-ar .form-section-card { padding: 20px 16px; }
  .register-ar .step-heading { gap: 11px; }
  .register-ar .step-icon { flex-basis: 42px; width: 42px; height: 42px; }
  .register-ar .term-item { grid-template-columns: 32px 1fr; gap: 11px; padding: 15px 13px; }
  .register-ar .term-number { width: 32px; height: 32px; font-size: .8rem; }
  .register-ar .term-item h3 { font-size: .88rem; }
  .register-ar .term-item p { font-size: .79rem; }
  .register-ar .category-choice label { grid-template-columns: 44px 1fr 18px; gap: 11px; padding: 16px 13px; }
  .register-ar .category-icon { width: 44px; height: 44px; }
}

@media (max-width: 420px) {
  .register-ar .wizard-aside h2 { font-size: 1.3rem; }
  .register-ar .wizard-progress-item strong { font-size: .58rem; }
  .register-ar .category-choice small { display: none; }
}
