tbody td {
    cursor:pointer;
    background:transparent !important;
}

tbody th {
    cursor:pointer;
    background:#3F4246 !important;
    color:#fff !important;
}

tbody tr.active, tbody tr.active th, tbody tr.active td {
    background:#595B5F  !important;
    color:#fff !important;
}


.nav-link {
    color:#ccc;
}

.nav-link:hover {
    color:#fff;
}

.nav-link.active {
    border-color:#333 !important;
}

#wySuggestions .wy-suggestion {
    opacity:.7;
    transition:.25s;
}

#wySuggestions .wy-suggestion:hover {
    opacity:1;
}


    .tabs-container {
        position: relative;
        height: 100%; 
        display: flex;
        flex-direction: column;
    }
    
    .tab-content-wrapper {
        flex-grow: 1;
        overflow: hidden;
        position: relative;
        margin-top: 41px;
    }
    
    .tab-content {
        position: absolute;
        top: 0px;
        left: 0;
        right: 0;
        bottom: 0;
        overflow-y: auto;
    }
    
    .tab-pane {
        height: 100%;
    }

.table-responsive {
    max-height: 70vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #666 #212225;
}

.table-responsive::-webkit-scrollbar {
    width: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #212225;
}

.table-responsive::-webkit-scrollbar-thumb {
    background-color: #666;
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background-color: #888;
}

.tabs {
    width:450px;
}

/* Floating Panel styles */
.floating-panel {
    position: fixed;
    width: 350px;
    height: 700px;
    border-radius: 8px;
    background-color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease-out;
}

[data-bs-theme="dark"] .floating-panel {
    background-color: var(--bs-dark);
}

.floating-panel.minimized {
    height: auto;
}

.floating-panel.minimized .floating-panel-body {
    display: none;
}

.floating-panel-header {
    cursor: move;
    user-select: none;
}

#minimizeCopilot:hover, #closeCopilot:hover {
    opacity: 0.7;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.floating-panel {
    animation: fadeIn 0.2s ease-out;
}

/* Popover styles */
#copilotPopover {
    width: 400px;
    border-left: 1px solid rgba(255,255,255,0.1);
}

#copilotPopover .offcanvas-header {
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

#copilotPopover .btn-close {
    filter: invert(1);
}

#copilotPopover .header {
    width: auto;
    padding: 1rem;
}

#copilotPopover wy-copilot {
    --wy-chat-bg: transparent;
}

/* AI Icon styles */
.ai-icon {
    width: 38px;
    height: 38px;
    background-color: var(--bs-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.ai-icon:hover {
    opacity: 0.8;
}

#aiCopilot .suggestion {
    cursor: pointer;
    opacity: 0.7;
    transition: 0.25s;
    background: rgba(255, 255, 255, 0.05);
}

#aiCopilot .suggestion:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}
