.ioz8-system-notification-entry {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.4vw;
  border-top: 1px solid #f5f5f5;
  color: #333;
  cursor: pointer;
  user-select: none;
}

.ioz8-system-notification-entry:active {
  background: #faf8fc;
}

.ioz8-system-notification-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.733vw;
  min-width: 14px;
  height: 3.733vw;
  min-height: 14px;
}

.ioz8-system-notification-envelope {
  position: relative;
  display: block;
  width: 14px;
  height: 11px;
  box-sizing: border-box;
  border: 2px solid #7036a7;
  border-radius: 2px;
}

.ioz8-system-notification-envelope::before,
.ioz8-system-notification-envelope::after {
  position: absolute;
  top: 1px;
  width: 7px;
  height: 2px;
  background: #7036a7;
  content: '';
}

.ioz8-system-notification-envelope::before {
  left: 1px;
  transform: rotate(35deg);
  transform-origin: left center;
}

.ioz8-system-notification-envelope::after {
  right: 1px;
  transform: rotate(-35deg);
  transform-origin: right center;
}

.ioz8-system-notification-dot {
  position: absolute;
  top: -5px;
  right: -6px;
  display: none;
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #f44336;
}

.ioz8-system-notification-dot.is-visible,
.ioz8-system-notification-count.is-visible {
  display: inline-flex;
}

.ioz8-system-notification-label {
  display: flex;
  align-items: center;
  min-width: 0;
}

.ioz8-system-notification-entry .action-title {
  display: flex;
  align-items: center;
  gap: 1.867vw;
  min-width: 0;
  color: #333;
  font-size: 2.267vw;
}

.ioz8-system-notification-count {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  margin-left: 7px;
  padding: 0 5px;
  box-sizing: border-box;
  border-radius: 9px;
  background: #f44336;
  color: #fff;
  font-size: 10px;
  line-height: 17px;
}

.ioz8-system-notification-arrow {
  color: #b9b9b9;
  font-family: Arial, sans-serif;
  font-size: 2.4vw;
  font-weight: 300;
  line-height: 1;
}

html.ioz8-system-notification-open,
body.ioz8-system-notification-open {
  overflow: hidden !important;
}

.ioz8-system-notification-overlay {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #f5f4f7;
  color: #222;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.ioz8-system-notification-header {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 54px 1fr 54px;
  align-items: center;
  min-height: 58px;
  padding-top: env(safe-area-inset-top);
  background: linear-gradient(135deg, #7036a7, #8d5cc4);
  color: #fff;
  box-shadow: 0 1px 5px rgba(58, 25, 89, .22);
}

.ioz8-system-notification-header h1 {
  margin: 0;
  overflow: hidden;
  font-size: 18px;
  font-weight: 600;
  line-height: 58px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ioz8-system-notification-back {
  width: 54px;
  height: 58px;
  padding: 0 0 5px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: 300 40px/1 Arial, sans-serif;
  cursor: pointer;
}

.ioz8-system-notification-body {
  flex: 1 1 auto;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 14px 12px calc(20px + env(safe-area-inset-bottom));
}

.ioz8-system-notification-state {
  margin: 28px 12px;
  color: #999;
  font-size: 15px;
  text-align: center;
}

.ioz8-system-notification-state.is-error {
  color: #d9534f;
}

.ioz8-system-notification-card {
  position: relative;
  margin-bottom: 12px;
  padding: 16px;
  border: 1px solid #eeeaf2;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 7px rgba(58, 25, 89, .06);
}

.ioz8-system-notification-card.is-unread {
  border-left: 4px solid #7036a7;
  background: #fdfbff;
}

.ioz8-system-notification-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.ioz8-system-notification-card h2 {
  margin: 0;
  color: #7036a7;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.ioz8-system-notification-card-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: #f44336;
}

.ioz8-system-notification-card-dot.is-read {
  visibility: hidden;
}

.ioz8-system-notification-content {
  margin-top: 12px;
  overflow-wrap: anywhere;
  color: #555;
  font-size: 15px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}

.ioz8-system-notification-time {
  display: block;
  margin-top: 13px;
  color: #aaa;
  font-size: 12px;
  line-height: 1.4;
  text-align: right;
}
