/* css/notifications.css — "Bildirişlər" səhifəsi. my-friends.css/profile-view.css
   ilə eyni vizual ailədən (başlıq rəngi, formalar) — kod təkrarlanır, import edilmir. */

:root {
  --nt-primary: #6a11cb;
  --nt-primary-2: #2575fc;
  --nt-bg: #f5f7fa;
  --nt-text: #1a1a2e;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: var(--nt-bg);
  color: var(--nt-text);
  min-height: 100vh;
}

.nt-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--nt-primary) 0%, var(--nt-primary-2) 100%);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nt-back-btn {
  border: 0;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 15px;
  cursor: pointer;
}

.nt-header-title {
  flex: 1;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
}

.nt-header-spacer {
  width: 36px;
}

.nt-loading {
  display: flex;
  justify-content: center;
  padding: 60px 0;
}

.nt-loading[hidden] {
  display: none;
}

.nt-spinner {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(106, 17, 203, .2);
  border-top-color: var(--nt-primary);
  border-radius: 50%;
  animation: nt-spin .8s linear infinite;
}

@keyframes nt-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .nt-spinner { animation: none; }
}

.nt-list {
  max-width: 560px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nt-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .05);
  cursor: pointer;
  position: relative;
}

.nt-card.unread {
  border-left: 3px solid var(--nt-primary);
}

.nt-card.unread::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff3b30;
}

.nt-avatar {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: #eee;
}

.nt-icon {
  position: absolute;
  bottom: -2px;
  left: 30px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: #fff;
  border: 2px solid #fff;
}

.nt-icon.like { background: #ff3b30; }
.nt-icon.comment { background: #2575fc; }

.nt-info {
  flex: 1;
  min-width: 0;
}

.nt-text {
  font-size: 14px;
  line-height: 1.35;
}

.nt-text b {
  font-weight: 700;
}

.nt-time {
  font-size: 11.5px;
  opacity: .6;
  margin-top: 3px;
}

.nt-empty {
  text-align: center;
  margin-top: 60px;
  opacity: .7;
}
