* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #1e1e1e;
    color: #f0f0f0;
}

.container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

.pane {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 15px;
    height: 100%;
}

.input-pane {
    border-right: 1px solid #333;
    background-color: #1e1e1e;
}

.output-pane {
    background-color: #1e1e1e;
}

.pane-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    min-height: 40px;
}

.label {
    font-weight: 600;
    color: #66afe9;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

textarea {
    flex: 1;
    width: 100%;
    resize: none;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 15px;
    font-family: "Consolas", "Monaco", monospace;
    font-size: 14px;
    line-height: 1.5;
    outline: none;
    background-color: #2d2d2d;
    color: #f0f0f0;
}

textarea:focus {
    border-color: #66afe9;
}

.action-btn {
    padding: 8px 16px;
    background-color: #2d2d2d;
    color: #66afe9;
    border: 1px solid #66afe9;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.action-btn:hover {
    background-color: #66afe9;
    color: #1e1e1e;
}

.action-btn:active {
    transform: translateY(1px);
}

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

    .input-pane {
        border-right: none;
        border-bottom: 1px solid #333;
    }
}