.notifications-page {
  color: #253247;
}

.notifications-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.notifications-summary-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 96px;
  padding: 18px;
  background: #fff;
  border: 1px solid #e8edf4;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(37, 50, 71, 0.06);
}

.notifications-summary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 8px;
  font-size: 23px;
}

.notifications-summary-icon.is-primary {
  color: #2266e3;
  background: #eaf1ff;
}

.notifications-summary-icon.is-warning {
  color: #b7791f;
  background: #fff6df;
}

.notifications-summary-icon.is-success {
  color: #0f9f6e;
  background: #e8f8f1;
}

.notifications-summary-value {
  font-size: 26px;
  line-height: 1.1;
  font-weight: 700;
}

.notifications-summary-label {
  margin-top: 4px;
  color: #7a8798;
  font-size: 13px;
}

.notifications-toolbar {
  display: grid;
  grid-template-columns: auto minmax(260px, 420px);
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  margin-bottom: 18px;
  background: #fff;
  border: 1px solid #e8edf4;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(37, 50, 71, 0.05);
}

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

.notifications-filter {
  min-width: 110px;
  height: 42px;
  border: 1px solid #dfe7f1;
  border-radius: 6px;
  color: #536174;
  background: #fff;
}

.notifications-filter.active {
  color: #fff;
  border-color: #2266e3;
  background: #2266e3;
}

.notifications-search {
  position: relative;
}

.notifications-search i {
  position: absolute;
  top: 50%;
  left: 13px;
  transform: translateY(-50%);
  color: #8c98a8;
  font-size: 20px;
}

.notifications-search input {
  width: 100%;
  height: 42px;
  padding: 0 14px 0 42px;
  border: 1px solid #dfe7f1;
  border-radius: 6px;
  outline: none;
  color: #253247;
}

.notifications-search input:focus {
  border-color: #2266e3;
  box-shadow: 0 0 0 3px rgba(34, 102, 227, 0.12);
}

.notifications-panel {
  min-height: 420px;
  padding: 8px;
  background: #fff;
  border: 1px solid #e8edf4;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(37, 50, 71, 0.05);
}

.notifications-loading,
.notifications-empty {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: #7a8798;
}

.notifications-empty i {
  font-size: 46px;
  color: #b9c4d2;
}

.notifications-empty strong {
  color: #253247;
  font-size: 17px;
}

.notifications-list {
  display: flex;
  flex-direction: column;
}

.notification-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-bottom: 1px solid #edf1f6;
}

.notification-item:last-child {
  border-bottom: 0;
}

.notification-item.is-unread {
  background: #f6f9ff;
}

.notification-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #2266e3;
  background: #eaf1ff;
  font-size: 22px;
}

.notification-main h5 {
  margin: 0;
  color: #253247;
  font-size: 15px;
  font-weight: 800;
}

.notification-main p {
  margin: 6px 0 0;
  color: #5d6b7c;
  line-height: 1.55;
}

.notification-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.notification-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border-radius: 5px;
  background: #eef2f7;
  color: #536174;
  font-size: 12px;
  font-weight: 700;
}

.notification-pill.is-unread {
  color: #b7791f;
  background: #fff6df;
}

.notification-actions {
  display: flex;
  gap: 8px;
}

.notification-actions .btn {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 6px;
}

@media (max-width: 991px) {
  .notifications-summary-grid,
  .notifications-toolbar {
    grid-template-columns: 1fr;
  }

  .notification-item {
    grid-template-columns: 42px 1fr;
  }

  .notification-actions {
    grid-column: 2;
    justify-content: flex-start;
  }
}

@media (max-width: 575px) {
  .notifications-summary-grid {
    gap: 12px;
  }

  .notifications-summary-card,
  .notifications-toolbar {
    padding: 14px;
  }
}
