/* Vismatix Instant Spotlight Search */
.vismatix-spotlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10vh;
}

.vismatix-spotlight-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.vismatix-spotlight-container {
    position: relative;
    width: 100%;
    max-width: 640px;
    margin: 0 16px;
    z-index: 2;
    animation: vismatixFadeScale 0.15s ease-out;
}

@keyframes vismatixFadeScale {
    from { opacity: 0; transform: scale(0.96) translateY(-10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.vismatix-spotlight-box {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(6, 182, 212, 0.15);
    overflow: hidden;
    color: #f8fafc;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.vismatix-spotlight-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 12px;
}

.vismatix-spotlight-icon {
    font-size: 18px;
    opacity: 0.7;
}

#vismatix-spotlight-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
}

#vismatix-spotlight-input::placeholder {
    color: #64748b;
}

.vismatix-spotlight-esc {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 6px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.vismatix-spotlight-body {
    max-height: 400px;
    overflow-y: auto;
    padding: 8px;
}

.vismatix-spotlight-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: #cbd5e1;
    transition: background 0.1s ease;
    gap: 12px;
}

.vismatix-spotlight-item:hover,
.vismatix-spotlight-item.is-active {
    background: rgba(6, 182, 212, 0.12);
    color: #ffffff;
}

.vismatix-item-main {
    flex: 1;
    min-width: 0;
}

.vismatix-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vismatix-item-snippet {
    font-size: 12px;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vismatix-item-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.vismatix-spotlight-footer {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 11px;
    color: #64748b;
}

.vismatix-spotlight-footer kbd {
    background: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 10px;
}

.vismatix-spotlight-badge {
    margin-left: auto;
    color: #06b6d4;
    font-weight: 600;
}

/* Floating Trigger Button */
.vismatix-search-trigger {
    position: fixed;
    bottom: 24px;
    left: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #0f172a;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    z-index: 9999;
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.vismatix-search-trigger:hover {
    transform: translateY(-2px);
    border-color: #06b6d4;
}

.vismatix-trigger-kbd {
    font-size: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 5px;
    border-radius: 4px;
    color: #94a3b8;
}
