/* Recherches enregistrees (15/11/2026, gerant O1 / Q / G1 / H1) : bouton de la liste, bulle du 1er enregistrement, onglet de Mes favoris.
   Charge par js/recherches-enregistrees.js. Cloche : templatecss/notifications.css. Couleurs de la charte (bleu #2977dc / #1f63bd). ASCII. */

/* bouton */
.re-btn { display: inline-flex; align-items: center; gap: 6px; box-sizing: border-box; border: 1px solid #2977dc; background: #fff; color: #1f63bd;
	font: bold 14px/1.2 Arial, Helvetica, sans-serif; cursor: pointer; white-space: nowrap; }
.re-btn:hover { background: #f5f8fd; }
.re-btn.re-on { background: #e8f1fc; border-color: #bcd5f5; }
.re-btn svg { flex: none; }
/* sur la ligne "1 104 annonces . page 1 / 56" (G1 point 3 : aucune hauteur ajoutee a la liste) */
.lv-compte { min-height: 34px; } /* hauteur du bouton reservee avant son arrivee (ouverture a tous, 15/11/2026) */
.lv-compte.re-avec { justify-content: flex-start; align-items: center; flex-wrap: wrap; min-height: 34px; }
.lv-compte.re-avec .re-btn { margin-left: auto; }
.re-compact { min-height: 34px; padding: 6px 12px; border-radius: 17px; font-size: 13.5px; }
/* cartes "aucune annonce" / "fin de la liste" (H1 point 5) */
.re-prevenu { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 10px 0; padding: 12px; border-radius: 8px; background: #eef5fd;
	font: 14.5px/1.4 Arial, Helvetica, sans-serif; color: #1f2a37; }
.re-large { min-height: 44px; padding: 8px 16px; border-radius: 8px; background: #2977dc; border-color: #2977dc; color: #fff; font-size: 15px; }
.re-large:hover { background: #1f63bd; }
.re-large.re-on { background: #e8f1fc; border-color: #bcd5f5; color: #1f63bd; }

/* message court (avec Annuler) */
.re-message { position: fixed; z-index: 2147483000; left: 50%; bottom: 16px; transform: translateX(-50%); width: 360px; max-width: calc(100% - 32px);
	box-sizing: border-box; display: flex; align-items: center; gap: 12px; background: #1f2a37; color: #fff; border-radius: 10px; padding: 10px 12px 10px 16px;
	box-shadow: 0 8px 24px rgba(0,0,0,.25); font: 14px/1.5 Arial, Helvetica, sans-serif; }
.re-message-t { flex: 1; }
.re-message a { color: #9cc3ff; font-weight: bold; }
.re-annuler { flex: none; border: 0; background: none; color: #9cc3ff; font: bold 14px Arial, Helvetica, sans-serif; padding: 8px 6px; cursor: pointer; }

/* bulle du 1er enregistrement : montre le coeur */
.re-bulle-aide { position: fixed; z-index: 2147483000; width: 300px; max-width: calc(100% - 32px); box-sizing: border-box; background: #1f2a37; color: #fff;
	border-radius: 10px; padding: 14px 16px; box-shadow: 0 8px 24px rgba(0,0,0,.25); font: 14px/1.5 Arial, Helvetica, sans-serif; }
.re-bulle-aide b { display: block; font-size: 15px; margin-bottom: 4px; }
.re-bulle-aide > span { color: #e5e9ef; }
.re-fleche { position: absolute; top: -7px; width: 14px; height: 14px; background: #1f2a37; transform: rotate(45deg); }
.re-bulle-l { display: flex !important; gap: 14px; align-items: center; margin-top: 10px; }
.re-bulle-l a { color: #9cc3ff; font-weight: bold; }
.re-bulle-l button { margin-left: auto; background: none; border: 1px solid #5b6472; color: #fff; border-radius: 6px; padding: 6px 12px; font: inherit; cursor: pointer; }

/* page Mes favoris : onglets Voitures / Recherches */
.re-onglets { display: flex; gap: 0; margin: 0 0 12px; border-bottom: 1px solid #dfe3e8; }
.re-onglets[hidden] { display: none; }
.re-onglet { flex: 0 0 auto; min-height: 44px; padding: 10px 18px; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; background: none;
	color: #5b6472; font: bold 15px/1.2 Arial, Helvetica, sans-serif; cursor: pointer; }
.re-onglet.re-actif { color: #1f63bd; border-bottom-color: #2977dc; }
.re-onglet span { font-weight: normal; }
.mf-principal.re-vue-recherches .mf-liste, .mf-principal.re-vue-recherches .mf-vide,
.mf-principal.re-vue-recherches > .pag-nav, .mf-principal.re-vue-recherches #mf-sb { display: none !important; }
.mf-h1 small[hidden] { display: none; }
.re-liste[hidden] { display: none; }
.re-l { list-style: none; margin: 0; padding: 0; }
.re-r { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #e8eaee; }
.re-r:last-child { border-bottom: 0; }
.re-lien { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; padding: 14px 4px; color: #1f2a37; text-decoration: none; }
.re-lien:hover .re-nom { color: #1f63bd; text-decoration: underline; }
.re-nom { font-size: 16px; font-weight: bold; }
.re-f { font-size: 13px; color: #5b6472; }
.re-etat { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 2px; }
.re-nouv { font-size: 13px; color: #5b6472; }
.re-nouv[hidden] { display: none; }
.re-nouv-oui { font-weight: bold; color: #fff; background: #d63a25; border-radius: 10px; padding: 2px 9px; }
.re-depuis { font-size: 12px; color: #6b7480; }
.re-x { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 22px; background: none; color: #5b6472; cursor: pointer; }
.re-x:hover { background: #f1f3f6; color: #1f2a37; }
.re-note { margin: 10px 4px 0; font-size: 12px; color: #6b7480; }
.re-vide { text-align: center; padding: 10px 6px 6px; }
.re-vide b { display: block; font-size: 16px; margin: 6px 0; }
.re-vide p { color: #5b6472; font-size: 14px; margin: 0 0 14px; }
.re-vide-ic { width: 34px; height: 34px; color: #2977dc; }

/* recherches recentes (B1) : une seule ligne de pastilles qui defile, en haut des panneaux de recherche */
/* width 0 + min-width 100 % : la ligne qui defile ne pousse jamais la largeur du panneau (colonne de droite a 300 px deformee sinon, 15/11/2026) */
.re-recentes { width: 0; min-width: 100%; box-sizing: border-box; margin: 10px 0 12px; font-family: Arial, Helvetica, sans-serif; text-align: left; }
.re-rec-t { display: flex; align-items: center; gap: 5px; margin: 0 0 6px; font-size: 12px; font-weight: bold; letter-spacing: .3px; text-transform: uppercase; color: #5b6472; }
.re-rec-t svg { width: 14px; height: 14px; }
.re-rec-l { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.re-rec-l::-webkit-scrollbar { display: none; }
.re-chip { flex: none; display: inline-flex; align-items: center; gap: 5px; max-width: 270px; min-height: 34px; box-sizing: border-box; padding: 6px 12px;
	border: 1px solid #c9ced6; border-radius: 17px; background: #fff; color: #1f2a37 !important; font-size: 13px; line-height: 1.2; text-decoration: none !important;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.re-chip:hover { border-color: #2977dc; background: #f5f8fd; }
.re-chip-ok { flex: none; width: 14px; height: 14px; color: #1f63bd; }
/* carte "Recherches recentes" de Mes favoris */
#mf-recentes ul.re-rec-v { list-style: none; margin: 0 0 8px; padding: 0; } /* id : plus fort que les marges generales des listes du site */
.re-rec-v li { display: flex; align-items: center; gap: 4px; border-bottom: 1px solid #eef0f3; }
.re-rec-v a { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 10px 0; color: #1f2a37; font-size: 14px; text-decoration: none; }
.re-rec-v a span { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.35; } /* colonne etroite : 2 lignes au plus */
.re-rec-v a:hover span { color: #1f63bd; text-decoration: underline; }
.re-rec-ic { flex: none; color: #8a929e; }
.re-rec-b { flex: none; width: 40px; height: 40px; border: 0; border-radius: 20px; background: none; color: #1f63bd; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.re-rec-b:hover { background: #f1f5fb; }
.re-rec-eff { border: 0; background: none; padding: 6px 0; color: #5b6472; font: 13px Arial, Helvetica, sans-serif; text-decoration: underline; cursor: pointer; }
/* M1 : texte de la pastille coupe proprement (jamais par le bord) ; fondu a droite tant qu'il reste des pastilles a faire glisser */
.re-chip span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.re-rec-l.re-deborde { -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); }
.re-plus { flex: none; font-weight: bold; color: #5b6472; }
/* fleches (window.hbRails) : ordinateur seulement ; telephone et tablette tactiles = glisser au doigt */
.re-rec-car { position: relative; display: block; }
.re-fl { position: absolute; top: 50%; z-index: 2; width: 30px; height: 30px; margin-top: -16px; padding: 0; border: 1px solid #d6dbe3; border-radius: 50%; background: #fff;
	box-shadow: 0 2px 6px rgba(0,0,0,.15); color: #1f2a37; font: bold 20px/26px Arial, Helvetica, sans-serif; text-align: center; cursor: pointer; }
.re-fl:hover { color: #2977dc; border-color: #2977dc; }
.re-fl.hb-fl-g { left: -6px; } .re-fl.hb-fl-d { right: -6px; }
.re-fl[hidden] { display: none; }
@media (hover: none) { .re-fl { display: none !important; } }
/* Mon compte : tuile Mes favoris avec "Annonces et recherches" -> les 3 tuiles alignees par le haut (icone et titre a la meme hauteur) */
.cp-rac.re-tuiles-haut .cp-tuile { justify-content: flex-start; } /* plus precis que .cp-rac-3 .cp-tuile de compte.css, charge apres */

/* Accueil "Vos recherches" (15/11/2026, gerant S2 b / U2) : ordinateur = bande blanche (meme carte que "Vos annonces", titre au trait jaune) ;
   980 px et moins = ligne dans la carte jaune de recherche. */
.re-acc { font-family: Arial, Helvetica, sans-serif; text-align: left; box-sizing: border-box; }
.re-acc[hidden] { display: none !important; }
.re-acc-bande { display: flex; align-items: center; gap: 14px; margin: 14px 0 0; padding: 10px 14px; background: #fff; border: 1px solid #e2e2e2; border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0,0,0,.05); clear: both; }
.re-acc-bande .re-acc-t { flex: none; font-size: 15px; font-weight: bold; color: #1f2a37; border-left: 4px solid #fdca00; padding-left: 9px; }
.re-acc-bande .re-acc-l { flex: 1; min-width: 0; }
.re-acc-g { flex: none; font-size: 13px; font-weight: bold; color: #1f63bd !important; text-decoration: none !important; white-space: nowrap; }
.re-acc-g:hover { text-decoration: underline !important; }
.re-acc-carte { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 10px; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(0,0,0,.12); width: 100%; }
.re-acc-carte .re-acc-t { font-size: 12px; font-weight: bold; letter-spacing: .3px; text-transform: uppercase; color: #5c4a00; }
.re-acc-carte .re-acc-l { grid-column: 1 / -1; grid-row: 2; min-width: 0; width: 0; min-width: 100%; }
.re-acc-carte .re-chip { border-color: #d9c27a; }
@media (min-width: 981px) { .re-acc-carte { display: none !important; } }
@media (max-width: 980px) { .re-acc-bande { display: none !important; } }
.re-chip-h { flex: none; width: 14px; height: 14px; color: #8a929e; }
.re-chip-nouv { border-color: #d63a25 !important; }
.re-nb { flex: none; font-size: 11.5px; color: #fff; background: #d63a25; border-radius: 9px; padding: 2px 7px; }
.re-nb[hidden] { display: none; }
