/* ==== PATCH LOOK "IMAGE 2" ==== */

/* ===== Bandeau contact en haut ===== */
.top-bar {
  display: flex;
  justify-content: flex-end; /* aligne tout à droite */
  gap: 20px;                 /* espace entre tel et mail */
  padding: 6px 20px;
  font-weight: 600;
  color: #000;               /* texte blanc si fond coloré */
}
/* Bandeau menu */
nav { background:#2f69a6; padding:0; position:relative; z-index:2000; }
.navbar{list-style:none;margin:0;padding:0;display:flex;justify-content:center;gap:20px}
.navbar>li{position:relative}

.navbar>li>a{
  display: block;
  padding: 10px 14px;
  color: #fff;
  text-decoration: none;   /* pas de souligné */
  font-weight: 600;
  border: 2px solid #fff;  /* ✅ contour blanc */
  border-radius: 6px;      /* coins arrondis (optionnel) */
  transition: background .3s, color .3s, border-color .3s;
}

.navbar>li>a:hover{
  background: #1e4a78;
  border-radius: 6px;
  border-color: #f0f0f0;   /* contour plus clair au survol */
}

/* Sous-menu */
.submenu,
.subsubmenu{
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  min-width: 230px;
  background: linear-gradient(180deg,#fff,#f8fafc);
  border: 1px solid rgba(148,163,184,.35);
  border-radius: 14px;
  box-shadow: 0 18px 32px rgba(15,23,42,.12);
  padding: 10px 0;
  z-index: 3000;
  backdrop-filter: blur(6px);
}
.subsubmenu{
  top: 0;
  left: 100%;
}
.submenu li,
.subsubmenu li{
  list-style: none;
}
.submenu li a,
.subsubmenu li a{
  display: block;
  padding: 12px 18px;
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .01em;
  transition: background .2s ease, color .2s ease, padding-left .2s ease;
}
.submenu li + li a,
.subsubmenu li + li a{
  border-top: 1px solid rgba(148, 163, 184, 0.116);
}
.submenu li a:hover,
.subsubmenu li a:hover{
  background: rgba(99, 101, 241, 0.123);
  color: #1d4ed8;
  padding-left: 22px;
}
.navbar li:hover>.submenu{display:block}
.submenu li:hover>.subsubmenu{display:block}
@media (max-width: 768px){
  .navbar{flex-direction:column;align-items:stretch;gap:10px}
  .navbar>li>a{width:100%;text-align:left}
  .submenu,
  .subsubmenu{
    position:static;
    width:100%;
    box-shadow:none;
    border-radius:12px;
    margin-top:6px;
  }
}

.site-footer{
  margin-top:40px;
  color:#fff;
}
.site-footer__top{
  background:#2f69a6;
  padding:30px 0;
}
.site-footer__grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:20px;
  align-items:flex-start;
}
.site-footer__brand{
  font-size:1.4rem;
  font-weight:700;
  letter-spacing:.04em;
}
.site-footer__baseline{
  margin-top:6px;
  color:#dbeafe;
}
.site-footer__links{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.site-footer__links a{
  color:#fff;
  text-decoration:none;
  font-weight:600;
}
.site-footer__links a:hover{
  opacity:.8;
}
.site-footer__contact{
  display:flex;
  flex-direction:column;
  gap:6px;
  font-weight:600;
}
.site-footer__bottom{
  background:#1a3660;
  padding:12px 0;
}
.site-footer__bottom-content{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:space-between;
  align-items:center;
  font-size:.9rem;
}
.payment-badges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.payment-badges img{
  height:30px;
  width:auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.2));
  background:#fff;
  border-radius:6px;
  padding:4px 6px;
}

/* Pro dashboard cards */
.pro-card-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:16px;
}
.pro-card{
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:18px;
  box-shadow:0 14px 26px rgba(15,23,42,.08);
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:10px;
  min-height:180px;
}
.pro-card-header{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
}
.pro-card-chip{
  font-size:.8rem;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(59,130,246,.1);
  color:#1d4ed8;
  font-weight:600;
}
.pro-card-meta{
  display:flex;
  flex-direction:column;
  gap:4px;
  color:#475569;
  font-size:.92rem;
}
.pro-card-amounts{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.pro-card-amounts div{
  flex:1;
  min-width:90px;
  background:#f8fafc;
  border-radius:10px;
  padding:8px;
  text-align:center;
}
.pro-card-amounts span{
  display:block;
  font-size:.75rem;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:#64748b;
}
.pro-card-amounts strong{
  display:block;
  margin-top:4px;
  color:#0f172a;
}
.pro-card-link{
  align-self:flex-start;
  background:#1d4ed8;
  color:#fff;
  border-radius:8px;
  padding:6px 14px;
  margin-top:4px;
}
.pro-card-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:8px;
}
.pro-card-actions form{
  margin:0;
}
.btn-accept{
  background:#16a34a;
  color:#fff;
  border:0;
  padding:8px 16px;
  border-radius:8px;
}
.btn-decline{
  background:#ef4444;
  color:#fff;
  border:0;
  padding:8px 16px;
  border-radius:8px;
}

.pro-table-wrapper{
  overflow-x:auto;
  margin-top:12px;
}
.pro-table{
  width:100%;
  border-collapse:collapse;
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:12px;
  box-shadow:0 10px 22px rgba(15,23,42,.06);
}
.pro-table th,
.pro-table td{
  padding:10px 12px;
  border-bottom:1px solid #e2e8f0;
  text-align:left;
}
.pro-table thead th{
  background:#f8fafc;
  color:#0f172a;
  font-weight:700;
}
.pro-table tbody tr:hover{
  background:#f1f5f9;
}
.pro-table tfoot td{
  background:#f8fafc;
  font-weight:700;
}
.pro-table-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.pro-filter-bar{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  margin:12px 0;
}
.pro-filter-bar label{
  font-weight:700;
  color:#0f172a;
}
.pro-filter-bar .filter-field{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.pro-filter-bar input,
.pro-filter-bar select{
  padding:8px 10px;
  border:1px solid #e2e8f0;
  border-radius:8px;
  background:#fff;
  min-width:180px;
}
.pro-filter-bar button{
  padding:8px 12px;
  background:#e2e8f0;
  border:1px solid #cbd5e1;
  border-radius:8px;
  font-weight:700;
  cursor:pointer;
}
.pro-filter-bar .pro-filter-spacer{
  flex:1;
}
.pro-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 8px;
  border-radius:999px;
  font-size:.85rem;
  font-weight:600;
}
.urgency-high{
  background:#fef2f2;
  color:#b91c1c;
}
.urgency-med{
  background:#fff7ed;
  color:#c2410c;
}
.urgency-low{
  background:#ecfdf3;
  color:#166534;
}
.urgency-none{
  background:#f8fafc;
  color:#334155;
}
.status-badge{
  background:#e2e8f0;
  color:#0f172a;
}
.status-pending{background:#fff7ed;color:#c2410c;}
.status-accepted{background:#ecfdf3;color:#166534;}
.status-completed{background:#e0f2fe;color:#075985;}
.status-cancelled{background:#f8fafc;color:#475569;}
.status-refused{background:#fef2f2;color:#b91c1c;}
.status-reassigning{background:#fefce8;color:#854d0e;}
.payment-badge{
  background:#e2e8f0;
  color:#0f172a;
}
.payment-paid{background:#ecfdf3;color:#166534;}
.payment-processing{background:#fff7ed;color:#c2410c;}
.payment-pending{background:#f8fafc;color:#475569;}

.report-inline-toggle{
  margin-top:6px;
  display:inline-flex;
  gap:6px;
  align-items:center;
}
.report-inline-toggle input[type="file"]{
  padding:6px 8px;
  border:1px solid #e2e8f0;
  border-radius:8px;
}
.pagination-bar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin:12px 0;
  flex-wrap:wrap;
  color:#0f172a;
  font-weight:600;
}
.pagination-controls{
  display:flex;
  gap:8px;
}
.pagination-controls button{
  padding:6px 10px;
  border:1px solid #e2e8f0;
  background:#fff;
  border-radius:8px;
  cursor:pointer;
}
.pagination-controls button:disabled{
  opacity:.5;
  cursor:not-allowed;
}

@media (max-width: 768px){
  .mission-table .col-rapport{display:none;}
  .mission-table .address-client{white-space:normal;}
}


/* ===== Bandeau contact en haut ===== */

/* Grille, cartes, ombres */
.grid-form{max-width:1100px;margin:30px auto;padding:0 10px;display:grid;gap:16px;
  grid-template-columns:1fr 360px;grid-template-areas:"demande demande" "selection coordonnees" "cta coordonnees";}
.card{background:#fff;border:1px solid #dcdcdc;border-radius:8px;box-shadow:0 3px 10px rgba(0,0,0,.08);padding:12px;transition:transform .25s,box-shadow .25s}
.card:hover{transform:translateY(-4px);box-shadow:0 8px 18px rgba(0,0,0,.16)}
.card-blue{grid-area:demande;background:linear-gradient(135deg,#2f69a6,#1e4a78);color:#fff;border:none}
.card-green{grid-area:selection;background:#41fa69;color:#faeaea;border:none}
.card-tan {grid-area: coordonnees;background: linear-gradient(135deg, #ff9b04, #f0ede8);border: 1px solid #d6d3ce;box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);}

/* Titre de section (barrette) */
.section-title{font-weight:700;margin:-8px -8px 10px;border-radius:6px;padding:10px 12px}
.section-title.blue{background:rgba(255,255,255,.15);color:#fff}
.section-title.green{background:rgba(255,255,255,.12);color:#fff}
.section-title.tan{background:#e8dcc0;color:#2b2b2b;text-align:center}

/* Bandeau bleu – 2 lignes alignées */
#votre-demande .row.ligne1{display:grid;grid-template-columns:220px 1fr 1fr 1fr;gap:16px;align-items:end}
#votre-demande .transaction label{display:inline-block;margin-right:14px;color:#fff}
#votre-demande .row.ligne2{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:12px}
.card-blue label{color:#fff}
.card-blue select{background:#fff;color:#000;border-radius:6px;border:1px solid #cfcfcf;height:38px}

/* Bloc sélection (gauche) */
.selection-grid{display:grid;grid-template-columns:300px 1fr;gap:16px}
.explication{background:rgba(255,255,255,.9);border:1px solid rgba(0,0,0,.08);border-radius:6px;padding:10px;color:#222}
.explication textarea{
  width:100%;
  min-height:90px;
  resize: none;   /* empêche le redimensionnement */
}

/* Coordonnées (droite) – centrage propre + largeur fixe des champs */
#coordonnees{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:16px}
#coordonnees .civilite{width:100%;max-width:360px;display:flex;gap:24px;align-items:center;justify-content:flex-start;margin:6px 0 10px}
#coordonnees label{width:100%;max-width:360px;margin:6px auto 2px;text-align:left;font-weight:600;color:#2b2b2b}
#coordonnees input,#coordonnees select,#coordonnees textarea{
  width:90%;max-width:320px;margin:0 auto 10px;display:block;height:38px;line-height:38px;
  padding:6px 10px;border:1px solid #cfcfcf;border-radius:6px;box-sizing:border-box;font-size:.95rem
}
#coordonnees textarea{
  height:auto;
  min-height:100px;
  line-height:1.4;
  resize: none;   /* empêche le redimensionnement */
}


/* CTA */
.card-cta{grid-area:cta;background:#eef8f0;border:none #28a745;display:flex;align-items:center;justify-content:center;flex-direction:column}
.btn-cta{min-width:260px;padding:12px 18px;font-weight:700;border-radius:8px;border:0;background:linear-gradient(135deg,#28a745,#1f7d33);color:#fff;cursor:pointer;
  transition:transform .2s,box-shadow .2s,background .3s}
.btn-cta:hover{transform:scale(1.05);box-shadow:0 0 12px rgba(40,167,69,.6);background:linear-gradient(135deg,#218838,#176628)}
.rgpd{margin-top:8px;font-size:.85rem;opacity:.8;text-align:center;color:#444}

/* Responsive */
@media (max-width:960px){
  .grid-form{grid-template-columns:1fr;grid-template-areas:"demande" "coordonnees" "selection" "cta"}
  #votre-demande .row.ligne1{grid-template-columns:1fr}
  #votre-demande .row.ligne2{grid-template-columns:1fr}
  .selection-grid{grid-template-columns:1fr}
}
/* Civilité — radios plus petits et alignés */
#coordonnees .civilite input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: #2f69a6; /* couleur bleue pour garder ton style */
  vertical-align: middle;
  margin-right: 6px;
}

#coordonnees .civilite label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  display: flex;
  align-items: center;
  gap: 6px;
}
/* ======= Organisation des lignes ======= */

/* Ligne 1 : JE VENDS / JE LOUE / Type / Pièces */
#votre-demande .row.ligne1 {
  display: grid;
  grid-template-columns: 260px 1fr 1fr; /* radios | type | pièces */
  gap: 16px;
  align-items: end;
  margin-bottom: 12px;
}

#votre-demande .transaction label {
  margin-right: 14px;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}

/* Ligne 2 : Année | Gaz | Elec */
#votre-demande .row.ligne2 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

#votre-demande label {
  font-weight: 600;
  color: #fff;
}

#votre-demande select {
  background: #fff;
  color: #000;
  height: 38px;
  border: 1px solid #cfcfcf;
  border-radius: 6px;
  padding: 4px 8px;
  width: 100%;
}

/* Responsive */
@media (max-width: 960px) {
  #votre-demande .row.ligne1,
  #votre-demande .row.ligne2 {
    grid-template-columns: 1fr;
  }
}

/* ===== Titres séparés des blocs ===== */
.title-bar{
  display:flex; align-items:center; gap:10px;
  margin: 4px 0 8px;
  padding: 10px 14px;
  border: 2px solid;
  border-radius: 10px;
  font-weight: 800;
  grid-column: 1 / -1; /* occupe toute la largeur de la grille */
  background:#fff;
}
.title-bar::before{
  content:"";
  width:10px; height:10px; border-radius:999px;
  border:2px solid currentColor;
}

/* Variantes colorées alignées aux cartes */
.title-blue  { border-color:#2f69a6; background:rgba(47,105,166,.08); color:#1e4a78; }
.title-green { border-color:#4da460; background:rgba(77,164,96,.08); color:#2e7d45; }
.title-tan   { border-color:#e2d3a3; background:rgba(226,211,163,.18); color:#6a5f3a; }

/* On neutralise l'ancien titre intégré si encore présent */
.section-title{ display:none !important; }

/* ===== Bandeau d'étapes ===== */
.steps{
  display:flex; gap:10px; flex-wrap:wrap;
  align-items:center; justify-content:center;
  margin: 8px auto 16px; max-width:1100px;
}
.step{
  padding:10px 14px;
  border:2px solid #cfcfcf;
  border-radius: 999px;
  font-weight:700;
  background:#fff;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.step:hover{ transform: translateY(-1px); box-shadow:0 2px 8px rgba(0,0,0,.08); }
.step.active{ border-color:#2f69a6; background:rgba(47,105,166,.10); color:#1e4a78; }
.step.blue.active  { border-color:#2f69a6; background:rgba(47,105,166,.10); color:#1e4a78; }
.step.green.active { border-color:#4da460; background:rgba(77,164,96,.10); color:#2e7d45; }
.step.tan.active   { border-color:#e2d3a3; background:rgba(226,211,163,.18); color:#6a5f3a; }

/* (Optionnel) petit resserrage des cartes après le titre */
.card{ margin-top: 0; }
.advantages {
  text-align: center;
  margin: 20px auto 30px;
  max-width: 1100px;
  color: #2f69a6;
}

.advantages-intro {
  font-size: 1.1rem;
  margin-bottom: 18px;
  font-weight: 500;
}

.advantages-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}

.advantage {
  flex: 1 1 200px;
  max-width: 250px;
}

.advantage .icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 8px;
}

.advantage h4 {
  font-size: 1rem;
  color: #1e4a78;
  margin: 5px 0;
  font-weight: 700;
}

.advantage p {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.3;
}

/* Panneau infos : label au-dessus, valeur en dessous */
.diag-info .info-row{
  display: block;            /* remplace le flex existant */
  padding: 8px 0;
  border-bottom: 1px dashed #e5e7eb;
}
.diag-info .info-row:last-child{ border-bottom:none; }

.diag-info .info-label{
  display: block;
  font-weight: 700;
  color: #334155;
  margin-bottom: 4px;        /* petit espace avant la valeur */
}

.diag-info .info-value{
  display: block;
  color: #0f172a;
  white-space: pre-line;     /* respecte les \n dans les textes */
}
/* Bandeau d'étapes réactif */
.steps { display:flex; gap:10px; flex-wrap:wrap; }
.steps .step{
  transition: all .15s ease;
  border:1px solid #e2e8f0;
  border-radius:10px;
  padding:8px 12px;
  background:#f8fafc;
}
.steps .step.active{
  border-color:#2563eb;
  background:#eef5ff;
  font-weight:700;
  box-shadow:0 0 0 2px rgba(37,99,235,.12) inset;
}
.steps .step.done{
  border-color:#16a34a;
  background:#ecfdf5;
  position:relative;
}
.steps .step.done::after{
  content:"✓";
  margin-left:6px;
  font-weight:700;
  color:#16a34a;
}
/* ==== Encadrer la liste des diagnostics ==== */
.diag-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(260px, 1fr));
  gap:12px;
}

.diag-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:12px 14px;
  background:#fff;
  border:2px solid #d8e7de;          /* encadré par défaut (léger) */
  border-radius:12px;
  box-shadow:0 1px 2px rgba(0,0,0,.04) inset;
  transition:border-color .2s, box-shadow .2s, background .2s;
}

.diag-item:hover{
  box-shadow:0 0 0 3px rgba(77,164,96,.12) inset;
}

/* contenu */
.diag-icon{
  width:54px;
  height:54px;
  border-radius:16px;
  border:1px solid #e5e7eb;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 54px;
  overflow:hidden;
  box-shadow:0 2px 6px rgba(15,23,42,.08);
}
.diag-icon img{
  width:42px;
  height:42px;
  object-fit:contain;
  display:block;
}
.diag-label{ flex:1; font-weight:600; color:#0f172a; }
.diag-right{ display:flex; align-items:center; gap:8px; }

.badge-obli,.badge-opt{
  font-size:.75rem; padding:2px 8px; border-radius:999px; border:1px solid currentColor;
}
.badge-obli{ color:#155e28; background:#ecfdf5; border-color:#16a34a; }
.badge-opt{  color:#1e4a78; background:#eff6ff; border-color:#2f69a6; }

/* état coché (ton JS ajoute .checked sur le <li>) */
.diag-item.checked{
  border-color:#16a34a;
  background:#f6fff8;
  box-shadow:0 0 0 3px rgba(22,163,74,.20);
}

/* accessibilité focus clavier */
.diag-item:focus-within{
  box-shadow:0 0 0 3px rgba(37,99,235,.25);
}

/* option : checkbox un peu plus grande */
.diag-right input[type="checkbox"]{ transform:scale(1.15); }

/* mobile */
@media (max-width:640px){
  .diag-list{ grid-template-columns:1fr; }
}

/* Cartes diagnostics vente/location : plus compactes et alignées à gauche */
main > article.card{
  max-width:960px;
  width:calc(100% - 48px);
  margin:18px auto 28px 24px;
  padding:14px;
}
main > article.card > section.card,
main > article.card > nav.card{
  width:100%;
  margin-left:0;
  margin-right:auto;
  padding:12px 14px;
}
main > article.card .grid{ gap:10px; }
main > article.card .mini.card{ padding:10px 12px; }
@media(max-width:768px){
  main > article.card{
    width:calc(100% - 24px);
    margin:12px 12px 20px;
    padding:12px;
  }
  main > article.card > section.card,
  main > article.card > nav.card{
    padding:10px 12px;
  }
}

/* 2) Remets un texte lisible dans les cartes diagnostics */
.card-green .diag-item { background:#fff; color:#1f2937; }     /* texte foncé */
.card-green .diag-item .diag-label { color:#1f2937; font-weight:600; }

/* 3) État coché : encadré vert mais texte reste lisible */
.card-green .diag-item.checked {
  border-color:#16a34a;
  background:#f6fff8;
  color:#0f172a;
}

/* 4) Titre des groupes dans la carte verte */
.card-green .group-title { color:#0f172a; }


/* === Fiche diagnostic — thème modernisé === */
.fiche{
  --brand-blue:#2f69a6;
  --brand-blue-dark:#1e4a78;
  --brand-green:#16a34a;
  --ink:#1f2937;
  --muted:#6b7280;
  --surface:#fff;
  --surface-2:#f8fafc;
  --border:#e5e7eb;
  color:var(--ink);
}

/* Titre + sous-titre */
.fiche h1{margin:.2rem 0 .4rem;font-size:clamp(1.6rem,2.5vw,2.2rem);font-weight:800;letter-spacing:.2px}
.fiche .subhead{color:var(--muted);margin-bottom:10px}

/* Bloc “En bref” */
.fiche .brief{margin:14px 0;background:var(--surface);border:1px solid #dbeafe;border-radius:12px;overflow:hidden}
.fiche .brief .head{background:#ebf3ff;color:var(--brand-blue-dark);padding:10px 14px;font-weight:700;display:flex;align-items:center;gap:8px}
.fiche .brief .grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;padding:14px}
.fiche .card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:14px;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.fiche .card h3{margin:0 0 8px;font-size:1rem;color:#111827}

/* Sommaire (TOC) */
.fiche .toc{margin:16px 0;background:#f0fdf4;border:1px solid #86efac;border-radius:12px;padding:10px 14px}
.fiche .toc .head{font-weight:700;color:#065f46;margin-bottom:6px;display:flex;gap:8px;align-items:center}
.fiche .toc a{display:block;padding:6px 0;color:var(--brand-blue-dark);text-decoration:none;border-bottom:1px dashed #e5e7eb}
.fiche .toc a:hover{text-decoration:underline}

/* Mise en page 2 colonnes avec sommaire “collant” sur grand écran */
@media(min-width:1024px){
  .fiche.layout{display:grid;grid-template-columns:1fr 280px;gap:24px;align-items:start}
  .fiche .toc{position:sticky;top:20px}
}
@media(max-width:1024px){ .fiche .brief .grid{grid-template-columns:repeat(2,1fr)} }
@media(max-width:640px){ .fiche .brief .grid{grid-template-columns:1fr} }

/* Lecture confortable */
.fiche .content{max-width:80ch;line-height:1.65}
.fiche strong{font-weight:700}
.fiche .price{font-weight:700}



/* === Fiche diagnostic — thème modernisé === */
.fiche{
  --brand-blue:#2f69a6;
  --brand-blue-dark:#1e4a78;
  --brand-green:#16a34a;
  --ink:#1f2937;
  --muted:#6b7280;
  --surface:#fff;
  --surface-2:#f8fafc;
  --border:#e5e7eb;
  color:var(--ink);
}

/* Titre + sous-titre */
.fiche h1{margin:.2rem 0 .4rem;font-size:clamp(1.6rem,2.5vw,2.2rem);font-weight:800;letter-spacing:.2px}
.fiche .subhead{color:var(--muted);margin-bottom:10px}

/* Bloc “En bref” */
.fiche .brief{margin:14px 0;background:var(--surface);border:1px solid #dbeafe;border-radius:12px;overflow:hidden}
.fiche .brief .head{background:#ebf3ff;color:var(--brand-blue-dark);padding:10px 14px;font-weight:700;display:flex;align-items:center;gap:8px}
.fiche .brief .grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;padding:14px}
.fiche .card{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:14px;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.fiche .card h3{margin:0 0 8px;font-size:1rem;color:#111827}

/* Sommaire (TOC) */
.fiche .toc{margin:16px 0;background:#f0fdf4;border:1px solid #86efac;border-radius:12px;padding:10px 14px}
.fiche .toc .head{font-weight:700;color:#065f46;margin-bottom:6px;display:flex;gap:8px;align-items:center}
.fiche .toc a{display:block;padding:6px 0;color:var(--brand-blue-dark);text-decoration:none;border-bottom:1px dashed #e5e7eb}
.fiche .toc a:hover{text-decoration:underline}

/* Mise en page 2 colonnes avec sommaire “collant” sur grand écran */
@media(min-width:1024px){
  .fiche.layout{display:grid;grid-template-columns:1fr 280px;gap:24px;align-items:start}
  .fiche .toc{position:sticky;top:20px}
}
@media(max-width:1024px){ .fiche .brief .grid{grid-template-columns:repeat(2,1fr)} }
@media(max-width:640px){ .fiche .brief .grid{grid-template-columns:1fr} }

/* Lecture confortable */
.fiche .content{max-width:80ch;line-height:1.65}
.fiche strong{font-weight:700}
.fiche .price{font-weight:700}

/* Petits encadrés d’info */
.fiche .callout{border-left:4px solid var(--brand-green);background:#f6fff8;padding:12px 14px;border-radius:10px}



/* === Palette === */
:root{
  --brand-blue:#2f69a6;      /* bleu titres */
  --brand-blue-dark:#1e4a78;
  --brand-green:#16a34a;     /* vert Sommaire */
}

/* 1) Tous les titres en bleu (uniformisation) */
.title-bar{
  background:var(--brand-blue) !important;
  color:#fff !important;
  border:0;
  padding:10px 14px;
  border-radius:10px;
  font-weight:700;
}
/* Même si le HTML a .title-green / .title-tan, on force en bleu */
.title-blue,
.title-green,
.title-tan,
.title-pink{ background:var(--brand-blue) !important; color:#fff !important; }

/* Titres H1 des fiches en bleu aussi */
.fiche h1{ color:var(--brand-blue); }

/* Sommaire (bleu clair, liens bleu foncé) */
.fiche .toc{
  background:#eaf3ff;
  border:1px solid #cfe0ff;
  color:#0f3d73;
  border-radius:12px;
  padding:12px 14px;
  box-shadow:0 6px 16px rgba(0,0,0,.08);
}
.fiche .toc .head{ color:#0f3d73; font-weight:800; margin-bottom:6px; }
.fiche .toc a{
  color:#0f3d73;
  text-decoration:none;
  display:block;
  padding:6px 0;
  background:transparent;
  border-bottom:1px dashed rgba(15,61,115,.25);
}
.fiche .toc a:hover{
  background:transparent;
  text-decoration:underline;
  opacity:.95;
}

/* --- Section inscription pro --- */
.pro-onboard-card {
  max-width: 760px;
  margin: 24px auto;
  padding: 28px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}
.pro-onboard-head h1 {
  margin: 0 0 8px;
  font-size: 1.8rem;
}
.pro-onboard-head p {
  margin: 0 0 18px;
  color: #475569;
  font-size: 1rem;
}
.pro-onboard-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pro-onboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.pro-onboard-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pro-onboard-field--wide {
  grid-column: span 2;
}
.pro-onboard-field label {
  font-weight: 600;
  color: #0f172a;
}
.pro-onboard-field input {
  border-radius: 10px;
  border: 1px solid #d7dde7;
  padding: 12px 14px;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pro-onboard-field input:focus {
  outline: none;
  border-color: #2f69a6;
  box-shadow: 0 0 0 3px rgba(47, 105, 166, 0.18);
}
.autocomplete-wrap {
  position: relative;
}
.autocomplete-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #d7dde7;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.16);
  max-height: 220px;
  overflow-y: auto;
  display: none;
  z-index: 30;
}
.autocomplete-list .autocomplete-item {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 0.95rem;
  border-bottom: 1px solid #eef2f7;
}
.autocomplete-list .autocomplete-item:last-child {
  border-bottom: 0;
}
.autocomplete-list .autocomplete-item:hover {
  background: #5e92df;
  color: #1e4a78;
}
.btn-cta--wide {
  width: 100%;
  max-width: 320px;
  align-self: flex-start;
}
.pro-onboard-card .form-actions {
  margin-top: 4px;
}

@media (max-width: 640px) {
  .pro-onboard-card {
    padding: 20px;
  }
  .pro-onboard-field--wide {
    grid-column: span 1;
  }
}

.pro-auth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin: 20px auto;
  max-width: 960px;
}
.pro-auth-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pro-auth-card--muted {
  background: #f8fafc;
  border: 1px dashed #cbd5f5;
}
.pro-auth-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pro-auth-form--inline {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
}
.pro-auth-field {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pro-auth-field label {
  font-weight: 600;
  color: #0f172a;
}
.pro-auth-field input {
  border-radius: 10px;
  border: 1px solid #d7dde7;
  padding: 12px 14px;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pro-auth-field input:focus {
  outline: none;
  border-color: #2f69a6;
  box-shadow: 0 0 0 3px rgba(47, 105, 166, 0.18);
}
.pro-auth-alt {
  margin: 0;
  color: #475569;
}
.pro-auth-card--muted .btn-cta {
  min-width: 190px;
}
.pro-auth-debug {
  font-size: 0.9rem;
  color: #475569;
}
.pro-auth-debug a {
  color: #1d4ed8;
  text-decoration: underline;
}

@media (max-width: 640px) {
.pro-auth-form--inline {
    flex-direction: column;
    align-items: stretch;
  }
}

.client-login-card {
  max-width: 520px;
  margin: 30px auto;
  padding: 28px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.client-login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.client-login-card .btn-cta {
  align-self: flex-start;
}

.pro-insee-card {
  margin-top: 20px;
  gap: 22px;
}
.pro-insee-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.pro-insee-section {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 18px;
  background: #f8fafc;
}
.pro-insee-section h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}
.pro-insee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 18px;
}
.pro-insee-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pro-insee-field input {
  border: 1px solid #d7dde7;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 1rem;
}
.pro-insee-readonly {
  background: #f1f5f9;
  color: #475569;
}
.pro-insee-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.pro-insee-back {
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 600;
}
.pro-insee-back:hover {
  text-decoration: underline;
}

.pro-services-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pro-services-zone {
  padding: 18px;
}
.pro-services-zone-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.pro-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 600;
  width: 100%;
}
.pro-field input {
  border: 1px solid #d7dde7;
  border-radius: 8px;
  padding: 8px 10px;
  font-weight: 400;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pro-field-note {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: #64748b;
}
.pro-services-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.pro-service-card {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pro-service-title {
  display: flex;
  gap: 8px;
  font-weight: 700;
  align-items: center;
}
.pro-service-cert {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.pro-service-cert .pro-field {
  flex: 1;
  min-width: 150px;
}
.pro-service-typo h4 {
  margin: 0 0 6px;
  font-size: 1rem;
}
.pro-typo-group {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px;
  margin-top: 8px;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pro-typo-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.9rem;
  color: #475569;
}
.pro-typo-head strong {
  color: #0f172a;
}
.pro-typo-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}
.pro-typo-group {
  width: 100%;
}
.pro-typo-groups {
  display: grid;
  gap: 10px;
}
.pro-services-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.pro-services-actions a {
  color: #1d4ed8;
  text-decoration: none;
  font-weight: 600;
}
.pro-services-actions a:hover {
  text-decoration: underline;
}

@media (min-width: 1400px) {
  .pro-services-grid {
    grid-template-columns: repeat(3, minmax(240px, 1fr));
  }
}

.pro-profile-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: min(1100px, calc(100vw - 24px));
  margin: 0 auto;
  padding: 0 4px;
  overflow-x: hidden;
}
.pro-profile-form * {
  max-width: 100%;
  box-sizing: border-box;
}
.pro-profile-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}
.pro-profile-card > * {
  max-width: 100%;
}
.pro-profile-card legend {
  font-weight: 700;
  padding: 0 10px;
  background: #fff;
  border-radius: 6px;
  margin-left: 6px;
}
.pro-profile-grid {
  display: grid;
  gap: 10px 16px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
.pro-profile-grid > .pro-field {
  min-width: 0;
}
.pro-profile-card,
.pro-profile-grid,
.pro-field,
.pro-field input {
  overflow-wrap: anywhere;
  box-sizing: border-box;
}
.pro-profile-photo img {
  max-width: 200px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.btn-danger {
  background: #ef4444;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 6px 12px;
  cursor: pointer;
}
.pro-profile-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.pro-profile-actions a {
  color: #1d4ed8;
  text-decoration: none;
}
.pro-profile-actions a:hover {
  text-decoration: underline;
}

.admin-payout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.admin-payout-header h1 {
  margin: 0;
}
.admin-payout-header p {
  margin: 4px 0 0;
  color: #475569;
}
.admin-payout-badge {
  padding: 6px 12px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 600;
  font-size: 0.9rem;
}
.admin-payout-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  margin-bottom: 18px;
}
.admin-payout-card__title {
  font-weight: 600;
  margin-bottom: 12px;
}
.admin-payout-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-payout-table th,
.admin-payout-table td {
  padding: 10px;
  border-bottom: 1px solid #f1f5f9;
  text-align: left;
}
.admin-empty {
  margin: 12px 0;
  color: #64748b;
}
.admin-payout-section {
  margin-top: 32px;
}
.admin-payout-section__head h2 {
  margin: 0;
}
.admin-payout-section__head p {
  margin: 4px 0 12px;
  color: #475569;
}
.admin-status-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.admin-filter-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-bottom: 16px;
}
.admin-date-filter {
  flex: 0 0 180px;
}
.admin-pro-search {
  flex: 0 0 320px;
}
.admin-filter-btn {
  background: #0f172a;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 8px 16px;
}
.admin-mission-title {
  font-weight: 600;
}
.admin-mission-meta {
  font-size: 0.9rem;
  color: #475569;
}
.admin-mission-pro div:last-child,
.admin-mission-meta {
  font-size: 0.85rem;
  color: #64748b;
}
.admin-mission-amount {
  font-weight: 600;
}
.admin-mission-status__label {
  font-weight: 600;
}
.admin-mission-updated {
  font-size: 0.8rem;
  color: #94a3b8;
}
.admin-mission-action {
  min-width: 260px;
}
.admin-mission-update {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}
.admin-mission-update label {
  font-size: 0.85rem;
  color: #475569;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.admin-mission-update input,
.admin-mission-update select,
.admin-mission-update textarea {
  width: 100%;
  padding: 6px 8px;
  border: 1px solid #cbd5f5;
  border-radius: 6px;
}
.admin-mission-update__btn {
  align-self: flex-start;
  background: #22c55e;
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 6px 12px;
}
.admin-mission-validate-actions {
  display: flex;
  gap: 8px;
}
.admin-mission-reject {
  background: #ef4444;
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 6px 12px;
}

.pro-dashboard-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  margin-top: 12px;
}
.pro-dashboard-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 600;
}
.pro-dashboard-field input {
  border: 1px solid #d7dde7;
  border-radius: 8px;
  padding: 8px 10px;
  font-weight: 400;
}
.pro-dashboard-actions .btn,
.pro-dashboard-filters .btn {
  background: #1d4ed8;
  color: #fff;
  border: 0;
  padding: 8px 16px;
  border-radius: 8px;
}
.pro-range-filter{
  margin-top:12px;
  padding:12px;
  border:1px solid #e2e8f0;
  border-radius:12px;
  background:#f8fafc;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.pro-range-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  flex-wrap:wrap;
}
.pro-range-title{
  font-weight:700;
  color:#0f172a;
  margin-bottom:4px;
}
.pro-range-summary{
  color:#475569;
  font-size:.95rem;
}
.pro-range-actions{
  display:flex;
  gap:10px;
  align-items:center;
}
.pro-range-fields{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.pro-range-label{
  font-weight:600;
  color:#0f172a;
  font-size:.9rem;
}
.pro-range-sep{
  color:#94a3b8;
  font-weight:700;
}
.pro-range-quick{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.pro-range-quick button{
  padding:8px 12px;
  background:#fff;
  border:1px solid #d7dde7;
  border-radius:999px;
  cursor:pointer;
  font-weight:600;
  color:#0f172a;
}
.pro-range-quick button:hover{
  border-color:#1d4ed8;
  color:#1d4ed8;
}
.btn-link{
  background:none;
  border:0;
  color:#ef4444;
  font-weight:600;
  cursor:pointer;
  padding:8px 0;
}
.pro-dashboard-stats {
  margin-top: 12px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.pro-dashboard-stat {
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
}
.pro-dashboard-stat .label {
  color: #64748b;
  font-size: 0.85rem;
}
.pro-dashboard-stat .value {
  font-size: 1.25rem;
  font-weight: 600;
}

.match-results-wrapper {
  max-width: 960px;
  margin: 18px 0 0;
  padding: 0 12px;
}
.match-results-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  overflow: visible;
}
.match-card {
  border: 1px solid rgba(148, 163, 184, .45);
  border-radius: 20px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.979);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.075);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: visible;
  z-index: 1;
}
.match-card__header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.match-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 6px 14px rgba(15,23,42,.18);
  flex-shrink: 0;
}
.match-card__avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 700;
  font-size: 1.2rem;
}
.match-card__meta h3 {
  margin: 0;
  font-size: 1.1rem;
}
.match-card__meta p {
  margin: 0;
  font-size: 0.95rem;
  color: #475569;
}
.match-card__radius {
  font-size: 0.85rem;
  color: #64748b;
}
.match-card__slots {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.match-card__actions {
  display: flex;
  justify-content: flex-start;
}
.match-card__actions .btn {
  min-width: 180px;
  border-radius: 999px;
}
.match-card__calendar {
  position: absolute;
  top: 10px;
  left: calc(100% + 16px);
  width: 640px;
  border-radius: 24px;
  border: 1px solid rgba(15,23,42,.4);
  background: rgba(15,23,42,.92);
  box-shadow: 0 24px 50px rgba(15,23,42,.35);
  padding: 22px;
  z-index: 10;
}
[data-match-card].is-active {
  border-color: #2563eb;
  box-shadow: 0 24px 50px rgba(37, 100, 235, 0.11);
  z-index: 5;
}
.slot-cards--collapsible [data-calendar-panel][hidden] {
  display: none;
}
.match-card.calendar-left .match-card__calendar {
  left: auto;
  right: calc(100% + 16px);
}
@media (max-width: 900px) {
  .match-card__calendar {
    position: static;
    width: auto;
    max-width: none;
    margin-top: 16px;
    border-radius: 18px;
  }
  .match-card.calendar-left .match-card__calendar {
    right: auto;
  }
}
.match-card__slot-picker {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: nowrap;
}
.match-card__slot-picker select {
  flex: 1;
  border: 1px solid #d7dde700;
  border-radius: 10px;
  padding: 10px 12px;
}
.match-card__slot-picker .btn {
  white-space: nowrap;
  border-radius: 999px;
}
.match-card__no-slot {
  margin: 0;
  color: #94a3b8;
}
@media (max-width: 600px) {
  .match-card__slot-picker {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: stretch;
  }
  .match-card__slot-picker .btn {
    width: 100%;
  }
  .slot-calendar__selection {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
}
.slot-calendar__selection {
  margin-left: auto;
  font-size: 0.85rem;
  color: #0f172a;
  padding: 6px 12px;
  background: #e0f2fe;
  border-radius: 999px;
  display: none;
  white-space: nowrap;
}
.slot-calendar--enhanced .slot-calendar__selection {
  display: inline-flex;
  align-items: center;
}

.signup-layout{
  display:grid;
  gap:20px;
  grid-template-columns:minmax(320px,520px) minmax(260px,1fr);
  align-items:flex-start;
  margin-top:20px;
}
@media (max-width:960px){
  .signup-layout{
    grid-template-columns:1fr;
  }
}
.signup-form{
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:24px;
  border-radius:20px;
  background:rgba(255,255,255,.9);
  box-shadow:0 18px 36px rgba(15,23,42,.08);
  border:1px solid rgba(148,163,184,.35);
}
.signup-form label{
  display:flex;
  flex-direction:column;
  gap:4px;
  font-weight:600;
  color:#0f172a;
}
.signup-form input[type="text"],
.signup-form input[type="email"],
.signup-form input[type="password"],
.signup-form input[type="tel"]{
  border:1px solid #d7dde7;
  border-radius:10px;
  padding:10px 12px;
  font-size:0.95rem;
  background:rgba(255,255,255,.9);
}
.signup-form input:focus{
  outline:2px solid #2563eb;
  outline-offset:1px;
}
.signup-card{
  border:1px solid rgba(148,163,184,.35);
  border-radius:16px;
  background:rgba(241,245,249,.85);
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.signup-card legend{
  font-weight:700;
  margin-bottom:8px;
  color:#0f172a;
}
.billing-check{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:600;
}
.billing-fields{
  display:none;
  margin-top:10px;
  gap:8px;
  flex-direction:column;
}
.billing-fields label{
  font-weight:600;
}
.billing-fields input{
  width:100%;
}
.signup-summary{
  background:rgba(255,255,255,.92);
  box-shadow:0 18px 36px rgba(15,23,42,.08);
}

@media (min-width: 1200px) {
  .match-results-grid {
    grid-template-columns: repeat(4, minmax(220px, 1fr));
  }
}
.pro-service-typo {
  display: grid;
  gap: 10px;
}
.documents-layout{
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:24px;
  margin-top:20px;
}
@media (max-width:960px){
  .documents-layout{grid-template-columns:1fr;}
}
.documents-section{
  background:#fff;
  border-radius:18px;
  border:1px solid #e2e8f0;
  padding:24px;
  box-shadow:0 12px 30px rgba(15,23,42,.08);
}
.documents-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
}
.documents-header p{
  margin:4px 0 0;
  color:#475569;
}
.documents-grid{
  margin-top:16px;
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:16px;
}
.document-card{
  border:1px solid #e2e8f0;
  border-radius:16px;
  padding:16px;
  background:#f8fafc;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.document-card__header{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
}
.doc-status{
  font-size:.75rem;
  padding:4px 10px;
  border-radius:999px;
  font-weight:600;
}
.doc-status--ok{
  background:rgba(34,197,94,.15);
  color:#15803d;
}
.doc-status--pending{
  background:rgba(59,130,246,.15);
  color:#1d4ed8;
}
.doc-status--missing{
  background:rgba(248,113,113,.15);
  color:#b91c1c;
}
.doc-status--warning{
  background:rgba(248,113,113,.15);
  color:#b91c1c;
}
.document-card__meta{
  display:flex;
  justify-content:space-between;
  gap:8px;
  font-size:.85rem;
  color:#475569;
}
.doc-action{
  color:#b91c1c;
  font-weight:600;
}
.document-card__hint{
  margin:0;
  color:#64748b;
  font-size:.9rem;
}
.dropzone{
  border:2px dashed #cbd5f5;
  border-radius:12px;
  padding:18px;
  text-align:center;
  color:#475569;
  font-weight:600;
  cursor:pointer;
  background:#fff;
  transition:border-color .2s ease, background .2s ease;
  display:block;
}
.dropzone:hover{
  border-color:#2563eb;
  background:#eff6ff;
}
.dropzone input{
  display:none;
}
.dropzone--small{
  padding:12px;
  font-size:.9rem;
}
.documents-cta{
  margin-top:20px;
  text-align:right;
}
.documents-section--extra{
  margin-top:32px;
  padding:0;
  border:none;
  box-shadow:none;
}
.documents-extra-upload{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:12px;
}
.extra-list{
  list-style:none;
  padding:0;
  margin:16px 0 0;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.extra-list li{
  display:flex;
  justify-content:space-between;
  align-items:center;
  background:#f1f5f9;
  padding:8px 12px;
  border-radius:10px;
}
.extra-actions{
  display:flex;
  gap:10px;
  align-items:center;
}
.extra-actions a{
  color:#1d4ed8;
  font-weight:600;
}
.documents-help{
  background:#0f172a;
  color:#e2e8f0;
  border-radius:18px;
  padding:24px;
  box-shadow:0 12px 30px rgba(15,23,42,.2);
}
.documents-help h3{
  margin-top:0;
}
.documents-help ul{
  padding-left:18px;
  line-height:1.6;
}
.documents-help__tip{
  margin-top:12px;
  padding:12px;
  border-radius:12px;
  background:rgba(255,255,255,.1);
}
.admin-filters--sticky{
  position:sticky;
  top:10px;
  z-index:100;
  background:#fff;
  padding:12px;
  border:1px solid #e2e8f0;
  border-radius:12px;
  box-shadow:0 10px 20px rgba(15,23,42,.08);
  margin-bottom:20px;
}
.admin-doc-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
  gap:18px;
}
.admin-doc-card{
  display:flex;
  gap:14px;
  padding:16px;
  border-radius:16px;
  border:1px solid #e2e8f0;
  background:#fff;
  box-shadow:0 12px 24px rgba(15,23,42,.08);
}
.admin-doc-card__icon{
  width:60px;
  height:60px;
  border-radius:14px;
  background:#e0e7ff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  color:#1e3a8a;
  font-size:1rem;
}
.admin-doc-card__body header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:6px;
}
.admin-doc-card__meta{
  font-size:.9rem;
  color:#475569;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:0;
}
.admin-doc-card__file{
  margin:8px 0;
  display:flex;
  flex-direction:column;
  gap:4px;
}
.admin-doc-card__file a{
  font-weight:600;
  color:#1d4ed8;
}
.admin-doc-card__comment{
  margin:0;
  font-size:.9rem;
  color:#b91c1c;
}
.admin-doc-card__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}
.doc-badge{
  font-size:.75rem;
  padding:4px 10px;
  border-radius:999px;
  font-weight:600;
}
.doc-badge--pending{background:rgba(59,130,246,.15);color:#1d4ed8;}
.doc-badge--approved{background:rgba(34,197,94,.15);color:#15803d;}
.doc-badge--rejected{background:rgba(248,113,113,.15);color:#b91c1c;}
.modal{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.55);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:5000;
}
.modal--open{display:flex;}
.modal__content{
  background:#fff;
  border-radius:18px;
  padding:24px;
  width:min(420px,90%);
  box-shadow:0 25px 45px rgba(15,23,42,.25);
}
.modal__actions{
  display:flex;
  justify-content:flex-end;
  gap:12px;
  margin-top:16px;
}
.button--ghost{
  background:transparent;
  color:#1f2937;
  border:1px solid #cbd5f5;
}
.button--danger{
  background:#dc2626;
  color:#fff;
}
@media (max-width:760px){
  .admin-doc-card{
    flex-direction:column;
  }
  .admin-doc-card__meta{
    flex-direction:column;
    align-items:flex-start;
  }
}
.reservation-cards{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
  gap:18px;
  margin-top:20px;
}
.reservation-card{
  border-radius:16px;
  border:1px solid #e2e8f0;
  box-shadow:0 12px 24px rgba(15,23,42,.08);
  background:#fff;
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.reservation-card header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}
.reservation-status{
  font-size:.75rem;
  padding:4px 8px;
  border-radius:999px;
  background:#e2e8f0;
  color:#1f2937;
}
.reservation-status--pending{background:rgba(251,191,36,.2);color:#92400e;}
.reservation-status--paid{background:rgba(34,197,94,.2);color:#15803d;}
.reservation-status--processing{background:rgba(59,130,246,.2);color:#1d4ed8;}
.reservation-card__info{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:12px;
}
.reservation-card__info h4{
  margin:0;
  font-size:.85rem;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:#94a3b8;
}
.reservation-card__info p{
  margin:4px 0;
  font-weight:600;
}
.reservation-card__actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.reservation-card__assign{
  display:flex;
  flex-direction:column;
  gap:6px;
}
@media (max-width:740px){
  .reservation-card{
    padding:16px;
  }
  .reservation-card header{
    flex-direction:column;
    align-items:flex-start;
  }
}
.doc-badge{
  display:inline-block;
  padding:4px 10px;
  border-radius:999px;
  font-size:.75rem;
  font-weight:600;
}
.doc-badge--missing{background:rgba(248,113,113,.2);color:#b91c1c;}
.doc-badge--pending{background:rgba(251,191,36,.2);color:#92400e;}
.doc-badge--ok{background:rgba(34,197,94,.2);color:#15803d;}
.hero-proof{
  margin:40px auto;
  padding:30px;
  max-width:1100px;
  background:linear-gradient(135deg,rgba(247,251,255,.7),rgba(238,242,255,.45));
  border-radius:24px;
  border:1px solid rgba(148,163,184,.35);
  box-shadow:0 20px 45px rgba(15,23,42,.12);
  display:flex;
  flex-direction:column;
  gap:20px;
  backdrop-filter:blur(4px);
}
.hero-proof__header{
  display:flex;
  gap:18px;
  align-items:flex-start;
}
.hero-proof__accent{
  width:4px;
  border-radius:999px;
  background:linear-gradient(180deg,#1d4ed8,#22d3ee);
  min-height:80px;
}
.hero-proof__eyebrow{
  margin:0;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:#1d4ed8;
  font-weight:700;
  font-size:.85rem;
}
.hero-proof__grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:18px;
}
.proof-card{
  background:#fff;
  border-radius:16px;
  padding:18px;
  border:1px solid #e2e8f0;
  box-shadow:0 12px 30px rgba(15,23,42,.08);
  transition:transform .2s ease, box-shadow .2s ease;
}
.proof-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 36px rgba(15,23,42,.12);
}
.proof-card__icon{
  width:48px;
  height:48px;
  border-radius:14px;
  background:rgba(37,99,235,.1);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.2rem;
  color:#1d4ed8;
  margin-bottom:10px;
}
.hero-proof__callout{
  margin-top:10px;
  background:#1d3557;
  color:#fff;
  border-radius:18px;
  padding:20px;
  display:flex;
  gap:16px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}
.hero-proof__callout p{
  margin:4px 0 0;
  color:#dbeafe;
}
.btn-light{
  background:#fff;
  color:#1f2937;
  padding:10px 18px;
  border-radius:999px;
  text-decoration:none;
  font-weight:600;
}
@media (max-width:720px){
  .hero-proof__header{flex-direction:column;}
  .hero-proof__callout{flex-direction:column;align-items:flex-start;}
}
.slot-picker__header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:6px;
}
.slot-picker__label{
  font-weight:600;
  color:#ffffff;
}
