/* Estilos para la búsqueda */
.search-container {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.search-results-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
}

.search-results-dropdown .result-card {
    padding: 15px;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.search-results-dropdown .result-card:hover {
    background: #f8f9fa;
}

.search-results-dropdown .result-card h3 {
    margin: 0 0 5px 0;
    font-size: 1rem;
}

.search-results-dropdown .result-card p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.highlight {
    background-color: #FFEB3B;
    padding: 0 2px;
    border-radius: 2px;
    font-weight: bold;
}

/* Estilos para la página de resultados */
.search-results-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.search-results-container h2 {
    color: #2C3E50;
    margin-bottom: 30px;
}

.search-term {
    color: #E67E22;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.result-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.no-results, .no-term {
    text-align: center;
    padding: 40px;
    color: #666;
}
