.ec-bell-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.ec-bell-icon {
    font-size: 22px;
    position: relative;
}

.ec-bell-badge {
    background: red;
    color: #fff;
    border-radius: 50%;
    font-size: 13px;
    padding: 3px 6px;
    position: absolute;
    top: -10px;
    right: -8px;
    width: 18px;
    text-align: center;
    pointer-events: none;
    height: 19px;
    line-height: 1.2em;
}

.ec-bell-dropdown {
    display: none;
    position: absolute;
    top: 25px;
    right: 0;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 3px 8px rgba(0,0,0,.15);
    width: 260px;
    z-index: 999;
    overflow: hidden;
}

.ec-bell-wrapper:hover .ec-bell-dropdown {
    display: block;
}

.ec-bell-dropdown ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ec-bell-dropdown li {
    border-bottom: 1px solid #eee;
}

.ec-bell-dropdown a {
    display: block;
    padding: 10px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
}

.ec-bell-dropdown a:hover {
    background: #f6f6f6;
}

.ec-bell-icon i {
    font-size: 22px;
    color: #222; /* à adapter selon ton design */
}

.ec-intranet-activity-icon i {
    margin-right: 6px;
    color: #444; /* à adapter selon ton charte */
    font-size:25px;
}

.ec-intranet-activity-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ec-bell-dropdown li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
}

.ec-bell-dropdown li i {
    font-size: 16px;
    color: #666;
}

.ec-bell-dropdown li a {
    flex: 1;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    line-height: 1.2;
}

.ec-bell-dropdown li:hover {
    background: #f4f4f4;
}



.ec-bell-dropdown-footer {
    text-align: center;
    padding: 8px;
    background: #f8f8f8;
}

.ec-bell-view-all {
    font-size: 13px;
    color: #0073aa;
    text-decoration: none;
}

.ec-bell-view-all:hover {
    text-decoration: underline;
}

.ec-bell-item-content {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.ec-bell-time {
    font-size: 11px;
    color: #777;
    margin-top: 2px;
}

.ecf-alert-btn {
    border: none !important;
    background: transparent !important;
    cursor: pointer;
    font-size: 18px;
    padding: 4px;
    color: #444;
    transition: transform .1s;
}

.ecf-alert-btn:hover {
    color: #000;
    transform: scale(1.1);
}

.ecf-alert-btn .bi-bell-fill {
    color:#f4b400 !important;
}

#ec-intranet-activity-list,
.ec-bell-activity-cards {
	display: flex;
    flex-direction: column;
    gap: 15px;
    padding:0;
}

.ec-intranet-activity-item {
	border: none;
	border-radius : 15px;
	box-shadow: 0 3px 20px #1d26260d; 
	padding: 20px;
	background-color: #fff;		
}
.ec-intranet-activity-item a {
	color:#333;
	font-weight:500;
	}

.ec-intranet-activity-icon {
float:left;	
}

.ec-intranet-activity-time {
	display:block;
	font-size:14px;
}
.ec-activity-empty {
    padding: 12px;
    text-align: center;
    color: #777;
    font-style: italic;
}

.ec-activity-filter {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ec-activity-filter select {
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
}


.ec-bell-empty {
	padding:20px;
}


/* ===========================
   Docs — Cards list (common)
   =========================== */

.ec-bell-activity-cards{
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding:10px;
}

.ec-bell-activity-card{
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
  transition: background .15s ease, border-color .15s ease, transform .05s ease;
}

.ec-bell-activity-card:hover{
/*   background: #f8fafc; */
/*   border-color: #dbeafe; */
}

.ec-bell-activity-card:active{
  transform: scale(0.995);
}

.ec-bell-activity-card-left{
  display:flex;
  align-items:center;
  justify-content:center;
}

.ec-bell-activity-card-icon{
  width: 38px;
  height: 38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 12px;
  background: #f1f5f9;
  color: #334155;
}

.ec-ged-doc-icon-svg svg{
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.ec-bell-activity-card-main{
  flex: 1;
  min-width: 0;
}

.ec-bell-activity-card-title{
    display: inline-block;
    font-weight: 400;
    color: #0f172a;
    text-decoration: none;
    overflow: hidden;
/*     text-overflow: ellipsis; */
/*     white-space: nowrap; */
    max-width: 100%;
    font-size: 14px;
    line-height: 1.2em;
}

.ec-bell-activity-card-sub{
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height:1.2em;
}

.ec-bell-activity-card-actions{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Action icons (bootstrap icons) */
.ec-bell-activity-card-actions .ec-ged-icon,
.ec-bell-activity-card-actions .ec-ged-fav-toggle{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #475569;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .05s ease;
  text-decoration:none;
}

.ec-bell-activity-card-actions .ec-ged-icon:hover,
.ec-bell-activity-card-actions .ec-ged-fav-toggle:hover{
  background: #e0f2fe;
  color: #0c4a6e;
}

.ec-bell-activity-card-actions .ec-ged-icon:active,
.ec-bell-activity-card-actions .ec-ged-fav-toggle:active{
  transform: scale(.97);
}


/* Responsive cards */
@media (max-width: 520px){
  .ec-bell-activity-card{ align-items: flex-start; }
  .ec-bell-activity-card-actions{ align-self: flex-start; }
}