body.pharmacy-hub-open {
  overflow: hidden !important;
}

button.department .nfmr-card-tag {
  display: none !important;
}

#rifd-pharmacy-hub[hidden] {
  display: none !important;
}

#rifd-pharmacy-hub {
  position: fixed;
  inset: 0;
  z-index: 8990;
  overflow: auto;
  color: #f7fbff;
  background:
    radial-gradient(circle at 18% 15%, rgba(26, 159, 255, .18), transparent 34rem),
    radial-gradient(circle at 82% 84%, rgba(34, 211, 169, .13), transparent 30rem),
    linear-gradient(145deg, #06143d 0%, #071c50 48%, #04102f 100%);
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
}

.pharmacy-hub-topbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  background: rgba(4, 16, 47, .78);
  backdrop-filter: blur(18px);
}

.pharmacy-hub-brand,
.pharmacy-hub-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pharmacy-hub-brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(97, 201, 255, .35);
  border-radius: 14px;
  color: #eaf9ff;
  background: linear-gradient(145deg, rgba(31, 159, 255, .30), rgba(22, 211, 168, .18));
  box-shadow: inset 0 1px rgba(255, 255, 255, .16);
  font-size: 18px;
  font-weight: 900;
}

.pharmacy-hub-brand strong,
.pharmacy-hub-brand small {
  display: block;
}

.pharmacy-hub-brand strong {
  font-size: 15px;
}

.pharmacy-hub-brand small {
  margin-top: 4px;
  color: rgba(226, 238, 255, .62);
  font-size: 10px;
  letter-spacing: .08em;
}

.pharmacy-hub-close,
.pharmacy-hub-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 13px;
  color: #f8fbff;
  background: rgba(255, 255, 255, .07);
  cursor: pointer;
  font: 800 13px/1 Tahoma, "Segoe UI", Arial, sans-serif;
}

.pharmacy-hub-close:hover,
.pharmacy-hub-back:hover {
  border-color: rgba(89, 200, 255, .48);
  background: rgba(89, 200, 255, .13);
}

.pharmacy-hub-main {
  width: min(1160px, 90vw);
  margin: 0 auto;
  padding: clamp(56px, 8vh, 90px) 0 70px;
}

.pharmacy-hub-heading {
  max-width: 780px;
  margin-bottom: 44px;
}

.pharmacy-hub-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 0 12px;
  border: 1px solid rgba(70, 196, 255, .24);
  border-radius: 999px;
  color: #7de2c8;
  background: rgba(18, 199, 157, .08);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.pharmacy-hub-heading h1 {
  margin: 18px 0 12px;
  font-size: clamp(37px, 5.2vw, 72px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.pharmacy-hub-heading p {
  max-width: 670px;
  margin: 0;
  color: rgba(226, 238, 255, .70);
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.9;
}

.pharmacy-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.pharmacy-hub-card {
  position: relative;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 230px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 30px;
  color: #fff;
  text-align: start;
  background: rgba(255, 255, 255, .07);
  box-shadow: 0 24px 70px rgba(0, 4, 24, .25), inset 0 1px rgba(255, 255, 255, .13);
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.pharmacy-hub-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .68;
  pointer-events: none;
}

.pharmacy-hub-card.nfmr::before {
  background: radial-gradient(circle at 18% 15%, rgba(28, 158, 255, .36), transparent 50%);
}

.pharmacy-hub-card.roster::before {
  background: radial-gradient(circle at 18% 15%, rgba(35, 211, 167, .34), transparent 50%);
}

.pharmacy-hub-card:hover {
  transform: translateY(-5px);
  border-color: rgba(115, 213, 255, .48);
  background: rgba(255, 255, 255, .105);
}

.pharmacy-hub-icon,
.pharmacy-hub-card-copy,
.pharmacy-hub-arrow {
  position: relative;
  z-index: 1;
}

.pharmacy-hub-icon {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border: 1px solid rgba(255, 255, 255, .19);
  border-radius: 24px;
  color: #fff;
  background: rgba(255, 255, 255, .10);
  box-shadow: inset 0 1px rgba(255, 255, 255, .14);
  font-size: 25px;
  font-weight: 900;
}

.pharmacy-hub-card-copy small,
.pharmacy-hub-card-copy strong,
.pharmacy-hub-card-copy span {
  display: block;
}

.pharmacy-hub-card-copy small {
  margin-bottom: 10px;
  color: rgba(219, 237, 255, .58);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pharmacy-hub-card-copy strong {
  margin-bottom: 10px;
  font-size: clamp(20px, 2.2vw, 29px);
  line-height: 1.35;
}

.pharmacy-hub-card-copy span {
  color: rgba(226, 238, 255, .68);
  font-size: 13px;
  line-height: 1.75;
}

.pharmacy-hub-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #071a44;
  background: #f3fbff;
  font-size: 18px;
  font-weight: 900;
}

.pharmacy-roster-placeholder {
  display: grid;
  place-items: center;
  min-height: 430px;
  padding: 50px 28px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 32px;
  text-align: center;
  background: rgba(255, 255, 255, .065);
  box-shadow: inset 0 1px rgba(255, 255, 255, .12);
}

.pharmacy-roster-placeholder .pharmacy-hub-icon {
  width: 98px;
  height: 98px;
  margin-bottom: 22px;
  color: #85efd3;
  font-size: 27px;
}

.pharmacy-roster-placeholder h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 48px);
}

.pharmacy-roster-placeholder p {
  max-width: 560px;
  margin: 0;
  color: rgba(226, 238, 255, .68);
  font-size: 15px;
  line-height: 1.9;
}

@media (max-width: 760px) {
  .pharmacy-hub-topbar {
    min-height: 68px;
    padding: 0 18px;
  }

  .pharmacy-hub-brand small {
    display: none;
  }

  .pharmacy-hub-main {
    width: min(100% - 32px, 620px);
    padding-top: 42px;
  }

  .pharmacy-hub-heading {
    margin-bottom: 28px;
  }

  .pharmacy-hub-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pharmacy-hub-card {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 16px;
    min-height: 176px;
    padding: 24px 20px;
    border-radius: 24px;
  }

  .pharmacy-hub-icon {
    width: 62px;
    height: 62px;
    border-radius: 19px;
    font-size: 20px;
  }

  .pharmacy-hub-arrow {
    width: 36px;
    height: 36px;
  }
}
