.notification {
  --pill-radius: 16px;
  --pill-shadow: 0 3px 6px #00000029;
  --split-shadow: 0 6px 16px 0 rgb(0 0 0 / 0.16);
  --close-size: 20px;

  display: flex;
  width: 100%;
  position: relative;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.notification.pill {
  border-radius: var(--pill-radius);
  width: calc(100% - var(--spacing-m));
  margin: 0 auto 12px;
  box-shadow: var(--pill-shadow);
  overflow: unset;
}

.notification.split.pill {
  box-shadow: var(--split-shadow);
}

.notification.split.focus {
  width: 100%;
  margin: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  z-index: 102;
}

.notification .foreground {
  display: flex;
  position: relative;
  padding: var(--spacing-xs);
  width: 100%;
}

.notification.split .foreground .text {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  width: 100%;
}

.notification [class*="heading-"] {
  margin: 0;
}

.notification.split .split-list-area {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  width: 100%;
}

.notification.split .split-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 12px;
}

.notification.split .split-list-item .text-content {
  display: flex;
  gap: var(--spacing-xxs);
  align-items: center;
  font-weight: 700;
}

.notification.split .split-list-item .text-content img {
  width: 24px;
  height: 24px;
}

.notification.split .split-list-item .con-button {
  white-space: nowrap;
  min-width: 89px;
  text-align: center;
}

.notification .close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: var(--close-size);
  height: var(--close-size);
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
}

@media (min-width: 600px) {
  .notification.split,
  .notification-curtain {
    display: none;
  }
}

@media (min-width: 1200px) {
  .notification.pill {
    --pill-radius: 100px;
  }
}
