/* ============================================
   UNIFIED TOPBAR STYLES - Zeroice
   Futurisztikus üveghatású navigációs sáv
   ============================================ */

/* === FULL-WIDTH STICKY WRAPPER === */
.topbar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  /* Üveghatás - átlátszó háttér */
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.75) 0%,
    rgba(15, 23, 42, 0.65) 100%
  );
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);

  /* Finom felső fényes él */
  border-top: 1px solid rgba(125, 211, 252, 0.08);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);

  /* Árnyék és mélység */
  box-shadow:
    0 4px 30px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);

  /* Tranzíció a hover effekthez */
  transition:
    background 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

/* Hover effekt - enyhe ragyogás */
.topbar-wrapper:hover {
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.8) 0%,
    rgba(20, 30, 52, 0.72) 100%
  );
  border-bottom-color: rgba(125, 211, 252, 0.2);
  box-shadow:
    0 4px 40px rgba(0, 0, 0, 0.3),
    0 0 60px rgba(34, 211, 238, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

/* Shimmer animáció - finom fényjáték */
.topbar-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(125, 211, 252, 0.03) 50%,
    transparent 100%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.topbar-wrapper:hover::before {
  animation: topbarShimmer 2s ease-in-out;
  opacity: 1;
}

@keyframes topbarShimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Spacer a fixed topbar alatt */
.topbar-spacer {
  height: 56px;
}

/* === FŐ TOPBAR KONTÉNER === */
.unified-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1600px;
  margin: 0 auto;
  padding: 8px 24px;
  gap: 16px;
  background: transparent;
  border: none;
  border-radius: 0;
}

/* === BAL OLDAL === */
.topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
  min-width: 280px;
}

.topbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(30, 41, 59, 0.5);
  color: #94a3b8;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.2s ease;
}

/* Gomb belső fény effekt */
.topbar-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
  pointer-events: none;
  border-radius: 8px 8px 0 0;
}

.topbar-btn:hover {
  background: rgba(51, 65, 85, 0.6);
  border-color: rgba(125, 211, 252, 0.35);
  color: #e2e8f0;
  box-shadow:
    0 0 20px rgba(34, 211, 238, 0.12),
    inset 0 0 20px rgba(34, 211, 238, 0.03);
  text-decoration: none;
  transform: translateY(-1px);
}

.topbar-btn:active {
  transform: translateY(0);
}

.topbar-btn-special {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12), rgba(99, 102, 241, 0.1));
  border-color: rgba(34, 211, 238, 0.2);
}

.topbar-btn-special:hover {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.22), rgba(99, 102, 241, 0.18));
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow:
    0 0 25px rgba(34, 211, 238, 0.15),
    0 0 50px rgba(34, 211, 238, 0.05),
    inset 0 0 20px rgba(34, 211, 238, 0.05);
}

.topbar-btn-back {
  background: rgba(30, 41, 59, 0.5);
}

.topbar-btn-icon {
  font-size: 14px;
}

.topbar-btn-text {
  font-size: 13px;
}

/* === BAL OLDAL: Inline statisztikák === */
.topbar-stats-inline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-stat-mini {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: rgba(30, 41, 59, 0.6);
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  font-size: 11px;
}

.stat-icon-mini {
  font-size: 12px;
}

.stat-value-mini {
  color: #22d3ee;
  font-weight: 600;
  font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
  font-size: 12px;
}

.topbar-stat-points .stat-value-mini {
  color: #a78bfa;
}

/* Kvóta színezés */
.stat-value-mini.quota-warn {
  color: #fbbf24;
}

.stat-value-mini.quota-danger {
  color: #f87171;
}

.loading-dots {
  color: #64748b;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* === KÖZÉP: Fő navigáció (Facebook-stílusú) === */
.topbar-center-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 1 auto;
}

.topbar-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 24px;
  border-radius: 8px;
  color: #94a3b8;
  text-decoration: none;
  position: relative;
  min-width: 80px;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.2s ease;
}

/* Hover háttér effekt */
.topbar-nav-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background: radial-gradient(
    ellipse at center,
    rgba(125, 211, 252, 0.12) 0%,
    transparent 70%
  );
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.topbar-nav-item:hover {
  color: #e2e8f0;
  text-decoration: none;
  transform: translateY(-1px);
}

.topbar-nav-item:hover::before {
  opacity: 1;
  transform: scale(1);
}

.topbar-nav-item.active {
  color: #22d3ee;
  background: transparent;
}

.topbar-nav-item.active::before {
  opacity: 0;
}

/* Aktív állapot aláhúzás - ragyogó vonal */
.topbar-nav-item.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 8px;
  right: 8px;
  height: 3px;
  background: linear-gradient(90deg, #22d3ee, #a78bfa);
  border-radius: 3px 3px 0 0;
  box-shadow:
    0 0 10px rgba(34, 211, 238, 0.5),
    0 0 20px rgba(34, 211, 238, 0.2);
}

.nav-item-icon {
  font-size: 18px;
  margin-bottom: 1px;
}

.nav-item-text {
  font-size: 11px;
  font-weight: 500;
}

/* === JOBB OLDAL: Profil avatar === */
.topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  min-width: 280px;
  position: relative;
}

.topbar-profile {
  cursor: pointer;
  position: relative;
}

.profile-avatar-wrapper {
  position: relative;
  width: 36px;
  height: 36px;
}

.profile-avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(148, 163, 184, 0.3);
  transition: border-color 0.2s ease;
}

.profile-avatar-default {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22d3ee 0%, #a855f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  border: 2px solid rgba(148, 163, 184, 0.3);
  transition: border-color 0.2s ease;
}

.topbar-profile:hover .profile-avatar-img,
.topbar-profile:hover .profile-avatar-default {
  border-color: rgba(34, 211, 238, 0.6);
  box-shadow:
    0 0 15px rgba(34, 211, 238, 0.25),
    0 0 30px rgba(34, 211, 238, 0.1);
}

/* Dropdown nyíl buborék */
.profile-dropdown-indicator {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 16px;
  height: 16px;
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}

.topbar-profile:hover .profile-dropdown-indicator {
  background: rgba(51, 65, 85, 0.95);
  border-color: rgba(34, 211, 238, 0.5);
  color: #22d3ee;
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.3);
}

.topbar-profile.open .profile-dropdown-indicator {
  transform: rotate(180deg);
  background: rgba(34, 211, 238, 0.2);
  border-color: rgba(34, 211, 238, 0.6);
}

/* === PROFIL DROPDOWN MENÜ === */
.profile-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 280px;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.03);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.2s ease;
  z-index: 1001;
  overflow: hidden;
}

.profile-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.dropdown-header {
  padding: 16px;
  background: rgba(30, 41, 59, 0.4);
}

.dropdown-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dropdown-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.dropdown-avatar-default {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22d3ee 0%, #a855f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 20px;
}

.dropdown-user-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dropdown-username {
  font-weight: 600;
  font-size: 15px;
  color: #e2e8f0;
}

.dropdown-role {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-block;
  width: fit-content;
}

/* Role badge színek */
.dropdown-role.admin {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
}

.dropdown-role.user {
  background: rgba(34, 211, 238, 0.15);
  color: #22d3ee;
}

.dropdown-role.vip {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
}

.dropdown-divider {
  height: 1px;
  background: rgba(148, 163, 184, 0.15);
  margin: 4px 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.15s ease;
  cursor: pointer;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.dropdown-item:hover {
  background: rgba(51, 65, 85, 0.5);
  text-decoration: none;
}

.dropdown-item.active {
  background: rgba(34, 211, 238, 0.1);
  color: #22d3ee;
}

.dropdown-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.dropdown-item-external .external-indicator {
  margin-left: auto;
  font-size: 11px;
  opacity: 0.5;
}

.dropdown-item-admin {
  color: #fbbf24;
}

.dropdown-item-admin:hover {
  background: rgba(251, 191, 36, 0.1);
}

.dropdown-item-logout {
  color: #f87171;
}

.dropdown-item-logout:hover {
  background: rgba(248, 113, 113, 0.1);
}

.dropdown-logout-form {
  margin: 0;
}

/* === MOBIL TOGGLE === */
.topbar-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.topbar-mobile-toggle:hover {
  background: rgba(51, 65, 85, 0.7);
  border-color: rgba(56, 189, 248, 0.4);
}

.hamburger-line {
  width: 18px;
  height: 2px;
  background: #94a3b8;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.topbar-mobile-toggle.open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.topbar-mobile-toggle.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.topbar-mobile-toggle.open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* === MOBIL MENÜ === */
.topbar-mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 16px;
  right: 16px;
  z-index: 999;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.topbar-mobile-menu.open {
  display: block;
  animation: slideDown 0.2s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobil menü header (avatar + név) */
.mobile-menu-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(30, 41, 59, 0.4);
  border-radius: 12px;
  margin-bottom: 12px;
}

.mobile-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.mobile-avatar-default {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22d3ee 0%, #a855f7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 20px;
}

.mobile-user-info {
  display: flex;
  flex-direction: column;
}

.mobile-username {
  font-weight: 600;
  font-size: 15px;
  color: #e2e8f0;
}

.mobile-role {
  font-size: 12px;
  color: #94a3b8;
}

.mobile-menu-stats {
  display: flex;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.mobile-stat {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(30, 41, 59, 0.5);
  border-radius: 10px;
  font-size: 13px;
  color: #94a3b8;
}

.mobile-stat span:last-child {
  color: #22d3ee;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  color: #e2e8f0;
  font-size: 14px;
  text-decoration: none;
  background: transparent;
  border: none;
  width: 100%;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
  text-align: left;
}

.mobile-nav-link:hover {
  background: rgba(51, 65, 85, 0.5);
  text-decoration: none;
}

.mobile-nav-link.active {
  background: rgba(34, 211, 238, 0.1);
  color: #22d3ee;
}

.mobile-nav-divider {
  height: 1px;
  background: rgba(148, 163, 184, 0.15);
  margin: 8px 0;
}

.mobile-nav-admin {
  color: #fbbf24;
}

.mobile-nav-logout {
  color: #f87171;
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
  .topbar-nav-item {
    padding: 10px 20px;
    min-width: 80px;
  }

  .nav-item-text {
    display: none;
  }

  .nav-item-icon {
    font-size: 24px;
  }
}

@media (max-width: 900px) {
  .topbar-left {
    min-width: auto;
  }

  .topbar-stats-inline {
    display: none;
  }

  .topbar-right {
    min-width: auto;
  }

  .topbar-btn-text {
    display: none;
  }

  .topbar-btn {
    padding: 10px 12px;
  }
}

@media (max-width: 768px) {
  .topbar-wrapper {
    position: fixed;
  }

  .topbar-spacer {
    height: 52px;
  }

  .unified-topbar {
    padding: 8px 12px;
  }

  .topbar-center-nav {
    display: none;
  }

  .topbar-right {
    display: none;
  }

  .topbar-mobile-toggle {
    display: flex;
  }

  .topbar-btn-text {
    display: inline;
  }

  .topbar-btn {
    padding: 6px 10px;
  }

  .topbar-mobile-menu {
    top: 52px;
  }
}

@media (max-width: 480px) {
  .unified-topbar {
    padding: 8px 10px;
  }

  .topbar-btn-text {
    display: none;
  }

  .mobile-menu-stats {
    flex-direction: column;
    gap: 8px;
  }
}

/* ============================================================
   NOTIFICATION SYSTEM STYLES
   ============================================================ */

/* === NOTIFICATION BELL === */
.topbar-notifications {
  position: relative;
  cursor: pointer;
  margin-right: 16px;
}

.notification-bell-wrapper {
  position: relative;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.2);
  transition: all 0.2s ease;
}

.topbar-notifications:hover .notification-bell-wrapper {
  background: rgba(51, 65, 85, 0.7);
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.2);
}

.notification-bell-icon {
  font-size: 16px;
  transition: transform 0.2s ease;
}

.topbar-notifications:hover .notification-bell-icon {
  transform: rotate(15deg);
}

/* Notification badge */
.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* === NOTIFICATION DROPDOWN === */
.notification-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 360px;
  max-height: 480px;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.95);
  transition: all 0.2s ease;
  z-index: 1001;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.notification-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.notification-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(30, 41, 59, 0.4);
}

.notification-dropdown-title {
  font-weight: 600;
  font-size: 15px;
  color: #e2e8f0;
}

.notification-mark-all-read {
  padding: 4px 10px;
  font-size: 11px;
  color: #22d3ee;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.notification-mark-all-read:hover {
  background: rgba(34, 211, 238, 0.2);
  border-color: rgba(34, 211, 238, 0.5);
}

.notification-dropdown-list {
  flex: 1;
  overflow-y: auto;
  max-height: 360px;
}

/* === NOTIFICATION ITEM === */
.notification-item {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  cursor: pointer;
  transition: background 0.15s ease;
  position: relative;
}

.notification-item:last-child {
  border-bottom: none;
}

.notification-item:hover {
  background: rgba(51, 65, 85, 0.4);
}

.notification-item.unread {
  background: rgba(34, 211, 238, 0.05);
}

.notification-item.unread::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #22d3ee, #a78bfa);
}

/* Notification type icons */
.notification-type-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.notification-type-icon.info {
  background: rgba(34, 211, 238, 0.15);
  color: #22d3ee;
}

.notification-type-icon.important {
  background: rgba(167, 139, 250, 0.15);
  color: #a78bfa;
}

.notification-type-icon.warning {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
}

.notification-content {
  flex: 1;
  min-width: 0;
}

.notification-title {
  font-weight: 600;
  font-size: 13px;
  color: #e2e8f0;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notification-message {
  font-size: 12px;
  color: #94a3b8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.notification-time {
  font-size: 10px;
  color: #64748b;
  margin-top: 4px;
}

.notification-dropdown-footer {
  padding: 12px 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  text-align: center;
  background: rgba(30, 41, 59, 0.3);
}

.notification-see-all {
  color: #22d3ee;
  font-size: 13px;
  text-decoration: none;
  font-weight: 500;
}

.notification-see-all:hover {
  text-decoration: underline;
}

.notification-empty {
  padding: 40px 20px;
  text-align: center;
  color: #64748b;
  font-size: 13px;
}

.notification-loading {
  padding: 30px;
  text-align: center;
  color: #64748b;
  font-size: 12px;
}

/* === MOBILE NOTIFICATION BADGE === */
.mobile-nav-notifications {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-notification-badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === MOBILE RESPONSIVE === */
@media (max-width: 768px) {
  .topbar-notifications {
    display: none;
  }

  .notification-dropdown {
    width: calc(100vw - 32px);
    right: -60px;
  }
}
