/* Bottoni Floating Centrali */
.ai-v7-floating-nav {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999;
    display: flex;
    gap: 15px;
    justify-content: center;
    max-width: 90%;
}

.ai-v7-btn {
    background: #000000;
    color: #ffffff;
    border: 2px solid #000000;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-family: inherit;
    white-space: nowrap;
}

.ai-v7-btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-5px);
}

/* Sidebar Modale */
#ai-v7-sidebar {
    position: fixed;
    top: 0;
    right: -100%; /* Inizia fuori schermo */
    width: 480px;
    max-width: 95%;
    height: 100vh;
    background: #fff;
    z-index: 1000001;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 50px 40px;
    overflow-y: auto;
}

#ai-v7-sidebar.active {
    right: 0;
}

.ai-v7-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #000;
    padding-bottom: 15px;
}

.ai-v7-sidebar-header h3 {
    margin: 0;
    font-size: 20px;
    color: #000;
    text-transform: uppercase;
    font-weight: bold;
}

.ai-v7-close {
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
    color: #000;
}

/* Contenuto Sidebar entry-content style */
#v7-content h2, #v7-content h3 { color: #000; margin-top: 25px; }
#v7-content ul { list-style: disc; margin-left: 20px; margin-bottom: 20px; }

/* Overlay */
.ai-v7-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    z-index: 1000000;
    transition: all 0.3s ease;
}

.ai-v7-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Contenuto Integrato nell'Article (SEO Authority) */
.ai-v7-integrated-content {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}
