/* ===========================
   Smart Alert Engine
   v2.2.0
=========================== */

.smartAlert{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:11px;
  border:1px solid #e0e6ef;
  border-radius:12px;
  margin-bottom:8px;
  background:#fff;
}

.smartAlert:last-child{
  margin-bottom:0;
}

.smartAlertIcon{
  width:26px;
  height:26px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
  font-weight:1000;
  flex:0 0 auto;
}

.smartAlert-info .smartAlertIcon{
  background:#eef4ff;
  color:#123d73;
}

.smartAlert-warning{
  border-color:#facc15;
  background:#fffbeb;
}

.smartAlert-warning .smartAlertIcon{
  background:#fef3c7;
  color:#92400e;
}

.smartAlert-critical{
  border-color:#fca5a5;
  background:#fff1f2;
}

.smartAlert-critical .smartAlertIcon{
  background:#fee2e2;
  color:#991b1b;
}

.smartAlert-good{
  border-color:#86efac;
  background:#f0fdf4;
}

.smartAlert-good .smartAlertIcon{
  background:#dcfce7;
  color:#166534;
}


/* ===========================
   Smart Alert Center
   v2.2.1
=========================== */

.smartAlertBell{
  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;
}

.smartAlertBell:hover{
  background:#123d73;
}

.smartAlertBell span{
  background:#f59e0b;
  color:#fff;
  border-radius:999px;
  padding:2px 7px;
  margin-left:8px;
  font-size:12px;
}

.smartAlertPanel{
  position:fixed;
  top:72px;
  right:24px;
  width:380px;
  max-height:70vh;
  overflow:auto;
  z-index:10002;
  background:#fff;
  border:1px solid #d7e0ec;
  border-radius:16px;
  box-shadow:0 18px 45px rgba(0,0,0,.22);
  display:none;
}

.smartAlertPanel.open{
  display:block;
}

.smartAlertPanelHeader{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:13px 14px;
  border-bottom:1px solid #e0e6ef;
  background:#f8fafc;
}

.smartAlertPanelHeader button{
  border:0;
  background:#fff;
  border:1px solid #d7e0ec;
  border-radius:8px;
  padding:5px 8px;
  font-weight:900;
  cursor:pointer;
}

.smartAlertPanelBody{
  padding:10px;
}
