/* Compact Bootstrap-style provider pricing alert. Alpine handles dismissal because
   the bundled lightweight Bootstrap script does not implement alert dismissal. */
.provider-pricing-notice.alert {
  box-sizing: border-box;
  position: relative;
  display: block;
  width: min(1100px, calc(100% - 28px));
  margin: 10px auto 0;
  padding: 14px 16px;
  border: 1px solid #c9dfff;
  border-left: 4px solid var(--portal-accent, #2563eb);
  border-radius: 12px;
  background: #f3f8ff;
  color: var(--portal-text, #172033);
}
.provider-pricing-notice__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}
.provider-pricing-notice__heading { min-width: 0; }
.provider-pricing-notice__eyebrow {
  display: block;
  margin-bottom: 2px;
  color: #3f6693;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .025em;
}
.provider-pricing-notice h2 {
  margin: 0 0 2px;
  color: #19385d;
  font-size: 1.02rem;
  font-weight: 750;
  line-height: 1.3;
}
.provider-pricing-notice__date {
  display: block;
  color: #526680;
  font-size: .77rem;
  line-height: 1.4;
}
.provider-pricing-notice .provider-pricing-notice__close {
  /* Override Bootstrap's absolute-positioned dismiss control so the header reserves space. */
  position: relative;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  margin: -2px -4px 0 0;
  padding: 0;
  border: 1px solid #cfddf1;
  border-radius: 9px;
  background: #fff;
  background-image: none;
  color: #405975;
  font: inherit;
  font-size: 24px;
  line-height: 1;
  opacity: 1;
  cursor: pointer;
}
.provider-pricing-notice .provider-pricing-notice__close:hover,
.provider-pricing-notice .provider-pricing-notice__close:focus-visible {
  background: #e3efff;
  color: #123966;
}
.provider-pricing-notice .provider-pricing-notice__close:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.provider-pricing-notice > p {
  margin: 0 0 10px;
  color: #526680;
  font-size: .84rem;
  line-height: 1.5;
}
.provider-pricing-notice__prices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}
.provider-pricing-notice__price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 10px;
  min-width: 0;
  padding: 9px 11px;
  background: #fff;
  border: 1px solid #d9e7f7;
  border-radius: 8px;
}
.provider-pricing-notice__price span {
  color: #526680;
  font-size: .78rem;
  line-height: 1.3;
}
.provider-pricing-notice__price strong {
  color: #123d72;
  font-size: 1rem;
  white-space: nowrap;
}
.provider-pricing-notice__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px 16px;
}
.provider-pricing-notice__footer p {
  margin: 0;
  color: #526680;
  font-size: .78rem;
  line-height: 1.4;
}
.provider-pricing-notice__link {
  font-size: .8rem;
  font-weight: 750;
}
@media (max-width: 767.98px) {
  .provider-pricing-notice__prices {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    overflow: hidden;
    border: 1px solid #d9e7f7;
    border-radius: 9px;
    background: #fff;
  }
  .provider-pricing-notice__price {
    flex-wrap: nowrap;
    min-height: 43px;
    padding: 9px 12px;
    border: 0;
    border-radius: 0;
  }
  .provider-pricing-notice__price + .provider-pricing-notice__price {
    border-top: 1px solid #e7eef8;
  }
}
@media (max-width: 575.98px) {
  .provider-pricing-notice.alert {
    width: calc(100% - 24px);
    margin-top: 8px;
    padding: 12px;
  }
  .provider-pricing-notice h2 { font-size: .98rem; }
  .provider-pricing-notice__header { margin-bottom: 7px; }
  .provider-pricing-notice__footer { align-items: flex-start; }
}

/* A fixed header must have real layout space. Padding on the page root is
   reliable on Safari and avoids relying on an initial child's margin. */
body.provider-pricing-notice-visible {
  padding-top: var(--portal-navbar-height);
}
.provider-pricing-notice.alert {
  margin-top: 10px;
}
body.provider-pricing-notice-visible .page-content.workspace-page-shell {
  padding-top: 0;
}
@media (max-width: 767.98px) {
  .provider-pricing-notice.alert {
    margin-top: 8px;
    padding: 10px 12px;
  }
  .provider-pricing-notice__header { margin-bottom: 6px; }
  .provider-pricing-notice > p { margin-bottom: 7px; font-size: .79rem; line-height: 1.4; }
  .provider-pricing-notice__prices {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    margin-bottom: 8px;
  }
  .provider-pricing-notice__price {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 4px;
    min-height: 67px;
    padding: 7px 8px;
    border: 1px solid #d9e7f7;
    border-radius: 8px;
  }
  .provider-pricing-notice__price + .provider-pricing-notice__price {
    border-top: 1px solid #d9e7f7;
  }
  .provider-pricing-notice__price span { font-size: .68rem; line-height: 1.25; }
  .provider-pricing-notice__price strong { font-size: .99rem; }
  .provider-pricing-notice__footer { gap: 4px 10px; }
  .provider-pricing-notice__footer p { font-size: .72rem; }
}
@media (max-width: 379.98px) {
  .provider-pricing-notice__price { padding-inline: 6px; }
  .provider-pricing-notice__price span { font-size: .65rem; }
}
