/*
 * Portail TIR V67DF — Harmonisation légère des couleurs des pages dédiées.
 * Référence visuelle : site de La Cible de l'Arve (pages blanches, sections gris
 * clair, en-tête/pied de page noir et touches rouge foncé).
 * La structure HTML, les tailles, les panneaux, les formulaires et les traitements
 * métier ne sont pas modifiés. Feuille chargée après les styles existants.
 */
:root{
  --pt-primary:#9b1c26;
  --pt-primary-dark:#7e1720;
  --pt-accent:#a7242c;
  --pt-bg:#e8ebee;
  --pt-card:#fff;
  --pt-text:#202226;
  --pt-muted:#64686d;
  --pt-line:#d9dde0;
  --pt-shadow:0 16px 42px rgba(20,20,20,.09);
  --pt-shadow-soft:0 6px 20px rgba(20,20,20,.055);
}
html{background:#e8ebee}
body.pt-public-page{
  background:linear-gradient(180deg,#f9f9f9 0%,#e7eaed 100%)!important;
  color:#222!important;
}
/* Conserver l'en-tête en place, en remplaçant uniquement le dégradé bleu/violet. */
body.pt-public-page .pt-public-hero{
  background:linear-gradient(125deg,#18191b,#333436)!important;
  box-shadow:0 8px 28px rgba(0,0,0,.13)!important;
}
body.pt-public-page .pt-public-hero::before,
body.pt-public-page .pt-public-hero::after{background:rgba(255,255,255,.025)!important}
body.pt-public-page .pt-public-subtitle{color:#e7e7e7!important}
body.pt-public-page .pt-public-kicker{color:#eee!important}
body.pt-public-page .pt-public-header-badge{
  background:rgba(255,255,255,.10)!important;
  border-color:rgba(255,255,255,.24)!important;
}
/* Fonds et bordures : blanc et gris clair comme les rubriques du site du club. */
body.pt-public-page .card,
body.pt-public-page .panel,
body.pt-public-page .search-panel,
body.pt-public-page .results-panel,
body.pt-public-page .fiche,
body.pt-public-page .user-bar,
body.pt-public-page .pt-user-nav,
body.pt-public-page #loginView.pt-auth-card,
body.pt-public-page #loginPanel.pt-auth-card{
  background:#fff!important;
  border-color:#d9dde0!important;
}
body.pt-public-page .intro,
body.pt-public-page .notice{
  background:#fff!important;
  border-color:#d9dde0!important;
  color:#3a3d40!important;
}
body.pt-public-page .info,
body.pt-public-page .login-info,
body.pt-public-page .auth-summary,
body.pt-public-page .pt-security-card,
body.pt-public-page .security-box{
  background:#f6f7f8!important;
  border-color:#d9dde0!important;
  color:#34373b!important;
}
body.pt-public-page input:not([type="checkbox"]):not([type="radio"]),
body.pt-public-page textarea,
body.pt-public-page select{
  background:#fff!important;
  border-color:#cdd1d5!important;
}
body.pt-public-page input:focus,
body.pt-public-page textarea:focus,
body.pt-public-page select:focus{
  border-color:#9b1c26!important;
  box-shadow:0 0 0 4px rgba(155,28,38,.13)!important;
}
body.pt-public-page input[type="checkbox"],
body.pt-public-page input[type="radio"]{accent-color:#9b1c26!important}
/* Même boutons que précédemment : on change leur couleur, pas leur forme. */
/* Le bouton principal hérite de --pt-primary via les styles existants.
   On évite de recolorer les boutons de statut des calendriers. */
body.pt-public-page button.secondary,
body.pt-public-page button.ghost,
body.pt-public-page button.neutral,
body.pt-public-page .btn.secondary,
body.pt-public-page .btn.ghost,
body.pt-public-page .btn.neutral{
  background:#f1f2f3!important;
  border-color:#dadde0!important;
  color:#353535!important;
}
body.pt-public-page a:not(.open):not(.btn){color:#8e1b25}
body.pt-public-page .avatar{background:#f4e7e8!important;color:#8e1b25!important}
body.pt-public-page .result-card.active{background:#fdf4f4!important;border-color:#b14a51!important}
body.pt-page-search .fiche-header{background:linear-gradient(125deg,#232426,#3d3d3d)!important}
body.pt-page-search .contact-link{color:#8e1b25!important}
body.pt-page-formation .step.active{background:#9b1c26!important;border-color:#9b1c26!important}
body.pt-page-formation .step:not(.active){background:#f5f5f5!important;border-color:#d9dde0!important}
body.pt-page-formation .hint{background:#f4f5f6!important;border-color:#e0e1e2!important}
body.pt-page-formation label.consent input{accent-color:#9b1c26!important}
body.pt-page-formation .identity,
body.pt-page-formation .upload,
body.pt-page-incident .photoBox{background:#f8f8f8!important;border-color:#d6d7d9!important}
body.pt-page-incident .ref{color:#8e1b25!important}
/* Les cartes du hub ne changent ni de taille ni de position. */
body.pt-page-hub .card{background:#fff!important;border-color:#dfe0e1!important}
body.pt-page-hub .icon{background:#f1f2f3!important;border-color:#dddfe1!important}
body.pt-page-hub .tag{background:#f9eeee!important;border-color:#e8cbcd!important;color:#8e1b25!important}
body.pt-page-hub .open{
  background:#941d27!important;
  border-color:#941d27!important;
  box-shadow:0 5px 14px rgba(126,23,32,.13)!important;
}
/* Le lien de retour chevauche volontairement le bandeau sombre. */
body.pt-page-hub .back{color:#fff!important}
body.pt-page-hub .back:hover{color:#f3d4d7!important}
body.pt-public-page .pt-public-footer,
body.pt-public-page .footer,
body.pt-page-hub .foot{color:#626468!important}
/* La page d'inscription TC possède sa propre CSS : même changement de palette,
   sans ajouter d'en-tête, de cartes ou de nouveaux composants. */
body.pt-booking-club{
  --ink:#25272a;--muted:#666a6e;--line:#dadee1;--blue:#8e1b25;
  --sky:#f4f4f4;
  background:linear-gradient(180deg,#fafafa,#e7eaed)!important;
  color:#25272a;
}
body.pt-booking-club header{background:linear-gradient(125deg,#18191b,#333436)!important}
body.pt-booking-club header p{color:#e3e3e3!important}
body.pt-booking-club .panel{border-color:#d9dde0!important;background:#fff!important}
body.pt-booking-club input,
body.pt-booking-club select{border-color:#ccd1d5!important;background:#fff!important;color:#25272a!important}
body.pt-booking-club input:focus,
body.pt-booking-club select:focus{outline-color:rgba(155,28,38,.17)!important;border-color:#9b1c26!important}
body.pt-booking-club button:not(.slot){border-color:#dbdddf!important;background:#f3f3f3!important;color:#25272a!important}
body.pt-booking-club button.primary,
body.pt-booking-club #checkout,
body.pt-booking-club #passLogin,
body.pt-booking-club #verifyOtp{border-color:#8e1b25!important;background:#941d27!important;color:#fff!important}
body.pt-booking-club .pill{border-color:#d9dde0!important;background:#f8f8f8!important;color:#424448!important}
body.pt-booking-club .status:not(.error):not(.success){background:#f7f7f7!important;border-color:#d9dde0!important;color:#343638!important}
body.pt-booking-club .slot{background:#f8f8f8!important;border-color:#d9dde0!important}
body.pt-booking-club .slot b{color:#303236!important}
body.pt-booking-club .slot.selected{background:#fcf0f1!important;border-color:#9b1c26!important}
body.pt-booking-club .slot.selected b{color:#8e1b25!important}
body.pt-booking-club .summary{background:#f9f9f9!important;border-color:#d9dde0!important}
body.pt-booking-club .footer{color:#666a6e!important}
