/* TripLink Phase 11 — Notification center */
.tl-notif-bell {
  position: relative;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 8px;
  color: var(--tl-color-text, #1a1a1a);
  font-size: 1.15rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}
.tl-notif-bell:hover {
  background: var(--tl-neutral-100, rgba(0, 0, 0, 0.06));
}
.tl-notif-bell svg {
  display: block;
}
.tl-notif-bell__badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--tl-color-danger, #c62828);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tl-notif-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}
.tl-notif-drawer.is-open {
  pointer-events: auto;
}
.tl-notif-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 20, 0.35);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.tl-notif-drawer.is-open .tl-notif-drawer__backdrop {
  opacity: 1;
}
.tl-notif-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 400px);
  height: 100%;
  background: var(--tl-color-surface, #fff);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}
.tl-notif-drawer.is-open .tl-notif-drawer__panel {
  transform: translateX(0);
}
.tl-notif-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--tl-color-border, #e8e8ec);
}
.tl-notif-drawer__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--tl-color-border, #e8e8ec);
}
.tl-notif-list {
  flex: 1;
  overflow: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tl-notif-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--tl-color-border, #e8e8ec);
  background: transparent;
  padding: 12px 16px;
  cursor: pointer;
}
.tl-notif-item.is-unread {
  background: color-mix(in srgb, var(--tl-color-primary, #3b2186) 6%, white);
}
.tl-notif-item__title {
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 4px;
}
.tl-notif-item__body {
  font-size: 0.85rem;
  color: var(--tl-color-text-secondary, #666);
  margin: 0 0 6px;
}
.tl-notif-item__meta {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.75rem;
  color: var(--tl-color-text-secondary, #888);
}
.tl-notif-priority--critical {
  color: var(--tl-color-danger, #c62828);
  font-weight: 700;
}
.tl-notif-priority--high {
  color: #b45309;
  font-weight: 600;
}
.tl-notif-prefs {
  padding: 16px;
}
.tl-notif-prefs__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--tl-color-border, #eee);
}
.tl-notif-prefs__locked {
  opacity: 0.75;
  font-size: 0.8rem;
  color: var(--tl-color-text-secondary, #666);
}
