.dl-steps{max-width:760px;margin:1rem auto;padding:1rem;background:#fff;border:1px solid #e5e7eb;border-radius:14px;box-shadow:0 4px 16px rgba(0,0,0,.04);font-family:system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif}
.dl-progress{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}
.dl-progress .bar{height:6px;background:#EEA713;border-radius:6px;flex:1;margin-right:12px}
.step{display:none}.step.active{display:block}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}
label{display:block;margin:.6rem 0}input,select{width:100%;padding:.7rem;border:1px solid #d1d5db;border-radius:10px}
.chk{
  display:flex;
  align-items:center;
  gap:0.4rem;
  margin:0.3rem 0;
}
.nav{display:flex;justify-content:space-between;margin-top:1rem}
.dl-btn, .dl-prev, .dl-next{padding:.7rem 1rem;border-radius:10px;border:1px solid #d1d5db;background:#075238;color:#fff;cursor:pointer}
.dl-prev{background:#6b7280;border-color:#6b7280}
@media(max-width:600px){.grid-2{grid-template-columns:1fr}}

/* Horizontal layout for language checkboxes */
.languages-field {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
}
.languages-field .chk {
  margin: 0;
  display: flex;
  align-items: center;
}

/* Align permissions and services checkboxes */
/* Permissions and services fieldsets use vertical stacking with consistent spacing */
.permissions-field,
.services-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

/* Modern phone input styling */
/* Enhanced phone input layout: ensure the phone number input occupies the remaining space */
.phone-input {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  width: 100%;
}
/* Phone code input (read-only) */
.phone-input input[name="dl_phone_code"] {
  flex: 0 0 90px;
  width: 90px;
  text-align: center;
  padding: .7rem;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #f9fafb;
}
/* Phone number input should take remaining space */
.phone-input input[type="tel"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: .7rem;
  border: 1px solid #d1d5db;
  border-radius: 10px;
}

/* Give more space to phone input than country in nested grid */
.phone-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: .75rem;
}
