/* ── Notification Bell ─────────────────────────────────────── */
.notif-bell-wrap {
  position: relative;
  margin-right: 12px;
}

.notif-bell-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notif-bell-btn:hover {
  color: var(--accent-gold);
}

/* ── Unread Badge ─────────────────────────────────────────── */
.notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #e74c3c;
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ── Dropdown Panel ───────────────────────────────────────── */
.notif-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 360px;
  max-height: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border-tactical);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  z-index: 100;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.notif-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-tactical);
}

.notif-dropdown-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
}

.notif-mark-all {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.notif-mark-all:hover {
  color: var(--accent-gold);
}

.notif-dropdown-list {
  overflow-y: auto;
  flex: 1;
}

/* ── Notification Item ────────────────────────────────────── */
.notif-item {
  display: flex;
  gap: 10px;
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.15s;
}

.notif-item:hover {
  background: rgba(201, 168, 76, 0.06);
}

.notif-item--unread {
  background: rgba(201, 168, 76, 0.04);
}

.notif-item--unread::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent-gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}

.notif-item-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-surface);
  flex-shrink: 0;
  overflow: hidden;
}

.notif-item-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.notif-item-text {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-primary);
}

.notif-item-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── Dropdown Footer ──────────────────────────────────────── */
.notif-dropdown-footer {
  padding: 10px 16px;
  border-top: 1px solid var(--border-tactical);
  text-align: center;
}

.notif-settings-link {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.notif-settings-link:hover {
  color: var(--accent-gold);
}

/* ── Empty State ──────────────────────────────────────────── */
.notif-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ── Settings Modal ───────────────────────────────────────── */
.notif-settings-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notif-settings-modal {
  background: var(--bg-card);
  border: 1px solid var(--border-tactical);
  padding: 32px;
  max-width: 400px;
  width: 90%;
}

.notif-settings-modal h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.notif-settings-modal label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 0.9rem;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.notif-settings-modal input[type="checkbox"] {
  accent-color: var(--accent-gold);
  width: 18px;
  height: 18px;
}

.notif-settings-save {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  background: var(--accent-gold);
  color: var(--bg-base);
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.notif-settings-close {
  margin-top: 8px;
  width: 100%;
  padding: 10px;
  background: none;
  border: 1px solid var(--border-tactical);
  color: var(--text-muted);
  cursor: pointer;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 767px) {
  .notif-dropdown {
    width: 300px;
    right: -40px;
  }
}
