/* --- VARIABLES CSS POUR LE MODE SOMBRE / CLAisR --- */
:root {
    --bg-color: #ffffff;
    --text-color: #333333;
    --text-titre: #111111;
    --text-muted: #666666;
    --border-color: #e6e6e6;
    --box-bg: #ffffff;
    --box-bg-alt: #f8fafc;
    --nav-bg: #ffffff;
    --primary-color: #002f6c;
    --input-bg: #f2f2f2;
    --hero-overlay: rgba(255, 255, 255, 0.25);
}

[data-theme="dark"] {
    --bg-color: #121212;
    --text-color: #e5e7eb;
    --text-titre: #ffffff;
    --text-muted: #9ca3af;
    --border-color: #374151;
    --box-bg: #1f2937;
    --box-bg-alt: #111827;
    --nav-bg: #1f2937;
    --primary-color: #60a5fa;
    --input-bg: #374151;
    --hero-overlay: rgba(0, 0, 0, 0.4);
}

/* Style Global inspiré de Vinted */
body { font-family: Arial, sans-serif; margin: 0; padding: 0; background-color: var(--bg-color); color: var(--text-color); transition: background-color 0.3s, color 0.3s; }

/* Barre de navigation du haut - STICKY HEADER */
.barre-haute { 
    display: flex; align-items: center; justify-content: space-between; 
    padding: 12px 40px; border-bottom: 1px solid var(--border-color); 
    background-color: var(--nav-bg); position: sticky; top: 0; 
    z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    flex-wrap: wrap; transition: background-color 0.3s, border-color 0.3s;
}

.logo { margin-right: 40px; display: flex; align-items: center; }
.logo img { height: 70px; cursor: pointer; transition: transform 0.2s ease; }
.logo img:hover { transform: scale(1.05); }

/* MODIFICATIONS BARRE DE RECHERCHE */
.recherche-box { flex: 1; margin: 0 30px; display: flex; gap: 10px; }
.search-field-container { position: relative; width: 100%; }
.recherche-icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 16px; cursor: pointer; pointer-events: auto; }
.recherche-box input { width: 100%; padding: 10px 38px 10px 15px; border: 1px solid var(--border-color); border-radius: 5px; background-color: var(--input-bg); color: var(--text-color); font-size: 15px; box-sizing: border-box; outline: none; }
.recherche-box input:focus { border-color: var(--primary-color); }

/* Boutons Filtres LeBonCoin */
.btn-filtre-lbc { border: 1px solid var(--border-color); border-radius: 20px; padding: 8px 16px; background-color: var(--box-bg); color: var(--text-color); font-size: 14px; font-weight: bold; cursor: pointer; transition: background-color 0.2s, border-color 0.2s; display: flex; align-items: center; gap: 6px; }
.btn-filtre-lbc:hover { background-color: var(--box-bg-alt); border-color: var(--text-muted); }

.boutons-connexion { display: flex; gap: 15px; align-items: center; }
.btn-vide { border: 1px solid var(--primary-color); color: var(--primary-color); background: none; padding: 8px 14px; border-radius: 4px; font-weight: bold; cursor: pointer; font-size: 14px; }
.btn-vide:hover { background-color: var(--box-bg-alt); }
.btn-plein { background-color: #002f6c; color: white; border: none; padding: 9px 15px; border-radius: 4px; font-weight: bold; cursor: pointer; font-size: 14px; }
.btn-plein:hover { background-color: #001f4d; }

.btn-admin { background-color: #dc2626; color: white; border: none; padding: 9px 15px; border-radius: 4px; font-weight: bold; cursor: pointer; font-size: 14px; display: none; }
.btn-admin:hover { background-color: #b91c1c; }

.menu-categories { display: flex; justify-content: center; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--border-color); font-size: 13px; color: var(--text-muted); font-weight: 500; background-color: var(--nav-bg); transition: background-color 0.3s; }
.menu-categories span { cursor: pointer; transition: color 0.2s; }
.menu-categories span:hover { color: var(--primary-color); font-weight: bold; }

.hero-vinted { 
    position: relative; background-image: url('verifmarket_laboratoire_verification.png'); 
    background-size: cover; background-position: center; 
    height: 450px; display: flex; align-items: center; padding-left: 80px;
}
.carte-hero { 
    background-color: var(--hero-overlay); 
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 35px; border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.15); 
    width: 320px; text-align: left;
}
.carte-hero h2 { margin: 0 0 20px 0; font-size: 26px; font-weight: bold; line-height: 1.3; color: #fff; text-shadow: 1px 1px 3px rgba(0,0,0,0.6); }
.btn-action { width: 100%; background-color: #f56b2a; color: white; border: none; padding: 12px 0; border-radius: 4px; font-size: 16px; font-weight: bold; cursor: pointer; margin-bottom: 15px; transition: background-color 0.2s; }
.btn-action:hover { background-color: #e05a1b; }
.link-action { display: block; text-align: center; color: #fff; text-shadow: 1px 1px 2px rgba(0,0,0,0.6); text-decoration: none; font-size: 14px; font-weight: bold;}
.link-action:hover { text-decoration: underline; }

.main-content { max-width: 1250px; margin: 40px auto; padding: 0 20px; }
.texte-info { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }

.grille-vinted { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-bottom: 60px; transition: all 0.3s; }
.item-annonce { background: var(--box-bg); display: flex; flex-direction: column; cursor: pointer; transition: transform 0.2s, background-color 0.3s; border: 1px solid var(--border-color); border-radius: 6px; overflow: hidden; }
.item-annonce:hover { transform: scale(1.02); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }

.cadre-image { width: 100%; height: 260px; background-color: var(--box-bg-alt); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 14px; font-weight: bold; overflow: hidden; position: relative; }
.cadre-image img { width: 100%; height: 100%; object-fit: cover; }

.infos-vinted { padding: 12px 10px; font-size: 14px; line-height: 1.4; }
.prix-vinted { font-weight: bold; color: var(--text-titre); font-size: 16px; margin: 2px 0; }
.taille-vinted { color: var(--text-color); font-size: 14px; font-weight: 500; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.marque-vinted { color: var(--text-muted); font-size: 13px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge-secure { background-color: rgba(22, 163, 74, 0.1); color: #16a34a; font-size: 11px; padding: 3px 8px; border-radius: 4px; font-weight: bold; display: inline-block; margin-top: 8px; border: 1px solid rgba(22, 163, 74, 0.2); }

/* --- STYLES VUE LISTE --- */
.grille-vinted.vue-liste { grid-template-columns: 1fr; gap: 15px; }
.grille-vinted.vue-liste .item-annonce { flex-direction: row; height: 160px; align-items: center; }
.grille-vinted.vue-liste .cadre-image { width: 160px; height: 100%; flex-shrink: 0; }
.grille-vinted.vue-liste .infos-vinted { flex: 1; padding: 20px; display: flex; flex-direction: column; justify-content: center; }
.grille-vinted.vue-liste .prix-vinted { font-size: 20px; margin-bottom: 5px; }
.grille-vinted.vue-liste .taille-vinted { font-size: 16px; }

.fiche-annonce-container { display: flex; gap: 40px; margin-top: 20px; background: var(--box-bg); padding: 30px; border-radius: 8px; border: 1px solid var(--border-color); transition: background-color 0.3s; }
.fiche-image-box { flex: 1; border-radius: 8px; overflow: hidden; background: var(--box-bg-alt); display: flex; align-items: center; justify-content: center; min-height: 400px; max-height: 600px; }
.fiche-image-box img { width: 100%; height: 100%; object-fit: contain; }
.fiche-infos-box { flex: 1; display: flex; flex-direction: column; }
.fiche-titre { font-size: 28px; font-weight: bold; color: var(--text-titre); margin: 0 0 15px 0; }

.frais-detail-box { background: var(--box-bg-alt); padding: 15px; border-radius: 6px; margin-bottom: 20px; border: 1px solid var(--border-color); }
.frais-ligne { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-muted); margin-bottom: 8px; }
.frais-total { display: flex; justify-content: space-between; font-size: 24px; font-weight: bold; color: var(--primary-color); margin-top: 10px; border-top: 1px solid var(--border-color); padding-top: 10px; }

.fiche-badge { background-color: rgba(22, 163, 74, 0.1); color: #16a34a; border: 1px solid rgba(22, 163, 74, 0.2); padding: 6px 12px; border-radius: 4px; font-weight: bold; display: inline-block; margin-bottom: 25px; align-self: flex-start; }
.fiche-description-titre { font-size: 18px; font-weight: bold; border-bottom: 1px solid var(--border-color); padding-bottom: 10px; margin-bottom: 15px; }
.fiche-description { font-size: 15px; color: var(--text-muted); line-height: 1.6; margin-bottom: 40px; white-space: pre-wrap; }

.fiche-actions-container { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.fiche-btn-acheter { background-color: #f56b2a; color: white; border: none; padding: 14px; font-size: 16px; font-weight: bold; border-radius: 6px; cursor: pointer; width: 100%; transition: background-color 0.2s; text-align: center; }
.fiche-btn-acheter:hover { background-color: #e05a1b; }
.fiche-btn-offre { background-color: transparent; color: var(--primary-color); border: 1px solid var(--primary-color); padding: 14px; font-size: 16px; font-weight: bold; border-radius: 6px; cursor: pointer; width: 100%; transition: background-color 0.2s; text-align: center; }
.fiche-btn-offre:hover { background-color: var(--box-bg-alt); }
.fiche-btn-message { background-color: var(--box-bg-alt); color: var(--text-color); border: 1px solid var(--border-color); padding: 14px; font-size: 16px; font-weight: bold; border-radius: 6px; cursor: pointer; width: 100%; transition: background-color 0.2s; text-align: center; }
.fiche-btn-message:hover { background-color: var(--border-color); }

.fiche-btn-supprimer { background-color: #dc2626; color: white; border: none; padding: 14px; font-size: 16px; font-weight: bold; border-radius: 6px; cursor: pointer; width: 100%; transition: background-color 0.2s; text-align: center; margin-top: 15px; display: none; }
.fiche-btn-supprimer:hover { background-color: #b91c1c; }

.fiche-vendeur-box { display: flex; align-items: center; gap: 15px; padding: 15px 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); margin-bottom: 20px; cursor: pointer; transition: background-color 0.2s; }
.fiche-vendeur-box:hover { background-color: var(--box-bg-alt); }
.vendeur-avatar { width: 50px; height: 50px; background-color: #002f6c; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: bold; overflow: hidden; }
.vendeur-avatar img { width: 100%; height: 100%; object-fit: cover; }
.vendeur-infos { flex: 1; }
.vendeur-nom { font-weight: bold; font-size: 16px; color: var(--text-titre); margin-bottom: 4px; display: flex; align-items: center; gap: 5px; }
.vendeur-note { font-size: 13px; color: #f59e0b; display: flex; align-items: center; gap: 3px; }
.vendeur-note span { color: var(--text-muted); margin-left: 5px; }

.fiche-garantie-box { margin-top: 20px; background: var(--box-bg-alt); padding: 15px; border-radius: 6px; border: 1px solid var(--border-color); font-size: 13px; color: var(--text-muted); display: flex; gap: 10px; align-items: flex-start; }

.section-recap-verifmarket { background-color: var(--bg-color); border-top: 1px solid var(--border-color); padding: 60px 20px; text-align: center; transition: background-color 0.3s; }
.recap-titre { font-size: 28px; font-weight: bold; color: var(--text-titre); margin-bottom: 10px; }
.recap-sous-titre { font-size: 16px; color: var(--text-muted); margin-bottom: 25px; }
.btn-voir-annonces { background-color: #5d75d6; color: white; border: none; padding: 12px 24px; font-size: 12px; font-weight: bold; text-transform: uppercase; border-radius: 4px; cursor: pointer; letter-spacing: 0.5px; margin-bottom: 50px; transition: background-color 0.2s; }
.btn-voir-annonces:hover { background-color: #485fc3; }
.colonnes-recap { display: flex; justify-content: center; gap: 40px; max-width: 1100px; margin: 0 auto 50px auto; text-align: center; }
.colonne-argument { flex: 1; padding: 10px; }
.colonne-argument h3 { font-size: 18px; font-weight: bold; color: var(--text-titre); margin-bottom: 15px; text-transform: capitalize; }
.colonne-argument p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

.section-univers { border-top: 1px solid var(--border-color); padding-top: 50px; text-align: left; max-width: 1200px; margin: 0 auto; }
.univers-titre-principal { font-size: 26px; font-weight: bold; color: var(--text-titre); margin-bottom: 10px; text-align: center; }
.univers-desc-principale { font-size: 14px; color: var(--text-muted); text-align: center; margin-bottom: 40px; max-width: 800px; margin-left: auto; margin-right: auto; line-height: 1.5; }
.grille-univers { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; padding: 0 20px; margin-bottom: 50px; }
.carte-univers { background: var(--box-bg); border: 1px solid var(--border-color); border-radius: 8px; display: flex; flex-direction: column; text-align: left; padding-bottom: 15px; }
.image-univers { width: 100%; height: 180px; background-color: var(--box-bg-alt); border-top-left-radius: 8px; border-top-right-radius: 8px; overflow: hidden; margin-bottom: 15px; display: flex; align-items: center; justify-content: center; }
.image-univers img { width: 100%; height: 100%; object-fit: cover; }
.carte-univers h4 { font-size: 16px; font-weight: bold; color: var(--text-titre); margin: 0 0 10px 0; padding: 0 15px; }
.carte-univers p { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin: 0; padding: 0 15px; }

.page-statique { max-width: 900px; margin: 60px auto; padding: 0 20px; display: none; }
.statique-grand-titre { font-size: 36px; font-weight: bold; color: var(--text-titre); margin-bottom: 25px; text-align: center; }
.statique-texte-intro { font-size: 16px; color: var(--text-color); line-height: 1.7; margin-bottom: 40px; text-align: justify; }
.statique-section-titre { font-size: 24px; font-weight: bold; color: var(--primary-color); margin-top: 40px; margin-bottom: 15px; border-bottom: 2px solid var(--primary-color); padding-bottom: 5px; }
.statique-texte { font-size: 15px; color: var(--text-color); line-height: 1.7; text-align: justify; margin-bottom: 20px; }

.qsn-grande-image { width: 100%; max-height: 400px; object-fit: contain; margin-bottom: 50px; border-radius: 4px; }
.qsn-equipe-titre { font-size: 30px; font-weight: bold; color: var(--text-titre); margin-top: 60px; margin-bottom: 10px; text-align: center; }
.qsn-grille-equipe { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 25px; margin-bottom: 60px; }
.qsn-carte-membre { background: var(--box-bg); border: 1px solid var(--border-color); padding: 15px; border-radius: 8px; display: flex; flex-direction: column; text-align: left; }
.qsn-cadre-photo { width: 100%; height: 220px; background-color: var(--box-bg-alt); border-radius: 6px; overflow: hidden; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; }
.qsn-cadre-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.qsn-nom-membre { font-size: 16px; font-weight: bold; color: var(--text-titre); margin-bottom: 6px; }
.qsn-poste-membre { font-size: 13px; color: var(--text-muted); line-height: 1.4; }

.modale-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); display: none; align-items: center; justify-content: center; z-index: 1000; backdrop-filter: blur(2px); }
.modale-conteneur { background-color: var(--box-bg); padding: 40px; border-radius: 8px; width: 100%; max-width: 450px; box-shadow: 0 10px 25px rgba(0,0,0,0.5); text-align: center; position: relative; box-sizing: border-box; border: 1px solid var(--border-color); }
.modale-fermer { position: absolute; top: 15px; right: 20px; font-size: 24px; color: var(--text-muted); cursor: pointer; border: none; background: none; }
.modale-fermer:hover { color: var(--text-color); }

.modale-titre { font-size: 22px; font-weight: bold; color: var(--text-titre); line-height: 1.4; margin-bottom: 20px; }
.btn-social-connexion { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 4px; background-color: var(--box-bg); font-size: 15px; color: var(--text-color); cursor: pointer; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 500; transition: background-color 0.2s;}
.btn-social-connexion:hover { background-color: var(--box-bg-alt); }
.modale-separateur { font-size: 14px; color: var(--text-muted); margin: 20px 0; }
.modale-lien { color: var(--primary-color); text-decoration: none; font-size: 14px; cursor: pointer; font-weight: bold; }
.modale-lien:hover { text-decoration: underline; }

.champ-saisie { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 6px; margin-bottom: 15px; box-sizing: border-box; font-size: 14px; font-family: inherit; background-color: var(--input-bg); color: var(--text-color); }
.champ-saisie:focus { border-color: var(--primary-color); outline: none; }
.btn-soumettre-form { width: 100%; background-color: #002f6c; color: white; border: none; padding: 14px; border-radius: 6px; font-size: 16px; font-weight: bold; cursor: pointer; transition: background-color 0.2s; }
.btn-soumettre-form:hover { background-color: #001f4d; }
.btn-retour-modale { display: block; text-align: center; margin-top: 15px; font-size: 13px; color: var(--text-muted); cursor: pointer; }

/* --- STYLES MODALE AUTHENTIFICATION ONGLET --- */
.auth-tabs { display: flex; margin-bottom: 20px; border-bottom: 1px solid var(--border-color); }
.auth-tab { flex: 1; padding: 10px; font-weight: bold; color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent; transition: all 0.2s; }
.auth-tab.active { color: var(--primary-color); border-bottom: 2px solid var(--primary-color); }

/* --- STYLES MODALE FILTRES AVANCÉS --- */
.modale-filtres-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); display: none; align-items: center; justify-content: center; z-index: 1005; backdrop-filter: blur(2px); }
.modale-filtres-conteneur { background-color: var(--bg-color); border-radius: 8px; width: 100%; max-width: 450px; max-height: 90vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.2); font-family: Arial, sans-serif; }
.modale-filtres-header { display: flex; align-items: center; padding: 15px 20px; border-bottom: 1px solid var(--border-color); font-weight: bold; font-size: 16px; }
.modale-filtres-header span { cursor: pointer; margin-right: 15px; font-size: 18px; color: var(--text-muted); }
.modale-filtres-body { padding: 0 20px; overflow-y: auto; flex: 1; }
.filtre-row { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--border-color); cursor: pointer; color: var(--text-color); font-size: 14px; }
.filtre-row:last-child { border-bottom: none; }

.filtre-select { border: none; background: transparent; color: var(--text-muted); font-size: 14px; text-align: right; outline: none; cursor: pointer; font-family: inherit; padding-right: 5px; }

.filtre-section-titre { padding: 15px 0 5px 0; font-weight: bold; font-size: 15px; color: var(--text-titre); }
.filtre-prix-inputs { display: flex; gap: 10px; padding-bottom: 15px; border-bottom: 1px solid var(--border-color); }
.filtre-prix-inputs input { flex: 1; padding: 10px; border: 1px solid var(--border-color); border-radius: 6px; background-color: var(--input-bg); color: var(--text-color); font-size: 14px; }

.modale-filtres-footer { display: flex; gap: 10px; padding: 15px 20px; border-top: 1px solid var(--border-color); background-color: var(--bg-color); }
.btn-filtre-effacer { flex: 1; background-color: transparent; border: 1px solid var(--border-color); padding: 12px; border-radius: 20px; font-weight: bold; color: var(--text-color); cursor: pointer; }
.btn-filtre-rechercher { flex: 2; background-color: #f56b2a; border: none; padding: 12px; border-radius: 20px; font-weight: bold; color: white; cursor: pointer; }
.btn-filtre-rechercher:hover { background-color: #e05a1b; }

/* --- STYLES MODALE CATÉGORIES --- */
.modale-cat-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); display: none; align-items: center; justify-content: center; z-index: 1005; backdrop-filter: blur(2px); }
.modale-cat-conteneur { background-color: var(--bg-color); border-radius: 12px; width: 100%; max-width: 450px; max-height: 90vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.2); font-family: Arial, sans-serif; }
.modale-cat-header { display: flex; align-items: center; padding: 15px 20px; font-weight: bold; font-size: 18px; color: var(--text-titre); border-bottom: 1px solid var(--border-color); }
.modale-cat-header span { cursor: pointer; margin-right: 15px; font-size: 20px; color: var(--text-muted); }
.modale-cat-body { padding: 0; overflow-y: auto; flex: 1; }
.cat-sugg-item { padding: 15px 20px; border-bottom: 1px solid var(--border-color); cursor: pointer; font-size: 15px; display: flex; align-items: center; justify-content: space-between; color: var(--text-color); transition: background-color 0.2s;}
.cat-sugg-item:hover { background-color: var(--box-bg-alt); }
.cat-sugg-item:last-child { border-bottom: none; }
.cat-sugg-left { display: flex; align-items: center; gap: 15px; }
.cat-sugg-icon { font-size: 18px; width: 25px; text-align: center; }
.cat-sugg-right { color: var(--text-muted); font-size: 16px; }

/* --- STYLES MODALE VUE (LISTE / GALERIE) --- */
.vue-options-container { display: flex; justify-content: center; gap: 40px; margin-top: 20px; margin-bottom: 10px; }
.vue-option { display: flex; flex-direction: column; align-items: center; cursor: pointer; }
.vue-icon { width: 70px; height: 120px; border: 2px solid #94a3b8; border-radius: 8px; margin-bottom: 15px; display: flex; flex-direction: column; padding: 6px; gap: 6px; box-sizing: border-box; position: relative; transition: all 0.2s; }
.vue-icon::after { content: ''; position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); width: 16px; height: 3px; border-radius: 2px; border: 1px solid #94a3b8; transition: all 0.2s; }

.vue-icon.active { border-color: #1e3a8a; }
.vue-icon.active::after { border-color: #1e3a8a; }

.vue-icon-liste .line { background-color: #cbd5e1; height: 16px; border-radius: 4px; width: 100%; transition: all 0.2s; }
.vue-icon-liste.active .line { background-color: #93c5fd; }

.vue-icon-galerie .grid-row { display: flex; gap: 4px; height: 33.33%; }
.vue-icon-galerie .grid-cell { background-color: #cbd5e1; flex: 1; border-radius: 3px; transition: all 0.2s; }
.vue-icon-galerie.active .grid-cell { background-color: #1e3a8a; }

.vue-radio-label { display: flex; align-items: center; gap: 8px; font-size: 16px; color: var(--text-color); cursor: pointer; }

/* --- STYLES CHECKLIST LABO --- */
.checklist-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 15px; font-size: 14px; color: var(--text-color); text-align: left; }
.checklist-item input[type="checkbox"] { margin-top: 3px; accent-color: #16a34a; width: 18px; height: 18px; flex-shrink: 0; }

/* --- STYLES MESSAGERIE STYLE VINTED --- */
.badge-notification { background-color: #dc2626; color: white; font-size: 10px; padding: 2px 6px; border-radius: 10px; font-weight: bold; margin-left: 6px; display: none; }
.vinted-conv-item { display: flex; align-items: center; justify-content: space-between; padding: 15px; border-bottom: 1px solid var(--border-color); cursor: pointer; background: var(--box-bg); transition: background 0.2s; }
.vinted-conv-item:hover { background: var(--box-bg-alt); }
.vinted-conv-gauche { display: flex; align-items: center; gap: 15px; overflow: hidden; }
.vinted-avatar-box { width: 50px; height: 50px; border-radius: 50%; background: var(--primary-color); color: white; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 18px; flex-shrink: 0; overflow: hidden; }
.vinted-avatar-box img { width: 100%; height: 100%; object-fit: cover; }
.vinted-conv-infos { display: flex; flex-direction: column; overflow: hidden; }
.vinted-conv-nom { font-weight: bold; font-size: 15px; color: var(--text-titre); display: flex; align-items: center; gap: 6px; }
.vinted-conv-dernier-msg { font-size: 13px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 3px; max-width: 400px; }
.vinted-conv-date { font-size: 12px; color: var(--text-muted); flex-shrink: 0; }

.vinted-chat-container { display: flex; flex-direction: column; height: 500px; background: var(--box-bg); border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; }
.vinted-chat-header { padding: 12px 20px; background: var(--box-bg-alt); border-bottom: 1px solid var(--border-color); display: flex; align-items: center; justify-content: space-between; }
.vinted-chat-body { flex: 1; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 15px; background: var(--bg-color); }

.chat-bulle { max-width: 70%; padding: 12px 16px; border-radius: 12px; font-size: 14px; line-height: 1.4; position: relative; word-break: break-word; }
.chat-bulle.recu { background: var(--box-bg-alt); color: var(--text-color); align-self: flex-start; border: 1px solid var(--border-color); border-bottom-left-radius: 2px; }
.chat-bulle.envoye { background: #002f6c; color: white; align-self: flex-end; border-bottom-right-radius: 2px; }
.chat-bulle-date { font-size: 10px; margin-top: 4px; opacity: 0.7; text-align: right; }

.vinted-chat-footer { padding: 15px; background: var(--box-bg-alt); border-top: 1px solid var(--border-color); display: flex; gap: 10px; align-items: center; }
.vinted-chat-footer input { flex: 1; padding: 12px 15px; border: 1px solid var(--border-color); border-radius: 20px; background: var(--input-bg); color: var(--text-color); font-size: 14px; outline: none; }
.vinted-chat-footer button { background: #f56b2a; color: white; border: none; padding: 10px 20px; border-radius: 20px; font-weight: bold; cursor: pointer; transition: background 0.2s; }
.vinted-chat-footer button:hover { background: #e05a1b; }
.btn-retour-inbox { background: none; border: none; color: var(--primary-color); font-weight: bold; cursor: pointer; font-size: 14px; display: flex; align-items: center; gap: 5px; }

/* --- STYLES PANNEAU LABO & SUIVI LOGISTIQUE --- */
.labo-search-box { display: flex; gap: 10px; margin-bottom: 25px; }
.labo-search-box input { flex: 1; padding: 12px 15px; border: 1px solid var(--border-color); border-radius: 6px; font-size: 15px; background: var(--input-bg); color: var(--text-color); }
.labo-card { background: var(--box-bg-alt); border: 1px solid var(--border-color); border-radius: 8px; padding: 20px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 15px; }
.labo-badge-statut { display: inline-block; padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: bold; }
.labo-btns-action { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }

/* Footer */
.footer-verifmarket { border-top: 1px solid var(--border-color); padding: 40px 60px 20px 60px; background-color: var(--nav-bg); display: flex; flex-direction: column; transition: background-color 0.3s; }
.footer-principal { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; }
.footer-gauche { max-width: 350px; text-align: left; }
.footer-gauche img { height: 40px; margin-bottom: 15px; cursor: pointer; }
.footer-gauche p { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin: 0 0 15px 0; }
.footer-droite { display: flex; gap: 80px; }
.footer-colonne { display: flex; flex-direction: column; text-align: left; gap: 12px; }
.footer-colonne span { font-size: 14px; color: var(--text-muted); cursor: pointer; }
.footer-colonne span:hover { color: var(--primary-color); text-decoration: underline; }
.footer-bas { font-size: 12px; color: var(--text-muted); text-align: left; }

.form-depot { background: var(--box-bg-alt); padding: 35px; border-radius: 8px; border: 1px solid var(--border-color); margin-top: 30px; text-align: left; }
.form-groupe { margin-bottom: 25px; }
.form-groupe label { display: block; font-weight: bold; margin-bottom: 8px; color: var(--text-titre); font-size: 14px; }
.form-groupe input[type="text"], .form-groupe input[type="number"], .form-groupe input[type="password"], .form-groupe input[type="tel"], .form-groupe input[type="email"], .form-groupe input[type="date"], .form-groupe textarea, .form-groupe select { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 6px; box-sizing: border-box; font-family: inherit; font-size: 14px; background-color: var(--input-bg); color: var(--text-color); }
.form-groupe textarea { height: 120px; resize: vertical; }
.upload-box { border: 2px dashed #0ea5e9; background: var(--box-bg); padding: 40px; text-align: center; border-radius: 6px; cursor: pointer; color: #0ea5e9; font-weight: bold; transition: background-color 0.2s; position: relative; }
.upload-box:hover { background: rgba(14, 165, 233, 0.1); }
.btn-soumettre-annonce { background-color: #f56b2a; color: white; border: none; padding: 14px 24px; font-size: 16px; font-weight: bold; border-radius: 6px; cursor: pointer; width: 100%; transition: background-color 0.2s; }
.btn-soumettre-annonce:hover { background-color: #e05a1b; }
.btn-soumettre-annonce:disabled { background-color: #d1d5db; cursor: not-allowed; }

.simulateur-gain { background: rgba(22, 163, 74, 0.05); padding: 20px; border-radius: 8px; margin-top: 15px; border: 1px solid rgba(22, 163, 74, 0.3); display: none; }
.simul-ligne { display: flex; justify-content: space-between; font-size: 14px; color: #166534; margin-bottom: 8px; }
.simul-total { display: flex; justify-content: space-between; font-size: 18px; font-weight: bold; color: #15803d; margin-top: 12px; border-top: 1px solid rgba(22, 163, 74, 0.3); padding-top: 12px; }

.dashboard-container { display: flex; gap: 30px; margin-top: 30px; text-align: left; align-items: flex-start; }
.dashboard-sidebar { width: 25%; background: var(--box-bg); border: 1px solid var(--border-color); border-radius: 6px; padding: 20px; box-sizing: border-box; position: sticky; top: 100px; }
.dashboard-menu { list-style: none; padding: 0; margin: 0; }
.dashboard-menu li { padding: 12px 15px; border-bottom: 1px solid var(--border-color); cursor: pointer; font-size: 14px; font-weight: 500; color: var(--text-muted); transition: background-color 0.2s; }
.dashboard-menu li:hover, .dashboard-menu li.actif { color: var(--primary-color); font-weight: bold; background-color: var(--box-bg-alt); border-radius: 4px; border-bottom: none; }
.dashboard-main { width: 75%; background: var(--box-bg); border: 1px solid var(--border-color); border-radius: 6px; padding: 30px; box-sizing: border-box; }

.grille-annonces-dash { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 15px; }
.item-annonce-dash { position: relative; border: 1px solid var(--border-color); border-radius: 6px; overflow: hidden; background: var(--box-bg-alt); cursor: pointer; transition: transform 0.2s; }
.item-annonce-dash:hover { transform: translateY(-3px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.cadre-image-dash { width: 100%; height: 180px; background-color: var(--border-color); }
.cadre-image-dash img { width: 100%; height: 100%; object-fit: cover; }
.btn-supprimer-hover { position: absolute; top: 10px; right: 10px; background-color: #dc2626; color: white; border: none; padding: 8px 12px; border-radius: 4px; font-weight: bold; cursor: pointer; opacity: 0; transition: opacity 0.2s, transform 0.2s; transform: translateY(-5px); box-shadow: 0 2px 5px rgba(0,0,0,0.3); z-index: 10; }
.item-annonce-dash:hover .btn-supprimer-hover { opacity: 1; transform: translateY(0); }
.btn-supprimer-hover:hover { background-color: #b91c1c; }

.param-section { margin-bottom: 35px; padding-bottom: 25px; border-bottom: 1px solid var(--border-color); }
.param-section:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.param-title { font-size: 18px; color: var(--text-titre); margin-top: 0; margin-bottom: 20px; font-weight: bold; border-bottom: 1px solid var(--border-color); padding-bottom: 10px; }
.param-row { display: flex; gap: 20px; margin-bottom: 15px; flex-wrap: wrap; }
.param-col { flex: 1; min-width: 250px; }

/* --- STYLES ASSISTANT HOLOGRAPHIQUE V2 --- */
.assistant-card-v2 {
    background: #030712;
    border-radius: 20px;
    margin: 40px auto;
    max-width: 1050px;
    border: 1px solid #1e3a8a;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    padding: 30px;
    color: #ffffff;
    text-align: left;
}

.assistant-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    padding: 12px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.assistant-top-bar img {
    height: 35px;
}

.badge-enligne {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
}

.assistant-grid-v2 {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
    align-items: center;
}

@media (max-width: 850px) {
    .assistant-grid-v2 {
        grid-template-columns: 1fr;
    }
}

.assistant-robot-box {
    background: radial-gradient(circle at center bottom, #0ea5e9 0%, #0c2042 45%, #030712 85%);
    border: 1px solid #1e3a8a;
    border-radius: 16px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.robot-hologram-cone {
    position: absolute;
    bottom: 30px;
    width: 120px;
    height: 150px;
    background: linear-gradient(to top, rgba(56, 189, 248, 0.6), rgba(14, 165, 233, 0.02));
    clip-path: polygon(30% 100%, 70% 100%, 100% 0%, 0% 0%);
    z-index: 1;
    pointer-events: none;
    animation: pulseCone 3s ease-in-out infinite alternate;
}

@keyframes pulseCone {
    0% { opacity: 0.5; transform: scaleX(0.95); }
    100% { opacity: 0.9; transform: scaleX(1.05); }
}

.robot-image-container {
    width: 160px;
    height: 160px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -10px;
}

.robot-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.5));
}

.robot-socle-lumineux {
    width: 100px;
    height: 25px;
    background: #38bdf8;
    border-radius: 50%;
    box-shadow: 0 0 25px #38bdf8, 0 0 50px #0ea5e9, inset 0 0 10px #ffffff;
    position: relative;
    z-index: 3;
    border: 2px solid #bae6fd;
}

.assistant-content-box {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.assistant-salut {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.assistant-desc {
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
}

.assistant-input-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #1e3a8a;
    border-radius: 30px;
    padding: 8px 12px 8px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.assistant-input-pill input {
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 13px;
    flex: 1;
    width: 100%;
}

.assistant-input-pill input::placeholder {
    color: #64748b;
}

.btn-mic-assistant {
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 0 5px;
    transition: transform 0.2s;
}

.btn-mic-assistant.listening {
    animation: pulseMic 1s infinite;
}

@keyframes pulseMic {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.btn-send-circle {
    background: #2563eb;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.btn-send-circle:hover {
    background: #1d4ed8;
}

.assistant-shortcuts-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 5px;
}

@media (max-width: 850px) {
    .assistant-shortcuts-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.shortcut-chip-v2 {
    background: rgba(30, 58, 138, 0.4);
    border: 1px solid #1e3a8a;
    border-radius: 12px;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.shortcut-chip-v2:hover {
    background: rgba(30, 58, 138, 0.8);
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.shortcut-icon-v2 {
    font-size: 18px;
}

.shortcut-text-v2 {
    font-size: 11.5px;
    font-weight: bold;
    color: #ffffff;
    line-height: 1.2;
}

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* ==========================================================================
   OPTIMISATIONS MOBILE (Écrans jusqu'à 768px de large)
   ========================================================================== */
@media (max-width: 768px) {
    /* --- 1. Réorganisation de la barre haute --- */
    .barre-haute {
        display: flex;
        flex-wrap: wrap; /* Permet aux éléments de passer à la ligne */
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
        gap: 10px;
    }

    /* Le logo reste en haut à gauche, on le rend un peu plus discret */
    .logo {
        flex: 0 0 auto;
        max-width: 140px; 
        margin-right: 0;
    }
    .logo img {
        width: 100%;
        height: auto;
    }

    /* Les boutons de connexion se calent en haut à droite */
    .boutons-connexion {
        flex: 1;
        display: flex;
        justify-content: flex-end;
        gap: 5px;
    }

    /* On réduit la taille du texte des boutons pour gagner de la place */
    .boutons-connexion button {
        padding: 6px 10px;
        font-size: 12px;
    }

    /* LA MAGIE : La recherche passe en dessous et prend 100% de la largeur */
    .recherche-box {
        flex: 0 0 100%;
        order: 3; 
        margin: 5px 0 0 0;
    }
    .search-field-container {
        width: 100%;
    }

    /* --- 2. Réduction du bloc "Prêt à faire certifier" (Hero) --- */
    .hero-vinted {
        padding: 15px !important;
        height: auto !important;
        min-height: auto !important;
        margin-bottom: 10px;
    }

    .carte-hero {
        padding: 15px;
        margin: 0 auto;
        width: 100%;
        box-sizing: border-box;
        backdrop-filter: blur(5px); /* Garde l'effet flou mais prend moins de place */
    }

    .carte-hero h2 {
        font-size: 18px; /* Titre plus petit */
        margin-bottom: 12px;
        line-height: 1.3;
    }

    .carte-hero .btn-action {
        padding: 10px 15px;
        font-size: 14px;
    }

    /* --- 3. Affichage des annonces en Grille (façon Vinted) --- */
    .grille-vinted {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important; /* 2 colonnes égales */
        gap: 12px !important; /* Espace réduit entre les cartes */
        padding: 0 10px;
    }

    /* --- Menu des catégories horizontal --- */
    .menu-categories {
        display: flex;
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        padding: 10px 15px;
        -webkit-overflow-scrolling: touch; /* Défilement fluide sur iOS */
    }
    
    .menu-categories::-webkit-scrollbar {
        display: none; /* Cache la barre de défilement pour faire plus "App" */
    }

    /* --- ADAPTATION MOBILE DU TABLEAU DE BORD (MON COMPTE) --- */
    .dashboard-container {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .dashboard-sidebar {
        width: 100% !important;
        position: static !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        padding: 10px !important;
        border-right: none !important;
        border-bottom: 1px solid var(--border-color);
    }

    .dashboard-menu {
        display: flex !important;
        gap: 8px !important;
        padding: 0 !important;
    }

    .dashboard-menu li {
        display: inline-block !important;
        padding: 8px 14px !important;
        background: var(--box-bg-alt);
        border-radius: 20px;
        font-size: 13px;
        border: 1px solid var(--border-color);
        cursor: pointer;
        border-bottom: 1px solid var(--border-color) !important;
    }

    .dashboard-menu li:hover, .dashboard-menu li.actif {
        background-color: var(--primary-color) !important;
        color: white !important;
        border-radius: 20px !important;
    }

    .dashboard-main {
        width: 100% !important;
        padding: 15px !important;
    }
}

/* --- AJOUTS CSS POUR LE PARCOURS ACHETEUR (7 JOURS & RETOUR LABO) --- */
.achat-item-card {
    background: var(--box-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.2s;
}

.achat-item-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.timer-7-jours {
    font-weight: bold;
    color: #dc2626;
    background: rgba(220, 38, 38, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
}