/* فرم استخدام مشاور - بازطراحی رسپانسیو بر اساس فرم مرجع */
.consultant-employment .form-shell{max-width:1240px}
.employment-form-head{text-align:center;margin:4px 0 22px}
.employment-form-head .basmala{display:block;font-weight:800;color:var(--text-2);margin-bottom:6px}
.employment-form-head h1{font-size:clamp(1.55rem,2.4vw,2.05rem);margin:0;color:var(--ink-900)}
.employment-form{padding:clamp(18px,3vw,32px)}
.pdf-section-title{display:flex;justify-content:flex-start;margin:0 0 18px;border-bottom:2px solid var(--ink-900);padding-bottom:8px}
.pdf-section-title h2{margin:0;border:2px solid var(--ink-900);border-radius:10px;padding:7px 16px;font-size:1rem;background:var(--surface);color:var(--ink-900)}
.employment-grid{display:grid;gap:12px;width:100%}
.employment-row{display:grid;gap:12px;width:100%;min-width:0}
.employment-row.cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.employment-row.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.employment-row.cols-1{grid-template-columns:minmax(0,1fr)}
.employment-row>label,.inline-radio-field,.employment-long-fields>label,.employment-question{display:flex;flex-direction:column;gap:7px;min-width:0}
.employment-row label>span,.inline-radio-field legend,.employment-long-fields label>span,.employment-question>span{font-weight:700;font-size:.86rem;color:var(--text-2)}
.employment-row input,.employment-row textarea{width:100%;min-width:0;box-sizing:border-box}.employment-row input{min-height:48px}.inline-radio-field{border:1px solid var(--border);border-radius:var(--r-md);padding:8px 12px;min-width:0;background:var(--surface);min-height:76px;box-sizing:border-box;justify-content:center}
.inline-radio-field legend{padding:0 5px}
.inline-radio-field label{display:inline-flex;align-items:center;gap:6px;margin-left:16px;font-size:.86rem}
.inline-radio-field input{width:18px;height:18px;min-height:auto;accent-color:var(--primary)}
.employment-table-wrap{border:2px solid var(--ink-900);border-radius:10px;overflow:auto;background:var(--surface)}
.employment-table{min-width:900px;margin:0}
.employment-table th{background:#F4F7F9;color:var(--ink-900);font-size:.8rem;white-space:nowrap;border-color:#334155!important}
.employment-table td{border-color:#64748B!important;padding:6px}
.employment-table input{min-width:96px;min-height:40px;border-radius:7px;padding:7px 8px;background:#fff}
.work-history-table{min-width:830px}
.employment-long-fields{display:grid;gap:16px;margin-top:20px}
.employment-long-fields textarea,.employment-question textarea,.interview-grid textarea{line-height:1.95;resize:vertical}
.employment-questions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.employment-question{border:1px solid var(--border);border-radius:var(--r-lg);padding:14px;background:var(--surface-2)}
.employment-question>span{line-height:1.9;min-height:52px}
.consultant-employment .wizard-submit{margin-top:8px}

@media (max-width:1000px){
  .employment-row.cols-5,.employment-row.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .employment-row.cols-5>:last-child:nth-child(odd){grid-column:1/-1}
}
@media (max-width:700px){
  .consultant-employment .form-shell{padding-left:12px;padding-right:12px}
  .employment-form{padding:16px}
  .employment-row.cols-5,.employment-row.cols-4,.employment-row.cols-1{grid-template-columns:1fr}
  .employment-row.cols-5>:last-child:nth-child(odd){grid-column:auto}
  .employment-questions{grid-template-columns:1fr}
  .employment-question>span{min-height:0}
  .pdf-section-title{margin-bottom:14px}
  .pdf-section-title h2{font-size:.94rem;padding:6px 12px}
  .employment-table-wrap{border:0;overflow:visible}
  .employment-table{min-width:0}
}
