.toolMain {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2%;
}

.firstSource,
.secondSource {
    /* width: 48%; */
    flex: 1 0 auto;
}

.secondSource {
    /* margin-left: 2%; */
}

.checkbox {
    margin: 15px 0px;
}

.checkbox,
.checkbox label,
.checkbox input {
    cursor: pointer;
}

.diffinfo {
    margin: 20px 0;

}

.hide_this {
    display: none !important;
}

.successmessage {
    display: none;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    padding: 10px 20px;
    box-shadow: 9px -5px 23px -6px rgba(113, 111, 111, 0.427);
}

.otherOption {
    list-style: none;
    display: none;
    flex-direction: column;
    gap: 8px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 9px -5px 23px -6px rgba(113, 111, 111, 0.427);
}

/* Upload Paste and Drag and Drop */
.upload-paste-btns {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.url-input-span-1,
.url-input-span-2 {
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 5px;
    background: #fff;
    width: 100%;
    width: 248px;
}

.url-input-1,
.url-input-2 {
    flex: 1;
    border: none;
    outline: none;
    padding: 5px;
}

.right-icon-1,
.right-icon-2 {
    cursor: pointer;
}

.upload-file,
.sample-file,
.paste-url-1,
.paste-url-2,
.qr-camera {
    border: 1px solid #D3D3D3;
    background: #fff;
    border-radius: 6px;
    padding: 6px 12px;
    color: #24292E;
    line-height: 20px;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    gap: 0.3rem;
}

.drag-drop-area {
    font-size: 14px;
    color: #555;
    text-align: center;
    margin-top: 6px;
    padding: 12px;

    width: 100%;
    max-width: 300px;
}

.drag-drop-area .drag-over {
    background-color: rgba(52, 152, 219, 0.1);
    border-color: #2980b9;
}

.drop-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #555;
    font-size: 18px;
    font-weight: bold;
    pointer-events: none;
    z-index: 10;
}

.drag-over {
    position: relative !important;
}

@media (max-width: 430px) {
    .drag-drop-area {
        margin-top: 3px !important;
        padding: 0px !important;
    }

    .upload-paste-btns {
        top: 60% !important;
    }
}

@media (max-width: 580px) {
    .drag-drop-area {
        margin-top: 3px !important;
        padding: 0px !important;
    }

    .upload-paste-btns {
        top: 60% !important;
    }
}

/* Upload Paste and Drag and Drop  end*/



.otherOption li {
    width: 100%;
    padding: 10px 20px;
}

.span12 {
    width: 100%;
}

.difftable {
    max-height: 500px !important;
    overflow-y: scroll !important;
    margin: 0 !important;
}

table.diff {
    border-collapse: collapse;
    border: 1px solid #a9a9a9;
    white-space: pre-wrap;
    min-width: 100%;
    table-layout: fixed
}

table.diff tbody {
    font-family: Courier, monospace
}

table.diff tbody th {
    font-family: verdana, arial, bitstream vera sans, helvetica, sans-serif;
    background: #eed;
    font-size: 11px;
    font-weight: 400;
    color: #886;
    padding: .3em .5em .1em 2em;
    text-align: right;
    vertical-align: top;
    display: block
}

table.diff thead {
    border-bottom: 1px solid #bbc;
    background: #efefef;
    font-family: Verdana
}

table.diff thead th.texttitle {
    text-align: center;
    color: #fff;
    background-color: gray;
    padding: 10px;
    font-weight: lighter;
    font-size: 23px;
    letter-spacing: 1px
}

table.diff tbody td {
    padding: 0 .4em;
    padding-top: .4em;
    vertical-align: top;
    word-break: break-all
}

table.diff .empty {
    background-color: #ddd;
    width: 50%
}

table.diff .replace {
    background-color: #FFEDC0;
    width: 50%
}

table.diff .delete {
    background-color: #EE9999;
    width: 50%
}

table.diff .skip {
    background-color: #efefef;
    border: 1px solid #aaa;
    border-right: 1px solid #bbc;
    width: 50%
}

table.diff .insert {
    background-color: #9e9;
    width: 50%
}

table.diff .equal {
    width: 50%
}

table.diff th.author {
    text-align: right;
    border-top: 1px solid #bbc;
    background: #efefef
}

.diffinfo .delete {
    border: 1px solid #EE9999;
    padding: 8px 12px;
}

.diffinfo .replace {
    border: 1px solid #FFD670;
    padding: 8px 12px;
}

.diffinfo .empty {

    border: 1px solid #BABABA;
    padding: 8px 12px;
}

.diffinfo .insert {
    border: 1px solid #99EE99;
    padding: 8px 12px;
}





@media screen and (max-width: 768px) {
    .toolMain {
        flex-direction: column;
        gap: 20px;
    }

    .secondSource,
    .firstSource {
        width: 100%;
        margin: 0px;
    }

    table.diff {
        min-width: 500px;
    }
}



/* codeMirror styling  starts*/
.CodeMirror-merge {
    border: unset !important;
}

.CodeMirror-merge,
.CodeMirror-merge .CodeMirror {
    height: 300px !important;
}

.CodeMirror-merge-2pane .CodeMirror-merge-pane {
    width: 49% !important;
}

.CodeMirror-merge-2pane .CodeMirror-merge-gap {
    width: 2% !important;
}

.CodeMirror-merge-scrolllock-wrap {
    display: none !important;
}

.cm-tag {
    color: #800000 !important;
}

.CodeMirror-merge-l-inserted .cm-tag,
.CodeMirror-merge-l-deleted .cm-tag {
    color: #800000 !important;
}

.CodeMirror-merge-copy {
    font-size: 0px;
    border-radius: 4px;
    /* padding: 2px 6px; */
    cursor: pointer;
    left: 3.5px !important;
}

.CodeMirror-merge-copy:before {
    content: "\1F862";
    font-size: 14px;
    color: gray;
}

.CodeMirror-merge-copy:hover {
    background-color: rgb(201, 201, 201);
}


/* left chunks */
.CodeMirror-merge-pane:nth-child(1) .CodeMirror-merge-l-chunk {
    background-color: #ffe6e6 !important;
}

.CodeMirror-merge-pane:nth-child(1) .CodeMirror-merge-l-deleted {
    background-color: #ffc3c3 !important;
}

/* right chunks */
.CodeMirror-merge-pane:nth-child(3) .CodeMirror-merge-l-chunk {
    background-color: #e6ffe6 !important;
}

.CodeMirror-merge-pane:nth-child(3) .CodeMirror-merge-l-inserted {
    background-color: #b2f4c0 !important;
}
.CodeMirror-merge-pane-rightmost{
    right: unset !important;
}

/* codeMirror styling ends */