body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

.container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-output {
    display: flex;
    gap: 20px;
    min-height: 550px;
    max-height: 550px;
}

@media (max-width: 768px) {
    .input-output {
        flex-direction: column;
    }
}

.panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 500px;
    max-height: 500px;
    overflow: hidden;
}

textarea {
    flex: 1;
    min-height: 500px;
    height: 500px;
    max-height: 500px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: monospace;
    resize: none;
    overflow-y: auto;
}

.output {
    flex: 1;
    min-height: 500px;
    height: 500px;
    max-height: 500px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f8f8f8;
    overflow-y: auto;
    white-space: pre-wrap;
    font-family: monospace;
}

.buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

button {
    padding: 8px 16px;
    background-color: #4285f4;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

button:hover {
    background-color: #3367d6;
}

.copy-button {
    background-color: #34a853;
}

.copy-button:hover {
    background-color: #2e8b57;
}

.clear-button {
    background-color: #ea4335;
}

.clear-button:hover {
    background-color: #d62516;
}

.info {
    background-color: #f8f9fa;
    border-left: 4px solid #4285f4;
    padding: 10px 15px;
    margin-top: 20px;
    font-size: 14px;
}