.smart-search-container {
    position: relative;
    width: 100%;
    display: block;
}

.news-header-widget .smart-search-container {
    max-width: 400px;
}

.smart-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    min-width: 300px;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    z-index: 99999;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 8px 8px;
    display: none;
    max-height: 450px;
    overflow-y: auto;
}

/* Soporte para Elementor */
.elementor-widget-search-form .smart-search-container {
    display: inline-block;
    width: 100%;
}

.smart-result-item {
    display: block;
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none !important;
    color: #333 !important;
    transition: background 0.2s;
}

.smart-result-item:hover {
    background: #f1f5f9;
}

.smart-result-item:last-child {
    border-bottom: none;
}

.smart-result-content {
    width: 100%;
}

.smart-result-title {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
    color: #1a202c;
}

.smart-no-results {
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 13px;
}

.smart-search-input.loading {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIn0=');
    /* Loader simplificado */
}

.smart-search-highlight {
    background-color: #ffeb3b;
    color: #000;
    padding: 0 2px;
    border-radius: 2px;
    font-weight: 700;
}

.search-results-count {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #eee;
}

.search-results-count span {
    color: #dc2626;
    font-weight: 700;
}