body {
    font-family: 'Inter', sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f4f4f4;
    color: #333;
}

h1, h2 {
    color: #2c3e50;
}

.input-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.input-section {
    width: 48%;
}

.editor {
    position: relative;
    height: 300px;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden;
}

.editor textarea {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    resize: none;
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    padding: 10px;
    border: none;
    background: transparent;
    color: transparent;
    caret-color: #fff;
    z-index: 2;
}

.editor pre {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 10px;
    background: #272822;
    z-index: 1;
    overflow: auto;
}

#diff-view-container, #result-container {
    margin-top: 20px;
}

.hidden {
    display: none;
}

#diff-view {
    display: flex;
    background-color: #272822;
    padding: 10px;
    border-radius: 4px;
    overflow: auto;
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    line-height: 1.5;
    color: #f8f8f2;
}

.diff-column {
    width: 50%;
    padding: 0 10px;
}

.diff-line {
    white-space: pre-wrap;
    word-break: break-all;
}

.diff-added {
    background-color: rgba(0, 255, 0, 0.2);
}

.diff-removed {
    background-color: rgba(255, 0, 0, 0.2);
}

.diff-unchanged {
    opacity: 0.7;
}

#result {
    background-color: #272822;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
    overflow: auto;
    max-height: 500px;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 16px;
    transition: background-color 0.3s;
    font-family: 'Inter', sans-serif;
}

#compare-btn {
    background-color: #3498db;
}

#compare-btn:hover {
    background-color: #2980b9;
}

#run-diff-btn {
    background-color: #e67e22;
}

#run-diff-btn:hover {
    background-color: #d35400;
}

#copy-btn {
    background-color: #2ecc71;
}

#copy-btn:hover {
    background-color: #27ae60;
}

.file-input {
    margin-top: 10px;
}