/* =========================================================================
   Profil — habillage ordinateur
   -------------------------------------------------------------------------
   Pendant desktop de user/index-mobile.php. Même principe : le numéro de
   téléphone saisi à la réservation retrouve les réservations qui lui
   correspondent.

   Deux colonnes pour l'écran d'entrée : argumentaire de marque à gauche,
   formulaire à droite. Le mobile suit un gabarit distinct, plus proche d'un
   écran de connexion classique (logo, champ, bouton sur fond uni) — les deux
   tailles d'écran n'ont pas à partager la même mise en page.

   Deux écrans :
     - pas de numéro connu : les deux colonnes ci-dessous ;
     - numéro connu        : redevient une page normale (bandeau + contenu).

   Chargée par la seule vue user/index.php.
   ========================================================================= */

:root {
  --pfd-blue: var(--yb-blue, #0d65c9);
  --pfd-navy: var(--yb-navy, #0d233e);
  --pfd-ink:  #101828;
  --pfd-body: #667085;
  --pfd-line: #e7eaf0;
}

/* ---------- Écran « Retrouver mes réservations », deux colonnes ---------- */

.pfd-suivi {
  min-height: 82vh;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  border-radius: 20px; overflow: hidden; margin: 40px auto;
  max-width: 1080px; box-shadow: 0 24px 60px rgba(16,24,40,.16);
}
@media (max-width: 860px) {
  .pfd-suivi { grid-template-columns: 1fr; margin: 0; border-radius: 0; box-shadow: none; min-height: 0; }
}

/* -- Colonne de marque : la photo fournie (client au guichet, ticket
   retrouvé sur son téléphone) plutôt qu'un aplat de couleur — elle montre
   littéralement ce que la page fait. Voile sombre superposé pour que le
   texte blanc reste lisible, même motif que .yb-hero__media (mobile-app.css)
   sur la page d'accueil. -- */
.pfd-suivi__marque {
  position: relative; overflow: hidden;
  background: url("../images/profile.png") center 22% / cover no-repeat;
  color: #fff; padding: 48px 40px;
  display: flex; flex-direction: column; justify-content: center;
}
.pfd-suivi__marque::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(155deg, rgba(13,35,62,.46) 0%, rgba(28,78,147,.38) 55%, rgba(37,99,235,.30) 100%);
}

.pfd-suivi__marque h1 { position: relative; margin: 0 0 12px; font-size: 26px; font-weight: 700; line-height: 1.3; text-shadow: 0 2px 10px rgba(0,0,0,.55); }
.pfd-suivi__marque > p {
  position: relative; margin: 0 0 30px; font-size: 14.5px; color: rgba(255,255,255,.92); max-width: 340px;
  text-shadow: 0 1px 8px rgba(0,0,0,.55);
}

/* Le voile est maintenant léger (la photo doit rester visible) : les
   pastilles portent elles-mêmes un fond plus couvrant, sinon leur texte se
   perd selon l'endroit de la photo sur lequel elles tombent. */
.pfd-services { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pfd-services__item {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 12px;
  background: rgba(13,35,62,.55); backdrop-filter: blur(3px);
  font-size: 13px; font-weight: 600; text-shadow: 0 1px 6px rgba(0,0,0,.4);
}
.pfd-services__item i { font-size: 16px; opacity: .9; }

/* -- Colonne formulaire -- */
.pfd-suivi__form {
  background: #fff; padding: 48px 44px;
  display: flex; flex-direction: column; justify-content: center;
}
.pfd-suivi__form h2 { margin: 0 0 6px; font-size: 20px; font-weight: 700; color: var(--pfd-ink); }
.pfd-suivi__form > p { margin: 0 0 26px; font-size: 14px; color: var(--pfd-body); }

.pfd-champ { margin-bottom: 16px; text-align: left; }
.pfd-champ label {
  display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 600; color: var(--pfd-ink);
}
.pfd-champ input {
  width: 100%; padding: 13px 14px; border-radius: 10px;
  border: 1px solid var(--pfd-line); font-size: 15px; color: var(--pfd-ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.pfd-champ input:focus {
  outline: none; border-color: var(--pfd-blue); box-shadow: 0 0 0 3px rgba(37,99,235,.14);
}
.pfd-champ input[name="code"] {
  text-align: center; font-size: 22px; font-weight: 700; letter-spacing: 10px;
}

.pfd-bouton {
  display: inline-block; width: 100%; padding: 14px; border: none; border-radius: 10px;
  background: var(--pfd-blue); color: #fff !important; font-size: 15px; font-weight: 700;
  text-align: center; text-decoration: none !important; cursor: pointer;
  box-shadow: 0 10px 24px rgba(37,99,235,.25);
  transition: background .15s ease, transform .1s ease;
}
.pfd-bouton:hover  { background: var(--yb-blue-dark, #0a52a4); }
.pfd-bouton:active { transform: scale(.98); }

.pfd-suivi__note { margin: 16px 0 0; font-size: 12.5px; color: var(--pfd-body); }
.pfd-suivi__retour {
  display: inline-block; margin-top: 20px; font-size: 13px; font-weight: 600;
  color: var(--pfd-body) !important; text-decoration: none !important;
}
.pfd-suivi__retour:hover { color: var(--pfd-blue) !important; }
.pfd-suivi__retour i { margin-right: 5px; }

/* ---------- Étape « code » --------------------------------------------- */

.pfd-erreur {
  margin: 0 0 18px; padding: 11px 14px; border-radius: 8px;
  background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c;
  font-size: 13.5px;
}
.pfd-suivi__renvoi { margin-top: 10px; }
.pfd-lien-bouton {
  background: none; border: none; padding: 0; cursor: pointer;
  font-size: 13px; font-weight: 700; color: var(--pfd-blue);
}
.pfd-lien-bouton:hover { text-decoration: underline; }

/* ---------- Numéro identifié : page normale ------------------------------- */

.pfd-hero {
  background: linear-gradient(135deg, var(--pfd-navy) 0%, var(--yb-navy, #0d233e) 60%, var(--pfd-blue) 100%);
  color: #fff; padding: 40px 0 56px;
}
.pfd-hero__inner { display: flex; align-items: center; gap: 16px; }
.pfd-hero__ico {
  flex: 0 0 auto; width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.pfd-hero h1 { margin: 0 0 4px; font-size: 24px; font-weight: 700; }
.pfd-hero p  { margin: 0; font-size: 14.5px; color: rgba(255,255,255,.82); }
.pfd-hero__autre {
  margin-left: auto; padding: 9px 18px; border-radius: 999px;
  background: rgba(255,255,255,.14); color: #fff !important; font-size: 13px; font-weight: 700;
  text-decoration: none !important; white-space: nowrap;
}
.pfd-hero__autre:hover { background: rgba(255,255,255,.24); }

.pfd-resultats { max-width: 1040px; margin: -28px auto 60px; padding: 0 20px; }
.pfd-resultats table { display: block; overflow-x: auto; white-space: nowrap; }
