/* Histórico de notificações */

.btn-lobby-notify {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: linear-gradient(180deg, rgba(30, 35, 55, 0.9), rgba(15, 18, 28, 0.95));
  color: #e8dcc0;
  font-size: 0.78rem;
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.btn-lobby-notify:hover {
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.15);
}

.dsk-notify-unread-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.25rem;
  font-size: 0.55rem;
  font-weight: 700;
  line-height: 1rem;
  text-align: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #dc2626, #991b1b);
  color: #fff;
  box-shadow: 0 0 8px rgba(220, 38, 38, 0.5);
}

.dsk-notify-unread-badge.hidden {
  display: none;
}

.dsk-notify-panel {
  position: fixed;
  inset: 0;
  z-index: 13000;
  display: flex;
  justify-content: flex-end;
}

.dsk-notify-panel.hidden {
  display: none;
}

.dsk-notify-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.dsk-notify-sheet {
  position: relative;
  z-index: 1;
  width: min(380px, 100vw);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #1a1f2e 0%, #0f1218 100%);
  border-left: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.5);
  animation: dsk-notify-slide 0.28s ease-out;
}

@keyframes dsk-notify-slide {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

.dsk-notify-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dsk-notify-header h3 {
  margin: 0;
  font-family: Cinzel, serif;
  font-size: 1rem;
  color: #f5e6b8;
}

.dsk-notify-header-actions {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.dsk-notify-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  padding: 0.5rem 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dsk-notify-filter {
  padding: 0.22rem 0.5rem;
  font-size: 0.68rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
  color: #94a3b8;
  cursor: pointer;
}

.dsk-notify-filter--on {
  border-color: rgba(212, 175, 55, 0.4);
  color: #fde68a;
  background: rgba(212, 175, 55, 0.12);
}

.dsk-notify-list {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem;
}

.dsk-notify-empty {
  text-align: center;
  color: #64748b;
  padding: 2rem 1rem;
  font-size: 0.85rem;
}

.dsk-notify-item {
  display: flex;
  gap: 0.55rem;
  padding: 0.55rem 0.6rem;
  margin-bottom: 0.35rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s;
}

.dsk-notify-item:hover {
  background: rgba(212, 175, 55, 0.06);
  border-color: rgba(212, 175, 55, 0.15);
}

.dsk-notify-item--unread {
  border-left: 3px solid #d4af37;
  background: rgba(212, 175, 55, 0.05);
}

.dsk-notify-item-icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.dsk-notify-item-head {
  display: flex;
  justify-content: space-between;
  gap: 0.35rem;
  align-items: flex-start;
}

.dsk-notify-item-head strong {
  font-size: 0.78rem;
  color: #e2e8f0;
}

.dsk-notify-item-time {
  font-size: 0.62rem;
  color: #64748b;
  white-space: nowrap;
}

.dsk-notify-item-msg {
  margin: 0.2rem 0 0;
  font-size: 0.72rem;
  color: #94a3b8;
  line-height: 1.35;
}

.dsk-notify-item-cat {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}
