* {
    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%;
    background-color: #1e1e1e;
}

.input-pane, .output-pane {
    border-right: 1px solid #333;
}

.right-pane {
    border-right: none;
}

.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);
}

.diff-output {
    flex: 1;
    width: 100%;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 20px;
    font-family: "Consolas", "Monaco", monospace;
    font-size: 14px;
    line-height: 1.6;
    background-color: #2d2d2d;
    color: #ccc;
    overflow-y: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

.added {
    background-color: #2ea04366;
    color: #fff;
    text-decoration: none;
}

.removed {
    background-color: #da363366;
    color: #fff;
    text-decoration: none;
}

