/* Shared nav styles — burger + notifications */

/* BURGER BUTTON */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: var(--surface2, rgba(255,255,255,.07));
  border: 1px solid var(--border, rgba(255,255,255,.09));
  border-radius: 10px;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-burger span {
  display: block; height: 2px; background: var(--white, #eeeeff);
  border-radius: 2px; transition: all .25s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* OVERLAY */
.nav-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.6); z-index: 98;
}
.nav-overlay.visible { display: block; }

/* NOTIFICATION BELL */
.notif-wrap { position: relative; }
.notif-bell-btn {
  width: 36px; height: 36px;
  background: var(--surface2, rgba(255,255,255,.07));
  border: 1px solid var(--border, rgba(255,255,255,.09));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1rem; position: relative;
  transition: all .2s;
}
.notif-bell-btn:hover { border-color: rgba(79,127,255,.4); }
.notif-badge {
  position: absolute; top: -4px; right: -4px;
  background: linear-gradient(135deg, #4f7fff, #b05fff);
  color: #fff; font-size: .58rem; font-weight: 800;
  min-width: 16px; height: 16px;
  border-radius: 99px; display: none;
  align-items: center; justify-content: center;
  padding: 0 4px;
}
.notif-panel {
  position: absolute; top: calc(100% + 10px); right: 0;
  width: 320px; max-height: 440px;
  background: var(--bg2, #0c0c28);
  border: 1px solid var(--border, rgba(255,255,255,.09));
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
  z-index: 200; display: none; flex-direction: column;
}
.notif-panel.visible { display: flex; }
.notif-panel-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border, rgba(255,255,255,.09));
  font-size: .8rem; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center;
}
.notif-panel-header a { font-size: .72rem; color: #4f7fff; text-decoration: none; }
.notif-list { overflow-y: auto; flex: 1; }
.notif-item {
  display: block; padding: 12px 16px;
  border-bottom: 1px solid var(--border, rgba(255,255,255,.09));
  text-decoration: none; transition: background .15s;
}
.notif-item:hover { background: rgba(255,255,255,.04); }
.notif-item.unread { background: rgba(79,127,255,.06); }
.notif-title { font-size: .82rem; font-weight: 600; color: #eeeeff; margin-bottom: 2px; }
.notif-body { font-size: .75rem; color: #6b72a0; margin-bottom: 3px; }
.notif-time { font-size: .68rem; color: #6b72a0; }

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .nav-burger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; left: -100%; bottom: 0;
    width: 280px;
    background: var(--bg2, #0c0c28);
    border-right: 1px solid var(--border, rgba(255,255,255,.09));
    flex-direction: column !important;
    padding: 80px 20px 40px;
    gap: 4px !important;
    z-index: 99;
    transition: left .3s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
  }
  .nav-links.nav-open { left: 0; }
  .nav-links a, .nav-links li a {
    padding: 12px 16px !important;
    font-size: .9rem !important;
    border-radius: 12px;
  }
}
