body {
    font-family: sans-serif;
    margin: 20px;
    background-color: #f4f4f4;
}

h1 {
    text-align: center;
    color: #333;
}

.container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.panel {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.left-panel {
    width: 45%;
}

.right-panel {
    width: 50%;
}

.left-panel div,
.right-panel div {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
select,
textarea {
    width: calc(100% - 22px); /* Account for padding and border */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
}

.description-box,
.output-box {
    border: 1px solid #ddd;
    padding: 10px;
    min-height: 60px;
    background-color: #e9ecef;
    border-radius: 4px;
    overflow-y: auto;
}

button {
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 5px;
}

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

button:hover:not(:disabled) {
    background-color: #0056b3;
}

.plot-area {
    width: 100%;
    height: 300px; /* Adjust as needed */
    border: 1px solid #ccc;
    background-color: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 4px;
    margin-bottom: 15px;
}

.right-panel h2 {
    text-align: center;
    margin-top: 0;
}

/* Style for vertex coordinate inputs to be inline */
.right-panel div input[type="text"] {
    width: calc(50% - 27px); /* Adjust for label, margin, padding, border */
    display: inline-block;
    margin-right: 5px;
}

/* Clearfix for float if any, or use flex for better control if needed */
.right-panel div::after {
    content: "";
    clear: both;
    display: table;
}

