:root {
  /* Brand colors */
  --sw-violet: #6e5df8;
  --sw-violet-600: #5a47e8;
  --sw-violet-50: #f5f4fe;
  --sw-lime: #d4ff3f;

  /* Surfaces */
  --sw-bg-app: #fafafb;
  --sw-bg-dark: #1a0d2e;
  --sw-bg-card: #ffffff;

  /* Text */
  --sw-text: #1a1232;
  --sw-text-muted: #6b6f7b;
  --sw-text-faint: #9ca3af;

  /* Borders */
  --sw-border: #ece9e0;
  --sw-border-strong: #d9d5cb;

  --bs-primary: var(--sw-violet);
  --bs-primary-rgb: 110, 93, 248;
  --bs-body-font-family: "Inter", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Helvetica, Arial, sans-serif;
  --bs-body-color: var(--sw-text);
  --bs-body-color-rgb: 26, 18, 50;

  --bs-secondary-color: var(--sw-text-muted);
  --bs-secondary-color-rgb: 107, 111, 123;
  --bs-tertiary-color: var(--sw-text-faint);
  --bs-tertiary-color-rgb: 156, 163, 175;
  --bs-border-color: var(--sw-border);
}

html,
body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Helvetica,
    Arial,
    sans-serif;
  color: var(--sw-text);
  background: var(--sw-bg-app);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scrollbar-gutter: stable;
}

.btn-primary {
  --bs-btn-bg: var(--sw-violet);
  --bs-btn-border-color: var(--sw-violet);
  --bs-btn-hover-bg: var(--sw-violet-600);
  --bs-btn-hover-border-color: var(--sw-violet-600);
  --bs-btn-active-bg: var(--sw-violet-600);
  --bs-btn-active-border-color: var(--sw-violet-600);
  --bs-btn-disabled-bg: var(--sw-violet);
  --bs-btn-disabled-border-color: var(--sw-violet);
  --bs-btn-focus-shadow-rgb: 110, 93, 248;
}

.card {
  --bs-card-border-color: var(--sw-border);
  --bs-card-border-radius: 16px;
  --bs-card-spacer-y: 20px;
  --bs-card-spacer-x: 20px;
  box-shadow: 0 1px 2px rgba(15, 16, 32, 0.04);
}

@media (max-width: 575.98px) {
  .card {
    --bs-card-spacer-y: 16px;
    --bs-card-spacer-x: 16px;
  }
}

.card > .list-group {
  border-top: 0;
  border-bottom: 0;
}

.modal-backdrop {
  --bs-backdrop-bg: #0f1020;
}

.text-violet {
  color: var(--sw-violet) !important;
}

.text-violet:hover {
  color: var(--sw-violet-600);
}

.sw-sidebar {
  background: #fff;
  padding: 24px 16px;
  overflow-y: auto;
}

.sw-sidebar__drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 16px 16px;
  border-bottom: 1px solid #f3f4f6;
}
.sw-sidebar__drawer-head .sw-sidebar__brand {
  margin: 0;
  padding: 0;
}
.sw-sidebar__close {
  width: 32px;
  height: 32px;
  background: none;
  border: 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  cursor: pointer;
}
.sw-sidebar__close:hover {
  background: #f3f4f6;
  color: #0f1020;
}

.sw-drawer-profile {
  margin: auto 12px 12px 12px;
  margin-top: auto;
  background: #f3f4f6;
  border: 1px solid #f3f4f6;
  border-radius: 12px;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sw-drawer-profile__chip {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 4px 12px 4px 4px;
  background: none;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
}

.sw-drawer-profile__avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  object-fit: cover;
  background: #18181b;
  flex-shrink: 0;
}

.sw-drawer-profile__id {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sw-drawer-profile__name {
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  color: #0f1020;
}

.sw-drawer-profile__role {
  font-size: 11px;
  font-weight: 500;
  line-height: 14px;
  color: var(--sw-violet);
}

.sw-drawer-profile__chev {
  width: 14px;
  height: 14px;
  color: var(--sw-text-muted);
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.sw-drawer-profile__chip:not(.collapsed) .sw-drawer-profile__chev {
  transform: rotate(180deg);
}

.sw-drawer-profile__expand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sw-drawer-profile__menu {
  display: flex;
  flex-direction: column;
  padding: 8px;
}

.sw-drawer-profile__sep {
  margin: 0;
  border: 0;
  border-top: 1px solid #d9d9d9;
}

.sw-drawer-profile__logout {
  padding: 8px;
}

.sw-drawer-profile__item {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  color: #1a1232;
  text-decoration: none;
}

.sw-drawer-profile__item:hover,
.sw-drawer-profile__item:active {
  background: rgba(255, 255, 255, 0.6);
  color: #1a1232;
}

.sw-drawer-profile__item-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--sw-text-muted);
}

.sw-drawer-profile__item-arrow {
  width: 12px;
  height: 12px;
  margin-left: auto;
  color: var(--sw-text-faint);
  flex-shrink: 0;
}

.sw-drawer-profile__item--danger {
  color: #ef4444;
}

.sw-drawer-profile__item--danger .sw-drawer-profile__item-icon {
  color: #ef4444;
}

.sw-drawer-profile__item--danger:hover,
.sw-drawer-profile__item--danger:active {
  background: #fef2f2;
  color: #dc2626;
}

.sw-drawer-profile__item--danger:hover .sw-drawer-profile__item-icon,
.sw-drawer-profile__item--danger:active .sw-drawer-profile__item-icon {
  color: #dc2626;
}

.sw-sidebar.offcanvas {
  display: flex;
  flex-direction: column;
}
.sw-sidebar.offcanvas > nav,
.sw-sidebar.offcanvas > .sw-sidebar__group {
  flex-shrink: 0;
}

.sw-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px;
  margin-bottom: 24px;
  text-decoration: none;
}

.sw-sidebar__brand-mark {
  width: 28px;
  height: 28px;
}

.sw-sidebar__brand-name {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.4px;
  color: #0f1020;
}

.sw-sidebar__group {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: #b3b3bb;
  margin: 16px 12px 8px;
  text-transform: uppercase;
}

.sw-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--sw-text-muted);
  text-decoration: none;
  transition:
    background 0.12s,
    color 0.12s;
  margin-bottom: 2px;
}

.sw-nav-item:hover {
  background: #f6f6f8;
  color: var(--sw-text);
}

.sw-nav-item.is-active {
  background: var(--sw-violet-50);
  color: var(--sw-violet);
  font-weight: 600;
}

.sw-nav-item__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.sw-app {
  display: flex;
  min-height: 100vh;
  background: var(--sw-bg-app);
}

.sw-app__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.sw-app__content {
  padding: 32px;
  flex: 1;
}

.sw-app__content:not(:has(.sw-message__content)) {
  display: flex;
  flex-direction: column;
}

.sw-app__content:not(:has(.sw-message__content)) > main {
  flex: 1;
  min-width: 0;
}

.sw-app__content:not(:has(.sw-message__content)) > main > :last-child {
  margin-bottom: 0;
}

.sw-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-bottom: 1px solid #f3f4f6;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 5;
}

.sw-topbar__title {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sw-topbar__title-kicker {
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: var(--sw-text-faint);
}

.sw-topbar__title-h {
  font-size: 22px;
  line-height: 28px;
  font-weight: 500;
  letter-spacing: -0.44px;
  color: #0f1020;
  margin: 0;
}

.sw-topbar__search {
  width: 280px;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #f3f4f6;
  border: 1px solid #f3f4f6;
  border-radius: 8px;
  color: var(--sw-text-faint);
  margin-left: auto;
}

.sw-topbar__search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
  color: var(--sw-text);
}

.sw-topbar__search input::placeholder {
  color: var(--sw-text-faint);
}

.sw-streak {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 8px 12px;
  background: linear-gradient(90deg, #f59e0a 0%, #ed4545 100%);
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  text-decoration: none;
}

.sw-streak:hover {
  color: #fff;
  filter: brightness(1.05);
}

/* Bell button */
.sw-bell {
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border: 1px solid #f3f4f6;
  border-radius: 8px;
  color: var(--sw-text-muted);
}

.sw-bell:hover {
  background: #e9eaee;
  color: var(--sw-text);
}

.sw-bell__dot {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ef4444;
  border: 1.5px solid #fff;
}

.sw-user-menu-wrap {
  position: relative;
  display: inline-block;
}

.sw-user-menu {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  background: #f3f4f6;
  border: 1px solid #f3f4f6;
  border-radius: 999px;
  text-decoration: none;
  color: var(--sw-text);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.sw-user-menu:hover {
  background: #e9eaee;
  color: var(--sw-text);
}

.sw-user-menu__photo {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #18181b;
  object-fit: cover;
  flex-shrink: 0;
}

.sw-user-menu__name {
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  color: #0f1020;
}

.sw-user-menu__role {
  font-size: 11px;
  line-height: 14px;
  font-weight: 500;
  color: var(--sw-violet);
}

.sw-user-menu__chev {
  transition: transform 0.18s ease;
}

.sw-user-menu.show .sw-user-menu__chev {
  transform: rotate(180deg);
}

.sw-user-dropdown {
  width: 300px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--sw-border);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(15, 10, 33, 0.12);
  overflow: hidden;
  z-index: 50;
}

.sw-user-dropdown__profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #fafafb;
}

.sw-user-dropdown__avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
  background: #18181b;
  flex-shrink: 0;
}

.sw-user-dropdown__info {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.sw-user-dropdown__id {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sw-user-dropdown__name {
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  color: #1a1232;
}

.sw-user-dropdown__handle {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: #6b7280;
}

.sw-user-dropdown__tier {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  margin-top: 4px;
  background: var(--sw-violet-50);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.54px;
  color: var(--sw-violet);
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.sw-user-dropdown__tier-badge {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #e0a82e;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sw-user-dropdown__tier-badge svg {
  width: 7px;
  height: 7px;
}

.sw-user-dropdown__section {
  padding: 8px;
  border-top: 1px solid var(--sw-border);
}

.sw-user-dropdown__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sw-user-dropdown__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  color: #1a1232;
  text-decoration: none;
  transition: background 0.12s;
}

.sw-user-dropdown__item:hover {
  background: #f3f4f6;
  color: #1a1232;
}

.sw-user-dropdown__item-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #6b7280;
}

.sw-user-dropdown__item-arrow {
  width: 12px;
  height: 12px;
  margin-left: auto;
  color: #9ca3af;
  flex-shrink: 0;
}

.sw-user-dropdown__item--danger {
  color: #ef4444;
}

.sw-user-dropdown__item--danger .sw-user-dropdown__item-icon {
  color: #ef4444;
}

.sw-user-dropdown__item--danger:hover {
  background: #fef2f2;
  color: #dc2626;
}

.sw-user-dropdown__item--danger:hover .sw-user-dropdown__item-icon {
  color: #dc2626;
}

.sw-mobile-nav {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #fff;
  border-bottom: 1px solid #f3f4f6;
  position: sticky;
  top: 0;
  z-index: 10;
}

.sw-mobile-nav .sw-sidebar__brand {
  margin: 0;
  padding: 0;
  gap: 4px;
}

.sw-mobile-nav .sw-sidebar__brand-mark {
  width: 32px;
  height: 32px;
}

.sw-mobile-nav .sw-sidebar__brand-name {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.42px;
}

.sw-mobile-nav__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.sw-mobile-nav__right-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sw-mobile-nav .sw-bell {
  width: 33px;
  height: 32px;
}

.sw-mobile-nav .sw-bell__dot {
  top: 4px;
  right: 4px;
}

.sw-mobile-menu-btn {
  background: none;
  border: 0;
  padding: 0;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f1020;
}

.sw-card__head {
  gap: 12px;
}

.sw-toast-region {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1090;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: calc(100vw - 48px);
}

.sw-toast {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 360px;
  max-width: 100%;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--sw-border);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 16, 32, 0.16);
  overflow: hidden;
  transition:
    transform 0.32s cubic-bezier(0.32, 0.72, 0, 1),
    opacity 0.22s ease-out;
}

.sw-toast.showing {
  transform: translateX(110%);
}

/* Colored accent stripe on the left edge per kind */
.sw-toast::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--sw-violet);
}

.sw-toast--success::before { background: #10b981; }
.sw-toast--error::before   { background: #ef4444; }
.sw-toast--info::before    { background: var(--sw-violet); }

.sw-toast__icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--sw-violet-50);
  color: var(--sw-violet);
}

.sw-toast--success .sw-toast__icon { background: #d1fae5; color: #047857; }
.sw-toast--error .sw-toast__icon   { background: #fee2e2; color: #b91c1c; }

.sw-toast__icon svg {
  width: 18px;
  height: 18px;
}

.sw-toast__text {
  flex: 1;
  min-width: 0;
}

.sw-toast__title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  color: #0f1020;
  margin-bottom: 2px;
}

.sw-toast__body {
  display: block;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: #6b7280;
  word-break: break-word;
}

.sw-toast__close {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: none;
  border: 0;
  color: #9ca3af;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.sw-toast__close svg {
  width: 14px;
  height: 14px;
}

.sw-toast__close:hover {
  background: #f3f4f6;
  color: #0f1020;
}

@media (max-width: 575.98px) {
  .sw-toast-region {
    top: 16px;
    right: 16px;
    left: 16px;
    align-items: stretch;
    max-width: none;
  }

  .sw-toast {
    width: auto;
  }

  .sw-toast.showing {
    transform: translateY(-120%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sw-toast {
    transition: none;
  }
}

.sw-notif-popup {
  position: fixed;
  inset: 0;
  z-index: 1080;
  pointer-events: none;
}

.sw-notif-popup.is-open {
  pointer-events: auto;
}

.sw-notif-popup__backdrop {
  position: absolute;
  inset: 0;
  background: transparent;
}

.sw-notif-popup__panel {
  position: absolute;
  top: 62px;
  right: 32px;
  width: 420px;
  max-height: min(80vh, 720px);
  background: #fff;
  border: 1px solid #ece9e0;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(15, 10, 33, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.18s ease-out, transform 0.18s ease-out;
}

.sw-notif-popup.is-open .sw-notif-popup__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.sw-notif-popup__appbar {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  flex-shrink: 0;
}

.sw-notif-popup__appbar-title {
  flex: 1;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  color: #0f1020;
}

.sw-notif-popup__back {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f3f4f6;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1a1232;
  cursor: pointer;
  flex-shrink: 0;
}

.sw-notif-popup__back svg {
  width: 18px;
  height: 18px;
}

.sw-notif-popup__appbar-spacer {
  width: 32px;
  flex-shrink: 0;
}

/* Header */
.sw-notif-popup__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #ece9e0;
  flex-shrink: 0;
}

.sw-notif-popup__title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sw-notif-popup__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: -0.08px;
  color: #0f1020;
  margin: 0;
}

.sw-notif-popup__count {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background: #f0ebff;
  color: #6e5df8;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.sw-notif-popup__mark-read {
  display: inline-block;
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  color: #6e5df8;
  cursor: pointer;
}

/* Tabs */
.sw-notif-popup__tabs {
  display: flex;
  gap: 4px;
  padding: 10px 16px;
  border-bottom: 1px solid #ece9e0;
  flex-shrink: 0;
}

.sw-notif-popup__tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 0;
  background: transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: #6b6f7b;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.sw-notif-popup__tab:hover {
  color: #1a1232;
}

.sw-notif-popup__tab.is-active {
  background: #f0ebff;
  color: #6e5df8;
  font-weight: 600;
}

.sw-notif-popup__tab-count {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  background: #f3f4f6;
  color: #1a1232;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
}

.sw-notif-popup__tab.is-active .sw-notif-popup__tab-count {
  background: #6e5df8;
  color: #fff;
}

/* List */
.sw-notif-popup__list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sw-notif-popup__item {
  display: flex;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid #f5f4fe;
  cursor: pointer;
  transition: background 0.15s;
}

.sw-notif-popup__item:last-child {
  border-bottom: 0;
}

.sw-notif-popup__item:hover {
  background: #f5f4fe;
}

.sw-notif-popup__item--unread {
  background: #fafafb;
}

.sw-notif-popup__avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  flex-shrink: 0;
}

.sw-notif-popup__avatar svg {
  width: 18px;
  height: 18px;
}

.sw-notif-popup__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sw-notif-popup__text {
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  color: #1a1232;
  margin: 0;
}

.sw-notif-popup__text strong {
  font-weight: 600;
}

.sw-notif-popup__meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sw-notif-popup__time {
  font-size: 11px;
  font-weight: 400;
  color: #9ca3af;
}

.sw-notif-popup__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #6e5df8;
  flex-shrink: 0;
}

@media (max-width: 767.98px) {
  .sw-notif-popup__backdrop {
    background: #fafafb;
  }

  .sw-notif-popup__panel {
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    max-height: none;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    transform: translateX(24px);
    transform-origin: center;
  }

  .sw-notif-popup.is-open .sw-notif-popup__panel {
    transform: translateX(0);
  }

  .sw-notif-popup__appbar {
    display: flex;
    border-bottom: 0;
  }

  .sw-notif-popup__text {
    font-size: 14px;
    line-height: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sw-notif-popup__panel {
    transition: none;
  }
}
