/*
 * Portal login styles (patient portal theme).
 */
.ph-login-error a {
  display: block;
}

.primehealth-portal-login {
  background: #E8E8E8;
  color: #2D2D2D;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.primehealth-portal-login .ph-site-header {
  display: none !important;
}

.primehealth-portal-login .ph-main-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.ph-login-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.primehealth-reset-password {
  background: #2d2d2d;
}

.primehealth-reset-password main {
  max-width: none;
  width: 100%;
  margin: 0;
}

.ph-reset-wrapper {
  min-height: 100vh;
}

.ph-reset-shell-header {
  background: transparent;
  padding: 34px 20px 26px;
}

.ph-reset-topbar {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.ph-reset-topbar .ph-login-badge {
  margin-bottom: 0;
}

.ph-reset-topbar .ph-login-back-link {
  margin-bottom: 0;
  align-self: center;
}

.primehealth-reset-password .ph-login-title {
  color: #ffc53a;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 10px;
}

.primehealth-reset-password .ph-login-subtitle {
  color: #f8fafc;
  text-align: center;
  margin-bottom: 10px;
}

.ph-reset-main {
  align-items: center;
  padding: 0 16px 40px;
  background:
    radial-gradient(1100px 360px at 50% -120px, rgba(255, 184, 0, 0.16), rgba(255, 184, 0, 0) 72%),
    linear-gradient(180deg, #2d2d2d 0%, #dfe4ea 26%, #eceff3 100%);
}

.ph-reset-card {
  width: min(520px, 96vw);
  padding: 30px 28px 26px;
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.16);
  margin-top: -54px;
}

.primehealth-reset-password .ph-setup-password-card {
  position: relative;
  width: min(540px, 94vw);
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, 0.78);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96)),
    #ffffff;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.16);
}

.primehealth-reset-password .ph-setup-password-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #2fa36e 0%, #ffc53a 100%);
}

.ph-setup-password-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
}

.ph-setup-password-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(47, 163, 110, 0.22);
  border-radius: 14px;
  background: linear-gradient(180deg, #f0fbf5 0%, #ffffff 100%);
  color: #08733d;
  box-shadow: 0 12px 24px rgba(8, 115, 61, 0.1);
}

.ph-setup-password-icon svg,
.ph-setup-password-input-icon svg,
.ph-setup-password-helper svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.ph-setup-password-card-head h2 {
  margin: 0;
  color: #102a43;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0;
}

.ph-setup-password-card-head p {
  margin: 4px 0 0;
  color: #52606d;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.ph-setup-password-eyebrow {
  margin: 0 0 5px !important;
  color: #08733d !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#setuppasswordform {
  display: grid;
  gap: 15px;
  margin: 0;
}

#setuppasswordform p,
#setuppasswordform .ph-setup-password-field {
  margin: 0;
}

.ph-setup-password-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

#setuppasswordform label {
  display: block;
  margin: 0;
  color: #102a43;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.ph-setup-password-input-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.ph-setup-password-input-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #52606d;
  pointer-events: none;
  transform: translateY(-50%);
}

#setuppasswordform .ph-setup-password-input,
#setuppasswordform input[type="password"].ph-setup-password-input,
#setuppasswordform input[type="text"].ph-setup-password-input {
  width: 100%;
  min-height: 52px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 12px 58px 12px 48px;
  background: #ffffff;
  color: #102a43;
  font-size: 15px;
  font-weight: 650;
  line-height: 22px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

#setuppasswordform .ph-setup-password-input::placeholder {
  color: #94a3b8;
  font-weight: 600;
}

#setuppasswordform .ph-setup-password-input:focus,
#setuppasswordform input[type="password"].ph-setup-password-input:focus,
#setuppasswordform input[type="text"].ph-setup-password-input:focus {
  outline: none;
  border-color: #2fa36e;
  background: #ffffff;
  box-shadow:
    0 0 0 3px rgba(47, 163, 110, 0.18),
    0 12px 28px rgba(15, 23, 42, 0.08);
}

#setuppasswordform .ph-setup-password-input-wrap .ph-password-toggle {
  right: 9px;
  width: 38px;
  height: 38px;
  border: 1px solid #d9e2ec;
  background: #f8fbff;
  color: #334e68;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

#setuppasswordform .ph-setup-password-input-wrap .ph-password-toggle:hover,
#setuppasswordform .ph-setup-password-input-wrap .ph-password-toggle:focus-visible {
  border-color: rgba(47, 163, 110, 0.32);
  background: #f0fbf5;
  color: #08733d;
}

.ph-setup-password-helper {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 42px;
  margin-top: 2px !important;
  padding: 10px 12px;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fbff 0%, #f4f8fc 100%);
  color: #52606d;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
}

.ph-setup-password-helper span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #f0fbf5;
  color: #08733d;
}

#setuppasswordform .login-submit {
  margin-top: 3px;
}

#setuppasswordform .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  border: 1px solid #f2b90d;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffc83d 0%, #f4b713 100%);
  color: #1f2933;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 14px 28px rgba(242, 185, 13, 0.22);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

#setuppasswordform .button:hover,
#setuppasswordform .button:focus-visible {
  background: linear-gradient(180deg, #ffd35f 0%, #f2b90d 100%);
  box-shadow: 0 16px 32px rgba(242, 185, 13, 0.28);
  outline: none;
  transform: translateY(-1px);
}

#setuppasswordform .button:active {
  transform: translateY(0);
}

.ph-setup-password-footnote {
  margin: 16px 0 0;
  color: #64748b;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
}

#resetpasswordform p {
  margin: 0 0 14px;
}

#resetpasswordform .input,
#resetpasswordform input[type="password"],
#resetpasswordform input[type="text"] {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 14px;
  color: #0f172a;
  background: #ffffff;
}

.ph-password-field {
  position: relative;
  display: block;
  width: 100%;
}

#resetpasswordform .ph-password-field .input,
#resetpasswordform .ph-password-field input[type="password"],
#resetpasswordform .ph-password-field input[type="text"],
.ph-password-field .c-form-input {
  padding-right: 48px;
}

.ph-password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #475569;
  cursor: pointer;
  transform: translateY(-50%);
}

.ph-password-toggle:hover,
.ph-password-toggle:focus-visible {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.07);
  outline: none;
}

.ph-password-toggle svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#resetpasswordform .input:focus,
#resetpasswordform input[type="password"]:focus,
#resetpasswordform input[type="text"]:focus {
  outline: none;
  border-color: #ffb800;
  box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.22);
}

.ph-reset-helper {
  margin: 2px 0 16px;
  font-size: 12px;
  color: #64748b;
}

.ph-login-header {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(720px 220px at 50% -80px, rgba(255, 184, 0, 0.22), rgba(255, 184, 0, 0) 70%),
    linear-gradient(135deg, #111820 0%, #1e2a32 52%, #2d2d2d 100%);
  padding: 22px 24px 40px;
  text-align: center;
}

.ph-login-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 184, 0, 0), rgba(255, 184, 0, 0.68), rgba(255, 184, 0, 0));
}

.ph-login-header-inner {
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ph-login-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
}

.ph-login-brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.ph-login-back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f7fafc;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.primehealth-staff-login .ph-login-back-link {
  position: static;
}

.ph-login-back-link:hover,
.ph-login-back-link:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.42);
  outline: none;
  transform: translateY(-1px);
}

.ph-login-hero {
  max-width: 560px;
  margin: 0 auto;
}

.ph-login-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 10px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 184, 0, 0.34);
  border-radius: 999px;
  background: rgba(255, 184, 0, 0.1);
  color: #ffe4a3;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ph-login-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-size: 0;
  margin-bottom: 12px;
}

.ph-login-badge-logo {
  display: block;
  width: auto;
  height: 46px;
  max-width: 220px;
}

.ph-login-title {
  color: #ffffff;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0 0 10px 0;
}

.ph-login-subtitle {
  color: #d7e0e8;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  margin: 0;
}

.ph-login-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 42px 20px 56px;
}

.ph-login-panel-grid {
  width: min(960px, 96vw);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 18px;
  align-items: stretch;
}

.ph-login-panel-grid--single {
  width: min(420px, 94vw);
  display: block;
}

.ph-login-card {
  background: #FFFFFF;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
}

.ph-login-card--signin {
  display: flex;
  flex-direction: column;
}

.ph-login-card-head {
  margin-bottom: 18px;
}

.ph-login-card-eyebrow {
  display: inline-flex;
  margin-bottom: 8px;
  color: #0f5c82;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ph-login-card-head h2 {
  margin: 0 0 7px;
  color: #111827;
  font-size: 22px;
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: 0;
}

.ph-login-card-head p {
  margin: 0;
  color: #526173;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.ph-login-error {
  margin-bottom: 18px;
  padding: 12px 13px;
  border-radius: 8px;
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-left: 4px solid #dc2626;
  background: #fff7f7;
  color: #7f1d1d;
  font-size: 13px;
  font-weight: 650;
}

.ph-login-success {
  margin-bottom: 18px;
  padding: 12px 13px;
  border-radius: 8px;
  border: 1px solid rgba(22, 163, 74, 0.2);
  border-left: 4px solid #16a34a;
  background: #f0fdf4;
  color: #14532d;
  font-size: 13px;
  font-weight: 650;
}

.ph-login-flow-message {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding: 13px 14px;
  border-radius: 8px;
  border: 1px solid rgba(15, 92, 130, 0.22);
  border-left: 4px solid #0f5c82;
  background: #f2f9fd;
  color: #123d57;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.ph-login-flow-message[hidden] {
  display: none;
}

.ph-login-flow-message--success {
  border-color: rgba(22, 163, 74, 0.22);
  border-left-color: #16a34a;
  background: #f0fdf4;
  color: #14532d;
}

.ph-login-flow-message--warning {
  border-color: rgba(255, 184, 0, 0.34);
  border-left-color: #ffb800;
  background: #fffbeb;
  color: #6b4c00;
}

.ph-login-flow-message--error {
  border-color: rgba(220, 38, 38, 0.2);
  border-left-color: #dc2626;
  background: #fff7f7;
  color: #7f1d1d;
}

.ph-login-flow-action {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #111827;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.ph-login-flow-action:hover {
  background: #263244;
  color: #ffffff;
  text-decoration: none;
}

#loginform {
  margin: 0;
}

#loginform p,
#lostpasswordform p,
#resetpasswordform p {
  margin-bottom: 16px;
}

#loginform label,
#lostpasswordform label,
#resetpasswordform label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #666666;
  margin-bottom: 6px;
}

#loginform input[type="text"],
#loginform input[type="email"],
#loginform input[type="password"],
#lostpasswordform input[type="email"],
#resetpasswordform input[type="text"],
#resetpasswordform input[type="password"] {
  width: 100%;
  min-height: 40px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  padding: 8px 12px 10px;
  font-size: 14px;
  line-height: 20px;
  color: #111827;
  background: #FFFFFF;
  overflow: visible;
}

#loginform input[type="text"]:focus,
#loginform input[type="email"]:focus,
#loginform input[type="password"]:focus,
#lostpasswordform input[type="email"]:focus,
#resetpasswordform input[type="text"]:focus,
#resetpasswordform input[type="password"]:focus {
  outline: none;
  border-color: #FFB800;
  box-shadow: 0 0 0 2px rgba(255, 184, 0, 0.2);
}

#loginform .login-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #444444;
}

#loginform .login-remember input[type="checkbox"] {
  accent-color: #FFB800;
}

.ph-login-change-email {
  appearance: none;
  width: auto;
  margin: -4px 0 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0f5c82;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.ph-login-change-email:hover {
  text-decoration: underline;
}

#loginform .login-submit,
#lostpasswordform .login-submit,
#resetpasswordform .login-submit {
  margin-top: 8px;
}

#loginform .button,
#lostpasswordform .button,
#resetpasswordform .button {
  width: 100%;
  background: #FFB800;
  border: 1px solid #FFB800;
  color: #2D2D2D;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

#loginform .button:disabled,
#lostpasswordform .button:disabled,
#resetpasswordform .button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

#loginform .button:hover,
#lostpasswordform .button:hover,
#resetpasswordform .button:hover {
  background: #E6A500;
}

.ph-login-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: #666666;
  margin-top: auto;
  padding-top: 2px;
}

.ph-login-links a {
  color: #2D2D2D;
  font-weight: 600;
  text-decoration: none;
}

.ph-login-links a:hover {
  text-decoration: underline;
}

.ph-login-divider {
  color: #B0B0B0;
}

.ph-login-setup-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(239, 246, 255, 0.84), rgba(255, 255, 255, 0.98) 54%),
    #ffffff;
}

.ph-login-setup-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #008ccf, #ffb800);
}

.ph-login-setup-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 8px;
  color: #075985;
  background: #e0f2fe;
  border: 1px solid rgba(14, 165, 233, 0.22);
}

.ph-login-setup-steps {
  list-style: none;
  margin: 18px 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.ph-login-setup-steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 10px;
  color: #263445;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.42;
}

.ph-login-setup-steps span {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #111820;
  color: #ffcf55;
  font-size: 12px;
  font-weight: 900;
}

.ph-login-setup-form {
  margin-top: 20px;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: #f8fafc;
}

.ph-login-setup-form label {
  display: block;
  margin-bottom: 8px;
  color: #334155;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ph-login-setup-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.ph-login-setup-row input {
  min-width: 0;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 11px;
  color: #0f172a;
  background: #ffffff;
  font-size: 14px;
  font-weight: 650;
}

.ph-login-setup-row input:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}

.ph-login-setup-row button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  color: #111820;
  background: #ffb800;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.ph-login-setup-row button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.ph-login-setup-help {
  margin: 9px 0 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.ph-login-setup-status {
  margin: 12px 0 0;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.ph-login-setup-status.is-success {
  color: #14532d;
  background: #dcfce7;
  border: 1px solid rgba(34, 197, 94, 0.24);
}

.ph-login-setup-status.is-error {
  color: #7f1d1d;
  background: #fee2e2;
  border: 1px solid rgba(239, 68, 68, 0.24);
}

/* Harden the post-checkout password setup card against global form and SVG rules. */
body.primehealth-reset-password .ph-setup-password-card,
body.primehealth-reset-password .ph-setup-password-card * {
  box-sizing: border-box;
}

body.primehealth-reset-password .ph-setup-password-card {
  position: relative;
  width: min(560px, calc(100vw - 32px));
  max-width: 560px;
  padding: clamp(22px, 4vw, 32px);
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, 0.82);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 251, 255, 0.97)),
    #ffffff;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.16);
}

body.primehealth-reset-password .ph-setup-password-card-head {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  margin: 0 0 22px;
}

body.primehealth-reset-password .ph-setup-password-card-head > div {
  min-width: 0;
}

body.primehealth-reset-password .ph-setup-password-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(47, 163, 110, 0.24);
  border-radius: 14px;
  background: linear-gradient(180deg, #f0fbf5 0%, #ffffff 100%);
  color: #08733d;
  box-shadow: 0 12px 24px rgba(8, 115, 61, 0.1);
}

body.primehealth-reset-password .ph-setup-password-icon svg,
body.primehealth-reset-password .ph-setup-password-input-icon svg,
body.primehealth-reset-password .ph-setup-password-helper svg {
  display: block !important;
  flex: 0 0 auto;
  width: 20px !important;
  height: 20px !important;
  max-width: none !important;
  fill: currentColor;
}

body.primehealth-reset-password .ph-setup-password-icon svg {
  width: 22px !important;
  height: 22px !important;
}

body.primehealth-reset-password .ph-setup-password-helper svg {
  width: 18px !important;
  height: 18px !important;
}

body.primehealth-reset-password #setuppasswordform {
  display: grid;
  gap: 15px;
  margin: 0;
}

body.primehealth-reset-password #setuppasswordform .ph-setup-password-field {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
}

body.primehealth-reset-password #setuppasswordform .ph-setup-password-input-wrap {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
}

body.primehealth-reset-password #setuppasswordform .ph-setup-password-input-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #52606d;
  pointer-events: none;
  transform: translateY(-50%);
}

body.primehealth-reset-password #setuppasswordform .ph-setup-password-input,
body.primehealth-reset-password #setuppasswordform input[type="password"].ph-setup-password-input,
body.primehealth-reset-password #setuppasswordform input[type="text"].ph-setup-password-input {
  display: block;
  width: 100%;
  min-height: 52px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 12px 58px 12px 48px;
  background: #ffffff;
  color: #102a43;
  font-size: 15px;
  font-weight: 650;
  line-height: 22px;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
}

body.primehealth-reset-password #setuppasswordform .ph-setup-password-input-wrap .ph-password-toggle {
  position: absolute;
  top: 50%;
  right: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  padding: 0;
  border: 1px solid #d9e2ec;
  border-radius: 999px;
  background: #f8fbff;
  color: #334e68;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  transform: translateY(-50%);
}

body.primehealth-reset-password #setuppasswordform .ph-password-toggle svg {
  display: block !important;
  width: 21px !important;
  height: 21px !important;
  max-width: none !important;
  fill: none;
  stroke: currentColor;
}

body.primehealth-reset-password .ph-setup-password-helper {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 42px;
  margin: 2px 0 0 !important;
  padding: 10px 12px;
}

body.primehealth-reset-password .ph-setup-password-helper span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
}

@media (max-width: 880px) {
  .ph-login-panel-grid {
    width: min(520px, 96vw);
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .ph-login-header {
    padding: 18px 16px 32px;
  }

  .ph-login-topbar {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
  }

  .ph-login-badge-logo {
    height: 40px;
    max-width: 180px;
  }

  .ph-login-back-link {
    min-height: 36px;
    padding: 7px 11px;
    font-size: 10px;
  }

  .ph-login-title {
    font-size: 27px;
  }

  .ph-login-subtitle {
    font-size: 14px;
  }

  .ph-login-card {
    padding: 22px;
  }

  .ph-login-main {
    padding: 26px 14px 40px;
  }

  .ph-login-card-head h2 {
    font-size: 20px;
  }

  .ph-login-setup-row {
    grid-template-columns: 1fr;
  }

  .ph-login-setup-row button {
    width: 100%;
  }

  .ph-reset-shell-header {
    padding-top: 18px;
  }

  .ph-reset-topbar {
    gap: 10px;
    margin-bottom: 12px;
  }

  .ph-reset-topbar .ph-login-badge-logo {
    height: 44px;
    max-width: 190px;
  }

  .ph-reset-topbar .ph-login-back-link {
    font-size: 11px;
    padding: 6px 12px;
  }

  .ph-reset-main {
    padding-top: 0;
  }

  .ph-reset-card {
    padding: 22px 18px 20px;
    border-radius: 12px;
  }

  .primehealth-reset-password .ph-login-title {
    margin-top: 34px;
    margin-bottom: 12px;
  }

  .primehealth-reset-password .ph-login-subtitle {
    max-width: 330px;
    margin: 0 auto 32px;
    line-height: 1.48;
  }

  .primehealth-reset-password .ph-reset-card {
    margin-top: 0;
  }

  .primehealth-reset-password .ph-setup-password-card {
    width: min(540px, calc(100vw - 32px));
  }

  .primehealth-reset-password .ph-setup-password-footnote {
    margin-top: 18px;
    line-height: 1.5;
  }
}
