/* Sfondo oscurato (Overlay) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
/* Contenitore principale del Box */
.custom-modal {
    background-color: #EDA;
    border-radius: 8px;
    box-shadow: 0 0 7px 4px rgb(15 255 23 / 20%);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: Arial, sans-serif;
    text-align: center;
    border: 1px solid green;
}
.custom-nomodal {
    background-color: #fff;
    /*border-radius: 8px;
    box-shadow: 0 0 7px 7px rgba(0, 0, 0, 0.2);
	*/
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

/* Barra del Titolo */
.modal-header {
    background-color: #024b47;
    padding: 4px 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    background: #024b47 linear-gradient(180deg, #000000c7, #ffffff0f);
}
.modal-icona {
    font-family: fontawesome,arial;
    font-size: 1.5rem;
    color: goldenrod;
}
.modal-title {
    margin: 0;
    font-size: 1.0rem;
    color: gold;
    text-shadow: 0px 1px 3px #020301;
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    color: #4ca172;
    line-height: 1;
}

.modal-close-btn:hover {
	color: red;
}

/* Area Centrale Dinamica */
.modal-body {
    /* padding: 20px; */
    flex-grow: 1;
    overflow-y: auto;
    color: #444;
    font-size: 1rem;
    background: #03696d;
}

/* Barra Inferiore dei Pulsanti */
.modal-footer {
    background: #024b47 linear-gradient(180deg, #000000c7, #ffffff0f);
    padding: 4px 6px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid #ddd;
}

/* Stile base per i pulsanti */
.modal-footer button {
    padding: 6px 8px;
    border: 1px solid #0f3d00;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    color: gold;
    box-shadow: 0px 1px 3px inset #099949;
    text-shadow: 0px 1px 2px #020103;
    min-width: 75px;
}

.btn-primary { background-color: #007bff; color: white; }
.btn-secondary { background-color: #6c757d; color: white; }
.btn-success { background-color: #28a745; color: white; }
/* 
	BOTTONE TIPO 1 
	class button1
*/
.button1 {
    display: inline-flex;
    align-items: center;
    padding: 2px 3px 2px 3px;
    border: 1px solid #40cd0645;
    border-radius: 7px;
    background: #00000042;
    cursor: pointer;
}
.button1:hover {
    border: 1px solid #40cd0695;
    background: #00000092;
}
.button1Icon {
    font-family: fontawesome,arial;
    font-size: 26px;
    height: 26px;
    width: 26px;
    /* text-align: center; */
    border-radius: 50%;
    border: 1px solid #005b3bb8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1px;
}
.button1Text {
    font-family: bahn, verdana, arial;
    font-size: 1rem;
    font-weight: bold;
    padding-left: 4px;
    display: flex;
    justify-content: center;
}
/* 
	BOTTONE TIPO 2
	class button2
*/
.button2 {
    display: inline-flex;
    align-items: center;
    padding: 2px 3px 2px 3px;
    border: 1px solid #42975563;
    border-radius: 7px;
    background: #00000042;
    cursor: pointer;
    box-shadow: -2px -2px 5px 0px inset #0080009e;
    flex-direction: column;
}
.button2:hover {
    border: 1px solid #40cd0695;
    background: #00000092;
}
.button2Icon {
    font-family: fontawesome,arial;
    font-size: 26px;
    height: 26px;
    width: 26px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0px 0px 5px 1px aliceblue;
    text-shadow: 0px 0px 4px black;
}
.button2Text {
    font-family: fontawesome,bahn,verdana,arial;
    font-size: 0.8rem;
    font-weight: bold;
    padding-left: 4px;
    /* text-emphasis: ""; */
    /* text-emphasis-position: under; */
    /* text-emphasis-color: white; */
}
