.text-compare-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    padding: 20px;
}

.input-area {
    display: flex;
    gap: 20px;
    height: 60%;
}

.text-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.text-section h3 {
    margin: 0;
    color: #333;
}

textarea {
    flex: 1;
    padding: 15px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    resize: none;
    font-family: monospace;
    font-size: 14px;
    line-height: 1.5;
}

.compare-button {
    padding: 12px 24px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s;
}

.compare-button:hover {
    background-color: #0056b3;
}

.result-area {
    flex: 1;
    overflow-y: auto;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: white;
}

.diff-line {
    display: flex;
    padding: 5px 10px;
    font-family: monospace;
    font-size: 14px;
    line-height: 1.5;
}

.diff-line:nth-child(even) {
    background: #f8f9fa;
}

.line-number {
    color: #6c757d;
    margin-right: 15px;
    user-select: none;
    min-width: 40px;
}

.diff-content {
    flex: 1;
    white-space: pre;
}

.diff {
    background-color: #ffd7d7;
}

.same {
    background-color: transparent;
}

.options {
    display: flex;
    gap: 20px;
    align-items: center;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

input[type="checkbox"] {
    width: 16px;
    height: 16px;
}
