.metellio-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    display: none;
    /* Gestito da JS */
}

.metellio-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: default;
    text-align: left;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.metellio-modal-body h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    color: #0073aa;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.metellio-modal-body p {
    margin-bottom: 10px;
}

.metellio-modal-image {
    text-align: center;
    margin: 15px 0;
}

.metellio-modal-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.metellio-modal-footer {
    margin-top: 15px;
    border-top: 1px solid #eee;
    padding-top: 10px;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
}

.metellio-modal-footer p {
    margin: 0;
    font-size: 13px;
    color: #555;
}

.metellio-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    color: #333;
    border-radius: 0;
    width: auto;
    height: auto;
    text-align: center;
    line-height: 1;
    font-weight: bold;
    font-size: 28px;
    cursor: pointer;
    box-shadow: none;
    z-index: 10;
}

.metellio-info-icon {
    cursor: pointer;
    margin-left: 5px;
    color: #0073aa;
    font-size: 1.2em;
    vertical-align: middle;
    text-decoration: none;
    border: none;
    background: none;
    padding: 0;
}

.metellio-info-icon:hover {
    color: #005177;
}