.generator-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.form-panel, .schema-panel {
    width: 49%;
}

#avro-schema-form label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

#avro-schema-form input, 
#avro-schema-form select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

#fields-container .field-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

#fields-container .field-row input,
#fields-container .field-row select {
    margin-right: 10px;
}

#add-field-btn, .remove-field-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

.remove-field-btn {
    background-color: #dc3545;
}

#add-field-btn:hover, .remove-field-btn:hover {
    opacity: 0.9;
}

.schema-output-container {
    position: relative;
    background-color: #2d2d2d;
    color: #f8f8f2;
    padding: 10px;
    border-radius: 5px;
    height: calc(100vh - 150px); 
    overflow: auto;
    box-sizing: border-box;
}

#schema-output {
    white-space: pre-wrap;
    word-wrap: break-word;
}

#copy-schema-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
}

#copy-schema-btn:hover {
    background-color: #0056b3;
}