
body {
    background-color: #f0f0f0;
    font-family: "Times New Roman", Times, serif;
    color: #000;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100vh;
    box-sizing: border-box;
}

header {
    background-color: #00247d; /* Union Jack Blue */
    color: white;
    padding: 10px 20px;
    border-bottom: 5px solid #cf142b; /* Union Jack Red */
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

h1 {
    margin: 0;
    font-size: 2em;
    font-weight: bold;
    letter-spacing: 1px;
}

.main-container {
    display: flex;
    flex: 1;
    gap: 20px;
    overflow: hidden;
}

.panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
    border: 2px solid #00247d;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.panel-header {
    background-color: #f0f0f0;
    padding: 10px;
    border-bottom: 1px solid #ccc;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-content {
    flex: 1;
    position: relative;
    overflow: hidden;
}

textarea {
    width: 100%;
    height: 100%;
    border: none;
    resize: none;
    padding: 10px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
}

#output {
    white-space: pre-wrap;
    background-color: #1a1a1a;
    color: #00ff00;
    font-family: 'Courier New', Courier, monospace;
}

button {
    background-color: #cf142b; /* Red */
    color: white;
    border: none;
    padding: 8px 16px;
    font-family: inherit;
    font-weight: bold;
    cursor: pointer;
    border-radius: 2px;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #a00f20;
}

footer {
    text-align: center;
    padding: 10px;
    font-size: 0.8em;
    color: #666;
}
