/* Avisos agrupados com indicador de não lidos. */
#nexo-notice-bell{position:relative;overflow:visible;flex:none}
#nexo-notice-bell .nexo-notice-count{
 position:absolute;
 top:3px;right:0;
 display:flex;align-items:center;justify-content:center;
 width:auto;min-width:18px;height:18px;
 box-sizing:border-box;
 padding:0 3px;
 border-radius:999px;
 color:#fff;
 background:#ec0000;
 border:1px solid #fff;
 font:650 9px/1 Inter,Arial,sans-serif;
 font-variant-numeric:tabular-nums;
 text-align:center;
 z-index:10;
 box-shadow:0 2px 7px #99222723;
 transform-origin:center 95%;
 pointer-events:none;
}
#nexo-notice-bell .nexo-notice-count[hidden]{display:none!important}
#nexo-notice-bell .nexo-notice-count.is-ringing{
 animation:nexo-notice-number-ring 3.7s ease-in-out infinite;
}
@keyframes nexo-notice-number-ring{
 0%,12%,27%,100%{transform:rotate(0deg)}
 16%,22%{transform:rotate(-13deg)}
 19%,25%{transform:rotate(13deg)}
}
.nexo-notice-board[hidden],.cloud-loading .nexo-notice-board{display:none!important}
.nexo-notice-board{
 position:fixed;
 z-index:65;
 top:var(--notice-top,75px);
 right:var(--notice-right,16px);
 width:min(390px,calc(100vw - 22px));
 max-height:min(75dvh,650px);
 overflow:auto;
 padding:12px;
 box-sizing:border-box;
 background:#fbfcfe;
 border:1px solid #e8edf2;
 border-radius:23px;
 box-shadow:0 18px 54px #24395223;
 color:var(--text-primary);
 animation:nexo-modern-notice-appear .28s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes nexo-modern-notice-appear{
 from{transform:translateY(-8px) scale(.985);opacity:0}
 to{transform:translateY(0) scale(1);opacity:1}
}
.nexo-notice-top{
 display:flex;align-items:center;justify-content:space-between;
 gap:8px;padding:4px 5px 10px;
}
.nexo-notice-top h2{font-size:17px;line-height:1.3;font-weight:650;margin:0}
.nexo-notice-top p{color:var(--text-muted);font-size:11px;margin:3px 0 0}
.nexo-notice-nav{
 display:inline-grid;place-items:center;
 border:0;border-radius:50%;
 background:transparent;color:var(--text-secondary);
 width:32px;height:32px;flex:none;
 cursor:pointer;
}
.nexo-notice-nav:hover{background:#edf2f7}
.nexo-notice-nav .nexo-icon{width:17px;height:17px;stroke-width:1.2}
.nexo-notice-demo-banner{
 padding:7px 9px;
 margin:0 0 9px;
 background:#f4f7fb;border-radius:12px;
 color:var(--text-secondary);
 font:400 11px/1.45 Inter,Arial,sans-serif;
}
.nexo-notice-list{
 display:grid;gap:5px;
 max-height:calc(min(75dvh,650px) - 100px);
 overflow-y:auto;
 scrollbar-width:thin;
}
.nexo-notice-item{
 position:relative;
 display:grid;
 grid-template-columns:42px 38px minmax(0,1fr) 8px;
 align-items:center;
 gap:7px;
 width:100%;
 min-height:70px;
 padding:11px 9px;
 border:0;
 border-radius:17px;
 background:#f4f5f7;
 text-align:left;
 color:var(--text-primary);
 cursor:pointer;
 -webkit-tap-highlight-color:transparent;
 transition:background .18s ease,transform .18s ease;
}
.nexo-notice-item:hover{background:#eaf0f6}
.nexo-notice-item:active{transform:scale(.992)}
.nexo-notice-time{align-self:center;display:grid;gap:2px;min-width:0}
.nexo-notice-time b{color:var(--text-primary);font-size:12px;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}
.nexo-notice-time small{font-size:11px;color:var(--text-muted);white-space:nowrap}
.nexo-notice-logo{display:inline-grid;place-items:center;width:35px;height:35px;border-radius:50%;background:#fff;overflow:hidden}
.nexo-notice-logo .bank-logo{width:34px!important;height:34px!important;min-width:34px!important;border:0!important;border-radius:50%!important;display:grid;place-items:center}
.nexo-notice-logo .bank-logo img{width:24px!important;height:24px!important;object-fit:contain}
.nexo-notice-content{display:grid;gap:4px;min-width:0}
.nexo-notice-bank{display:flex;align-items:center;gap:5px;flex-wrap:wrap;font-size:12px;font-weight:650;line-height:1.3}
.nexo-notice-summary{font-size:12px;line-height:1.38;font-weight:400;color:var(--text-primary);overflow-wrap:anywhere}
.nexo-notice-important,.nexo-notice-demo{
 display:inline-flex;align-items:center;
 font:500 10px/1.3 Inter,Arial,sans-serif;
 border-radius:7px;
 padding:3px 5px;
 font-style:normal;
 white-space:nowrap;
}
.nexo-notice-important{background:#ffedef;color:#b92c3d}
.nexo-notice-demo{background:#eaf2fc;color:var(--text-secondary)}
.nexo-notice-readmark{
 align-self:start;
 margin-top:4px;
 width:7px;height:7px;
 background:#2486ee;border-radius:50%;
}
.nexo-notice-readmark[hidden]{display:none}
.nexo-notice-empty{padding:20px 7px;text-align:center;color:var(--text-secondary);font-size:12px}
.nexo-notice-detail-head{
 display:flex;align-items:center;gap:11px;
 padding:13px 5px 14px;
}
.nexo-notice-detail-head>.bank-logo{
 display:grid;place-items:center;flex:0 0 45px;
 width:45px;height:45px;border-radius:14px;
}
.nexo-notice-detail-head>.bank-logo img{width:34px;height:34px;object-fit:contain}
.nexo-notice-detail-head>div{flex:1;min-width:0}
.nexo-notice-detail-head h3{font-size:14px;font-weight:650;margin:0 0 4px}
.nexo-notice-detail-head small{font-size:11px;color:var(--text-muted)}
.nexo-notice-detail-title{font-size:14px;font-weight:650;padding:8px 5px}
.nexo-notice-detail-message{
 background:#f4f6f9;border:1px solid #eaf0f5;
 border-radius:16px;
 font:400 13px/1.7 Inter,Arial,sans-serif;
 color:var(--text-secondary);
 padding:16px 14px;
 margin:5px 0 10px;
}
.nexo-notice-detail-message strong{color:var(--text-primary);font-weight:650}
.nexo-notice-test-note{
 margin:0;padding:6px 5px 0;
 font-size:11px;line-height:1.5;color:var(--text-muted);
}
.nexo-notice-nav:focus-visible,.nexo-notice-item:focus-visible{
 outline:2px solid #90abc5;outline-offset:2px;
}
@media(max-width:800px){
 #nexo-notice-bell{min-width:36px;min-height:44px}
 .nexo-notice-board{
  top:var(--notice-top,70px);
  right:8px;
  width:calc(100vw - 16px);
  max-height:min(70dvh,570px);
  padding:11px;
  border-radius:21px;
 }
 .nexo-notice-item{
  grid-template-columns:38px 35px minmax(0,1fr) 7px;
  gap:6px;
  padding:10px 7px;
 }
 .nexo-notice-time b{font-size:11px}
 .nexo-notice-time small{font-size:10px}
 .nexo-notice-bank{font-size:11.5px}
 .nexo-notice-summary{font-size:11.5px}
}
@media (prefers-reduced-motion:reduce) and (max-width:800px){
 #nexo-notice-bell .nexo-notice-count.is-ringing{animation:none}
 .nexo-notice-board{animation:none}
 .nexo-notice-item{transition:none}
}

.nexo-notice-update-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:11px;background:#eef5fa;color:var(--text-secondary)}
.nexo-notice-update-icon .nexo-icon{width:19px;height:19px;stroke-width:1.2}

/* Deslizar para a esquerda sem impedir a rolagem vertical. */
@media (max-width:800px) { #nexo-notice-history .nexo-notice-item { touch-action:pan-y; } }

