.notifications-page {
  width: 100%;
  min-height: calc(100vh - 86px);
  color: #111827;
  background: #edf3f8;
}

.notifications-head {                                         
  margin-bottom: 30px;
}

.notifications-head h1 {
  margin: 0 0 9px;
  color: #111827;
  font-size: 32px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}

.notifications-head p {
  margin: 0;
  color: #344154;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
}

.notification-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  margin-bottom: 43px;
  padding: 0 28px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(31, 56, 102, 0.05);
}

.notification-bulk-actions,
.notification-filter-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.notification-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111827;
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  white-space: nowrap;
}

.notification-check input,
.notification-item label input {
  width: 16px;
  height: 16px;
  margin: 0;
  border: 1px solid #cbd5e1;
  accent-color: #0755d8;
}

.notification-divider {
  width: 1px;
  height: 21px;
  background: #d9e0eb;
}

.notification-toolbar button,
.notification-item button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #0f172a;
  background: transparent;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
}

.notification-toolbar button svg,
.notification-item button svg {
  width: 13px;
  height: 13px;
}

.notification-toolbar button.danger,
.notification-item button {
  color: #d10f1a;
}

.notification-filter-btn {
  min-width: 91px;
  height: 34px;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid #dce3ee;
  border-radius: 7px;
  color: #172033 !important;
}

.notification-filter-btn svg {
  width: 12px !important;
  height: 12px !important;
}

.notification-clear-btn {
  color: #0755d8 !important;
}

.notification-section {
  margin-bottom: 30px;
}

.notification-section h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 25px;
  color: #111827;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}

.notification-section h2 > span {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #fff;
  background: #0755d8;
}

.notification-section h2 svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
}

.notification-section h2.section-label {
  margin-bottom: 25px;
  color: #8b97aa;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.notification-list {
  display: grid;
  gap: 11px;
}

.notification-item {
  display: grid;
  grid-template-columns: 17px 42px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 22px;
  min-height: 82px;
  padding: 0 37px 0 19px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 24px rgba(31, 56, 102, 0.04);
}

.notification-item.is-priority {
  border-color: #dfe7f5;
  background: #f4f7ff;
}

.notification-item.is-alert {
  border-color: #fee2e2;
  background: #fff7f7;
}

.notification-type {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.notification-type svg {
  width: 17px;
  height: 17px;
  stroke-width: 2.5;
}

.notification-type.blue {
  color: #0755d8;
  background: #dce5ff;
}

.notification-type.cyan {
  color: #0085a7;
  background: #d9f2ff;
}

.notification-type.purple {
  color: #4f46e5;
  background: #ece9ff;
}

.notification-type.red {
  color: #fff;
  background: #e3323f;
}

.notification-type.orange {
  color: #f97316;
  background: #ffead8;
}

.notification-copy {
  min-width: 0;
}

.notification-copy h3 {
  margin: 0 0 6px;
  color: #111827;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
}

.notification-copy p {
  margin: 0;
  color: #4b5563;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 500;
}

.notification-item time {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111827;
  font-size: 10px;
  line-height: 1;
  font-weight: 600;
  white-space: nowrap;
}

.notification-item time b {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0755d8;
}

.notification-item.is-alert time b {
  background: #dc2626;
}

@media (max-width: 980px) {
  .notification-toolbar {
    align-items: stretch;
    flex-direction: column;
    padding: 18px;
  }

  .notification-bulk-actions,
  .notification-filter-actions {
    justify-content: space-between;
    gap: 14px;
  }

  .notification-item {
    grid-template-columns: 17px 42px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    min-height: 0;
    padding: 18px;
  }

  .notification-item time,
  .notification-item button {
    grid-column: 3;
  }
}

@media (max-width: 640px) {
  .notifications-head h1 {
    font-size: 24px;
  }

  .notification-toolbar {
    margin-bottom: 30px;
  }

  .notification-bulk-actions,
  .notification-filter-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .notification-divider {
    display: none;
  }

  .notification-filter-btn,
  .notification-clear-btn {
    width: 100%;
    justify-content: center;
  }

  .notification-section {
    margin-bottom: 34px;
  }

  .notification-item {
    grid-template-columns: 18px minmax(0, 1fr);
  }

  .notification-type {
    grid-column: 2;
    grid-row: 1;
  }

  .notification-copy,
  .notification-item time,
  .notification-item button {
    grid-column: 2;
  }
}
