.mslp-header__brand {
  width: 90px;
  height: 34px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: visible;
  flex: 0 0 90px;
}

.mslp-header__brand-logo-frame {
  position: relative;
  width: 90px !important;
  height: 34px !important;
  display: block !important;
  overflow: hidden !important;
}

.mslp-header__brand-logo {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 148px !important;
  height: 148px !important;
  max-width: none !important;
  min-width: 148px !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  transform: translate(-50%, -50%) !important;
}

.mslp-header-counter,
.mslp-notifications__toggle {
  position: relative !important;
}

.mslp-icon-badge {
  position: absolute !important;
  top: -6px !important;
  right: -7px !important;
  z-index: 3;
  min-width: 18px !important;
  height: 18px !important;
  display: grid !important;
  place-items: center;
  padding: 0 4px !important;
  color: #fff !important;
  background: #1D8CF8 !important;
  border: 2px solid #fff !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 9px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.mslp-header__account {
  position: relative;
  z-index: 70;
  flex: 0 0 auto;
}

.mslp-header .mslp-header__account-toggle {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  color: #0A192F !important;
  background: #EAF4FF !important;
  border: 1px solid #D8E7F7 !important;
  border-radius: 50% !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.mslp-header .mslp-header__account-toggle:hover,
.mslp-header .mslp-header__account-toggle:focus-visible,
.mslp-header__account.is-open .mslp-header__account-toggle {
  background: #fff !important;
  border-color: #1D8CF8 !important;
  transform: translateY(-1px);
}

.mslp-header__account-toggle img,
.mslp-header__account-initial {
  width: 30px !important;
  height: 30px !important;
  display: grid;
  place-items: center;
  border-radius: 50%;
  object-fit: cover;
  color: #fff;
  background: #0A192F;
  font-size: 13px;
  font-weight: 700;
}

.mslp-header__account-toggle > i {
  position: absolute;
  left: -2px;
  bottom: -1px;
  width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #1D8CF8;
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 6px;
  transition: transform .2s ease;
}

.mslp-header__account.is-open .mslp-header__account-toggle > i {
  transform: rotate(180deg);
}

.mslp-header__account-menu {
  position: absolute;
  top: calc(100% + 11px);
  left: 0;
  width: 276px;
  padding: 8px;
  direction: rtl;
  text-align: right;
  color: #0A192F;
  background: #fff;
  border: 1px solid #D8E7F7;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(10, 25, 47, .12);
}

.mslp-header__account-menu[hidden] {
  display: none !important;
}

.mslp-header__account-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 15px;
  width: 11px;
  height: 11px;
  background: #fff;
  border-top: 1px solid #D8E7F7;
  border-left: 1px solid #D8E7F7;
  transform: rotate(45deg);
}

.mslp-header__account-heading {
  display: grid;
  gap: 2px;
  padding: 10px 12px 12px;
  border-bottom: 1px solid #D8E7F7;
}

.mslp-header__account-heading span,
.mslp-header__account-heading small {
  color: rgba(10, 25, 47, .58);
  font-size: 10px;
}

.mslp-header__account-heading small {
  overflow: hidden;
  direction: ltr;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mslp-header__account-heading strong {
  overflow: hidden;
  color: #0A192F;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mslp-header .mslp-header__account-item {
  min-height: 42px;
  display: flex !important;
  align-items: center;
  gap: 9px;
  margin-top: 3px;
  padding: 5px 7px !important;
  color: rgba(10, 25, 47, .78) !important;
  border-radius: 8px;
  font-size: 12px;
  text-decoration: none !important;
  transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.mslp-header__account-item-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  flex: 0 0 31px;
  color: #1D8CF8;
  background: #EAF4FF;
  border-radius: 8px;
}

.mslp-header__account-item-icon i {
  font-size: 14px;
}

.mslp-header .mslp-header__account-item:hover,
.mslp-header .mslp-header__account-item:focus-visible {
  color: #0A192F !important;
  background: #EAF4FF;
  transform: translateX(-2px);
}

.mslp-header .mslp-header__account-item--logout {
  margin-top: 7px;
  border-top: 1px solid #D8E7F7;
  border-radius: 0 0 8px 8px;
}

.mslp-notifications {
  position: relative;
  z-index: 72;
  flex: 0 0 auto;
}

.mslp-notifications__toggle {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #0A192F;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}

.mslp-notifications__toggle:hover,
.mslp-notifications__toggle:focus-visible,
.mslp-notifications.is-open .mslp-notifications__toggle {
  background: #EAF4FF;
  border-color: #D8E7F7;
}

.mslp-notifications__toggle > i {
  font-size: 18px;
}

.mslp-notifications__panel {
  position: absolute;
  top: calc(100% + 11px);
  left: -10px;
  width: min(350px, calc(100vw - 24px));
  direction: rtl;
  color: #0A192F;
  background: #fff;
  border: 1px solid #D8E7F7;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(10, 25, 47, .12);
  overflow: hidden;
}

.mslp-notifications__panel[hidden] {
  display: none !important;
}

.mslp-notifications__panel header {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid #D8E7F7;
}

.mslp-notifications__panel header > div {
  display: grid;
  gap: 2px;
}

.mslp-notifications__panel header strong {
  font-size: 14px;
}

.mslp-notifications__status {
  color: rgba(10, 25, 47, .58);
  font-size: 9px;
}

.mslp-notifications__clear,
.mslp-notifications__retry {
  min-height: 30px;
  padding: 5px 9px;
  color: #1D8CF8;
  background: #EAF4FF;
  border: 1px solid #D8E7F7;
  border-radius: 8px;
  font-size: 10px;
  cursor: pointer;
}

.mslp-notifications__clear:hover,
.mslp-notifications__retry:hover {
  color: #fff;
  background: #1D8CF8;
  border-color: #1D8CF8;
}

.mslp-notifications__list {
  max-height: 350px;
  overflow-y: auto;
}

.mslp-notifications__item {
  position: relative;
  border-bottom: 1px solid #D8E7F7;
}

.mslp-notifications__item:last-child {
  border-bottom: 0;
}

.mslp-notifications__item.is-unread {
  background: #F7FAFF;
}

.mslp-notifications__item-link {
  min-height: 78px;
  display: flex;
  gap: 11px;
  padding: 12px 14px 12px 43px;
  color: #0A192F !important;
  text-decoration: none !important;
  transition: background-color .2s ease;
}

.mslp-notifications__item-link:hover {
  background: #EAF4FF;
}

.mslp-notifications__item-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  color: #1D8CF8;
  background: #EAF4FF;
  border-radius: 9px;
}

.mslp-notifications__item-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.mslp-notifications__item-copy small {
  color: #1D8CF8;
  font-size: 9px;
  font-weight: 700;
}

.mslp-notifications__item-copy strong {
  overflow: hidden;
  font-size: 11px;
  line-height: 1.55;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mslp-notifications__item-copy time {
  color: rgba(10, 25, 47, .56);
  font-size: 9px;
}

.mslp-notifications__dismiss {
  position: absolute;
  top: 50%;
  left: 10px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  padding: 0;
  color: rgba(10, 25, 47, .56);
  background: #fff;
  border: 1px solid #D8E7F7;
  border-radius: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.mslp-notifications__dismiss:hover {
  color: #1D8CF8;
  border-color: #1D8CF8;
}

.mslp-notifications__empty {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 20px;
  color: rgba(10, 25, 47, .62);
  font-size: 11px;
}

.mslp-notifications__empty i {
  color: #1D8CF8;
}

.mslp-footer__brand {
  min-height: 64px;
}

.mslp-footer__brand-link,
.mslp-footer__brand-logo-frame {
  width: 170px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mslp-footer__brand-logo-frame {
  position: relative;
  overflow: hidden;
}

.mslp-footer__brand-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 276px;
  height: 276px;
  max-width: none !important;
  min-width: 276px;
  object-fit: contain;
  transform: translate(-50%, -50%);
}

@media (max-width: 980px) {
  .mslp-header__brand,
  .mslp-header__brand-logo-frame {
    width: 84px !important;
    height: 32px !important;
    flex-basis: 84px;
  }

  .mslp-header__brand-logo {
    width: 138px !important;
    height: 138px !important;
    min-width: 138px !important;
  }
}

@media (max-width: 480px) {
  .mslp-header__account-menu {
    position: fixed;
    top: 70px;
    right: 12px;
    left: 12px;
    width: auto;
  }

  .mslp-header__account-menu::before {
    display: none;
  }

  .mslp-notifications__panel {
    position: fixed;
    top: 70px;
    right: 12px;
    left: 12px;
    width: auto;
  }

  .mslp-footer__brand-link,
  .mslp-footer__brand-logo-frame {
    width: 150px;
    height: 58px;
  }

  .mslp-footer__brand-logo {
    width: 246px;
    height: 246px;
    min-width: 246px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mslp-header__account *,
  .mslp-notifications * {
    transition-duration: .01ms !important;
  }
}