/* Add this to the <style> section */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 98%;
    background-color: white;
    z-index: 10;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.button-group {
    display: flex;
    gap: 10px;
}

body {
    padding-top: 70px;
    /* Adjust to ensure content isn't overlapped */
}

button {
    margin: 10px 0;
    padding: 10px 20px;
    background-color: #11a172;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #1bad7c;
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.editor {
    padding: 20px;
    /* All sides equal */
}

.divider {
    margin: 20px 0;
    border-bottom: 2px solid #ccc;
}

.dimension-group {
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.dimension-label {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
    cursor: text;
}

.is-multi-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 5px;
}

.item-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.color-entry {
    display: flex;
    border: 1px solid #ccc;
    padding: 5px;
    margin: 2px 0;
    cursor: move;
    background-color: #f9f9f9;
    transition: background-color 0.2s ease;
}

.color-entry.dragging {
    opacity: 0.5;
    background-color: #e0e0e0;
}

.changed {
    border: 2px solid #000;
}

.color-swatch {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    border: 1px solid #000;
    cursor: pointer;
}

.color-swatch-changed {
    border: 2px solid #000000;
}

.color-label {
    flex: 1;
    max-width: 90%;
    word-wrap: normal;
}

.nfac-label {
    flex: 1;
    max-width: 40px;
}

.label-edited {
    font-style: italic;
}

.color-item-container {
    position: absolute;
    display: flex;
    gap: 5px;
    align-items: center;
    z-index: 9999;
}

.color-edit-cancel {
    padding: 2px 6px;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: white;
}

.notification-row {
    width: 50%;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.notification-row input[type="text"] {
    flex: 2;
    padding: 5px;
}

.notification-row input[type="date"] {
    flex: 1;
    padding: 5px;
}

.notification-row button {
    flex: 0;
    padding: 5px 10px;
    background-color: #c68f8f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.notification-row button:hover {
    background-color: #bb9f9f;
}

.dropdown-container {
    position: relative;
    display: inline-block;
}

.dropdown-options {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    z-index: 1;
    max-height: 450px;
    overflow-y: auto;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-options button {
    width: 100%;
    padding: 8px;
    border: none;
    background: white;
    text-align: left;
    cursor: pointer;
    color: black;
    /* Ensure the font color is visible */
    font-size: 14px;
    /* Adjust font size as needed */
}

.dropdown-options button:hover {
    background-color: #f1f1f1;
}

.function-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.function-area {
    flex-grow: 1;
    height: 50px;
}

.value-label {
    font-weight: bold;
    margin: 10px 0 20px;
    display: block;
}