/* Bildirim metinleri kart ve açılır pencere genişliği içinde doğal biçimde satır kaydırır. */
.notification-center-list,
#notificationPopupList,
#portalNotificationPopupList {
  min-width: 0;
  max-width: 100%;
}

.notification-popup {
  width: min(390px, calc(100vw - 30px));
  min-width: min(320px, calc(100vw - 30px));
  max-width: calc(100vw - 30px);
  white-space: normal;
}

.notification-item {
  grid-template-columns: 38px minmax(0, 1fr);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  white-space: normal;
}

.notification-item > span:last-child {
  display: grid;
  min-width: 0;
  max-width: 100%;
  gap: 4px;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.notification-item strong,
.notification-item small,
.notification-item time {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.notification-item strong,
.notification-item time {
  white-space: normal;
}

.notification-item small {
  white-space: pre-wrap;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .notification-item {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 12px;
  }

  .notification-icon {
    width: 32px;
    height: 32px;
  }
}
