.auth-header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid #dce9e1;
  border-radius: 10px;
  background: #fff;
  color: #087f5b;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.auth-header-link:hover,
.auth-header-link:focus-visible { background: #e9f8ef; outline: 2px solid #a6e5c8; }
.shared-pharmacy-header .auth-header-link { margin-left: auto; }
.auth-page { display: grid; place-items: start center; min-height: 62vh; padding: clamp(24px, 6vw, 64px) 16px; }
.auth-card { width: min(100%, 520px); box-sizing: border-box; padding: clamp(22px, 5vw, 38px); border: 1px solid #dce9e1; border-radius: 20px; background: #fff; box-shadow: 0 14px 38px rgba(16,61,48,.09); }
.auth-eyebrow { color: #087f5b; font-size: 11px; font-weight: 900; letter-spacing: 2px; }
.auth-card h1 { margin: 10px 0 8px; color: #123d30; font-size: clamp(25px, 5vw, 34px); line-height: 1.2; }
.auth-intro { margin: 0 0 22px; color: #52675e; line-height: 1.6; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 18px; padding: 5px; border-radius: 12px; background: #eff6f1; }
.auth-tab { min-height: 42px; border: 0; border-radius: 9px; background: transparent; color: #40584d; font: inherit; font-weight: 700; cursor: pointer; }
.auth-tab.is-active { background: #fff; color: #087f5b; box-shadow: 0 2px 8px rgba(16,61,48,.1); }
.auth-form { display: grid; gap: 9px; }
.auth-form label { margin-top: 5px; color: #243b31; font-size: 14px; font-weight: 700; }
.auth-form input { width: 100%; min-height: 46px; box-sizing: border-box; padding: 10px 12px; border: 1px solid #cbd9d0; border-radius: 10px; background: #fff; color: #172c25; font: inherit; }
.auth-form input:focus { border-color: #07835f; outline: 3px solid rgba(7,131,95,.14); }
.auth-submit,.auth-logout { min-height: 46px; margin-top: 12px; padding: 10px 16px; border: 0; border-radius: 10px; background: #087f5b; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.auth-submit:hover,.auth-logout:hover { background: #06684b; }
.auth-submit:disabled,.auth-logout:disabled { cursor: wait; opacity: .65; }
.auth-status { margin: 0 0 17px; padding: 12px 14px; border: 1px solid #c9e5d4; border-radius: 10px; background: #effaf2; color: #245c3b; line-height: 1.5; overflow-wrap: anywhere; }
.auth-status.is-error { border-color: #f0c7c2; background: #fff4f2; color: #8b2f25; }
.auth-profile { margin-top: 20px; padding-top: 16px; border-top: 1px solid #e3ebe6; }
.auth-profile h2 { margin: 0 0 14px; color: #123d30; font-size: 20px; }
.auth-profile dl { display: grid; gap: 12px; margin: 0; }
.auth-profile dl > div { display: grid; grid-template-columns: minmax(105px, .7fr) 1.3fr; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid #edf1ee; }
.auth-profile dt { color: #52675e; font-weight: 700; }
.auth-profile dd { margin: 0; color: #172c25; overflow-wrap: anywhere; }
.auth-logout { width: 100%; background: #fff; border: 1px solid #b5c9bd; color: #087f5b; }
.auth-logout:hover { background: #effaf2; }
.language-rtl .auth-card,.language-rtl .auth-profile { text-align: right; }
.language-rtl .auth-profile dl > div { direction: rtl; }
@media (max-width: 600px) {
  .auth-header-link { min-height: 38px; padding: 7px 10px; font-size: 13px; }
  .auth-profile dl > div { grid-template-columns: 1fr; gap: 4px; }
}
