/* ===========================
   Notification Center UI
   v2.2.0 - Polished notification center
=========================== */

.notificationBell{
  position:static;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:0 0 14px;
  background:rgba(255,255,255,.08);
  color:#fff;
  border:1px solid rgba(255,255,255,.14);
  border-radius:12px;
  padding:10px 12px;
  font-weight:1000;
  cursor:pointer;
  box-shadow:none;
  transition:.18s ease;
}

.notificationBell:hover{
  background:#123d73;
  transform:translateY(-1px);
}

.notificationBell span{
  background:#ff7a00;
  color:#fff;
  border-radius:999px;
  padding:2px 7px;
  margin-left:8px;
  font-size:12px;
  min-width:22px;
  text-align:center;
}

.notificationBell span.is-empty{
  background:rgba(255,255,255,.16);
  color:rgba(255,255,255,.75);
}

.notificationPanel{
  position:fixed;
  top:72px;
  right:24px;
  width:min(390px, calc(100vw - 32px));
  max-height:74vh;
  overflow:hidden;
  z-index:10002;
  background:#fff;
  border:1px solid #d7e0ec;
  border-radius:18px;
  box-shadow:0 22px 60px rgba(0,0,0,.24);
  display:none;
}

.notificationPanel.open{
  display:block;
  animation:notificationSlideIn .16s ease-out;
}

@keyframes notificationSlideIn{
  from{opacity:0; transform:translateY(-8px) scale(.98);}
  to{opacity:1; transform:translateY(0) scale(1);}
}

.notificationPanelHeader{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 15px;
  border-bottom:1px solid #e0e6ef;
  background:linear-gradient(180deg,#f8fafc,#eef4ff);
}

.notificationPanelTitleBlock{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.notificationPanelTitleBlock b{
  color:#07111f;
  font-size:15px;
}

.notificationPanelTitleBlock span{
  color:#68778a;
  font-size:12px;
  font-weight:800;
}

.notificationPanelActions{
  display:flex;
  gap:6px;
  flex:0 0 auto;
}

.notificationPanelActions button,
.notificationPanelHeader button{
  background:#fff;
  border:1px solid #d7e0ec;
  border-radius:10px;
  padding:6px 9px;
  font-size:12px;
  font-weight:1000;
  cursor:pointer;
  color:#123d73;
}

.notificationPanelActions button:hover:not(:disabled),
.notificationPanelHeader button:hover:not(:disabled){
  background:#123d73;
  color:#fff;
  border-color:#123d73;
}

.notificationPanelActions button:disabled,
.notificationPanelHeader button:disabled{
  opacity:.45;
  cursor:not-allowed;
}

.notificationBody{
  padding:10px;
  max-height:calc(74vh - 64px);
  overflow:auto;
  background:#fbfdff;
}

.notificationGroupLabel{
  padding:9px 8px 6px;
  color:#68778a;
  font-size:11px;
  font-weight:1000;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.notificationItem{
  display:flex;
  gap:11px;
  align-items:flex-start;
  padding:12px;
  margin-bottom:8px;
  border:1px solid #e4ebf4;
  border-radius:14px;
  background:#fff;
  box-shadow:0 8px 20px rgba(13,31,61,.06);
  transition:.16s ease;
}

.notificationItem:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 28px rgba(13,31,61,.10);
}

.notificationItemIcon{
  width:30px;
  height:30px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#eef4ff;
  color:#123d73;
  font-size:13px;
  font-weight:1000;
  flex:0 0 auto;
}

.notificationItem.success{
  border-left:4px solid #22c55e;
}

.notificationItem.success .notificationItemIcon{
  background:#dcfce7;
  color:#166534;
}

.notificationItem.warning{
  border-left:4px solid #f59e0b;
}

.notificationItem.warning .notificationItemIcon{
  background:#fef3c7;
  color:#92400e;
}

.notificationItem.error{
  border-left:4px solid #ef4444;
}

.notificationItem.error .notificationItemIcon{
  background:#fee2e2;
  color:#991b1b;
}

.notificationItem.info{
  border-left:4px solid #3b82f6;
}

.notificationItem.info .notificationItemIcon{
  background:#eef4ff;
  color:#123d73;
}

.notificationItem.read{
  opacity:.74;
}

.notificationItem.unread{
  border-color:#bfd7ff;
}

.notificationItemText{
  min-width:0;
  flex:1;
}

.notificationItemTopline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}

.notificationItemTopline b{
  color:#07111f;
  font-size:13px;
  line-height:1.25;
}

.notificationMessage{
  margin-top:3px;
  color:#405064;
  font-size:12px;
  font-weight:800;
  line-height:1.35;
}

.notificationMeta,
.notificationItem .sub{
  margin-top:6px;
  color:#7b8898;
  font-size:11px;
  font-weight:900;
}

.notificationUnreadDot{
  width:9px;
  height:9px;
  border-radius:999px;
  background:#ff7a00;
  box-shadow:0 0 0 3px rgba(255,122,0,.15);
  flex:0 0 auto;
}

.notificationEmpty{
  padding:16px;
  color:#68778a;
  font-weight:800;
  line-height:1.45;
}

.notificationEmptyPolished{
  min-height:180px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:6px;
}

.notificationEmptyIcon{
  width:52px;
  height:52px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#eef4ff;
  font-size:28px;
  margin-bottom:4px;
}

.notificationEmptyPolished b{
  color:#07111f;
  font-size:15px;
}

.notificationEmptyPolished span{
  color:#68778a;
  font-size:12px;
}
