/* Base Styles & Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent; 
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.3); 
    border-radius: 4px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.5); 
}

/* Glassmorphism Panels */
.glass-panel {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
}

.dark .glass-panel {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Modal Animations */
.modal-show {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.modal-show > div {
    transform: scale(1) !important;
}

/* Table Card Styles */
.schema-table {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.schema-table:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.15);
}

.column-row {
    transition: background-color 0.15s ease;
}

.column-row:hover {
    background-color: rgba(255,255,255,0.03);
}

/* Syntax Highlighting for SQL output */
.sql-kw { color: #C678DD; font-weight: bold; } /* Purple keyword */
.dark .sql-kw { color: #cba6f7; }

.sql-type { color: #E5C07B; } /* Yellow type */
.dark .sql-type { color: #f9e2af; }

.sql-str { color: #98C379; } /* Green string */
.dark .sql-str { color: #a6e3a1; }

.sql-ident { color: #61AFEF; } /* Blue identifier */
.dark .sql-ident { color: #89b4fa; }

/* Custom Checkbox styles */
input[type="checkbox"] {
    accent-color: #6366F1;
}
