/* Custom Scrollbar for editor matching dark theme */
.custom-scrollbar::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #0A120A;
    border-radius: 8px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #1E2D1E;
    border-radius: 8px;
    border: 2px solid #0A120A;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #2b402b;
}

/* Conflict Block Animations */
.conflict-block {
    transition: all 0.3s ease;
}

/* Code layout utilities */
.code-line {
    display: flex;
    min-height: 1.5rem;
}

.code-line-num {
    width: 3rem;
    flex-shrink: 0;
    text-align: right;
    padding-right: 0.75rem;
    color: #4b5563;
    /* gray-600 */
    user-select: none;
    border-right: 1px solid #1E2D1E;
    margin-right: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.code-line-content {
    flex-1;
    white-space: pre-wrap;
    word-break: break-all;
    display: flex;
    align-items: center;
}

/* Specific styling for conflict sections */
.conflict-ours {
    background-color: rgba(34, 197, 94, 0.05);
}

.conflict-theirs {
    background-color: rgba(59, 130, 246, 0.05);
    /* Blueish for theirs */
}

/* Simple syntax highlight classes */
.token.keyword {
    color: #c678dd;
}

/* Purple */
.token.string {
    color: #98c379;
}

/* Green */
.token.function {
    color: #61afef;
}

/* Blue */
.token.comment {
    color: #5c6370;
    font-style: italic;
}

/* Gray */
.token.number {
    color: #d19a66;
}

/* Orange */

/* Editable Textarea matching the font/size */
.merge-editor textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    background: rgba(15, 23, 15, 0.5);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #e5e7eb;
}

.merge-editor textarea:focus {
    outline: none;
    border-color: #22C55E;
}