:root {
  --yellow: #fcbb6d;
  --blu: #1d1f20;
  --aggiungiElimina: #3f6a8a;
  /* --bottoni: #445ba8; */
  --bottoni: #3a3b3c;
  --verde: #499c4f;
  --azzurro: #c6ccd1;
  /* --azzurro: #dedfe1; */
  --white: #f5f5f5;
  --lightGrey: #c4c7c6;
  --viola: #af90b7;
  --darkGrey: #3a3b3c;
  --rosso: #e76984;
  --nero: #1d1f20;
  --CBborder: #3a3b3c;
  --CBbackground: #3a3b3c;
  --CBtext: #f5f5f5;
}

/* Animazione pulse per badge novità */
@keyframes pulse-badge {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 2px 10px rgba(73, 156, 79, 0.5);
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overscroll-behavior: none;
}

/* Touch-action per prevenire zoom accidentali su elementi interattivi */
#mainSVGContainer,
#mainSVGContainer svg {
  touch-action: manipulation; /* Disabilita double-tap-to-zoom ma permette pan e pinch */
}

#node-panel,
.modal,
.modal-content,
.navbar,
.nav-menu {
  touch-action: pan-y; /* Permette scroll verticale, blocca zoom */
}

body {
  font-family: monospace;
  /* Prevents pull-to-refresh effect but allows vertical scroll */
  /* overscroll-behavior-y: none; */
  position: fixed;
  overflow-y: scroll;
  width: 100%;
  padding-left: 8px;
  padding-right: 8px;
}

html {
  scroll-behavior: smooth;
}

footer {
  /* background-color: #f1f1f1;  */
  padding: 2px; 
  text-align: center; /* Center the text */
  position: fixed; 
  width: 100%; /* Make the footer full width */
  bottom: 0; /* Position the footer at the bottom of its container */
  padding-right: 20px;
  color: var(--azzurro);
}

/* Footer Undo/Redo */
#undo-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 44px;
  background-color: var(--sfondo);
  border-top: 1px solid var(--bordo);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 16px;
  z-index: 9998;
  /* box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); */
}

#undo-footer button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin: 50px;
  border: none;
  border-radius: 6px;
  background-color: var(--bottoni);
  color: white;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

#undo-footer button:hover:not(:disabled) {
  background-color: var(--blu);
  transform: translateY(-1px);
}

#undo-footer button:active:not(:disabled) {
  transform: translateY(0);
}

#undo-footer button:disabled {
  background-color: #ccc;
  color: #888;
  cursor: not-allowed;
  opacity: 0.6;
}

#undo-footer button i {
  font-size: 16px;
}

/* Nascondi testo su mobile, mostra solo icone */
@media (max-width: 667px) {
  #undo-footer .undo-text {
    display: none;
  }
  
  #undo-footer button {
    padding: 10px 14px;
    margin: 20px;
  }
}


#chart-container {
  font-family: monospace;
  margin-top: 0px;
}

/* header {
  background-color: var(--blu);
} */

li {
  list-style: none;
}

p {
  font-size: 12px;
}

a {
  color: var(--blu);
  text-decoration: none;
}

.container {
  max-width: 1224px;
  /*width: 90%;*/
  margin: 0 auto;
}

.navbar {
  /* min-height: 60px; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 5px;
}

.nav-branding {
  font-size: 1rem;
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  z-index: 1;
  flex-direction: column;
  /* Make it column flex-direction by default */
}

.nav-link,
.dark-mode-toggle {
  transition: 0.3s ease-out;
}

#loginMenu:hover {
  color: dodgerblue;
}

/* .nav-link:hover,
.dark-mode-toggle:hover {
  color: dodgerblue;
} */

.hamburger {
  display: block;
  /* Make it visible on all screen sizes */
  cursor: pointer;
  padding-left: 30px;
  margin-right: inherit;
  /* transparent background and no border */
  background-color: transparent;
  border: none;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  background-color: var(--blu);
  z-index: 999;
}

/* @media(max-width:1024px) { */
/* .hamburger {
    display: block;
    padding-left: 38px;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  } */

.nav-menu {
  position: fixed;
  left: -100%;
  /* top: 50%; */
  gap: 0;
  flex-direction: column;
  background-color: var(--white);
  /* width: 80%; */
  text-align: center;
  transition: 0.3s;
}

.nav-item {
  margin: 16px 0;
}

.nav-menu.active {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  /* height: 100%;  */
  /* flex-direction: column; */
  flex-direction: inherit;
  justify-content: flex-start;
  /* Align items to the top */
  align-items: center;
  background-color: var(--white);
  text-align: center;
  padding: 20px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  /* Show scrollbar only when necessary */
}

/* } */

.menu-group {
  width: 100%;
  padding: 10px;
  /* border-bottom: 1px solid #ddd;   */
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: transparent;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}

/* Form elements */
.node-property-value,
.node-name,
select,
input[type="text"],
input[type="number"] {
  /* width: 100%;  */
  /* padding: 8px; */
  border-radius: 4px;
  /* A little rounded edge for aesthetic */
  border: 0.5px solid var(--lightGrey);
  background-color: white;
  color: black;
}

.table-container {
  overflow-x: auto;
}

#config-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 10px;
  background-color: var(--azzurro);
  border-radius: 10px;
}

#config-table th,
#config-table td {
  border: 1px solid #ddd;
  padding: 5px;
}

#config-table th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: left;
  background-color: var(--CBbackground);
  color: white;
}

#nuovoIE-btn {
  width: 100%;
  background-color: var(--bottoni);
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 10px;
}

#logo-container {
  position: fixed;
  width: 100vw;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s ease-in-out;
  z-index: -1; /* Put the logo behind other elements */
}

#app-logo {
  max-width: 30%; /* Adjust based on your preferred size */
  transition: all 0.5s ease-in-out;
  /* opacity: 0.8; */
}

#logo-container.logo-bottom-right {
  justify-content: flex-end;
  align-items: flex-end;
  position: absolute;
  bottom: -10px;
  right: -1px;
  width: auto;
  height: auto;
  opacity: 0.6;
}

#app-logo.shrink-logo {
  max-width: 10%;
}

/* Mobile responsiveness */
@media only screen and (max-width: 870px) {
  #app-logo {
    max-width: 70%; 
  }

  #app-logo.shrink-logo {
    max-width: 20%;
  }         

  .table-container {
    overflow-x: initial;
    /* disable the horizontal scrolling */
  }

  #config-table th {
    display: none;
    /* hide headers */
  }

  #config-table tbody tr {
    /* border: 1px solid #ddd;
      margin-bottom: 10px; */
    display: block;
    /* make the row a block */
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  }

  #config-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    /* remove border from cells */
    /* margin-bottom: 5px;  */
  }

  /* Labeling each cell for clarity since headers are hidden */
  #config-table td:before {
    content: attr(data-label);
    /* font-weight: bold; */
    flex: 1;
  }

   #nuovoIE-btn {
    width: 100%;
    background-color: var(--bottoni);
    /* background-color:#494a4a; */
    border: none;
    color: white;
    padding: 0;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 0;
    cursor: pointer;
    border-radius: 10px;
  } 
}

img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
}


#numTrasformatori,
#numSubQuadri,
#numUtenze,
#potenzaTasformatore,
#vccTrasformatore {
  width: 50px;
}

/* #nuovoIE-btn {
  width: 100%;
  background-color: var(--bottoni);
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 10px;
} */

/* Stile originale, leggermente modificato */
.panelButtons {
  font-family: monospace;
  /* width: 100%; Rimuoviamo la larghezza fissa per permettere a flexbox di gestirla */
  flex-grow: 1; /* I pulsanti si espandono per riempire lo spazio */
  border: none;
  color: white;
  padding: 8px 12px; /* Leggermente aggiustato per un look migliore */
  text-align: center;
  display: inline-block;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 10px;
}

.panelButtons.enabled {
  background-color: var(--bottoni); /* Colore quando abilitato */
}

.panelButtons.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: var(--azzurro); /* Colore quando disabilitato */
  /* pointer-events: none; */
}

.panelButtons.enabled:hover {
  background-color: var(--yellow); /* Colore hover quando abilitato */
  color: var(--bottoni);
}

/* NUOVE REGOLE PER IL LAYOUT COMPATTO */

/* Contenitore per gruppi di pulsanti su una riga */
.button-group {
  display: flex;
  gap: 5px; /* Spazio tra i pulsanti */
  width: 100%;
}

/* Contenitore per la sezione "Aggiungi" */
.add-controls {
  display: flex;
  justify-content: center; /* Centra orizzontalmente gli elementi */
  align-items: center; /* Allinea verticalmente gli elementi */
  margin: 10px 0;
  gap: 10px;
}

.add-type-selector {
  display: flex;
  align-items: center;
  gap: 8px; /* Spazio tra la label "Aggiungi" e il select */
}

/* Gruppo per i due pulsanti di aggiunta (freccia giù e freccia destra) */
.add-buttons-group {
  display: flex;
  gap: 5px;
}

/* Stile specifico per i pulsanti di aggiunta, li rendiamo più piccoli */
.add-buttons-group .panelButtons {
  flex-grow: 0; /* Non devono espandersi */
  padding: 8px 15px; /* Padding orizzontale per dare una forma più quadrata */
  font-size: 1.2em; /* Rende le frecce più grandi */
}

/* Assicuriamoci che i pulsanti a larghezza piena mantengano il loro comportamento */
#verifyButton, #createBusbarButton {
    width: 100%;
    flex-grow: 0; /* Non devono crescere se sono in un contenitore flex per errore */
}

/* Stile per il menu a tendina per coerenza */
#node-type {
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.custom-file-upload {
  font-family: monospace;
  /* width: 100%; */
  background-color: white;
  /* border: none; */
  border: 1px solid var(--blu);
  color: var(--blu);
  /* padding: 5px 17px; */
  text-align: center;
  /* text-decoration: none; */
  /* display: inline-block; */
  /* font-size: 16px; */
  margin: 4px 2px;
  cursor: pointer;

}

#node-photo {
  cursor: pointer;
}

.photo-preview-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
}
.photo-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    z-index: 10000000;
}
.remove-photo-btn {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--rosso);
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
    z-index: 10;
}

#node-panel {
  position: fixed;
  /* Fix the panel on the screen */
  bottom: 0;
  /* Align the panel to the top of the screen */
  left: 0;
  /* Align the panel to the left of the screen */
  /* width: auto; */
  min-width: 230px;
  /* Panel takes up 30% of the screen width */
  /* max-width: 53%; */
  /*height: 60vh; /* Panel takes up the full height of the viewport */
  height: 83%;
  /* Panel takes up the full height of the viewport */
  background-color:  var(--white);
  /* Set a light background color for the panel */
  border-right: 1px solid var(--white);
  ;
  /* Add a border to the right of the panel */
  padding: 1rem;
  /* Add some padding inside the panel */
  overflow-y: auto;
  /* Add a scrollbar if the content is taller than the panel */
  display: flex;
  /* Use Flexbox for alignment */
  flex-direction: column;
  /* Add space between items */
  align-items: start;
  /* Align items to the start (left, for LTR languages) */
  gap: 0.2rem;
  /* Add a gap between items */
  display: none;
  /* Initially hide the panel */
  z-index: 9999999;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

#node-properties {
  display: flex;
  /* Use Flexbox for alignment */
  flex-direction: column;
  /* Stack items vertically */
  /* gap: 0.2rem; */
  /* Add a gap between items */
}

.node-property {
  display: flex;
  /* Use Flexbox for alignment */
  justify-content: space-between;
  /* Add space between items */
  /* gap: 1rem; */
  padding: 0.2rem;
  /* margin-top: inherit; */
}

/* .highlighted {
  stroke: var(--yellow); 
  stroke-width: 2;
} */

svg {
  user-select: none;
}

.loader {
  position: fixed;
  /* Change from absolute to fixed */
  top: 50%;
  /* Centering adjustments */
  left: 50%;
  /* Centering adjustments */
  transform: translate(-50%, -50%);
  /* Centering adjustments based on its own width and height */
  width: 120px;
  /* Adjusted size */
  height: 120px;
  /* Adjusted size */
  border-radius: 50%;
  perspective: 800px;
  background-color: "transparent";
  display: none;
}


.inner {
  position: absolute;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.inner.one {
  left: 0%;
  top: 0%;
  animation: rotate-one 1s linear infinite;
  border-bottom: 3px solid var(--yellow);
}

.inner.two {
  right: 0%;
  top: 0%;
  animation: rotate-two 1s linear infinite;
  border-right: 3px solid var(--yellow);
}

.inner.three {
  right: 0%;
  bottom: 0%;
  animation: rotate-three 1s linear infinite;
  border-top: 3px solid var(--yellow);
}

@keyframes rotate-one {
  0% {
    transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg);
  }
}

@keyframes rotate-two {
  0% {
    transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg);
  }
}

@keyframes rotate-three {
  0% {
    transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg);
  }

  100% {
    transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg);
  }
}

/* Stile per il contenitore principale della lista progetti */
.listaPtogetti {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px; /* Spazio tra header, select e gruppo bottoni */
  padding: 20px;
  padding-top: 45px; /* Più spazio in alto per il bottone chiudi */
  background-color: #333; /* Un grigio scuro più moderno */
  border-radius: 12px;
  margin-bottom: 10px;
  border: 1px solid #444;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* --- Header con Titolo e pulsante Importa --- */
.project-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 5px;
}

.project-list-header h4 {
  margin: 0;
  color: #eee;
  font-size: 18px;
}

/* --- Stile per il select --- */
.selectProject {
  padding: 10px;
  border: 1px solid #555;
  box-sizing: border-box;
  width: 100%;
  border-radius: 6px;
  background-color: #222;
  color: #ddd;
  font-size: 16px;
}

.selectProject:focus {
  outline: none;
  border-color: var(--azzurro, #007bff);
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* --- Contenitore per i pulsanti di azione sul progetto --- */
.project-actions-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(50px, 1fr)); /* Layout responsive */
  gap: 10px;
  width: 100%;
}

/* --- Stile base per TUTTI i pulsanti --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px; /* Spazio tra icona e testo */
  padding: 10px 15px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.2s ease-in-out;
  /* color: #fff; */
  color: var(--bottoni);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.btn i {
  font-size: 1em; /* L'icona si adatta alla dimensione del font */
}

/* --- Stili specifici per tipo di pulsante --- */

/* Pulsante Primario (Apri) */
.btn.btn-primary {
  background-color: var(--verde, #28a745);
}
/* .btn.btn-primary:hover {
  background-color: #218838;
} */

/* Pulsanti Secondari (Esporta, Sblocca) */
.btn.btn-secondary {
  background-color: var(--azzurro, #007bff);
}
/* .btn.btn-secondary:hover {
  background-color: #0069d9;
} */

/* Pulsante Distruttivo (Elimina) */
.btn.btn-destructive {
  background-color: var(--rosso, #dc3545);
}
/* .btn.btn-destructive:hover {
  background-color: #c82333;
} */

/* Pulsante Importa (stile outline) */
.btn.btn-import {
  background-color: var(--yellow);
  /* border: 1px solid var(--azzurro, #007bff); */
  /* color: white; */
  padding: 6px 12px; /* Leggermente più piccolo */
}
/* .btn.btn-import:hover {
  background-color: rgba(0, 123, 255, 0.1);
  color: #fff;
  border-color: #fff;
} */

/* --- Bottone Chiudi --- */
.chiudiLista {
  position: absolute;
  top: 10px;
  left: 15px;
  background: none;
  border: none;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.chiudiLista:hover {
  color: #fff;
  transform: rotate(90deg);
}

.arrow-button {
  width: 40px;
  height: 40px;
  background-color: var(--bottoni);
  border: none;
  border-radius: 50%;
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  margin: 5px;
}

.arrow-button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  /* margin-top: 10px; */
  /* margin-bottom: 10px; */
  z-index: 9999999;
}

/* ====== RIORDINAMENTO PARTENZE ====== */

.reorder-button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
  flex-wrap: wrap;
}

.reorder-button-container .move-btn {
  padding: 6px 12px;
  font-size: 0.9em;
}

.reorder-button-container .panelButtons {
  flex-grow: 0;
}

/* Modal di riordinamento */
.reorder-modal-content {
  max-width: 400px;
  margin: 10% auto;
}

.reorder-instructions {
  font-size: 0.9em;
  color: var(--darkGrey);
  margin-bottom: 15px;
  text-align: center;
}

.reorder-list {
  max-height: 50vh;
  overflow-y: auto;
  border: 1px solid var(--lightGrey);
  border-radius: 8px;
  padding: 8px;
  margin-bottom: 15px;
  background-color: var(--white);
}

.reorder-item {
  display: flex;
  align-items: center;
  padding: 12px;
  margin: 4px 0;
  background-color: var(--azzurro);
  border-radius: 8px;
  cursor: grab;
  transition: all 0.2s ease;
  user-select: none;
  /* touch-action: none; Rimosso per permettere lo scroll */
}

.reorder-item:hover {
  background-color: var(--lightGrey);
  transform: translateX(2px);
}

.reorder-item.current-node {
  border: 2px solid var(--bottoni);
  background-color: rgba(63, 106, 138, 0.15);
}

.reorder-item.dragging {
  opacity: 0.5;
  background-color: var(--yellow);
  cursor: grabbing;
}

.reorder-item.drag-over {
  border-top: 3px solid var(--bottoni);
  padding-top: 9px;
}

.drag-handle {
  font-size: 1.5em; /* Aumentato per visibilità */
  margin-right: 5px;
  color: var(--darkGrey);
  cursor: grab;
  touch-action: none; /* Importante: impedisce lo scroll solo sull'handle */
  padding: 10px; /* Area di tocco più grande */
  margin: -10px 5px -10px -10px; /* Compensa il padding */
}

.reorder-item-name {
  flex-grow: 1;
  font-weight: 500;
  color: var(--nero);
}

.reorder-arrows {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-left: 8px;
}

.reorder-arrow-btn {
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background-color: var(--bottoni);
  color: white;
  cursor: pointer;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.reorder-arrow-btn:hover {
  background-color: var(--yellow);
  color: var(--bottoni);
}

.reorder-arrow-btn:active {
  transform: scale(0.95);
}

/* Responsive per mobile */
@media (max-width: 480px) {
  .reorder-modal-content {
    margin: 5% auto;
    width: 95%;
  }
  
  .reorder-item {
    padding: 10px;
  }
  
  .reorder-arrow-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  
  .drag-handle {
    font-size: 1.4em;
    margin-right: 10px;
  }
}

/* ====== FINE RIORDINAMENTO PARTENZE ====== */

/* Modal base styles */
/* .modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: white;
  padding: 30px;
} */

.modal-contentRegistrati, .modal-contentInfo {
  background-color: var(--white);
  /* color: var(--yellow); */
  margin: 15% auto;
  /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  /* font-weight: bold; */
}

.close, .closeInfo, .closeSignUp, .close-button, .close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

#treeDiagramContainer {
  overflow: auto;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
  /* Space between elements */
}

.close-button {
  flex-shrink: 0;
  /* Prevent the button from shrinking */
}

/* input.node-name {
  max-width: 100px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
} */


.actionableTspan {
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.2s;
}

/* Aiuto */
.modalAiuto {
  display: none;
}

.help-options-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.help-options-list li {
  margin-bottom: 15px;
}

.help-options-list a {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  background-color: #f5f5f5;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  transition: all 0.2s ease-in-out;
  border: 1px solid #ddd;
}

.help-options-list a:hover {
  background-color: #e9e9e9;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-color: #ccc;
}

.help-options-list .help-icon {
  font-size: 1.5em; /* Icone più grandi */
  margin-right: 15px;
  width: 30px;
  text-align: center;
}

/* Colori specifici per ogni icona */
.help-icon.pdf { color: #e74c3c; } /* Rosso PDF */
.help-icon.tour { color: #3498db; } /* Blu Tour */
.help-icon.feedback { color: #2ecc71; } /* Verde Feedback */

.help-options-list a span {
  display: flex;
  flex-direction: column;
  font-weight: bold;
}

.help-options-list a small {
  font-weight: normal;
  font-size: 0.8em;
  color: #777;
  margin-top: 2px;
}


/* introjs */

.introjs-overlay {
  position: absolute;
  box-sizing: content-box;
  z-index: 999999;
  opacity: 0;
  transition: all .3s ease-out
}

.introjs-showElement {
  z-index: 9999999 !important
}

tr.introjs-showElement>td {
  z-index: 9999999 !important;
  position: relative
}

tr.introjs-showElement>th {
  z-index: 9999999 !important;
  position: relative
}

.introjs-disableInteraction {
  z-index: 99999999 !important;
  position: absolute;
  background-color: #fff;
  opacity: 0
}

.introjs-relativePosition {
  position: relative
}

.introjs-helperLayer {
  box-sizing: content-box;
  position: absolute;
  z-index: 9999998;
  border-radius: 4px;
  transition: all .3s ease-out
}

.introjs-helperLayer * {
  box-sizing: content-box
}

.introjs-helperLayer :before {
  box-sizing: content-box
}

.introjs-helperLayer :after {
  box-sizing: content-box
}

.introjs-tooltipReferenceLayer {
  font-family: "Helvetica Neue", Inter, ui-sans-serif, "Apple Color Emoji", Helvetica, Arial, sans-serif;
  box-sizing: content-box;
  position: absolute;
  visibility: hidden;
  z-index: 100000000;
  background-color: transparent;
  transition: all .3s ease-out
}

.introjs-tooltipReferenceLayer * {
  font-family: "Helvetica Neue", Inter, ui-sans-serif, "Apple Color Emoji", Helvetica, Arial, sans-serif
}

.introjs-helperNumberLayer {
  font-family: "Helvetica Neue", Inter, ui-sans-serif, "Apple Color Emoji", Helvetica, Arial, sans-serif;
  color: #9e9e9e;
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px
}

.introjs-arrow {
  border: 5px solid transparent;
  content: "";
  position: absolute
}

.introjs-arrow.top {
  top: -10px;
  left: 10px;
  border-bottom-color: #fff
}

.introjs-arrow.top-right {
  top: -10px;
  right: 10px;
  border-bottom-color: #fff
}

.introjs-arrow.top-middle {
  top: -10px;
  left: 50%;
  margin-left: -5px;
  border-bottom-color: #fff
}

.introjs-arrow.right {
  right: -10px;
  top: 10px;
  border-left-color: #fff
}

.introjs-arrow.right-bottom {
  bottom: 10px;
  right: -10px;
  border-left-color: #fff
}

.introjs-arrow.bottom {
  bottom: -10px;
  left: 10px;
  border-top-color: #fff
}

.introjs-arrow.bottom-right {
  bottom: -10px;
  right: 10px;
  border-top-color: #fff
}

.introjs-arrow.bottom-middle {
  bottom: -10px;
  left: 50%;
  margin-left: -5px;
  border-top-color: #fff
}

.introjs-arrow.left {
  left: -10px;
  top: 10px;
  border-right-color: #fff
}

.introjs-arrow.left-bottom {
  left: -10px;
  bottom: 10px;
  border-right-color: #fff
}

.introjs-tooltip {
  box-sizing: content-box;
  position: absolute;
  visibility: visible;
  background-color: #fff;
  min-width: 250px;
  max-width: 300px;
  border-radius: 5px;
  box-shadow: 0 3px 30px rgba(33, 33, 33, .3);
  transition: opacity .1s ease-out
}

.introjs-tooltiptext {
  padding: 12px;
}

.introjs-dontShowAgain {
  padding-left: 20px;
  padding-right: 20px
}

.introjs-dontShowAgain input {
  padding: 0;
  margin: 0;
  margin-bottom: 2px;
  display: inline;
  width: 10px;
  height: 10px
}

.introjs-dontShowAgain label {
  font-size: 14px;
  display: inline-block;
  font-weight: 400;
  margin: 0 0 0 5px;
  padding: 0;
  background-color: #fff;
  color: #616161;
  -webkit-user-select: none;
  user-select: none
}

.introjs-tooltip-title {
  font-size: 18px;
  width: 90%;
  min-height: 1.5em;
  margin: 0;
  padding: 0;
  font-weight: 700;
  line-height: 1.5
}

.introjs-tooltip-header {
  position: relative;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 10px;
  min-height: 1.5em
}

.introjs-tooltipbuttons {
  border-top: 1px solid #e0e0e0;
  padding: 10px;
  text-align: right;
  white-space: nowrap
}

.introjs-tooltipbuttons:after {
  content: "";
  visibility: hidden;
  display: block;
  height: 0;
  clear: both
}

.introjs-button {
  box-sizing: content-box;
  position: relative;
  overflow: visible;
  padding: .5rem 1rem;
  border: 1px solid #bdbdbd;
  text-decoration: none;
  text-shadow: 1px 1px 0 #fff;
  font-size: 14px;
  color: #424242;
  white-space: nowrap;
  cursor: pointer;
  outline: 0;
  background-color: #f4f4f4;
  border-radius: .2em;
  zoom: 1;
  display: inline
}

.introjs-button:hover {
  outline: 0;
  text-decoration: none;
  border-color: #9e9e9e;
  background-color: #e0e0e0;
  color: #212121
}

.introjs-button:focus {
  outline: 0;
  text-decoration: none;
  background-color: #eee;
  box-shadow: 0 0 0 .2rem rgba(158, 158, 158, .5);
  border: 1px solid #616161;
  color: #212121
}

.introjs-button:active {
  outline: 0;
  text-decoration: none;
  background-color: #e0e0e0;
  border-color: #9e9e9e;
  color: #212121
}

.introjs-button::-moz-focus-inner {
  padding: 0;
  border: 0
}

.introjs-skipbutton {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-block;
  width: 45px;
  height: 45px;
  line-height: 45px;
  color: #616161;
  font-size: 22px;
  cursor: pointer;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  margin-right: 10px;
}

.introjs-skipbutton:focus,
.introjs-skipbutton:hover {
  color: #212121;
  outline: 0;
  text-decoration: none
}

.introjs-prevbutton {
  float: left
}

.introjs-nextbutton {
  float: right
}

.introjs-disabled {
  color: #9e9e9e;
  border-color: #bdbdbd;
  box-shadow: none;
  cursor: default;
  background-color: #f4f4f4;
  background-image: none;
  text-decoration: none
}

.introjs-disabled:focus,
.introjs-disabled:hover {
  color: #9e9e9e;
  border-color: #bdbdbd;
  box-shadow: none;
  cursor: default;
  background-color: #f4f4f4;
  background-image: none;
  text-decoration: none
}

.introjs-hidden {
  display: none
}

.introjs-bullets {
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px
}

.introjs-bullets ul {
  box-sizing: content-box;
  clear: both;
  margin: 0 auto 0;
  padding: 0;
  display: inline-block
}

.introjs-bullets ul li {
  box-sizing: content-box;
  list-style: none;
  float: left;
  margin: 0 2px
}

.introjs-bullets ul li a {
  transition: width .1s ease-in;
  box-sizing: content-box;
  display: block;
  width: 6px;
  height: 6px;
  background: #ccc;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer
}

.introjs-bullets ul li a:focus,
.introjs-bullets ul li a:hover {
  width: 15px;
  background: #999;
  text-decoration: none;
  outline: 0
}

.introjs-bullets ul li a.active {
  width: 15px;
  background: #999
}

.introjs-progress {
  box-sizing: content-box;
  overflow: hidden;
  height: 10px;
  margin: 10px;
  border-radius: 4px;
  background-color: #e0e0e0
}

.introjs-progressbar {
  box-sizing: content-box;
  float: left;
  width: 0%;
  height: 100%;
  font-size: 10px;
  line-height: 10px;
  text-align: center;
  background-color: #08c
}

.introjsFloatingElement {
  position: absolute;
  height: 0;
  width: 0;
  left: 50%;
  top: 50%
}

.introjs-fixedTooltip {
  position: fixed
}

.introjs-hint {
  box-sizing: content-box;
  position: absolute;
  background: 0 0;
  width: 20px;
  height: 15px;
  cursor: pointer
}

.introjs-hint:focus {
  border: 0;
  outline: 0
}

.introjs-hint:hover>.introjs-hint-pulse {
  background-color: rgba(60, 60, 60, .57)
}

.introjs-hidehint {
  display: none
}

.introjs-fixedhint {
  position: fixed
}

@keyframes introjspulse {
  0% {
    transform: scale(.95);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, .7)
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px transparent
  }

  100% {
    transform: scale(.95);
    box-shadow: 0 0 0 0 transparent
  }
}

.introjs-hint-pulse {
  box-sizing: content-box;
  width: 15px;
  height: 15px;
  border-radius: 30px;
  background-color: rgba(136, 136, 136, .24);
  z-index: 10;
  position: absolute;
  transition: all .2s ease-out;
  animation: introjspulse 2s infinite
}

.introjs-hint-no-anim .introjs-hint-pulse {
  animation: none
}

.introjs-hint-dot {
  box-sizing: content-box;
  background: 0 0;
  border-radius: 60px;
  height: 50px;
  width: 50px;
  position: absolute;
  top: -18px;
  left: -18px;
  z-index: 1;
  opacity: 0
}

/*# sourceMappingURL=introjs.css.map */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Modal styles */
/* Modal styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9999999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0,0,0,0.5); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: 5% auto; /* 5% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 90%; /* Could be more or less, depending on screen size */
  max-width: 600px;
  border-radius: 10px;
  position: relative;
}

/* Close Button */
.close {
  color: #aaa;
  position: absolute;
  right: 20px;
  top: 0px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Form Group */
.form-group {
  margin-bottom: 15px;
}

/* Labels */
.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

/* Input Fields */
.form-group input[type="number"],
.form-group select {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
}

/* Buttons */
/* button {
  background-color: var(--bottoni);
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  margin-right: 5px;
  border-radius: 5px;
}

button:hover {
  background-color: var(--yellow);
}

h2, h3 {
  margin-top: 0;
} */

/* Results Div */
#resultsDiv {
  margin-top: 20px;
}

.form-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  flex: 1;
}

/**
 * @class options-modal-content
 * A specialized class for the modal content wrapper to create spacing
 * and minimalistic layout for "Impostazioni Colori".
 */
 .options-modal-content {
  max-width: 400px;         /* Limits modal width for a cleaner look */
  /* margin: 0 auto; */
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
  padding: 1rem;
  box-sizing: border-box;
}

/**
 * @class color-picker-container
 * Vertically stacked color pickers, spaced nicely.
 */
.color-picker-container {
  display: flex;
  flex-direction: column;
  row-gap: 0.5rem;
}

/**
 * @class options-modal-buttons
 * Horizontal button group at the bottom. Stacks vertically on small screens.
 */
.options-modal-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
}

/* Ensures the labels and inputs don't overflow on mobile */
.color-picker-container label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

/* Panel buttons: subtle improvements for consistency */
.options-modal-buttons .panelButtons {
  padding: 0.5rem 1rem;
  min-width: 90px;
}

/* General button styles */
.exportProgetto, .importProgetto {
  background-color: var(--darkGrey);
  color: #fff;
  border: none;
  /* padding: 10px 15px; */
  margin: 5px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Hover effect */
.exportProgetto:hover, .importProgetto:hover {
  background-color: #555;
  transform: scale(1.05);
}

/* Focus effect */
.exportProgetto:focus, .importProgetto:focus {
  outline: none;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.7);
}

/* Icon alignment */
.exportProgetto i, .importProgetto i {
  margin-right: 5px;
}

/* Modal responsive */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: #fefefe;
  margin: 2% auto;
  padding: 25px;
  border: 1px solid #888;
  border-radius: 10px;
  width: 90%;
  max-width: 800px;
  position: relative;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

/* Tabella responsive */
#nodeTable {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  overflow-x: auto;
}

#nodeTable th, 
#nodeTable td {
  padding: 5px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

#nodeTable th {
  /* background-color: var(--colore-secondario); */
  /* color: white; */
  position: sticky;
  top: 0;
}

#nodeTable tr:hover {
  background-color: #f5f5f5;
}

/* Input styling */
.node-name {
  width: 100%;
  /* max-width: 150px; */
  padding: 6px;
  border: 1px solid #ddd;
  border-radius: 4px;
  /* font-size: 14px; */
}

.node-power,
.node-cosphi {
  width: 80px;
  padding: 6px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: right;
  /* font-size: 14px; */
}

/* Pulsante applica */
.modal-content button {
  background-color: var(--blu);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  /* font-size: 16px; */
  transition: background-color 0.3s;
  margin-top: 15px;
  width: 100%;
  max-width: 200px;
}

/* .modal-content button:hover {
  background-color: var(--colore-primario-scuro);
} */

/* Media query per mobile */
@media (max-width: 768px) {
  .modal-content {
      margin: 5% auto;
      width: 95%;
      padding: 15px;
  }
  
  #nodeTable {
      /* display: block; */
      overflow-x: auto;
      white-space: nowrap;
  }
  
  /* .node-name {
      max-width: 120px;
  } */
  
  .node-power,
  .node-cosphi {
      width: 70px;
  }
}

/* NUOVE CLASSI PER LA SEZIONE DATI CAVO */
.cable-data-section {
  border: 1px solid var(--azzurro);
  border-radius: 8px;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 5px;
  width: 100%;
  position: relative;
}

.cable-section-title {
  position: absolute;
  top: -0.7em;
  left: 10px;
  background-color: var(--white);
  /* padding: 0 5px;
  font-size: 0.9em; */
  font-weight: bold;
  color: var(--bottoni);
  margin-block-start: auto;
}

.cable-columns-container {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  /* gap: 15px;  */
}

.cable-column {
  display: flex;
  flex-direction: column;
  flex-basis: 48%; /* Ogni colonna occupa quasi metà dello spazio */
}

/* Assicura che le proprietà dentro le colonne si allineino correttamente */
.cable-column .node-property {
  justify-content: space-between;
}

.cable-column .node-property span {
  white-space: nowrap;
}

#busbarChecklistContainer {
  margin-top: 15px;
  border-top: 1px solid #eee;
  padding-top: 10px;
}

#busbarChecklist {
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 5px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.checkbox-item input[type="checkbox"] {
  margin-right: 10px;
  width: 18px;
  height: 18px;
}

.checkbox-item label {
  font-size: 1rem;
}

/* Stile per i controlli della checklist (Seleziona/Deseleziona tutto) */
.checklist-controls {
  display: flex;
  justify-content: flex-end; /* Allinea i link a destra */
  gap: 30px; /* Spazio tra i due link */
  margin-bottom: 10px; /* Spazio sotto i link */
  margin-top: 10px;
  font-size: 0.9em;
}

.checklist-controls a {
  color: #007bff; /* Un colore blu standard per i link */
  text-decoration: none;
  cursor: pointer;
}

.checklist-controls a:hover {
  text-decoration: underline;
}

/* auth */

.auth-modal-content {
    max-width: 400px;
    padding: 20px 30px;
}

/* Stili per i tab di login */

/* Stile per le viste */
.auth-view {
    display: none; /* Nascosto di default */
}

.auth-view.active {
    display: block; /* Mostra solo la vista attiva */
}

.auth-section {
    margin-bottom: 20px;
}

.auth-section h4, .auth-view h4 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 20px;
}

.auth-section h5 {
    margin-top: 0;
    margin-bottom: 5px;
}

.auth-description {
    font-size: 13px;
    color: #666;
    margin-top: 0;
    margin-bottom: 15px;
    text-align: center;
}

.auth-modal-content input[type="text"],
.auth-modal-content input[type="email"],
.auth-modal-content input[type="password"] {
    width: 100%;
    padding: 12px; /* Aumentato per un tocco migliore */
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 6px; /* Arrotondato un po' di più */
    box-sizing: border-box;
    background-color: #fafafa;
}

.auth-link {
    display: block;
    text-align: center; /* Centrato per coerenza */
    font-size: 13px;
    margin-top: 10px;
    color: var(--bottoni);
    text-decoration: none;
}

/* Nuovo stile per cambiare vista */
.auth-switch-view {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
}

.auth-switch-view a {
    color: var(--bottoni);
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

.auth-feedback {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
    display: none; /* Mostrato via JS */
}

.auth-feedback.success {
    background-color: #d4edda;
    color: #155724;
    display: block;
}

.auth-feedback.error {
    background-color: #f8d7da;
    color: #721c24;
    display: block;
}

/* NUOVI STILI PER I TAB DI LOGIN */
.auth-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.tab-link {
    flex: 1;
    padding: 12px 10px;
    text-align: center;
    text-decoration: none;
    color: #888;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.tab-link:hover {
    color: #333;
}

.tab-link.active {
    color: var(--bottoni, #007bff); /* Usa la tua variabile colore o un default */
    border-bottom-color: var(--bottoni, #007bff);
}

/* Stile per le sezioni di contenuto dei tab */
.auth-login-section {
    display: none; /* Nascosto di default */
}

.auth-login-section.active {
    display: block; /* Mostra solo la sezione attiva */
}

.password-wrapper {
    position: relative;
}

.password-wrapper i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-75%); /* Leggermente aggiustato */
    cursor: pointer;
    color: #aaa;
}

/* Nuova regola semplice per la password */
.password-hint {
    font-size: 12px;
    color: #777;
    margin-top: -5px;
    margin-bottom: 15px;
}

.visually-absolute {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap; 
}

.grecaptcha-badge { 
    visibility: hidden;
}

.recaptcha-notice {
    text-align: center;
    font-size: 11px;
    color: #888;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.recaptcha-notice a {
    color: #666; /* Un colore leggermente più scuro per i link */
    text-decoration: none;
}

.recaptcha-notice a:hover {
    text-decoration: underline;
}

/* project locked */
.read-only-banner {
  position: fixed;
  bottom: 0px; /* Come il footer undo/redo */
  left: 0;
  width: 100%;
  background-color: var(--yellow);
  /* color: white; */
  text-align: center;
  padding: 8px;
  font-size: 0.7em;
  font-weight: bold;
  z-index: 9999;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.offline-banner {
  position: fixed;
  bottom: 0px; /* Come il footer undo/redo */
  left: 0;
  /* width: 100%; */
  background-color: #ff6b6b;
  /* color: white; */
  text-align: center;
  padding: 8px;
  font-size: 0.7em;
  font-weight: bold;
  z-index: 9999;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.offline-banner.visible {
  opacity: 1;
}

/* Stile per il pulsante di conferma elimina */
.btn-destructive-confirm {
    background-color: #e76984; /* Rosso per azioni pericolose */
    color: white;
}

.btn-destructive-confirm:hover {
    background-color: #c45a70; /* Un rosso più scuro al passaggio del mouse */
}