@import url("/css/pages/default.css");

.notifications-page {
  flex: 1;
  min-height: 0;
}

.notifications-main {
  width: 100%;
  max-width: none;
  padding: 32px;
}

.notifications-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: start;
}

.notifications-head p {
  margin: 4px 0 0;
  color: #41484c;
  font-size: 14px;
  line-height: 20px;
}

.notifications-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 0 16px;
  padding: 14px 16px;
  border: 1px solid #e3e6ea;
  border-radius: 12px;
  background: #ffffff;
}

.notifications-toolbar span {
  color: #41484c;
  font-size: 13px;
  font-weight: 500;
}

.notifications-toolbar button {
  border: 0;
  border-radius: 8px;
  background: rgba(173, 222, 247, 0.35);
  color: #00658f;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
}

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

.notifications-item {
  display: flex;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid #e3e6ea;
  border-radius: 14px;
  background: #ffffff;
}

.notifications-item.is-unread {
  border-color: rgba(0, 101, 143, 0.25);
  background: rgba(173, 222, 247, 0.1);
}

.notifications-item__dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  margin-top: 6px;
  border-radius: 9999px;
  background: #00658f;
}

.notifications-item__body {
  flex: 1;
  min-width: 0;
}

.notifications-item strong {
  display: block;
  color: #191c1d;
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
}

.notifications-item p {
  margin: 4px 0 8px;
  color: #41484c;
  font-size: 14px;
  line-height: 20px;
}

.notifications-item small {
  color: #71787d;
  font-size: 12px;
  line-height: 16px;
}

.notifications-item__tag {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 8px;
  border-radius: 9999px;
  background: #f3f3f5;
  color: #41484c;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.notifications-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.notifications-stat-card {
  padding: 18px;
  border: 1px solid #e3e6ea;
  border-radius: 14px;
  background: #ffffff;
}

.notifications-stat-card h3 {
  margin: 0 0 12px;
  color: #191c1d;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.notifications-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #f0f1f3;
  color: #41484c;
  font-size: 13px;
}

.notifications-stat-row:last-child {
  border-bottom: 0;
}

.notifications-stat-row strong {
  color: #191c1d;
  font-size: 18px;
  font-weight: 700;
}

.notifications-info {
  padding: 16px;
  border: 1px solid rgba(51, 100, 122, 0.15);
  border-radius: 14px;
  background: rgba(173, 222, 247, 0.12);
}

.notifications-info p {
  margin: 0;
  color: #33647a;
  font-size: 13px;
  line-height: 20px;
}

.notifications-item--empty .notifications-item__body p {
  margin: 0;
  color: #71787d;
}

@media (max-width: 1100px) {
  .notifications-layout {
    grid-template-columns: 1fr;
  }
}
