/* Custom styles */

body {

    font-family: 'Inter', sans-serif;
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #1f2937;
    color: #f3f4f6;
    overflow: hidden;
}



#visualization-section {

    flex-grow: 1;
    flex-shrink: 0;
    background-color: #374151;
    padding: 1rem 1.5rem 0 1.5rem;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    z-index: 10;
}



#visualization-area {

    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    height: calc(100% - 3.5rem);
}

#console-section {

    flex-shrink: 0;
    background-color: #1f2937;
    border-top: none;
    padding: 1.25rem 1.5rem;
    box-shadow: none;
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
    z-index: 60;
    position: relative;
}

#console {

    width: 100%;
    margin: 0;
}

#right-toggle-bar,
#left-toggle-bar {

    z-index: 45;
}



#settings-panel {

    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    height: 100%;
    z-index: 50;
    background-color: #1f2937;
    padding: 1.5rem;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.4);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
}



#settings-panel.active {

    transform: translateX(0);
}



.tab-button {

    border-color: transparent;
    cursor: pointer;
    outline: none;
}

.tab-button.active-tab {

    color: #6366f1;
    border-color: #6366f1;
}

.tab-button:not(.active-tab) {

    color: #9ca3af;
    border-color: transparent;
}



/* NEW/FIXED CSS for Drop-up menu placement */



#dropup-output-area {

    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
    transform-origin: bottom;
    font-family: monospace;
    /* Ensure output looks like a console */

    white-space: pre-wrap;
    /* Preserve formatting and wrap text */

}