/* 20261002-provider-registration-layout-v2 */

/* Desktop / laptop: navigation actions above the heading */
.provider-register-heading{
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  gap:18px !important;
}

.provider-heading-actions{
  order:-1 !important;
  width:100% !important;
  display:flex !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:10px !important;
}

.provider-heading-actions .provider-back-client,
.provider-heading-actions .provider-existing-login{
  margin:0 !important;
  min-height:46px !important;
  border-radius:13px !important;
  padding:.78rem 1rem !important;
  font-weight:800 !important;
  white-space:nowrap !important;
  text-align:center !important;
}

.provider-heading-actions .provider-existing-login{
  background:#fff7f1 !important;
  color:#c95a12 !important;
  border:1px solid #f0c7a7 !important;
}

@media (min-width: 761px){
  .provider-register-heading h2{
    white-space:nowrap !important;
    max-width:none !important;
    font-size:clamp(2rem,2.45vw,2.8rem) !important;
    line-height:1.08 !important;
  }
}

/* Mobile: actions stay above, stacked and full width */
@media (max-width: 760px){
  .auth-wrapper.provider-register-mode .auth-form-panel{
    padding:1.2rem !important;
  }

  .provider-register-heading{
    gap:16px !important;
  }

  .provider-heading-actions{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:10px !important;
    justify-content:stretch !important;
  }

  .provider-heading-actions .provider-back-client,
  .provider-heading-actions .provider-existing-login{
    width:100% !important;
    white-space:normal !important;
  }

  .provider-register-heading h2{
    white-space:normal !important;
  }
}
