body[data-sidebar=colored] .vertical-menu {
    background-color: #990055;
}

#page-topbar > div > div:nth-child(1) > div.navbar-brand-box {
    background-color: #990055;
}

.nav-tabs-custom .nav-item .nav-link.active {
    color: #990055;
}

.asteriskField {
    color: #990055;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
        filter: brightness(100%);
    }
    30% {
        transform: scale(1.2);
        filter: brightness(110%);
    }
    35%, 50%, 70%, 90% {
        transform: scale(1);
        filter: brightness(100%);
    }
    40% {
        transform: scale(1.2);
        filter: brightness(150%);
    }
}

.img-pulse {
    position: relative;
    animation: heartbeat 3s infinite;
}

.img-pulse::after {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: light-glow 4s infinite;
}

@keyframes light-glow {
    0%, 100% {
        opacity: 1;
    }
    25%, 75% {
        opacity: 0.5;
    }
}


.pagination-block .pagination-number a {
    display: inline-block; /* Or 'inline' depending on your desired spacing and alignment */
    margin-right: 5px; /* Adds a small space between pagination numbers */
}

/* Optional: Adjust alignment and spacing for the entire pagination block */
.pagination-block {
    text-align: center; /* Center-aligns the pagination block */
    white-space: nowrap; /* Prevents wrapping of pagination numbers to a new line */
}

.dropdown-item {
    cursor: pointer;
}

.footer {
    border-top: 1px solid #990055;
    color: #666666;
    background-color: #ffffff;
}

.btn-close {
    border: 1px #990055 solid;
}

#nav_main_page .nav-link {
    font-size: 16px;
}

#nav_main_page .nav-link.active {
    color: #A8396C;
    border: 1px #A8396C solid;
}
.table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before, table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before  {
    /*margin-right: 35px; !* Aggiungi uno spazio di 30px tra il pulsante e il contenuto *!*/
    /*position: relative; !* Mantieni il posizionamento relativo per il pulsante *!*/
    padding: 1px;
    /*margin-bottom: 10px;*/
    cursor: pointer;

}
/* CRM Alerts widget */
.crm-alerts .badge {
  font-size: 10px;
}
.crm-toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  max-width: 420px;
  z-index: 1060; /* sopra modali bootstrap */
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,.08);
}
.crm-toast .crm-toast-header {
  padding: 8px 12px;
  border-bottom: 1px solid #e5e7eb;
  display: flex; align-items: center; gap: 8px;
}
.crm-toast .crm-toast-body {
  padding: 10px 12px;
  font-size: 14px;
}
.crm-pill {
  display:inline-block; padding:2px 8px; border-radius:999px; font-size:12px;
}
.crm-pill.low    { background:#eef2ff; color:#3730a3; }
.crm-pill.normal { background:#f1f5f9; color:#0f172a; }
.crm-pill.high   { background:#fff7ed; color:#b45309; }
.crm-pill.urgent { background:#fff1f2; color:#b42318; }
