/* Power BI Floating Button - Sessões */

.float-nav-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.3); z-index: 999; display: none; opacity: 0; transition: opacity 0.3s ease;
}
.float-nav-overlay.show { display: block; opacity: 1; }

.float-nav-button {
    position: fixed !important; bottom: 40px !important; right: 40px !important;
    width: 60px !important; height: 60px !important; background: var(--bg-color) !important;
    color: var(--hover-color) !important; border-radius: 5px !important; border: 1px solid var(--hover-color) !important;
    outline: 2px solid var(--bg-color) !important; box-shadow: var(--neon-box-shadow) !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    cursor: pointer !important; z-index: 1001 !important; font-size: 2rem !important; transition: all 0.3s ease !important;
}
.float-nav-button, .float-nav-button::before, .float-nav-button::after {
    border-radius: 5px !important; background: var(--bg-color) !important;
}
.float-nav-button::before, .float-nav-button::after { display: none !important; }
.float-nav-button:hover, .float-nav-button.active {
    transform: translateY(-3px); box-shadow: 0 0 20px var(--hover-color) !important; border-color: var(--hover-color) !important;
}
.float-nav-button i { font-size: 2rem; color: inherit !important; font-family: 'boxicons' !important; }

.float-nav-menu {
    position: fixed; bottom: 110px; right: 20px; background: var(--bg-color); border-radius: 8px;
    border: 1px solid var(--hover-color) !important; outline: 2px solid var(--bg-color) !important;
    box-shadow: var(--neon-box-shadow) !important; padding: 0; display: none; flex-direction: column;
    z-index: 1002; min-width: 280px; max-width: 320px; max-height: 70vh; overflow: hidden; transition: all 0.3s ease;
}
.float-nav-menu.show { display: flex; }
.float-nav-menu a {
    color: var(--text-color); text-decoration: none; font-size: 1.1rem; display: flex; align-items: center;
    gap: 10px; padding: 8px 12px; border-radius: 8px; transition: background 0.2s, color 0.2s;
}
.float-nav-menu a:hover, .float-nav-menu a.active { background: var(--hover-color); color: var(--bg-color); }
.float-nav-menu a i { font-size: 1.4rem; font-family: 'boxicons' !important; display: inline-block; width: 24px; text-align: center; }
.float-nav-menu a span { font-weight: 500; color: inherit; }

.float-sidebar-header {
    display: flex; align-items: center; justify-content: space-between; padding: 15px 20px;
    border-bottom: 1px solid var(--hover-color); background: rgba(18, 247, 255, 0.1);
}
.float-sidebar-header .book-header { flex: 1; cursor: pointer; transition: all 0.3s ease; }
.float-sidebar-header .book-header:hover { background: rgba(18, 247, 255, 0.1); }
.float-sidebar-header .menu-item-content {
    display: flex; align-items: center; color: var(--hover-color); text-decoration: none;
    font-size: 1rem; font-weight: 600; transition: all 0.3s ease; padding: 8px 12px; border-radius: 5px;
}
.float-sidebar-header .menu-item-content i { font-size: 1.2rem; margin-right: 10px; color: var(--hover-color); font-family: 'boxicons' !important; }
.float-sidebar-header .menu-item-content:hover { background: var(--hover-color); color: var(--bg-color); transform: translateX(5px); }

.float-sidebar-toggle {
    background: transparent; border: 1px solid var(--hover-color); color: var(--hover-color);
    border-radius: 4px; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.3s ease; font-size: 0.8rem;
}
.float-sidebar-toggle:hover { background: var(--hover-color); color: var(--bg-color); }
.float-sidebar-toggle i { font-family: 'boxicons' !important; font-size: 1rem; }

.float-sidebar-section { border-bottom: 1px solid rgba(18, 247, 255, 0.1); }
.float-sidebar-section:last-child { border-bottom: none; }
.float-sidebar-section-header {
    display: flex; align-items: center; justify-content: space-between; padding: 12px 20px;
    background: rgba(18, 247, 255, 0.05); cursor: pointer; transition: all 0.3s ease;
}
.float-sidebar-section-header:hover { background: rgba(18, 247, 255, 0.1); }
.float-sidebar-section-header span { font-weight: 600; color: var(--hover-color); font-size: 0.85rem; }

.float-sidebar-list {
    max-height: 200px; overflow-y: auto; padding: 0; margin: 0; list-style: none;
    display: block !important; visibility: visible !important; opacity: 1 !important;
}
.float-sidebar-list li { margin: 0; padding: 0; }
.float-sidebar-list .menu-item-content {
    display: flex; align-items: center; padding: 10px 20px; cursor: pointer; transition: all 0.3s ease;
    border-radius: 0; margin: 0; color: var(--text-color); text-decoration: none; font-size: 0.85rem;
}
.float-sidebar-list .menu-item-content:hover { background: var(--hover-color); color: var(--bg-color); transform: translateX(5px); }
.float-sidebar-list .menu-item-content i { font-size: 1rem; width: 18px; text-align: center; margin-right: 10px; }
.float-sidebar-list .menu-item-content span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.book-container { margin: 0; padding: 0; border-bottom: 1px solid rgba(18, 247, 255, 0.1); }
.book-container:last-child { border-bottom: none; }
.book-header { cursor: pointer; transition: all 0.3s ease; }
.book-header:hover { background: rgba(18, 247, 255, 0.05); }
.book-header .menu-item-content { display: flex; align-items: center; color: var(--text-color); text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.book-header .menu-item-content:hover { background: var(--hover-color); color: var(--bg-color); transform: translateX(5px); }
.book-header .menu-item-content i:first-child { font-size: 1.1rem; width: 20px; text-align: center; margin-right: 10px; }
.book-header .menu-item-content span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.bx-spin { animation: spin 1s linear infinite; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

@media (min-width: 992px) {
    .float-nav-button, .float-nav-menu, .float-nav-overlay { display: none !important; }
}
.float-nav-button { border-radius: 5px !important; background: var(--bg-color) !important; background-image: none !important; }
