.editor-layout {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

@media (min-width: 800px) {
    .editor-layout {
        flex-direction: row;
        align-items: stretch;
    }
}

.editor-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.col-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#html-input, #html-output {
    width: 100%;
    height: 400px;
    padding: var(--spacing-md);
    font-size: 1.05rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background-color: var(--color-white);
    color: var(--color-text);
    resize: vertical;
    font-family: "Courier New", Courier, monospace;
    white-space: pre;
    overflow-wrap: normal;
    overflow-x: auto;
}

#html-output {
    background-color: #282c34;
    color: #e06c75;
}

[data-theme="dark"] #html-input {
    background-color: var(--color-light-gray);
}

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

.action-buttons button {
    flex: 1;
}

.stats-box {
    display: flex;
    justify-content: space-between;
    background-color: #e8f5e9;
    border: 1px solid #c8e6c9;
    padding: 0.8rem;
    border-radius: var(--radius);
    margin-top: 5px;
    font-size: 0.95rem;
    color: #2e7d32;
}

[data-theme="dark"] .stats-box {
    background-color: rgba(46, 125, 50, 0.1);
    border-color: rgba(46, 125, 50, 0.3);
    color: #81c784;
}

.stats-box p {
    margin: 0;
}