/* SQL Syntax Highlighting Styles */
.sql-editor-container {
    position: relative;
    width: 100%;
}

.sql-highlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0.375rem 0.75rem;
    margin: 0;
    border: 1px solid transparent;
    background: transparent;
    color: transparent;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
    line-height: 1.5;
    tab-size: 4;
}

.sql-editor-container textarea {
    position: relative;
    z-index: 2;
    background: transparent !important;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    tab-size: 4;
    color: #333;
}

/* SQL Keywords - Blue/Purple */
.sql-highlight .sql-keyword {
    color: #0078d4;
    font-weight: 600;
}

/* SQL Strings - Green */
.sql-highlight .sql-string {
    color: #16825d;
    font-weight: 500;
}

/* SQL Numbers - Orange */
.sql-highlight .sql-number {
    color: #d97706;
    font-weight: 500;
}

/* SQL Operators - Red */
.sql-highlight .sql-operator {
    color: #dc2626;
    font-weight: 500;
}

/* SQL Comments - Gray */
.sql-highlight .sql-comment {
    color: #6b7280;
    font-style: italic;
}

/* Focus state */
.sql-editor-container textarea:focus {
    color: #000;
}

.sql-editor-container textarea:focus + .sql-highlight {
    border-color: #57e0c4;
}

