/* OmniSearch Styles */
:root {
    --search-bg: rgba(10, 10, 12, 0.95);
    --search-border: rgba(255, 255, 255, 0.1);
    --search-accent: #00A3E0;
    /* Databricks Blue */
}

.omni-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: flex-start;
    padding-top: 10vh;
}

.omni-modal {
    width: 90%;
    max-width: 650px;
    background: var(--search-bg);
    border: 1px solid var(--search-border);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.omni-search-box {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--search-border);
}

.omni-search-box i {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-right: 1rem;
}

.omni-input {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.25rem;
    width: 100%;
    outline: none;
}

.omni-results {
    max-height: 450px;
    overflow-y: auto;
    padding: 0.5rem;
}

.omni-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
    text-decoration: none;
}

.omni-item:hover,
.omni-item.selected {
    background: rgba(255, 255, 255, 0.05);
}

.omni-item i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--search-accent);
}

.omni-item-info {
    flex: 1;
}

.omni-item-title {
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.2rem;
}

.omni-item-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.omni-footer {
    padding: 0.75rem 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--search-border);
    display: flex;
    gap: 1rem;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.omni-key {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    color: #ccc;
    margin-right: 4px;
}

/* Scrollbar */
.omni-results::-webkit-scrollbar {
    width: 6px;
}

.omni-results::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}