#grafico_dashboard_crm{
width:100%;
height: calc(30vh);
}

#dashboard_crm .pulsante{
    width: calc( 100% - 6px);
}


.event-card {
    background-color: white;
    display: flex;
    padding: 10px;
    margin: 10px 0;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    align-items: center;
    cursor: pointer;
    font-size: 1.2em;
}

.date-box {
color: white;

text-align: center;
border-radius: 6px;
border:1px solid #98a0ab;
font-size: 12px;
margin-right: 10px;
}

.date-box .mese {
background-color: #2e7d32;
font-size: 13px;
text-transform: uppercase;
height: 15px;
font-weight: bold;
line-height: 15px;
border-radius: 6px;
}

.anno{
    background-color: #00B0F0;
}

.date-box .giorno {
font-size: 30px;
font-weight: bold;
background: white;
padding: 10px;
color:#444;
}


.date-box .giorno_settimana {
font-size: 11px;
font-weight: bold;
color:#98a0ab;
text-transform: uppercase;
}

.event-details {
flex-grow: 1;
}

.event-title {
font-weight: bold;
font-size: 16px;
}

.event-subtitle {
color: #666;
font-size: 14px;
margin: 2px 0;
}

.event-meta {
color: gray;
font-size: 12px;
}

.badge {
background-color: #ff9800;
color: white;
border-radius: 20px;
padding: 2px 8px;
font-size: 12px;
margin-top: 5px;
display: inline-block;
float:right;
}

.tab-bar {
position: fixed;
bottom: 0;
width: 100%;
background: #f2f2f2;
border-top: 1px solid #ccc;
display: flex;
justify-content: space-around;
padding: 5px 0;
z-index: 1000;
}

.tab-item {
flex: 1;
text-align: center;
color: #888;
font-size: 12px;
text-decoration: none;
}

.tab-item i{
display: block;
}

a.tab-item, a.pulsante_medium{
    text-decoration: none;
}

.tab-item.active {
color: #009688;
font-weight: bold;
}

.chart-container {
display: flex;
justify-content: space-between; /* o space-around */
flex-wrap: wrap; /* per andare a capo se serve */
padding: 10px 0;
}

.chart-box {
flex: 0 0 33.33%;
max-width: 33.33%;
text-align: center;
box-sizing: border-box;
padding: 5px;
}

.chart-box b{
  background: #eee;
  width: fit-content;
  padding: 5px;
  border-radius: 25px;
}

.chart-box canvas {
width: 100% !important;
height: auto !important;
aspect-ratio: 1 / 1;
}

    
.separatore_gray{
    height: 1px; 
    width: 100%; 
    background: lightgrey;
    margin-top: 10px;
    margin-bottom: 10px;
    clear: both;
}

#dashboard_crm h1{
    padding: 5px !important;
    width:fit-content;
    margin:5px 0 15px 0;
    color:black;
    text-align: left;
    font-size: 30px;
    height: fit-content;
}

#dashboard_crm h3{
    padding: 5px !important;
    width:fit-content;
    margin: 0px;
    border-bottom: none;
}

 .evento_info {
    padding: 15px;
    border-radius: 10px;
    background-color: #f8f9fa;
    box-shadow: 0 0 8px rgba(0,0,0,0.05);
    margin-bottom: 15px;
    width: calc(100% - 30px);
    display: none;
    border: 0.5px solid lightgray;
    font-size: 13px;
  }

  .evento_riga {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
  }

  .evento_icon {
    width: 32px; /* larghezza fissa per la colonna delle icone */
    text-align: center;
    color: #555; /* colore uniforme per tutte le icone */
    margin-top: 0px;
    flex-shrink: 0;
  }

  .evento_testo {
    flex: 1;
  }

  #dashboard_crm .evento_testo strong {
    display: block;
    margin-bottom: 2px;
    color: #222;
    font-size: 1.2em;
  }

  #dashboard_crm .evento_testo span {
    color: #444;
    display: block;
    font-size: 1.1em;
  }
  
  #dashboard_crm .pulsante_medium, #dashboard_crm .pulsante{
      font-size: 1.1em;
  }
  
  #dashboard_crm input[type="text"]{
      min-height: 40px !important;
      font-size: 1.5em;
  }
  
#dashboard_crm .pulsante_ricerca{
      width:40px;
      height: 40px;
      padding: 5px;
      border: none;
      background: #009688;   
      text-align: center;
      margin-left: 3px;
  }
  
  #dashboard_crm .pulsante_ricerca img{
      width:30px;
  }
  