/* Application forms + Partner/Driver page body polish */
.app-page {
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: 72px;
  min-height: 80vh;
}
/* .app-page-header defined in main.css for shared LTR/RTL centering */

.app-page-header .app-page-cta {
  margin-top: 24px;
}

.app-benefits,
.app-how {
  max-width: 920px;
  margin-inline: auto;
  margin-bottom: 56px;
}

.app-benefits-intro {
  text-align: center;
  margin-bottom: 28px;
}

.app-benefits-title {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.app-benefits-subtitle {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 560px;
  margin-inline: auto;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 32px;
}

.benefit-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(29, 29, 31, 0.08);
  text-align: start;
}

.benefit-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: rgba(217, 4, 82, 0.08);
}

.line-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.benefit-copy h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.benefit-copy p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-light);
  margin: 0;
}

.how-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  margin: 0;
  padding: 0;
}

.how-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-align: start;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid rgba(29, 29, 31, 0.06);
}

.how-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 800;
  color: #fff;
  background: var(--primary);
}

.how-step-copy h3 {
  font-size: 0.9375rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.how-step-copy p {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.55;
  margin: 0;
}

.app-apply-block {
  max-width: 720px;
  margin-inline: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(29, 29, 31, 0.08);
}

.app-apply-header {
  text-align: center;
  margin: 36px 0 28px;
}

.app-apply-title {
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.app-apply-subtitle {
  color: var(--text-light);
  font-size: 0.975rem;
  line-height: 1.6;
  max-width: 480px;
  margin-inline: auto;
}

.form-wizard { max-width: 720px; margin: 0 auto; }
.wizard-steps { display: flex; justify-content: center; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.wizard-step-dot {
  width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.875rem; background: var(--bg); color: var(--text-light);
  border: 2px solid rgba(29,29,31,0.1); transition: all var(--transition);
}
.wizard-step-dot.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.wizard-step-dot.done { background: rgba(217,4,82,0.1); color: var(--primary); border-color: var(--primary); }
.wizard-panel { display: none; }
.wizard-panel.active { display: block; }
.wizard-panel-title {
  margin-bottom: 18px;
  font-weight: 800;
  font-size: 1.0625rem;
}
.wizard-nav { display: flex; justify-content: space-between; margin-top: 28px; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-check { display: flex; align-items: flex-start; gap: 12px; margin: 20px 0; }
.form-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--primary); }
.app-submit-btn { width: 100%; }

html[dir="rtl"] .benefit-row,
html[dir="rtl"] .how-step {
  text-align: start;
}

@media (max-width: 768px) {
  .app-page {
    padding-top: calc(var(--nav-height) + 32px);
    padding-bottom: 56px;
  }
  .app-benefits,
  .app-how {
    margin-bottom: 40px;
  }
  .benefit-grid,
  .how-steps {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .app-apply-header {
    margin: 28px 0 20px;
  }
  .form-row { grid-template-columns: 1fr; }
}
