/* SB_REPAIR148_WEB_NOTIFICATIONS_DESKTOP_PARITY
   Desktop-like notification panel for web. Pure visual/enhancement layer.
*/
.notification-anchor{position:relative!important}

.notification-panel{
  width:390px!important;
  max-height:min(74vh,560px)!important;
  overflow:auto!important;
  top:40px!important;
  right:0!important;
  padding:0!important;
  background:linear-gradient(180deg,#0d3356 0%,#0b2b49 100%)!important;
  color:#f8fbff!important;
  border:1px solid rgba(124,178,224,.34)!important;
  border-radius:14px!important;
  box-shadow:0 22px 60px rgba(5,22,43,.42),0 0 0 1px rgba(255,255,255,.04) inset!important;
  z-index:120!important;
}
.notification-panel::before{
  content:"";
  position:absolute;
  right:18px;
  top:-7px;
  width:12px;
  height:12px;
  transform:rotate(45deg);
  background:#0d3356;
  border-left:1px solid rgba(124,178,224,.34);
  border-top:1px solid rgba(124,178,224,.34);
}
.notification-panel-head{
  position:sticky!important;
  top:0!important;
  z-index:3!important;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  padding:13px 14px 11px!important;
  background:linear-gradient(180deg,#0e3a61 0%,#0d3356 100%)!important;
  border-bottom:1px solid rgba(255,255,255,.11)!important;
}
.notification-panel-head strong{
  flex:1!important;
  font-size:14px!important;
  line-height:1.1!important;
  font-weight:800!important;
  color:#fff!important;
}
.notification-panel-head strong::before{
  content:"";
  display:inline-block;
  width:8px;
  height:8px;
  margin-right:8px;
  border-radius:999px;
  background:#38bdf8;
  box-shadow:0 0 0 4px rgba(56,189,248,.14);
  vertical-align:1px;
}
.notification-panel .button.small,
.notification-panel button.button.small{
  min-height:28px!important;
  padding:6px 10px!important;
  border-radius:9px!important;
  font-size:12px!important;
  font-weight:750!important;
  line-height:1!important;
}
.notification-panel .button.secondary{
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(169,207,239,.22)!important;
  color:#dbeafe!important;
}
.notification-panel .button.secondary:disabled{
  opacity:.88!important;
  color:#9cc4e8!important;
  background:rgba(255,255,255,.06)!important;
}
.notification-panel .button.danger{
  background:#ef4444!important;
  border-color:#ef4444!important;
  color:#fff!important;
}

.notification-panel .empty{
  margin:0!important;
  padding:0!important;
  min-height:0!important;
  color:inherit!important;
  font-size:inherit!important;
}
.sb148-empty-state{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:118px!important;
  padding:20px 24px 18px!important;
  text-align:center!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
}
.sb148-empty-icon{
  width:38px;
  height:38px;
  border-radius:14px;
  display:grid;
  place-items:center;
  color:#bfdbfe;
  background:rgba(37,99,235,.18);
  border:1px solid rgba(147,197,253,.22);
  margin-bottom:10px;
}
.sb148-empty-icon svg{
  width:22px;
  height:22px;
  stroke:currentColor;
  stroke-width:2;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.sb148-empty-title{
  color:#fff;
  font-size:14px;
  font-weight:800;
  margin-bottom:7px;
}
.sb148-empty-text{
  max-width:300px;
  color:#b7cde2;
  font-size:12px;
  line-height:1.45;
}

.notice{
  position:relative!important;
  margin:10px 10px 0!important;
  padding:12px 12px 11px 14px!important;
  background:rgba(255,255,255,.07)!important;
  border:1px solid rgba(176,211,242,.13)!important;
  border-radius:12px!important;
  box-shadow:0 1px 0 rgba(255,255,255,.04) inset!important;
}
.notice::before{
  content:"";
  position:absolute;
  left:0;
  top:12px;
  bottom:12px;
  width:3px;
  border-radius:999px;
  background:#60a5fa;
  opacity:.75;
}
.notice.unread{
  background:linear-gradient(180deg,rgba(37,99,235,.22),rgba(255,255,255,.08))!important;
  border-color:rgba(96,165,250,.35)!important;
}
.notice.unread::before{background:#38bdf8;opacity:1}
.notice-title{
  color:#fff!important;
  font-size:13px!important;
  line-height:1.3!important;
  font-weight:850!important;
}
.notice-body{
  margin-top:6px!important;
  color:#c9daea!important;
  font-size:12px!important;
  line-height:1.45!important;
  white-space:pre-wrap!important;
  word-break:break-word!important;
}
.notice-meta{
  margin-top:8px!important;
  color:#89adc9!important;
  font-size:10px!important;
}
.notice-tools{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:7px!important;
  margin-top:9px!important;
}
.notice-tools .button:not(.danger){
  background:#2563eb!important;
  border-color:#2563eb!important;
  color:#fff!important;
}
.notice-tools .button.danger{
  background:#ef4444!important;
  border-color:#ef4444!important;
  color:#fff!important;
}

.sb148-notification-footer{
  position:sticky;
  bottom:0;
  z-index:2;
  display:flex;
  align-items:center;
  gap:8px;
  padding:12px 14px 13px;
  background:linear-gradient(180deg,rgba(13,51,86,.94),#0b2b49);
  border-top:1px solid rgba(255,255,255,.11);
}
.sb148-news-button,
.sb148-read-button{
  border:1px solid rgba(96,165,250,.5);
  background:#2563eb;
  color:#fff;
  min-height:32px;
  border-radius:10px;
  padding:7px 12px;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}
.sb148-news-button:hover,.sb148-read-button:hover{filter:brightness(1.06)}
.sb148-read-button{
  margin-left:auto;
  background:rgba(255,255,255,.06);
  color:#dbeafe;
  border-color:rgba(169,207,239,.26);
}
.sb148-read-button:disabled{opacity:.45;cursor:default}
.sb148-check-line{
  color:#7fa6c6;
  font-size:10px;
  margin-left:auto;
  white-space:nowrap;
}
.sb148-notification-footer.has-read .sb148-check-line{margin-left:0}

.notification-panel::-webkit-scrollbar{width:9px!important;height:9px!important}
.notification-panel::-webkit-scrollbar-thumb{
  background:#4b7192!important;
  border:2px solid transparent!important;
  background-clip:padding-box!important;
  border-radius:999px!important;
}
.notification-panel::-webkit-scrollbar-track{background:transparent!important}

@media(max-width:640px){
  .notification-panel{position:fixed!important;left:10px!important;right:10px!important;top:54px!important;width:auto!important;max-height:calc(100vh - 72px)!important}
  .notification-panel::before{display:none!important}
  .sb148-notification-footer{flex-wrap:wrap}
  .sb148-check-line{width:100%;margin-left:0}
}
