body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    display: flex;
    width: 90%;
    max-width: 1400px;
    height: 85vh;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.code-editor {
    display: flex;
    flex-direction: column;
    width: 50%;
    border-right: 1px solid #ddd;
}

.editor-panel {
    display: flex;
    flex-direction: column;
    padding: 15px;
    height: 33.33%;
    border-bottom: 1px solid #eee;
}

.editor-panel:last-child {
    border-bottom: none;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.editor-panel label {
    font-weight: bold;
    color: #555;
}

textarea {
    flex-grow: 1;
    resize: none;
    border: 1px solid #ccc;
    padding: 10px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    background-color: #f9f9f9;
    color: #333;
    border-radius: 4px;
    outline: none;
}

textarea:focus {
    border-color: #007bff;
}

.reset-button {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.reset-button:hover {
    background-color: #c0392b;
}

.output-panel {
    width: 50%;
    display: flex;
    flex-direction: column;
    padding: 15px;
}

.output-panel label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #555;
}

iframe {
    width: 100%;
    flex-grow: 1;
    border: 1px solid #ccc;
    border-radius: 4px;
}