.converter-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 60vh; /* Set a height for the container */
}

.panel {
    width: 49%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.panel h2 {
    margin-top: 0;
    font-size: 1.2em;
    margin-bottom: 10px;
}

#json-input {
    width: 100%;
    height: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-family: monospace;
    font-size: 1em;
    resize: none; /* Disable manual resizing */
}

.schema-output-container {
    position: relative;
    background-color: #2d2d2d;
    color: #f8f8f2;
    padding: 10px;
    border-radius: 5px;
    height: 100%;
    overflow: auto; /* Add scrollbars if content overflows */
    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;
}