.lab-flex-layout {
    display: flex;
    gap: 24px;
    padding: 24px;
    box-sizing: border-box;
}

.lab-section {
    background: #fff;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    flex-grow: 1;
    min-width: 0;
    color: #1F2C3C;
}

.lab-section.info {
    flex: 1;
}

.lab-section.ingredients {
    flex: 2;
}

.lab-section.versions {
    flex: 1;
    max-width: 300px;
    overflow-y: auto;
    position: sticky;
    top: 70px;
}

.lab-section h2 {
    margin-top: 0;
    font-size: 1.2rem;
}

.lab-field {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
}

.lab-field input,
.lab-field textarea {
    padding: 6px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.ingredient-row {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}

.ingredient-row input {
    flex: 1;
}

.add-version-form {
    margin-top: 24px;
}

.lab-version {
    border-top: 1px solid #ddd;
    padding-top: 12px;
    margin-top: 12px;
}

.version-notes {
    font-style: italic;
    margin-bottom: 4px;
}

.version-result {
    margin-bottom: 6px;
}
input[type="text"],
input[type="number"],
textarea {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    margin-bottom: 12px;
    background: #f9f9f9;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #6a0dad;
    background-color: #fff;
}

button {
    background-color: #6a0dad;
    color: #fff;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    margin-top: 12px;
    transition: background 0.2s ease;
}

button:hover {
    background-color: #5a0ca0;
}
