/* PrayPT design system: buttons and interactive navigation. */
.portal-page .button,
.portal-page button.button {
  background: var(--praypt-primary);
  border-color: var(--praypt-primary);
  color: #fff;
}
.portal-page .button:hover,
.portal-page button.button:hover,
.portal-page .button:focus-visible,
.portal-page button.button:focus-visible {
  background: var(--praypt-primary-deep);
  border-color: var(--praypt-primary-deep);
}
.portal-page .secondary-button {
  color: var(--praypt-primary);
  border-color: var(--praypt-accent-light);
  background: #fff;
}
.portal-page .secondary-button:hover,
.portal-page .secondary-button:focus-visible {
  color: var(--praypt-primary-deep);
  border-color: var(--praypt-accent);
  background: var(--praypt-primary-soft);
}
.portal-page .patient-sidebar nav a,
.portal-page .practitioner-sidebar-nav button {
  color: var(--praypt-ink);
  border-radius: 10px;
}
.portal-page .patient-sidebar nav a:hover,
.portal-page .patient-sidebar nav a:focus-visible,
.portal-page .patient-sidebar nav a.is-active,
.portal-page .practitioner-sidebar-nav button:hover,
.portal-page .practitioner-sidebar-nav button:focus-visible {
  background: var(--praypt-primary-soft);
  color: var(--praypt-primary-deep);
}
.portal-page .practitioner-sidebar-nav button.is-active {
  background: var(--praypt-primary);
  color: #fff;
}

/* M2D-2A: shared portal button geometry and hierarchy */
.portal-page .button,
.portal-page .secondary-button,
.portal-page .danger-button,
.portal-page .text-danger-button {
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1.15;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.portal-page .button { box-shadow: 0 8px 18px rgba(11,37,69,.12); }
.portal-page .button:hover,.portal-page .secondary-button:hover,.portal-page .danger-button:hover { transform: translateY(-1px); }
.portal-page .secondary-button.subtle { background:#f8fbfd; border-color:#d4e0eb; box-shadow:none; }
.portal-page .text-button {
  min-height: 40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 10px;
  border-radius:10px;
  font-weight:800;
  text-decoration:none;
}
.portal-page .text-button:hover,.portal-page .text-button:focus-visible { background:var(--praypt-primary-soft,#eef4fa); }
.portal-page .button[disabled],.portal-page .secondary-button[disabled] { opacity:.48; transform:none; box-shadow:none; cursor:not-allowed; }
@media(max-width:560px){.portal-page .button,.portal-page .secondary-button,.portal-page .danger-button{min-height:46px;padding-inline:16px}}
