/* Reset and Base Styles */
* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%; /* 防止iOS Safari中文字自动调整大小 */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: #333;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #3d50fa;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #3d50fa;
}

nav ul li a.active {
    color: #3d50fa;
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #3d50fa;
}

/* Hero Section */
.hero {
    padding: 80px 0 40px;
    text-align: center;
    background: linear-gradient(to bottom, #fff, #f9f9fb);
}

.hero h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a2e;
    line-height: 1.2;
}

.hero p {
    font-size: 20px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Feature Showcase - Cursor.com style */
.feature-showcase {
    padding: 80px 0;
    background-color: #fff;
}

.feature-headline {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.feature-headline h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1a1a2e;
}

.feature-headline p {
    font-size: 18px;
    color: #666;
    margin-bottom: 24px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background-color: #3d50fa;
    color: #fff;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #2c3ccc;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(61, 80, 250, 0.2);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-item {
    display: block;
    text-decoration: none;
    color: var(--text-color);
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: #e6e9ff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
}

.feature-icon i {
    font-size: 24px;
    color: #3d50fa;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
    text-align: center;
}

.feature-item p {
    color: #666;
    line-height: 1.5;
    text-align: center;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #f9f9fb;
}

.features h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #1a1a2e;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #1a1a2e;
}

.card-content p {
    color: #666;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3d50fa;
    color: #fff;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn:hover {
    background-color: #2c3ccc;
    color: #fff;
}

.btn i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.btn:hover i {
    transform: translateX(4px);
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background-color: #fff;
}

.benefits h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #1a1a2e;
}

.benefit-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit {
    text-align: center;
    padding: 30px 20px;
    background-color: #f9f9fb;
    border-radius: 12px;
    transition: transform 0.3s;
}

.benefit:hover {
    transform: translateY(-5px);
}

.benefit i {
    font-size: 40px;
    color: #3d50fa;
    margin-bottom: 20px;
}

.benefit h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.benefit p {
    color: #666;
}

/* Footer */
footer {
    background-color: #1a1a2e;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
    }
    
    nav ul li {
        margin: 0 15px;
    }
    
    .hero h2 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
    }
    
    .benefit-items {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .hero h2 {
        font-size: 28px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
}

/* Dropdown styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.2s;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border-radius: 0.375rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    padding: 0.5rem 0;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    transition: background-color 0.2s;
}

.dropdown-menu a:hover {
    background-color: var(--background-color);
    color: var(--primary-color);
}

/* 工具部分通用样式 */
.tool-section {
    padding: 40px 0;
    background-color: #f9f9fb;
    min-height: calc(100vh - 180px); /* 适应页面高度 */
    display: flex;
    flex-direction: column;
    
    /* 浏览器兼容性支持 */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
}

.tool-section .container {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 1440px; /* 保持宽度一致 */
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    
    /* 浏览器兼容性支持 */
    -webkit-box-flex: 1;
    -ms-flex: 1;
    -webkit-flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
}

/* 媒体查询优化 - 确保一致性 */
@media screen and (min-width: 1441px) {
    .tool-section .container,
    .compare-container,
    .json-container {
        max-width: 80vw;
        max-width: -webkit-calc(80 * 1vw);
        max-width: -moz-calc(80 * 1vw);
        max-width: calc(80 * 1vw);
    }
}

@media screen and (max-width: 992px) {
    .text-panel, .text-input, .json-output-container {
        min-height: 400px;
    }
}

@media screen and (max-width: 768px) {
    .text-panel, .text-input, .json-output-container {
        min-height: 350px;
    }
}

/* Text column layout */
.text-column {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100%;
}

.text-controls {
    background-color: #f8f9fa;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-controls h3 {
    margin: 0;
    color: #1a1a2e;
    font-size: 16px;
}

.control-buttons {
    display: flex;
    gap: 10px;
}

.btn-action {
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-save {
    color: #3d50fa;
}

.btn-save:hover {
    background-color: rgba(61, 80, 250, 0.1);
}

.btn-clear {
    color: #dc3545;
}

.btn-clear:hover {
    background-color: rgba(220, 53, 69, 0.1);
}

/* Text panel styles - 确保在所有浏览器中一致 */
.text-panel {
    position: relative;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    background-color: #fff;
    flex: 1;
    height: 100%;
    min-height: 450px;
    display: flex;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.text-input {
    width: 100%;
    height: 100%;
    min-height: 450px;
    padding: 15px;
    border: none;
    resize: none;
    font-family: Consolas, Monaco, 'Andale Mono', monospace;
    font-size: 14px;
    line-height: 1.5;
    outline: none;
    background-color: #fafafa;
    z-index: 1;
    color: #333;
    border-radius: 0 0 8px 8px;
    tab-size: 4;
}

.text-input:focus {
    background-color: #fff;
    box-shadow: inset 0 0 0 2px #3d50fa;
}

.highlight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
    border-radius: 0 0 8px 8px;
}

.highlight-line {
    position: absolute;
    height: 1.5em;
    left: 0;
    right: 0;
    background-color: rgba(61, 80, 250, 0.05);
}

.column-highlights {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.column-highlight {
    position: absolute;
    height: 100%;
    background-color: rgba(61, 80, 250, 0.2);
    border-left: 1px solid #3d50fa;
    border-right: 1px solid #3d50fa;
    pointer-events: none;
}

/* Highlight styles */
.highlight-line {
    background-color: rgba(255, 0, 0, 0.15);
    border-left: 3px solid #dc3545;
}

.highlight-line-added {
    background-color: rgba(0, 255, 0, 0.15);
    border-left: 3px solid #28a745;
}

/* Tool stats */
.tool-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: auto;
    padding: 15px 0;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.stat-item i {
    color: #3d50fa;
}

/* Text Replace Tool Styles */
.replace-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
    
    /* 浏览器兼容性支持 */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
}

.find-replace-row {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    flex-wrap: nowrap;
}

.control-group {
    flex: 1;
    min-width: 0; /* 允许元素收缩 */
}

.control-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}

.pattern-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-family: Consolas, Monaco, 'Andale Mono', monospace;
    font-size: 14px;
}

.regex-options {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #666;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.checkbox-text {
    font-size: 13px;
    color: #555;
}

.replace-controls .btn-primary {
    height: 40px;
    margin-bottom: 8px;
    white-space: nowrap;
    align-self: flex-end;
    flex-shrink: 0;
}

#performReplace {
    padding: 8px 20px;
    background-color: #3d50fa;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

#performReplace:hover {
    background-color: #2c3ccc;
}

/* Responsive design for text replace tool */
@media screen and (max-width: 992px) {
    .find-replace-row {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 768px) {
    .find-replace-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .replace-controls .btn-primary {
        width: 100%;
        margin-top: 10px;
    }
}

/* Notification styles */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #3d50fa;
    color: white;
    padding: 12px 20px;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    -webkit-transform: translateY(100%);
    -ms-transform: translateY(100%);
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    z-index: 1000;
}

.notification.visible {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
}

/* Pattern section styling */
.pattern-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.regex-options-container {
    margin-top: -6px;
    padding-left: 10px;
}

/* JSON Parser Tool Styles */
.json-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    flex: 1;
    margin-bottom: 20px;
    min-height: 450px;
    width: 100%;
    max-width: 1440px; /* 相比原来1200px增加了20% */
    margin-left: auto;
    margin-right: auto;
    
    /* 浏览器兼容性支持 */
    display: -ms-grid;
    -ms-grid-columns: 1fr 30px 1fr;
}

/* Responsive design for JSON parser tool */
@media screen and (max-width: 768px) {
    .json-container {
        grid-template-columns: 1fr;
        -ms-grid-columns: 1fr;
    }
    
    @supports not (display: grid) {
        .json-container .text-column {
            -webkit-box-flex: 1;
            -ms-flex: 1 1 100%;
            flex: 1 1 100%;
        }
    }
}

/* JSON output container样式统一 */
.json-output-container {
    width: 100%;
    height: 100%;
    min-height: 450px; /* 与text-input保持一致 */
    padding: 15px;
    font-family: Consolas, Monaco, 'Andale Mono', monospace;
    font-size: 14px;
    line-height: 1.5;
    overflow: auto;
    white-space: pre-wrap;
    background-color: #fff;
    color: #333;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    
    /* 浏览器兼容性支持 */
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch; /* iOS滚动支持 */
}

.json-formatted {
    padding: 5px;
}

.json-key {
    color: #0b6fce;
    font-weight: bold;
}

.json-value {
    /* cursor property removed since it's not editable */
}

.json-string {
    color: #008000;
}

.json-number {
    color: #b035a9;
}

.json-boolean {
    color: #b22222;
    font-weight: bold;
}

.json-null {
    color: #808080;
    font-style: italic;
}

.json-bracket {
    color: #333;
}

.json-error {
    color: #dc3545;
    font-style: italic;
}

/* Double-click effect removed since the JSON is no longer editable */
.json-key:hover, .json-value:hover {
    text-decoration: none;
    background-color: transparent;
}

/* 媒体查询优化 */
@media screen and (min-width: 1441px) {
    .json-container, .tool-section .container {
        max-width: 80vw;
        max-width: -webkit-calc(80 * 1vw);
        max-width: -moz-calc(80 * 1vw);
        max-width: calc(80 * 1vw);
    }
}

/* 添加CSS transitions兼容性 */
.json-key:hover, .json-value:hover, .btn-action, .btn-primary {
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

/* 处理可能的Safari滚动条问题 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background-color: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #a8a8a8;
}

/* 适用于IE10-11的列位置定义 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .compare-container .text-column:nth-child(1),
    .json-container .text-column:nth-child(1) {
        -ms-grid-column: 1;
    }
    
    .compare-container .text-column:nth-child(2),
    .json-container .text-column:nth-child(2) {
        -ms-grid-column: 3;
    }
    
    @media screen and (max-width: 768px) {
        .compare-container .text-column:nth-child(2),
        .json-container .text-column:nth-child(2) {
            -ms-grid-column: 1;
            -ms-grid-row: 2;
        }
    }
}

/* 为不支持grid的浏览器提供后备方案 */
@supports not (display: grid) {
    .compare-container,
    .json-container {
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    
    .compare-container .text-column,
    .json-container .text-column {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 calc(50% - 15px);
        flex: 1 1 calc(50% - 15px);
        min-width: 300px;
    }
}

.tool-description {
    text-align: center;
    color: #666;
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 16px;
}

.compare-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    flex: 1;
    margin-bottom: 20px;
    min-height: 400px;
    
    /* 浏览器兼容性支持 */
    display: -ms-grid;
    -ms-grid-columns: 1fr 20px 1fr;
}

/* Tool section headers - centered */
.tool-section h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a2e;
}

/* Responsive design adjustments */
@media screen and (max-width: 992px) {
    .compare-container {
        min-height: 300px;
    }
}

@media screen and (max-width: 768px) {
    .compare-container {
        grid-template-columns: 1fr;
        -ms-grid-columns: 1fr;
    }
    
    .tool-stats {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

@media screen and (max-width: 480px) {
    .text-controls {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .control-buttons {
        width: 100%;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
}

.replace-controls {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 5px;
}

/* Multi-Column Text Editor Styles */
.editor-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.text-panel {
    position: relative;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
    min-height: 450px;
    overflow: hidden;
}

.text-input {
    width: 100%;
    height: 100%;
    min-height: 450px;
    padding: 15px;
    border: none;
    resize: none;
    font-family: Consolas, Monaco, 'Andale Mono', monospace;
    font-size: 14px;
    line-height: 1.5;
    outline: none;
    background-color: transparent;
    z-index: 1;
}

.highlight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
}

.highlight-line {
    background-color: rgba(61, 80, 250, 0.1);
    border-left: 2px solid #3d50fa;
    pointer-events: none;
}

/* 触摸设备优化 */
@media (hover: none) {
    .text-input {
        -webkit-tap-highlight-color: transparent;
    }
    
    .highlight-line {
        background-color: rgba(61, 80, 250, 0.15);
    }
}

/* 响应式设计优化 */
@media screen and (max-width: 768px) {
    .text-panel {
        min-height: 350px;
    }
    
    .text-input {
        min-height: 350px;
    }
}

/* Add these styles at the end of the file */
.current-diff {
    background-color: rgba(61, 80, 250, 0.2) !important;
    transition: background-color 0.3s ease;
}

.CodeMirror-merge-copy {
    display: none; /* Hide the copy buttons as we're maintaining our own navigation */
}

.CodeMirror-merge-r-chunk {
    background-color: rgba(255, 238, 240, 0.5);
}

.CodeMirror-merge-r-chunk-start {
    border-top: 1px solid #ffeef0;
}

.CodeMirror-merge-r-chunk-end {
    border-bottom: 1px solid #ffeef0;
}

.CodeMirror-merge-l-chunk {
    background-color: rgba(230, 255, 237, 0.5);
}

.CodeMirror-merge-l-chunk-start {
    border-top: 1px solid #e6ffed;
}

.CodeMirror-merge-l-chunk-end {
    border-bottom: 1px solid #e6ffed;
} 