.employee-create-page .dashboard { padding-top: 22px; }
.breadcrumbs { display: flex; align-items: center; gap: 7px; margin-bottom: 20px; color: var(--muted); font-size: 12px; }
.breadcrumbs a:hover { color: var(--purple); }
.breadcrumbs svg { width: 14px; }
.breadcrumbs strong { color: var(--text); }
.create-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.create-heading h2 { margin: 0 0 5px; font-size: 28px; }
.create-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.create-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 18px; align-items: start; }
.form-steps { position: sticky; top: 18px; display: grid; gap: 7px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.step-item { min-height: 70px; display: grid; grid-template-columns: 34px 1fr 18px; align-items: center; gap: 10px; padding: 10px; border: 0; border-radius: 7px; background: transparent; text-align: right; cursor: pointer; }
.step-item:hover { background: #f8f6fc; }
.step-item > span { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: #fff; font-size: 11px; font-weight: 800; }
.step-item div { display: grid; gap: 3px; }
.step-item strong { font-size: 12px; }
.step-item small { color: var(--muted); font-size: 9px; line-height: 1.5; }
.step-item > svg { display: none; width: 16px; color: var(--green); }
.step-item.active { color: var(--purple); background: var(--purple-soft); }
.step-item.active > span { color: #fff; border-color: var(--purple); background: var(--purple); }
.step-item.done > span { font-size: 0; color: #fff; border-color: var(--green); background: var(--green); }
.step-item.done > span::before { content: "✓"; font-size: 12px; }
.step-item.done > svg { display: block; }
.form-help { display: flex; gap: 9px; margin-top: 6px; padding: 11px; border-radius: 7px; color: #6c7484; background: #f7f8fa; }
.form-help svg { flex: 0 0 auto; width: 16px; color: var(--blue); }
.form-help p { margin: 0; font-size: 9px; line-height: 1.7; }
.form-help b { color: var(--red); }
.create-form-panel { overflow: hidden; box-shadow: none; }
.form-progress { height: 4px; background: #eef0f4; }
.form-progress span { display: block; height: 100%; background: var(--teal); transition: width .25s ease; }
.create-form-panel form { min-height: 570px; display: flex; flex-direction: column; }
.form-step { padding: 24px 26px 28px; }
.form-step[hidden] { display: none; }
.step-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.step-heading > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 7px; color: var(--purple); background: var(--purple-soft); }
.step-heading h3 { margin: 0 0 4px; font-size: 18px; }
.step-heading p { margin: 0; color: var(--muted); font-size: 11px; }
.fields-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.fields-grid > label { display: grid; gap: 7px; font-size: 12px; font-weight: 700; }
.fields-grid label > span b { color: var(--red); }
.fields-grid label > span small { color: var(--muted); font-size: 9px; font-weight: 500; }
.deferred-job-note { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 13px 15px; border: 1px solid #d9d0ed; border-radius: 8px; background: #faf8fe; }
.deferred-job-note > svg { width: 22px; color: var(--purple); }
.deferred-job-note strong { display: block; margin-bottom: 3px; font-size: 11px; }
.deferred-job-note p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.7; }
.fields-grid input, .fields-grid select { width: 100%; height: 46px; padding: 0 13px; color: var(--text); border: 1px solid var(--line); border-radius: 7px; outline: 0; background: #fff; }
.fields-grid input:focus, .fields-grid select:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(98,67,159,.1); }
.fields-grid .invalid { border-color: var(--red); background: #fffafa; }
.ltr-field { direction: ltr; text-align: left; }
.full-field { grid-column: 1 / -1; }
.phone-input, .password-input { position: relative; display: flex; }
.phone-input select { flex: 0 0 112px; width: 112px; padding-inline: 8px; border-inline-end: 0; border-radius: 7px 0 0 7px; background: #f8f9fb; direction: ltr; }
.phone-input input { border-radius: 0 7px 7px 0; }
.password-input input { padding-inline-end: 45px; }
.password-input button { position: absolute; inset-inline-end: 5px; top: 5px; width: 36px; height: 36px; display: grid; place-items: center; color: var(--muted); border: 0; border-radius: 6px; background: transparent; cursor: pointer; }
.password-input button:hover { color: var(--purple); background: var(--purple-soft); }
.password-input svg { width: 18px; }
.remote-option { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; }
.remote-option > div { display: flex; align-items: center; gap: 11px; }
.remote-option > div > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 7px; color: var(--blue); background: #eaf2fc; }
.remote-option strong { display: block; margin-bottom: 3px; font-size: 12px; }
.remote-option p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.switch { position: relative; flex: 0 0 auto; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch span { width: 46px; height: 25px; display: block; border-radius: 20px; background: #cdd3dc; cursor: pointer; transition: background .2s ease; }
.switch span::after { content: ""; position: absolute; top: 3px; right: 3px; width: 19px; height: 19px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,.14); transition: transform .2s ease; }
.switch input:checked + span { background: var(--green); }
.switch input:checked + span::after { transform: translateX(-21px); }
.photo-upload { min-height: 118px; display: flex; align-items: center; gap: 17px; padding: 15px; border: 1px dashed #cfd5df; border-radius: 8px; background: #fafbfc; }
.photo-preview { width: 82px; height: 82px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border-radius: 50%; color: var(--muted); background: #edf0f4; }
.photo-preview svg { width: 30px; height: 30px; }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-upload strong { display: block; margin-bottom: 4px; font-size: 12px; }
.photo-upload p { margin: 0 0 9px; color: var(--muted); font-size: 10px; }
.upload-btn { width: max-content; min-height: 37px; font-size: 11px; cursor: pointer; }
.form-message { min-height: 22px; padding: 0 26px; color: var(--red); font-size: 11px; font-weight: 700; }
.form-message.success { color: var(--green); }
.form-navigation { margin-top: auto; min-height: 78px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 15px 26px; border-top: 1px solid var(--line); background: #fafbfc; }
.form-navigation .btn { min-width: 115px; }
.form-navigation .btn[hidden] { display: none; }
.nav-children a.active { color: #fff; font-weight: 700; }

@media (max-width: 1050px) {
  .create-layout { grid-template-columns: 1fr; }
  .form-steps { position: static; grid-template-columns: repeat(3, 1fr); }
  .step-item { min-height: 62px; }
  .step-item small, .form-help { display: none; }
}
@media (max-width: 620px) {
  .create-heading { align-items: stretch; flex-direction: column; }
  .create-heading h2 { font-size: 23px; }
  .form-steps { gap: 4px; padding: 7px; }
  .step-item { grid-template-columns: 27px 1fr; gap: 6px; padding: 7px; }
  .step-item > span { width: 25px; height: 25px; }
  .step-item strong { font-size: 9px; line-height: 1.35; }
  .step-item > svg { display: none; }
  .form-step { padding: 18px 14px 22px; }
  .step-heading { align-items: flex-start; }
  .step-heading h3 { font-size: 16px; }
  .fields-grid { grid-template-columns: 1fr; gap: 14px; }
  .full-field { grid-column: auto; }
  .remote-option { align-items: flex-start; }
  .photo-upload { align-items: flex-start; }
  .form-navigation { padding-inline: 14px; }
  .form-navigation .btn { min-width: 100px; }
}
