/* client-notifications.css - Premium Glass Notifications for Client Portal */

.notif-btn {
  position: relative;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.notif-btn:hover {
  background: rgba(var(--primary-rgb), 0.15);
  transform: translateY(-2px);
}

.notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #f43f5e;
  color: white;
  border-radius: 50%;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  font-size: 10px;
  font-weight: 950;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid white;
  box-shadow: 0 4px 10px rgba(244, 63, 94, 0.3);
  animation: pulse-notif 2s infinite;
}

@keyframes pulse-notif {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.notif-panel {
  position: fixed;
  top: 85px;
  left: 20px;
  width: 350px;
  max-width: calc(100vw - 40px);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 28px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
  z-index: 100001;
  display: none;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transform-origin: top left;
}

.notif-panel.open {
  display: block;
  animation: slideInNotif 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.notif-panel-header {
  padding: 18px 22px;
  background: rgba(var(--primary-rgb), 0.03);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.notif-panel-header span {
  color: #1e293b;
  font-weight: 950;
  font-size: 15px;
}

.notif-mark-all {
  color: var(--primary);
  font-size: 11px;
  cursor: pointer;
  background: rgba(var(--primary-rgb), 0.08);
  border: none;
  border-radius: 10px;
  padding: 6px 12px;
  font-weight: 800;
  transition: all 0.2s;
}

.notif-mark-all:hover {
  background: var(--primary);
  color: white;
}

.notif-list {
  max-height: 450px;
  overflow-y: auto;
  scrollbar-width: none;
}
.notif-list::-webkit-scrollbar { display: none; }

.notif-item {
  padding: 16px 22px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.notif-item:hover {
  background: rgba(var(--primary-rgb), 0.02);
}

.notif-item.unread {
  background: rgba(var(--primary-rgb), 0.05);
  border-right: 4px solid var(--primary);
}

.notif-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.notif-icon.mention, .notif-icon.booking {
  background: #f0fdfa;
  color: #0d9488;
}

.notif-icon.status, .notif-icon.balance {
  background: #eff6ff;
  color: #2563eb;
}

.notif-icon.assign, .notif-icon.warning {
  background: #fffbeb;
  color: #d97706;
}

.notif-body {
  flex: 1;
}

.notif-msg {
  font-size: 13px;
  color: #1e293b;
  font-weight: 800;
  line-height: 1.5;
}

.notif-sub {
  font-size: 11px;
  color: #64748b;
  margin-top: 4px;
  font-weight: 600;
}

.notif-time {
  font-size: 10px;
  color: #94a3b8;
  white-space: nowrap;
  font-weight: 700;
}

.notif-empty {
  padding: 60px 40px;
  text-align: center;
  color: #94a3b8;
}
