.algoritmo-pro-page main {
    overflow: visible;
}

.algoritmo-pro-page .alg-fixed {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 16px;
    z-index: 80;
    background: #fff;
}

.extra-toggle {
    border: 1px solid #D7DBD8;
    transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.extra-toggle.is-active {
    background-color: #DEF6E6;
    border-color: #00A538;
}

.extra-toggle.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.custom-select.has-value {
    border-color: #00A538;
    background-color: #DEF6E6;
}

#alg-table {
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
    overscroll-behavior-x: contain;
}

#alg-table .alg-table-desktop {
    width: max-content;
    min-width: 100%;
}

#alg-table .alg-table-desktop .flex > * {
    flex-shrink: 0;
}

.extra-toggle .fakebox-dot.hidden {
    display: none;
}

.label-algoritmo-pro {
    display: block;
    color: #333333; /* neutral_700 */
    font-weight: 500;
}

/* Scrollbar styling */
#alg-table::-webkit-scrollbar {
    height: 10px;
}

#alg-table::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 9999px;
}

#alg-table::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.08);
    border-radius: 9999px;
}

#alg-table {
    scrollbar-width: thin; /* Firefox */
}

#alg-table {
    cursor: auto;
}

#alg-table.is-dragging {
    user-select: none;
}

@media (min-width: 1024px) and (pointer: fine) {
    #alg-table {
        cursor: grab;
    }
    #alg-table.is-dragging {
        cursor: grabbing;
    }
}
