.search-hero { padding: 40px 0; text-align: center; background: #fff; border-radius: 12px; border: 1px solid #e2e8f0; margin-bottom: 30px; }
.search-form { display: flex; max-width: 600px; margin: 20px auto; gap: 10px; }
.search-form input { flex: 1; padding: 12px; border: 2px solid #e2e8f0; border-radius: 8px; font-size: 1rem; }
.search-suggestions { font-size: 0.9rem; color: #64748b; }
.search-suggestions a { margin-left: 10px; color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; }
.search-suggestions a:hover { border-bottom: 1px solid var(--accent); }

.result-card { background: white; padding: 25px; border-radius: 8px; border: 1px solid #e2e8f0; margin-bottom: 20px; transition: transform 0.2s; }
.result-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.result-meta { display: flex; gap: 10px; margin-bottom: 10px; align-items: center; }
.badge { background: var(--primary); color: white; padding: 2px 8px; border-radius: 4px; font-size: 0.75rem; font-weight: bold; }
.ref { font-weight: bold; color: var(--accent); }
.result-footer { margin-top: 15px; padding-top: 15px; border-top: 1px solid #f1f5f9; }
.link-external { font-size: 0.85rem; color: var(--accent); text-decoration: none; font-weight: 600; }

/* Surlignage du texte */
.highlight { background-color: #fef08a; color: #1e40af; padding: 0 2px; border-radius: 2px; }

/* Groupe de recherche moderne */
.search-input-group {
    display: flex;
    background: white;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    gap: 10px;
}

.search-input-group input { border: none !important; flex-grow: 1; }
.search-select { border: none; border-left: 1px solid #e2e8f0; padding: 0 15px; background: transparent; color: var(--text); outline: none; }

/* Cartes de résultats */
.badge-area { background: #64748b; margin-left: 5px; }
.btn-view {
    background: #f1f5f9;
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s;
}
.btn-view:hover { background: #e2e8f0; }

.results-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.btn-clear { font-size: 0.85rem; color: #ef4444; text-decoration: none; }

.search-welcome { text-align: center; margin-top: 50px; color: #94a3b8; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; margin-top: 20px; }
.stat-item { padding: 15px; background: white; border-radius: 8px; border: 1px dotted #cbd5e1; font-size: 0.9rem; }