.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 320px;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.sidebar h2 {
    margin-top: 0;
}

.sidebar label {
    display: block;
}

.editor-container {
    flex: 1;
    padding: 20px;
    border: 1px solid #ccc;
    overflow-y: auto;
}

.fixed-text {
    display: inline;
    font-weight: 500;
}

.editable {
    display: inline;
    background-color: #f5f5f5;
    padding: 2px;
    border: 1px dashed #ccc;
    min-width: 100px;
    display: inline-block;
    white-space: nowrap;
    vertical-align: middle;
}

.section {
    margin-bottom: 20px;
}

.section.hidden {
    display: none;
}

.section-header {
    cursor: pointer;
    /*background-color: #e0e0e0;*/
    padding: 10px;
    /*border: 1px solid #ccc;*/
    /*border-radius: 4px;*/
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 24px;
    text-align: center;
}

.section-content {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

table span.editable {
    display: inline-block; /* Makes span behave like a block inside the line */
    word-wrap: break-word; /* Ensures text breaks into new lines when needed */
    white-space: normal; /* Allows normal line breaks */
    padding: 2px;
}

table td {
    padding: 2px;
}