/* Stili messaggi popup */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Sfondo scuro semi-trasparente */
  z-index: 999; /* Assicurati che sia sopra altri elementi */
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
}
.modal-overlay.active {
	display: block;
}
.popup {
    display: none;
    top: 50%;
  	left: 50%;
    width: 500px;
    height: 450px;
    position: fixed;
    transform: translate(-50%, -50%);
    /*background: #454545;
    opacity: 0.9;*/
    color: #000;
    background-color: white;
  	border-radius: 8px;
  	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 2rem;
}
.popup.active {
    display: block;
}
.popup .popup-content {
    /*padding: 10px 30px 30px 10px;*/
    padding: 0.5rem;
    padding-top: 0;
}
.popup .popup-content .popup-titolo {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 0.9rem;
}
.popup .popup-content .msg div {
    padding: 10px 5px;
    /*border-bottom: 1px solid #f4f4f4;*/
    list-style: none;
}
.popup .popup-content .msg div.msg-success {
    font-size: 14px;
    color: #000;
}
.popup .popup-content .msg div.msg-warning {
    font-size: 14px;
    color: #000;
}
.popup .popup-content .msg div.msg-error {
    font-size: 20px;
    color: #000;
}
.msg {
    text-align: center;
}
.popup .popup-chiudi {
    position: absolute;
    right: 10px;
    top: 0;
    font-size: 2em;
    cursor: pointer;
    color: black;
    background: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    border: 0;
}
.popup .popup-body {
	font-size: 0.8rem;
}