
body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}
header {
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 1em;
}
header .version-number {
    font-size: 0.9em;
    margin-top: 0.5em;
    color: #e0e0e0;
}
main {
    display: flex;
    height: 100vh;
}
.left-panel, .right-panel {
    flex: 1;
    padding: 1em;
    overflow-y: auto;
}
.left-panel {
    background-color: #f9f9f9;
}
.right-panel {
    background-color: #e9ecef;
}
.toolbar {
    margin-bottom: 1em;
}
button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 0.5em 1em;
    cursor: pointer;
}
button:hover {
    background-color: #45a049;
}
button.delete-section {
    background-color: red;
}
button.delete-section:hover {
    background-color: darkred;
}
.section {
    border: 1px solid #ccc;
    padding: 1em;
    margin-bottom: 1em;
    background-color: white;
    position: relative;
}
label {
    display: block;
    margin: 0.5em 0 0.2em;
}
select, textarea, input[type="range"] {
    width: 100%;
    padding: 0.5em;
    margin-bottom: 0.5em;
}
textarea {
    resize: vertical;
}
.tempo-container, .duration-container {
    display: flex;
    align-items: center;
    gap: 0.5em;
}
.instruments-container {
    display: flex;
    flex-direction: column;
}
.instrument-group {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-top: 0.5em;
}
.tickbox {
    position: absolute;
    top: 5px;
    right: 5px;
}
.minimized .section-content {
    display: none;
}
.minimized .section-name-label {
    display: inline-block;
}
.section-name-label {
    font-weight: bold;
    display: none;
}
.tabs {
    margin-bottom: 1em;
}
.tabs button {
    margin-right: 0.5em;
}
#jss-output, #json-output {
    white-space: pre-wrap;  /* Ensure wrapping */
    word-wrap: break-word;
}
