/* Text Diff Checker Specific Styles */
:root {
    --bg-color: #0d0d1a;
    --text-color: #e0e0e0;
    --text-color-light: #a0a0b0;
    --primary-gradient: linear-gradient(90deg, #ff4d8d, #d43f8d, #a23f8d);
    --primary-color: #ff4d8d;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --slider-track-color: #d3d3d3;
    --container-width: 1200px;
    --font-family: 'Poppins', sans-serif;
}

.text-diff-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.text-input-panel {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
}

.text-input-panel h3 {
    margin: 0 0 1rem 0;
    color: var(--text-color);
}

.text-input {
    width: 100%;
    flex-grow: 1;
    min-height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 1rem;
    color: var(--text-color);
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95rem;
    resize: vertical;
}

.text-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.diff-output-container {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--card-border);
}

.diff-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--card-border);
}

.diff-header h3 {
    margin: 0;
    color: var(--primary-color);
}

.diff-stats {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.diff-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.diff-output {
    min-height: 100px;
    max-height: 500px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: 'Courier New', Courier, monospace;
    line-height: 1.6;
    font-size: 0.95rem;
}

.diff-output .placeholder-text {
    color: var(--text-color-light);
    font-style: italic;
    font-family: var(--font-family);
}

/* Highlight styles */
.diff-output ins {
    background-color: #006128;
    color: #006128;
    text-decoration: none;
    border-radius: 3px;
    padding: 1px 2px;
}

.diff-output del {
    background-color: #af0202;
    color: #af0202;
    text-decoration: line-through;
    border-radius: 3px;
    padding: 1px 2px;
}