@import url('https://fonts.googleapis.com/css2?family=inter:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Single+Day&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Pixelify+Sans:wght@400..700&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

* {
    font-family: "inter";
}


/* ==================== CIRCLE IA EN CHAT ==================== */
.chat-container .circleIA {
    margin: 10px auto;
}

/* ==================== ANIMACION DE MENSAJES ==================== */
.message {
    animation: messageFadeIn 0.5s ease-out forwards;
    opacity: 0;
}

@keyframes messageFadeIn {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== SCROLLBAR DEL CHAT ==================== */
.chat {
    scrollbar-width: thin;
    scrollbar-color: var(--color-scrollbar) transparent;
}

.chat::-webkit-scrollbar {
    width: 4px;
}

.chat::-webkit-scrollbar-track {
    background: transparent;
}

.chat::-webkit-scrollbar-thumb {
    background: var(--color-scrollbar);
    border-radius: 4px;
}

.chat::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

.chat::-webkit-scrollbar-button:start:decrement,
.chat::-webkit-scrollbar-button:end:increment {
    display: none;
}

.chat::-webkit-scrollbar-corner {
    background: transparent;
}

.chat-container {
    scrollbar-width: thin;
    scrollbar-color: var(--color-scrollbar) transparent;
}

.chat-container::-webkit-scrollbar {
    width: 4px;
}

.chat-container::-webkit-scrollbar-track {
    background: transparent;
}

.chat-container::-webkit-scrollbar-thumb {
    background: var(--color-scrollbar);
    border-radius: 4px;
}

.chat-container::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

.chat-container::-webkit-scrollbar-button:start:decrement,
.chat-container::-webkit-scrollbar-button:end:increment {
    display: none;
}

.chat-container::-webkit-scrollbar-corner {
    background: transparent;
}


/* ==================== IFRAME SECTIONS ==================== */
#mainContent {
    position: relative;
    overflow: hidden;
}

.iframe-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 0;
}

.iframe-section.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    z-index: 10;
}

/* ==================== INPUT WRAPPER HIDE/SHOW ==================== */
.input-wrapper {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.input-wrapper.hidden-input {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

/* ==================== PREVIEW DE IMAGENES ==================== */
.image-preview-container {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    background: var(--bg-nodeGroupDark);
    border-radius: 12px;
    margin-bottom: 10px;
}

.image-preview-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-image-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.remove-image-btn:hover {
    background: rgba(239, 68, 68, 0.9);
}

/* Drag over state */
.inputTransparent.drag-over,
.input-wrapper.drag-over {
    border: 2px dashed var(--color-accent) !important;
    background: rgba(102, 126, 234, 0.1);
}

/* ==================== BOTON ADJUNTAR ==================== */
.attach-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    border-radius: 8px;
    transition: all 0.3s;
    flex-shrink: 0;
}

.attach-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* ==================== PREVIEW DE ARCHIVOS ==================== */
.file-preview-container {
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    background: var(--bg-nodeGroupDark);
    border-radius: 12px;
    margin-bottom: 6px;
}

.file-preview-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 220px;
}

.file-preview-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.file-preview-icon.pdf { background: rgba(239, 68, 68, 0.2); color: #ef4444; }
.file-preview-icon.doc { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }
.file-preview-icon.xls { background: rgba(34, 197, 94, 0.2); color: #22c55e; }
.file-preview-icon.csv { background: rgba(34, 197, 94, 0.2); color: #22c55e; }
.file-preview-icon.txt { background: rgba(156, 163, 175, 0.2); color: #9ca3af; }
.file-preview-icon.img { background: rgba(168, 85, 247, 0.2); color: #a855f7; }
.file-preview-icon.ppt { background: rgba(249, 115, 22, 0.2); color: #f97316; }
.file-preview-icon.zip { background: rgba(234, 179, 8, 0.2); color: #eab308; }
.file-preview-icon.default { background: rgba(156, 163, 175, 0.2); color: #9ca3af; }

.file-preview-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
}

.file-preview-name {
    font-size: 12px;
    font-weight: 500;
    color: #e0e0e0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-preview-size {
    font-size: 10px;
    color: #888;
}

.remove-file-btn {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    padding: 0;
}

.remove-file-btn:hover {
    background: rgba(239, 68, 68, 0.9);
}

/* ==================== ARCHIVOS EN MENSAJES ==================== */
.message-files {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.message-file-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 12px;
    color: #ccc;
}

.message-file-chip .file-chip-icon {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 5px;
    border-radius: 4px;
}

.message-file-chip .file-chip-icon.pdf { background: rgba(239, 68, 68, 0.2); color: #ef4444; }
.message-file-chip .file-chip-icon.doc { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }
.message-file-chip .file-chip-icon.xls { background: rgba(34, 197, 94, 0.2); color: #22c55e; }
.message-file-chip .file-chip-icon.csv { background: rgba(34, 197, 94, 0.2); color: #22c55e; }
.message-file-chip .file-chip-icon.txt { background: rgba(156, 163, 175, 0.2); color: #9ca3af; }
.message-file-chip .file-chip-icon.ppt { background: rgba(249, 115, 22, 0.2); color: #f97316; }
.message-file-chip .file-chip-icon.zip { background: rgba(234, 179, 8, 0.2); color: #eab308; }
.message-file-chip .file-chip-icon.default { background: rgba(156, 163, 175, 0.2); color: #9ca3af; }

/* ==================== IMAGENES EN MENSAJES ==================== */
.message-images {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.attached-image {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.attached-image:hover {
    transform: scale(1.02);
}

/* ==================== CONTENIDO RICO ==================== */
.rich-content {
    line-height: 1.6;
}

.rich-content h2, .rich-content h3, .rich-content h4 {
    margin: 12px 0 8px 0;
    color: var(--color-accent);
}

.rich-content h2 { font-size: 1.3em; }
.rich-content h3 { font-size: 1.15em; }
.rich-content h4 { font-size: 1.05em; }

.rich-content p {
    margin: 8px 0;
}

.rich-content strong, .rich-content b {
    font-weight: 600;
}

.rich-content em, .rich-content i {
    font-style: italic;
}

.rich-content code {
    background: rgba(102, 126, 234, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9em;
}

.rich-content pre {
    background: var(--bg-nodeGroupDark);
    color: #d4d4d4;
    padding: 12px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 10px 0;
}

.rich-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.rich-content blockquote {
    border-left: 3px solid var(--color-accent);
    padding-left: 12px;
    margin: 10px 0;
    color: var(--color-typeGS);
    font-style: italic;
}

.rich-content ul, .rich-content ol {
    margin: 8px 0;
    padding-left: 20px;
}

.rich-content li {
    margin: 4px 0;
}

.rich-content a {
    color: var(--color-accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.rich-content a:hover {
    border-bottom-color: var(--color-accent);
}

/* ==================== TABLAS ==================== */
.chat-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
    font-size: 0.9em;
    border-radius: 8px;
    overflow: hidden;
}

.chat-table thead {
    background: var(--bg-btnPrimary);
    color: white;
}

.chat-table th, .chat-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid var(--bg-nodeGroupDark);
}

.chat-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.05);
}

.chat-table tbody tr:last-child td {
    border-bottom: none;
    background-color: var(--bg-nodeGroupDark);
}

/* ==================== RESPUESTAS RAPIDAS ==================== */

.answers {
    display: flex;
    gap: 5px;
    width: 100%;
    flex-wrap: wrap;
    flex-direction: column;
}

.answers:empty {
    display: none;
}

.btnAnswers {
    all: unset;
    display: inline-flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-btnAnswers, #3a3f4b);
    background: var(--bg-btnAnswers, #2A2E37);
    color: var(--color-text);
    font-family: 'Inter';
    font-weight: 400;
    font-size: var(--font-normal);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btnAnswers:hover {
    transform: translateY(-1px);
    opacity: 0.85;
}

.btnAnswers:active {
    transform: translateY(0);
}

[data-theme="light"] .btnAnswers {
    background: #DFE4EC;
    border-color: #DAE4F5;
    color: #1A1A1A;
}

/* ==================== BOTONES EN CHAT ==================== */
.chat-btn {
    margin: 8px 4px 8px 0;
    padding: 8px 16px;
    font-size: 0.9em;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.chat-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.chat-btn:active {
    transform: translateY(0);
}

/* ==================== INPUTS EN CHAT ==================== */
.chat-input {
    margin: 8px 0;
    padding: 10px 14px;
    border: 1px solid var(--bg-nodeGroupDark);
    border-radius: 8px;
    font-size: 0.9em;
    width: 100%;
    max-width: 300px;
    transition: border-color 0.2s;
}

.chat-input:focus {
    outline: none;
    border-color: var(--color-accent);
}

/* ==================== LINKS DE PDF ==================== */
.chat-pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9em;
    margin: 8px 4px 8px 0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.chat-pdf-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.chat-pdf-link svg {
    flex-shrink: 0;
}

/* ==================== LINKS DE PLATAFORMAS ==================== */
.chat-platform-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-nodeGroup);
    color: var(--color-text);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9em;
    margin: 8px 4px 8px 0;
    border: 1px solid var(--bg-nodeGroupDark);
    transition: all 0.2s;
}

.chat-platform-link:hover {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

.chat-platform-link img {
    border-radius: 4px;
}

.chat-platform-link svg {
    opacity: 0.6;
}

/* ==================== ALERTAS ==================== */
.chat-alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin: 10px 0;
    font-size: 0.9em;
}

.chat-alert-info {
    background: rgba(59, 130, 246, 0.1);
    border-left: 3px solid #3b82f6;
    color: #1e40af;
}

.chat-alert-success {
    background: rgba(34, 197, 94, 0.1);
    border-left: 3px solid #22c55e;
    color: #166534;
}

.chat-alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-left: 3px solid #f59e0b;
    color: #92400e;
}

.chat-alert-error {
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid #ef4444;
    color: #991b1b;
}

/* ==================== IMAGENES DEL CHAT ==================== */
.chat-image {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    margin: 8px 0;
}

/* ==================== LISTA DE CONVERSACIONES ==================== */
.conversations-list {
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-scrollbar) transparent;
}

.conversations-list::-webkit-scrollbar {
    width: 4px;
}

.conversations-list::-webkit-scrollbar-track {
    background: transparent;
}

.conversations-list::-webkit-scrollbar-thumb {
    background: var(--color-scrollbar);
    border-radius: 4px;
}

.conversations-list::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

.conversation-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
    border: 1px solid transparent;
    width: 100%;
    position: relative;
}

.conversation-item:hover {
    background: var(--bg-nodeGroupDark);
}

.conversation-item:hover .conv-title {
    transform: translate(3px,0px);
}

.conversation-item:hover .conv-date {
    transform: translate(-28px,0px);
}

.conversation-item.active {
    background: var(--bg-btnSecondary);
    color: white;
}

.conversation-item.active .conv-title{
    color: var(--color-text);
}

.conversation-item.active .conv-date,
.conversation-item.active .typeGS {
    opacity: 0.7;
}

.conv-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    overflow: hidden;
}

input.conv-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80%;
    font-size: 15px;
    color: var(--color-typeGS);
    transition: all .5s;
    background: transparent;
    border: 1px solid transparent;
    outline: none;
    padding: 2px 4px;
    border-radius: 4px;
    cursor: pointer;
}

input.conv-title:not(:read-only) {
    border-color: #5F78FF;
    background: rgba(95, 120, 255, 0.1);
    cursor: text;
    color: white;
}

.conv-date {
    font-size: 11px;
    transition: all .3s;
    color: var(--color-typeGS);
}

.conv-delete-btn {
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    opacity: 0;
    color: var(--color-typeGS);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all .5s;
    position: absolute;
    top: 50%;
    transform: translate(0px, -50%);
    right: 0;
}

.conv-delete-btn svg {
    transition: all .5s;

}

.conversation-item:hover .conv-delete-btn {
    opacity: 1;
}

.conv-delete-btn:hover {
    color: #ef4444;
    background: rgb(239, 68, 68);

}

.conv-delete-btn:hover svg {
    transform: translate(0px, -3px);
}

.conversation-item.active .conv-delete-btn {
    color: rgba(255, 255, 255, 0.7);
}

.conversation-item.active .conv-delete-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
}

/* ==================== SEARCH RESULTS IN OVERLAY ==================== */
#searchResults {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.search-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, opacity 0.3s;
    opacity: 0;
    transform: translateY(8px);
}

.search-result-item.show {
    opacity: 1;
    transform: translateY(0);
}

.search-result-item:hover,
.search-result-item.highlighted {
    background: rgba(255, 255, 255, 0.06);
}

.search-result-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.search-result-date {
    color: var(--color-typeGS);
    white-space: nowrap;
    margin-left: 10px;
}

.no-conversations {
    text-align: center;
    padding: 20px;
    opacity: 0.6;
}

.loading-messages,
.error-message {
    text-align: center;
    padding: 40px 20px;
    opacity: 0.6;
}

/* ==================== VOICE MODE ==================== */

/* CircleIA clickable */
.chat-container .circleIA {
    cursor: pointer;
    transition: width 0.4s ease, height 0.4s ease, box-shadow 0.3s ease;
}

.chat-container .circleIA:not(.processing):not(.listening):not(.speaking):hover {
    transform: scale(1.08);
}

/* Voice active layout — chat-container becomes centered flex */
.chat.voice-active {
    justify-content: center;
    align-items: center;
}

.chat.voice-active .chat-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

/* CircleIA grande cuando voice-active */
.chat.voice-active .circleIA {
    width: 140px;
    height: 140px;
    margin: 0 auto;
}

/* Listening - Pulse azul */
.circleIA.listening {
    animation: voicePulse 1.5s ease-in-out infinite;
}

@keyframes voicePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.5);
    }
    50% {
        box-shadow: 0 0 30px 12px rgba(102, 126, 234, 0.35);
    }
}

[data-theme="light"] .circleIA.listening {
    animation: voicePulseLight 1.5s ease-in-out infinite;
}

@keyframes voicePulseLight {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(53, 108, 179, 0.4);
    }
    50% {
        box-shadow: 0 0 30px 12px rgba(53, 108, 179, 0.25);
    }
}

/* Speaking - Glow cálido más lento */
.circleIA.speaking {
    animation: voiceSpeak 2.5s ease-in-out infinite;
}

@keyframes voiceSpeak {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(234, 179, 8, 0.4);
    }
    50% {
        box-shadow: 0 0 25px 10px rgba(234, 179, 8, 0.25);
    }
}

[data-theme="light"] .circleIA.speaking {
    animation: voiceSpeakLight 2.5s ease-in-out infinite;
}

@keyframes voiceSpeakLight {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(202, 138, 4, 0.35);
    }
    50% {
        box-shadow: 0 0 25px 10px rgba(202, 138, 4, 0.2);
    }
}

/* Voice Indicator */
.voice-indicator {
    text-align: center;
    max-width: 400px;
    margin: 20px auto 0;
    color: var(--color-typeGS);
    opacity: 1;
    transition: opacity 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==================== LIGHT THEME OVERRIDES ==================== */
[data-theme="light"] .attach-btn {
    color: #737373;
}

[data-theme="light"] .attach-btn:hover {
    color: #1A1A1A;
    background: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .file-preview-name {
    color: #1A1A1A;
}

[data-theme="light"] .file-preview-size {
    color: #737373;
}

[data-theme="light"] .message-file-chip {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #555;
}

[data-theme="light"] .file-preview-item {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .remove-image-btn,
[data-theme="light"] .remove-file-btn {
    background: rgba(255, 255, 255, 0.85);
    color: #1A1A1A;
    border: 1px solid #DAE4F5;
}

[data-theme="light"] .remove-image-btn:hover,
[data-theme="light"] .remove-file-btn:hover {
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border-color: transparent;
}

[data-theme="light"] .rich-content pre {
    color: #333;
}

[data-theme="light"] .chat-table thead {
    background: var(--color-accent);
    color: #FFF;
}

[data-theme="light"] .conv-delete-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

[data-theme="light"] .conv-delete-btn:hover svg {
    filter: none;
}

[data-theme="light"] .search-result-item:hover,
[data-theme="light"] .search-result-item.highlighted {
    background: rgba(0, 0, 0, 0.04);
}
