:root {
  --CNS-primary-bg: #e3ffed;
  --CNS-primary-text: #00080c;
  --CNS-primary-anchor-color: #104222;
  --CNS-border-color: #d7e8de;
}

/* Core notification layout */
.notiny-base {
  min-height: 80px;
  width: min(400px, calc(100vw - 24px));
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--CNS-border-color);
  border-radius: 6px;
}

.notiny-base .notiny-img {
  border: 1px solid var(--CNS-border-color);
  border-radius: 5px;
  width: 70px;
  height: 70px;
  object-fit: cover;
  background: #fff;
}

.notiny-base .notiny-text {
  font-size: 13px;
  color: var(--CNS-primary-text);
  width: 100%;
  line-height: 1.4;
  white-space: normal;
}

.cns-notify {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cns_notify_message_row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.cns_close_button {
  border: 0;
  background: transparent;
  color: var(--CNS-primary-text);
  padding: 0;
  cursor: pointer;
  line-height: 1;
}

.cns_close_button svg {
  fill: currentColor;
}

.cns_notify_message {
  flex: 1;
}

.cns_notify_meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.cns_notify_meta_item {
  font-size: 12px;
  color: var(--CNS-primary-text);
}

.cns_notify_actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cns_notify_action {
  font-size: 12px;
  line-height: 1.2;
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid var(--CNS-primary-anchor-color);
  text-decoration: none;
}

.cns_notify_link {
  color: var(--CNS-primary-anchor-color);
  background: transparent;
}

.cns_notify_link_primary {
  color: #fff;
  background: var(--CNS-primary-anchor-color);
}

.cns_continue_button {
  color: var(--CNS-primary-anchor-color);
  background: transparent;
  cursor: pointer;
}

.cns-style-cns-prestyle-1 .cns_notify_action {
  border-radius: 4px;
}

.notiny-base .notiny-text h2 {
  font-size: 14px;
  line-height: 1.3;
  margin: 0 0 4px;
  color: var(--CNS-primary-text);
}

/* Notify section */
.notify-theme-CNS-dark {
  background-color: var(--CNS-primary-bg);
}

.cns-screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

[dir="rtl"] .notiny-base {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .cns_notify_message_row {
  flex-direction: row-reverse;
}

[dir="rtl"] .cns_notify_actions,
[dir="rtl"] .cns_notify_meta {
  justify-content: flex-start;
}

@media (prefers-reduced-motion: reduce) {
  .notiny-base,
  .notiny-base * {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 480px) {
  .notiny-base {
    min-height: 76px;
    width: min(400px, calc(100vw - 16px));
    gap: 10px;
  }

  .notiny-base .notiny-img {
    width: 56px;
    height: 56px;
  }

  .cns_notify_actions {
    gap: 6px;
  }

  .cns_notify_action {
    padding: 5px 8px;
  }

  .cns_notify_meta {
    gap: 4px 8px;
  }
}
