.eo-notif-badge{
  position:absolute;
  top:-5px;
  right:-6px;
  min-width:17px;
  height:17px;
  padding:0 4px;
  box-sizing:border-box;
  display:none;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#d94b42;
  color:#fff;
  font-size:10px;
  font-weight:900;
  line-height:1;
  border:2px solid #fff;
}

.eo-notif-anchor{
  position:relative!important;
}

.eo-toast-root{
  position:fixed;
  top:78px;
  right:18px;
  width:min(380px,calc(100vw - 28px));
  z-index:9999;
  display:grid;
  gap:10px;
  pointer-events:none;
}

.eo-toast{
  pointer-events:auto;
  background:#fff;
  border:1px solid #d8e4ec;
  border-radius:16px;
  box-shadow:0 14px 40px rgba(22,55,78,.18);
  overflow:hidden;
  animation:eoToastIn .18s ease-out;
}

.eo-toast.NORMAL{
  border-left:5px solid #48a58b;
}

.eo-toast.URGENT{
  border-left:5px solid #d59a23;
}

.eo-toast.EMERGENCY{
  border-left:5px solid #d94b42;
}

.eo-toast-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  padding:13px 14px 4px;
}

.eo-toast-title{
  color:#143f60;
  font-size:14px;
  font-weight:900;
  line-height:1.35;
}

.eo-toast-priority{
  display:inline-flex;
  padding:4px 7px;
  border-radius:999px;
  font-size:9px;
  font-weight:900;
  letter-spacing:.05em;
  background:#eef4f8;
  color:#567185;
}

.eo-toast.URGENT .eo-toast-priority{
  background:#fff3dc;
  color:#8e5900;
}

.eo-toast.EMERGENCY .eo-toast-priority{
  background:#ffe9e7;
  color:#a32f29;
}

.eo-toast-message{
  padding:4px 14px 12px;
  color:#50697b;
  font-size:13px;
  line-height:1.5;
}

.eo-toast-actions{
  display:flex;
  gap:8px;
  padding:0 14px 13px;
}

.eo-toast-btn{
  appearance:none;
  border:1px solid #d2e0e9;
  border-radius:10px;
  min-height:36px;
  padding:7px 12px;
  background:#fff;
  color:#244b67;
  font:inherit;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}

.eo-toast-btn.primary{
  background:#156b9d;
  border-color:#156b9d;
  color:#fff;
}

@keyframes eoToastIn{
  from{opacity:0;transform:translateY(-8px)}
  to{opacity:1;transform:translateY(0)}
}

@media(max-width:600px){
  .eo-toast-root{
    top:86px;
    left:12px;
    right:12px;
    width:auto;
  }

  .eo-toast{
    border-radius:15px;
  }

  .eo-toast-title{
    font-size:15px;
  }

  .eo-toast-message{
    font-size:13px;
  }
}

/* EO_DASH_NOTIF_EXTERNAL_V2 */

.eo-dash-notif{
  position:relative;
  margin:0 0 18px;
  padding:16px 18px 15px;
  overflow:hidden;

  background:
    linear-gradient(135deg,#f1f8fd 0%,#f8f5ff 52%,#f2fbf8 100%);

  border:1px solid #d9e6ee;
  border-radius:18px;

  box-shadow:
    0 8px 22px rgba(25,55,78,.055);

  box-sizing:border-box;
}

.eo-dash-notif::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:4px;
  background:linear-gradient(
    180deg,
    #4ba7d5,
    #68bca7
  );
}


/* HEADER */

.eo-dash-notif-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:11px;
}

.eo-dash-notif-title{
  display:flex;
  align-items:center;
  gap:8px;

  color:#133f60;
  font-size:15px;
  line-height:1.2;
  font-weight:900;
}

.eo-dash-notif-title::before{
  content:"";
  display:block;

  width:9px;
  height:9px;

  border-radius:50%;
  background:#269ca0;

  box-shadow:
    0 0 0 5px rgba(38,156,160,.10);
}

.eo-dash-notif-count{
  min-width:26px;
  height:26px;
  padding:0 8px;

  display:flex;
  align-items:center;
  justify-content:center;

  box-sizing:border-box;
  border-radius:999px;

  background:#e45d55;
  color:#fff;

  font-size:11px;
  line-height:1;
  font-weight:900;

  box-shadow:0 4px 10px rgba(228,93,85,.18);
}


/* LIST */

.eo-dash-notif-list{
  display:grid;
  gap:8px;
}

.eo-dash-notif-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;

  min-height:58px;
  padding:10px 11px 10px 13px;

  background:rgba(255,255,255,.88);

  border:1px solid #dde8ef;
  border-radius:13px;

  box-sizing:border-box;

  transition:
    transform .15s ease,
    border-color .15s ease,
    box-shadow .15s ease;
}

.eo-dash-notif-item:hover{
  transform:translateY(-1px);
  border-color:#bcd6e5;
  box-shadow:0 5px 14px rgba(27,70,99,.07);
}


/* CONTENT */

.eo-dash-notif-copy{
  min-width:0;
  flex:1;
}

.eo-dash-notif-copy strong{
  display:block;

  margin:0 0 3px;

  color:#153f5e;

  font-size:13px;
  line-height:1.3;
  font-weight:900;
}

.eo-dash-notif-copy small{
  display:block;

  color:#637d8e;

  font-size:12px;
  line-height:1.45;

  white-space:normal;
}


/* BUTTON */

.eo-dash-notif-open{
  flex:0 0 auto;

  min-width:64px;
  min-height:36px;

  padding:7px 12px;

  border:1px solid #176b9d;
  border-radius:10px;

  background:#176b9d;
  color:#fff;

  font:inherit;
  font-size:12px;
  line-height:1;
  font-weight:900;

  cursor:pointer;

  box-shadow:0 4px 10px rgba(23,107,157,.12);

  transition:
    transform .15s ease,
    background .15s ease;
}

.eo-dash-notif-open:hover{
  background:#125c88;
  transform:translateY(-1px);
}


/* ALL NOTIFICATIONS */

.eo-dash-notif-more{
  display:inline-flex;
  align-items:center;

  margin-top:10px;

  color:#176b9d;

  font-size:12px;
  line-height:1.2;
  font-weight:800;

  text-decoration:none;
}

.eo-dash-notif-more:hover{
  text-decoration:underline;
}


/* MOBILE */

@media(max-width:700px){

  .eo-dash-notif{
    margin-bottom:14px;
    padding:14px;
    border-radius:15px;
  }

  .eo-dash-notif-head{
    margin-bottom:9px;
  }

  .eo-dash-notif-title{
    font-size:14px;
  }

  .eo-dash-notif-item{
    align-items:flex-start;
    gap:9px;
    padding:11px;
  }

  .eo-dash-notif-copy strong{
    font-size:13px;
  }

  .eo-dash-notif-copy small{
    font-size:11px;
  }

  .eo-dash-notif-open{
    min-width:56px;
    min-height:34px;
    padding:7px 9px;
  }
}


/* EO_ME_ACTION_PANEL_V1 */

.eo-me-action-group{
  border-top:1px solid #edf1f5;
  padding-top:15px;
}

.eo-me-action-title{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:9px;
  color:#27445f;
  font-size:13px;
  font-weight:800;
}

.eo-me-action-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#df8f28;
  flex:0 0 auto;
}

.eo-me-action-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:22px;
  height:22px;
  padding:0 6px;
  border-radius:999px;
  background:#eef5fa;
  color:#176b9d;
  font-size:11px;
  font-weight:900;
}

.eo-me-action-list{
  display:grid;
  gap:7px;
}

.eo-me-action-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:10px;
  align-items:center;
  padding:9px 10px;
  border:1px solid #e5ebef;
  border-radius:11px;
  background:#fff;
}

.eo-me-action-copy{
  min-width:0;
}

.eo-me-action-copy strong{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#173f5d;
  font-size:12px;
  font-weight:800;
}

.eo-me-action-copy small{
  display:block;
  margin-top:2px;
  color:#6e8290;
  font-size:11px;
  line-height:1.35;
}

.eo-me-action-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:26px;
  padding:4px 8px;
  border-radius:999px;
  background:#fff4de;
  color:#8a5900;
  font-size:10px;
  font-weight:900;
  white-space:nowrap;
}

.eo-me-action-chip.emergency{
  background:#ffe9e7;
  color:#a3342e;
}

.eo-me-action-open{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:6px 9px;
  border-radius:8px;
  background:#176b9d;
  color:#fff;
  font-size:11px;
  font-weight:800;
  text-decoration:none;
}

.eo-me-action-more{
  display:inline-block;
  margin-top:8px;
  color:#176b9d;
  font-size:11px;
  font-weight:800;
  text-decoration:none;
}

@media(max-width:700px){
  .eo-me-action-row{
    grid-template-columns:1fr auto;
  }

  .eo-me-action-chip{
    grid-column:2;
    grid-row:1;
  }

  .eo-me-action-open{
    grid-column:1/-1;
  }
}


/* EO_NOTIFICATION_CENTER_V1 */

.eo-notification-center{
  grid-column:1 / -1;
  width:100%;
  box-sizing:border-box;
  margin-bottom:18px;
  padding:18px;
  background:linear-gradient(135deg,#f3f9fd,#f8f6ff);
  border:1px solid #dce7ee;
  border-radius:18px;
  box-shadow:0 7px 22px rgba(25,55,78,.05);
}

.eo-nc-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:13px;
}

.eo-nc-title{
  color:#123f60;
  font-size:18px;
  font-weight:900;
}

.eo-nc-count{
  min-width:30px;
  height:30px;
  padding:0 9px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  border-radius:999px;
  background:#e65a52;
  color:#fff;
  font-size:12px;
  font-weight:900;
}

.eo-nc-list{
  display:grid;
  gap:9px;
}

.eo-nc-item{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  padding:13px 14px;
  background:#fff;
  border:1px solid #dfe8ee;
  border-radius:13px;
}

.eo-nc-copy{
  min-width:0;
}

.eo-nc-copy strong{
  display:block;
  margin-bottom:4px;
  color:#143f60;
  font-size:14px;
  font-weight:900;
}

.eo-nc-copy small{
  display:block;
  color:#687f90;
  font-size:12px;
  line-height:1.45;
}

.eo-nc-actions{
  display:flex;
  gap:7px;
  align-items:center;
}

.eo-nc-open,
.eo-nc-read{
  min-height:36px;
  padding:7px 11px;
  border-radius:9px;
  font:inherit;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}

.eo-nc-open{
  border:1px solid #176b9d;
  background:#176b9d;
  color:#fff;
}

.eo-nc-read{
  border:1px solid #d4e0e8;
  background:#fff;
  color:#4d687a;
}

.eo-nc-empty{
  padding:24px;
  text-align:center;
  color:#758a99;
  background:rgba(255,255,255,.7);
  border-radius:12px;
}

@media(max-width:700px){

  .eo-notification-center{
    padding:14px;
    border-radius:15px;
  }

  .eo-nc-item{
    grid-template-columns:1fr;
  }

  .eo-nc-actions{
    width:100%;
  }

  .eo-nc-open,
  .eo-nc-read{
    flex:1;
  }
}

