/* Voyage UI safe reskin - conserve les hooks JS existants */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Poppins:wght@600;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined');





html,body{
  margin:0;
  padding:0;
  background:var(--tp-bg);
  color:var(--tp-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body{line-height:1.45;}

a{color:var(--tp-text-gold); text-decoration:none; transition: color 0.2s ease;}
a:hover{text-decoration:none; color: var(--tp-text-beige);}

img{max-width:100%; display:block;}

a.lienAvecIcon {
  cursor: pointer;
  color: var(--tp-text-gold);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

a.lienAvecIcon::after {
  font-family: 'Material Symbols Outlined';
  content: 'open_in_new';
  font-size: 14px;
  line-height: 1;
}

hr{
  border: none;
  height: 1px;
  margin: 2em 0;

  background: linear-gradient(
    to right,
    transparent,
    var(--tp-line-soft),
    transparent
  );
}


.displayNone{display:none !important;}
.float-right{float:right;}
.float-left{float:left;}


.grid.grid-2{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  align-items:start;
}

.grid.grid-2-equal{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  align-items:start;
}

.grid.grid-3{
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap:14px;
  align-items: center;
}

.grid.grid-4{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  align-items: center;
  gap: 10px;
}




.style2{
  padding: .3em 1em 0 1em;
  border-radius: 12px;
  border: 2px dashed var(--tp-black-02);
  background: var(--tp-black-02);
  margin-bottom: 1em;
}







.wrap{
  width:min(100%, 40rem);
  margin:0 auto;
  box-sizing:border-box;
  padding: 1em;
}

.logo{
  margin: 1em 0 1em 0;

}

.logo img,
.logo svg{
  max-height:54px;
  width:auto;
  margin-left: auto;
  margin-right: auto;
}

.logo,
.logo *{box-sizing:border-box;}

.card{
  /*background:var(--tp-surface);*/
  border:none;
  /*border-radius:var(--tp-radius);*/
  box-shadow:none;
  padding: 00 0;
  margin:0 0 14px;
  position:relative;
}

.card h1,
.card > h2,
.card > h3,
.card .bloc-header h3{
  margin:0;
  color:var(--tp-text);
}

.card h1{
  font-size:28px;
  line-height:1.12;
  font-weight:800;
  letter-spacing:-.02em;
  margin-bottom: 1em;
  color:var(--tp-text);
}

.card > h2{
  font-size:18px;
  line-height:1.2;
  font-weight:800;
}

.card .small,
.small{
  color:var(--tp-text-muted);
  font-size:13px;
}

.card .small.style1{
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 1rem;
  letter-spacing: 0.1em;
  font-family: 'Inter', sans-serif;
  text-align: left;
}


/* card prmier  */
.wrap > .card{
  padding:30px 20px 26px;
  margin: 1em auto 2em auto;
  max-width: 960px;
  background-color: var(--tp-surface);
  border-radius: var(--tp-radius-xs);
}

.wrap > .card .small{
  font-size:14px;
  margin-top:16px;
}








/* Admin index */

.table-voyages {
  width: 100%;
  border-collapse: collapse;
}

.table-voyages th {
  text-align: left;
  font-size: 0.85rem;
  color: var(--tp-text-muted);
  padding: 0.5rem;
  border-bottom: 1px solid var(--tp-line);
}

.table-voyages td {
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid var(--tp-line);
  vertical-align: middle;
}

.voyage-title-link {
  font-weight: 600;
  text-decoration: none;
}

.voyage-title-link:hover {
  text-decoration: underline;
}



/* ===== BADGES ===== */

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-green {
  background: var(--tp-success);
  color: var(--tp-white);
}

.badge-red {
  background: var(--tp-danger);
  color: var(--tp-white);
}

.badge-grey {
  background: var(--tp-black-02);
  color: var(--tp-text-muted);
}

.badge-mode {
  background: var(--tp-surface-2);
  color: var(--tp-info);
}



/* =====  formulaires ===== */
form{
  /*margin-top:.8rem;*/
}

textarea,
input,
select,
button{
  font:inherit;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="time"],
input[type="number"],
select,
textarea{
  width:100%;
  background: var(--tp-white);  /*background: var(--tp-surface-panel);*/
  border:1px solid var(--tp-line);
  color:var(--tp-text);
  border-radius: var(--tp-radius-xs);
  padding:.9rem 1rem;
  outline:none;
  transition:box-shadow .2s ease, border-color .2s ease, background .2s ease;
  font:inherit;
  resize:vertical;
  box-sizing:border-box;
}

textarea{
  min-height:120px;
  resize:vertical;
}

input:focus,
select:focus,
textarea:focus{
  box-shadow:0 0 0 3px var(--tp-accent-focus);
  border-color:var(--tp-accent);
}


input[readonly] {
  cursor: not-allowed;
  background: var(--tp-surface-2);
  color: var(--tp-text-beige);
}


/* formulaires > fichier  ===== */
.custom-file {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--tp-black-02);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 1em;
}

.custom-file:hover {
  background: var(--tp-black-02);
}

.custom-file input {
  display: none;
}

.custom-file .material-symbols-outlined {
  font-size: 20px;
}

.custom-file .text {
  font-size: 14px;
}




/* formulaires > radio  ===== */
.statutChoices{
  display: inline-flex;
  gap:10px;
  align-items:center;
  margin-top:8px;
}

.statutChoices input[type="radio"]{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.statutBox{
  width:30px;
  height:30px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  border:1px solid var(--tp-line-soft);
  background:var(--tp-white);  transition:0.2s ease;
  box-shadow:0 1px 3px var(--tp-black-08);
}

.statutBox .material-symbols-outlined{
  font-size:19px;
  line-height:1;
}

/* couleur de base */
.statut-attente{
  color:var(--tp-warning-strong);
}

.statut-valide{
  color:var(--tp-success-strong);
}

.statut-refuse{
  color:var(--tp-danger-strong);
}

/* au survol */
.statut-attente:hover{
  border-color:var(--tp-accent-2);
  background:var(--tp-surface-2);
}

.statut-valide:hover{
  border-color:var(--tp-success);
  background:var(--tp-surface-2);
}

.statut-refuse:hover{
  border-color:var(--tp-danger);
  background:var(--tp-surface-2);
}

/* ÃƒÆ’Ã‚Â©tat sÃƒÆ’Ã‚Â©lectionnÃƒÆ’Ã‚Â© */
#statut_en_attente:checked + .statut-attente{
  border-color:var(--tp-warning-strong);
  background:var(--tp-surface-2);
  box-shadow:0 0 0 2px var(--tp-black-08);
}

#statut_valide:checked + .statut-valide{
  border-color:var(--tp-success-strong);
  background:var(--tp-surface-2);
  box-shadow:0 0 0 2px var(--tp-black-08);
}

#statut_refuse:checked + .statut-refuse{
  border-color:var(--tp-danger-strong);
  background:var(--tp-surface-2);
  box-shadow:0 0 0 2px var(--tp-black-08);
}



/* formulaires > checkbox visibility  ===== */
.statutChoices input[type="checkbox"]{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.statut-visible{
  color:var(--tp-info);margin-right: 1em;
}

.statut-visible:hover{
  border-color:var(--tp-info);
  background:var(--tp-surface-2);
}

#visible_client:checked + .statut-visible{
  border-color:var(--tp-info);
  background:var(--tp-surface-2);
  box-shadow:0 0 0 2px var(--tp-black-08);

}

/* par dÃƒÆ’Ã‚Â©faut ÃƒÂ¢Ã¢â‚¬Â Ã¢â‚¬â„¢ oeil barrÃƒÆ’Ã‚Â© */
.icon-on {
  display: none;
}

.icon-off {
  display: inline;
}

/* quand cochÃƒÆ’Ã‚Â© ÃƒÂ¢Ã¢â‚¬Â Ã¢â‚¬â„¢ oeil normal */
#visible_client:checked + .statut-visible .icon-on {
  display: inline;
}

#visible_client:checked + .statut-visible .icon-off {
  display: none;
}





/* formulaires > selected petit boutton exemple hebegement taxy ferry htel  ===== */
.segmented-select{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:8px;
}

.segmented-option{
  position:relative;
  display:inline-block;
  cursor:pointer;
}

.segmented-option input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.segmented-option span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:20px;
  padding:0 14px;
  border-radius:999px;
  background: var(--tp-black-08);
  border:0px solid var(--tp-line-soft);
  color:var(--tp-text-muted);
  font-size:11px;
  font-weight:500;
  transition:all .18s ease;
}

.segmented-option:hover span{
  background:var(--tp-surface-muted);
  border-color:var(--tp-line-soft);
}

.segmented-option input:checked + span{
  background:var(--tp-accent);
  border-color:var(--tp-accent);
  color:var(--tp-white);
}




/* =====  Form > admin adaptation  ===== */
.adminForm{

}

.adminForm :not(.statutChoices) > label {
  font-size: .8em;
  padding-left: .5em;
  color: var(--tp-text-muted);
}

.adminForm p{
  margin: 0 0 1em 0;
}

.adminForm input{
  font-size: .8em;
  padding: .4rem .6rem;
}


.adminForm .frame1 > div{
  
  padding: .3em 1em 0 1em;
  border-radius: 12px;
  border: 2px dashed var(--tp-black-02);
  background: var(--tp-black-02);
}








/* =====  Boutton  ===== */
button.btn,
.btn,
input[type="submit"]{
  appearance:none;
  border:none;
  border-radius:6px;
  min-height:46px;
  padding:0 16px;
  font-weight:800;
  cursor:pointer;
  background:var(--tp-accent);
  color:var(--tp-white);  box-shadow:none;
  transition: background-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center; /* ÃƒÂ°Ã…Â¸Ã¢â‚¬ËœÃ‹â€  ajoute ÃƒÆ’Ã‚Â§a */
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-light,
button.btn-light{
  background:var(--tp-surface-muted);
  color:var(--tp-text);
}

.btn-light:hover,
button.btn-light:hover{
  background:var(--tp-surface-muted);
}

.btn-very-light,
button.btn-very-light{
  color:var(--tp-accent);
  font-weight: 400;
  background: var(--tp-black-02);
  font-size: .8em;
  margin-top: 1em;
  padding: 10px 14px;
  min-height:  inherit;
}

.btn-very-light:hover,
button.btn-very-light:hover{
  background: var(--tp-black-02);
}

.btn-valide,
button.btn-valide{
  background:var(--tp-success);
}

.btn-valide:hover,
button.btn-valide:hover{
  background:var(--tp-success);
}


.btn-beige,
button.btn-beige{
  border: inherit;
  border-radius: var(--tp-radius);
  background: var(--tp-surface-2);
  color: var(--tp-text-beige);
  cursor: pointer;
  box-shadow: 0 2px 6px var(--tp-black-02);
  padding: .5em 1.5em;
  font-weight:400;
  min-height: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-beige .material-symbols-outlined,
button.btn-beige .material-symbols-outlined{
  margin-right: .5em;
}


.btn-beige:hover,
button.btn-beige:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 16px var(--tp-black-08);
}

.btn-soft,
button.btn-soft{
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 24px;
  align-items: center;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e7d5c1;
  border-radius: 12px;
  background: #fdfaf5;
  color: var(--tp-text);
  box-shadow: none;
  gap: 18px;
  font-weight: 700;
  text-align: left;
  transform: none;
}

.btn-soft:hover,
button.btn-soft:hover{
  transform: none;
  box-shadow: none;
  cursor: pointer;
}

.btn-soft__icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  transition: background-color 0.25s ease;
}

.btn-soft__label{
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.btn-soft__arrow{
  justify-self: end;
  font-size: 26px;
  font-weight: 300;
  transition: background-color 0.25s ease;
}


.btn-soft:hover .btn-soft__arrow,
button.btn-soft:hover .btn-soft__arrow{
  font-size: 28px;
}

.btn-soft-success,
button.btn-soft-success{
  background-color: #f2fbf5;
  color: #819e88;
  border-color: #ebf2ee;
}

.btn-soft-success .btn-soft__icon,
button.btn-soft-success .btn-soft__icon{
  background: #eaf2ea;
  color: #819e88;
}

.btn-soft-danger,
button.btn-soft-danger{
  background-color: #f9f3f3;
  color: #9c5e60;
  border-color: #f8f0f0;
}

.btn-soft-danger .btn-soft__icon,
button.btn-soft-danger .btn-soft__icon{
  background: #f2e5e7;
  color: #9c5e60;
}

.btn-soft-info,
button.btn-soft-info{
  background: #f6f7fb;
  color: #6271a7;
  border-color: #eff1f8;
}

.btn-soft-info .btn-soft__icon,
button.btn-soft-info .btn-soft__icon{
  background: #e8ecf9;
  color: #6271a7;
}

.btn-soft-success:hover .btn-soft__icon,
button.btn-soft-success:hover .btn-soft__icon,
.btn-soft-danger:hover .btn-soft__icon,
button.btn-soft-danger:hover .btn-soft__icon,
.btn-soft-info:hover .btn-soft__icon,
button.btn-soft-info:hover .btn-soft__icon{
  background-color: #fff;
}









/* base commune */
.btn-icon{
  padding: 0.5em 1.5em .5em 1em;
  background: var(--tp-accent);
  color: var(--tp-white) !important;
  border-radius: var(--tp-radius);
  transition: background-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-icon::before{
  font-family:'Material Symbols Outlined';
  font-size:20px;
  line-height:1;
}

.btn-icon::after{
  content:none !important;
  display:none !important;
}

.btn-icon:hover{
  background: var(--tp-accent-2);
}


.btn-ajout::before{
  content:"add";
}

.btn-retour::before{
  content:"arrow_back";
}









form p[style*="display:flex"]{
  margin:12px 0 0 !important;
}
































.webCarnet{
  position:relative;
}

/* cartes de jour */
.webCarnet > .card{
  background:transparent;
  padding:0 0 0 20px;
  border-radius:0;
  margin-bottom: 3em;
}

.webCarnet::before{
  content:"";
  position:absolute;
  left:15px;
  top:3px;
  bottom:0;

  bottom: -2em;

  width:2px;
  background: repeating-linear-gradient(
    to bottom,
    var(--tp-line) 0 4px,
    transparent 4px 8px
  );
}


.webCarnet > .card > h2{
  position:relative;
  font-size: 18px;
  padding-left:22px;
  margin:0 0 14px;
}

.webCarnet > .card > h2::before{
    content:"";
    position:absolute;
    left: -13px;
    top: 12px;
    transform:translateY(-50%);
    width:16px;
    height:16px;
    border-radius:50%;
    background:var(--tp-accent);
    box-shadow:
    0 0 0 4px var(--tp-white),
    0 0 15px var(--tp-accent-10);
}

.webCarnet > .card .jourTitre{
    margin-left: 20px;
}

.webCarnet > .card .jourTitre h2{
    font-size: 18px;
}

.webCarnet > .card .jourTitre .style1{
    color: var(--tp-text-gold);
    font-size: 10px;
    letter-spacing: 0.2em;
    padding-bottom: .5em;
    display: inline-block;
    opacity: 1;
}

.webCarnet > .card .jourTitre::before{
    content:"";
    position:absolute;
    left: 8px;
    top: 28px;
    transform:translateY(-50%);
    width:16px;
    height:16px;
    border-radius:50%;
    background:var(--tp-accent);
    box-shadow:
    0 0 0 4px var(--tp-white),
    0 0 15px var(--tp-accent-10);
}

.webCarnet > .card .jourTitre h2{
  margin-top: 0;
}


.webCarnet > .card .jourAddBlocBtn{
  float: right;
  text-decoration: none;
  font-size: 26px;
  line-height: 1;
  color: var(--tp-text-gold);
  cursor: pointer;
  border:0;
  background:transparent;
  padding:0;
  font-family:"Material Symbols Outlined";
}

.webCarnet > .card .jourAddBlocBtn:hover{
  opacity: .8;
}

.webCarnet > .card.webCarnetNextDay{
  padding-top: 1.25em;
}

.webCarnetNextDay__form{
  display: block;
  margin: 0 0 14px 22px;
}

.webCarnetNextDay__empty{
  width: 100%;
  min-height: 128px;
  border: 1px dashed var(--tp-line);
  border-radius: var(--tp-radius-xs);
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 18px;
  color: var(--tp-text-muted);
  text-align: center;
  box-sizing: border-box;
  background: transparent;
  cursor: pointer;
  font: inherit;
  margin-left: 2em;
  margin-top: 3em;
}

.webCarnetNextDay__empty .material-symbols-outlined{
  color: var(--tp-text-gold);
  font-size: 30px;
}

.webCarnetNextDay__empty span:last-child{
  margin: 0;
  font-size: 13px;
  max-width: 28ch;
}

.webCarnetNextDay__empty:hover,
.webCarnetNextDay__empty:focus-visible{
  border-color: var(--tp-text-gold);
  color: var(--tp-text);
  outline: none;
  background: var(--tp-black-02);
}


/* groupes de choix */
.bloc-choice{
  background-color: var(--tp-black-02);
  border:2px solid var(--tp-accent-focus);
  border-radius: 1rem;
  padding:16px;
  margin:8px 0 14px 22px;
  position:relative;
}

.bloc-choice .trajetInfoBox{
  left: -55px;
}

.bloc-choice > strong{
    display: inline-block;
    font-size: 9px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--tp-white);    background: var(--tp-accent);
    border-radius: 0 14px 0 14px;
    padding: 6px 10px;
    position: absolute;
    right: 0;
    top: -1px;
}

.bloc-choice > .small{
  margin:8px 0 12px;
  color:var(--tp-warning-strong);
  padding-right:110px;
}

/* cartes de blocs */
.webCarnet .card[id^="bloc-"],
.webCarnet .card[id^="modele-"]{
  margin: 19px 0 14px 22px;
  padding:0;
  /*overflow:hidden;*/
  background-color: var(--tp-surface);
  border-radius: var(--tp-radius-xs);
  font-family: 'Inter', sans-serif;
}


/* Gestion de lancre apres edit ou autre si retourr sur voyage avec une ancre*/
.webCarnet .card[id^="bloc-"].is-anchor-target{
  animation: tpBlocAnchorHighlight 4s ease forwards;

}

@keyframes tpBlocAnchorHighlight {
  /* ÃƒÆ’Ã‚Â©tat de base (lÃƒÆ’Ã‚Â©ger mais visible) */
  0% {
    outline: 2px solid var(--tp-success-35);
    box-shadow: 0 0 0 2px var(--tp-success-20);
  }

  /* 1er clignotement */
  25% {
    outline: 3px solid var(--tp-success-100);
    box-shadow: 0 0 0 6px var(--tp-success-35);
  }

  50% {
    outline: 2px solid var(--tp-success-35);
    box-shadow: 0 0 0 3px var(--tp-success-20);
  }

  /* 2e clignotement */
  70% {
    outline: 3px solid var(--tp-success-100);
    box-shadow: 0 0 0 6px var(--tp-success-35);
  }


  /* fin douce (mais jamais invisible) */
  100% {
    outline: 0px solid var(--tp-success-20);
    box-shadow: 0 0 0 0px var(--tp-success-20);
  }
}



.webCarnet .card[id^="bloc-"].bloc_en_attente { /* En attente */
  background: none;
  background-color: var(--tp-white);  
  border-top: 2px solid var(--tp-accent);
}

.webCarnet .card[id^="bloc-"].bloc_en_attente::before{ /* En attente */
  content: attr(data-feedback-required-label);
  position: absolute;
  right: 35%;
  top: -1px;
  background: var(--tp-accent);
  border-radius: 0 0 6px 6px;
  padding: .2em 1em;
  font-size: 9px;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--tp-white);
}

.webCarnet .bloc-choice .card[id^="bloc-"].bloc_en_attente { /* En attente bloc choice */
  background: none;
  background-color: var(--tp-white);  margin-left: 0;
  border: none;
 box-shadow: 0 2px 3px var(--tp-black-08);
}



.webCarnet .card[id^="bloc-"].is-hidden-client{
  opacity: 0.5;
  border: none;
  border: initial;
  transition: opacity 0.25s ease;
  border-right: 3px solid var(--tp-accent);
  border-top-right-radius: 0;
}

.webCarnet .card[id^="bloc-"].is-hidden-client:hover{
  opacity: 1;
}

.webCarnet .card[id^="bloc-"].is-hidden-client::before{
  content: attr(data-hidden-client-label);
  right: -3px;
  position: absolute;
  top: -17px;
  background: var(--tp-accent);
  border-radius: 6px 6px 0 0;
  padding: .2em 1em;
  font-size: 9px;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--tp-white);
}


.webCarnet .card[id^="bloc-"].bloc_refuse{
    background-color: var(--tp-surface-2);
}






/* Info de route dans une petite infobulle a gauche des blocs */



.trajetInfoDock{
  position: relative;
  height: 0;
  z-index: 1;
}

.trajetInfoDock:hover,
.trajetInfoDock:has(.trajetInfoBox:focus-within){
  z-index: 200;
}

.trajetInfoBox{
  position: absolute;
  left: -39px;
  top: 28px;
  z-index: 210;
}



.trajetInfoBox__toggle{
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 0;
  background: var(--tp-surface-muted);
  color: var(--tp-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.trajetInfoBox__toggle .material-symbols-outlined{
  font-size: 16px;
  line-height: 1;
}

.trajetInfoBox__panel{
  display: none;
  width: 240px;
  margin-top: 11px;
  margin-left: -10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--tp-surface-dark);
  color: var(--tp-white);
  box-shadow: 0 10px 24px var(--tp-black-20);
}

.trajetInfoBox__panel::before{
  content: "";
  position: absolute;
  left: 6px;
  top: 32px;
  width: 10px;
  height: 10px;
  background: var(--tp-surface-dark);
  transform: rotate(45deg);
}

.trajetInfoBox__panel::after{
  content: "\00D7";
  position: absolute;
  top: 40px;
  right: 10px;
  font-size: 18px;
  line-height: 1;
  color: var(--tp-white-70);
  cursor: pointer;
}

.trajetInfoBox:focus-within .trajetInfoBox__panel{
  display: block;
}

.trajetInfoBox__title{
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.1;
}

.trajetInfoBox__label,
.trajetInfoBox__line{
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.25;
}

.trajetInfoBox__meta{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.trajetInfoBox__pill{
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--tp-white-12);
  color: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
}

.trajetInfoBox__link{
  text-decoration: none;
}





/* Actions admin sur chaque bloc */
.admin_edit{
  padding: 5px 5px 0 5px;
  font-size:12px;
  color:var(--tp-text-muted);
  display:flex;
  align-items:center;
  gap:8px;
  justify-content: space-between;
}

.admin_edit_left,
.admin_edit_right{
  display:flex;
  align-items:center;
  gap:8px;
}

.tp-inline-action-form{
  display:inline-flex;
  margin:0;
}

.tp-jour-add-form{
  float:right;
}

.admin_action_link,
button.admin_action_link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  border-radius:999px;
  background:var(--tp-accent-10);
  color:var(--tp-text-gold);
  border:0;
  padding:0;
  cursor:pointer;
  font:inherit;
}

.admin_action_link:hover,
button.admin_action_link:hover{
  color:var(--tp-warning-strong);
  background:var(--tp-accent-10);
}

.admin_action_link .material-symbols-outlined,
button.admin_action_link .material-symbols-outlined{
  font-size:18px;
  line-height:1;
}

.admin_action_link_text{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:auto;
  height:auto;
  min-height:32px;
  padding:8px 12px;
  border:0;
  gap:8px;
  cursor:pointer;
  font:inherit;
  line-height:1.2;
  white-space:nowrap;
}

.admin_action_time{
  background:var(--tp-surface-2);
  color:var(--tp-info);
}

.admin_action_trajet{
  background:var(--tp-black-02);
  color:var(--tp-text-muted);
}

.admin_action_trajet_global{
  width: auto;
  height: auto;
  padding: 8px 12px;
  gap: 8px;
  border: 0;
  cursor: pointer;
}



.admin_action_edit{
  background:var(--tp-accent-10);
  color:var(--tp-warning-strong);
}

.admin_action_duplicate{
  background:var(--tp-surface-2);
  color:var(--tp-success-strong);
}

.admin_action_delete{
  background:var(--tp-surface-2);
  color:var(--tp-danger-strong);
}

.bloc-header{
  padding:18px 18px 18px;
  cursor:pointer;
}

.left h3{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 6px;
}




.tpTrajetRules{
  font-size: .8em;
  background: var(--tp-surface);
  color: var(--tp-info);
  border: 1px solid var(--tp-info);

  padding: 12px 16px;
    padding-left: 16px;
  padding-left: 44px;
  border-radius: var(--tp-radius-xs);
  margin-bottom: 15px;
  font-size: 14px;
  position: relative;
  margin-left: auto;
  margin-right: auto;
}

.tpTrajetRules::before {
  font-family: 'Material Symbols Outlined';
  content: "Help";
  position: absolute;
  left: 12px;
  top: 12px;
  font-size: 20px;
  line-height: 1;
}


.tpTrajetRules h4{
  margin-top: 0;
}








/* ############################# */
/* Petit rond des statue des bloc*/
/* ############################# */

/* ===== Rond statut inline ===== */
.bloc-status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 11px;
  height: 11px;
  border-radius: 50%;

  margin-right: 0;

  font-size: 7px;
  color: var(--tp-white);
  font-weight: bold;

  vertical-align: middle;

  opacity: .8;
}

/* ===== VALIDÃƒÆ’Ã¢â‚¬Â° ===== */
.bloc_valide .bloc-status {
  background: var(--tp-text-brown);
}

.bloc_valide .bloc-status::before {
  content: "\2713";

}

/* ===== REFUSÃƒÆ’Ã¢â‚¬Â° ===== */
.bloc_refuse .bloc-status {
  background-color: var(--tp-danger);
}

.bloc_refuse .bloc-status::before {
  content: "\2715";
}

/* ===== EN ATTENTE ===== */
.bloc_en_attente .bloc-status { /* petit icone */
  background: var(--tp-accent); /* orange */
  animation: pulse 1.5s infinite;
}






.bloc-heureTitre{
    flex: 0 0 auto;
  display: inline-flex;
  color: var(--tp-text-brown);
  font-weight:800;
  font-size:14px;

  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 1rem;
  letter-spacing: 0.1em;
  
  opacity: .6;
}

.bloc-titre{
    flex: 0 0 100%;
    display:block;
    font-size:16px;
    line-height:1.1;
    font-weight:800;
    color: var(--tp-text-brown);
    font-family: 'Inter', sans-serif;
    margin: 0em 0 .3em 0;

    opacity: .9;
}

.bloc-sousTitre{
    flex: 0 0 auto;
    display: inline-flex;
    color: var(--tp-text-brown);
    font-weight:800;
    font-size:14px;

    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.75rem;
    line-height: 1rem;
    letter-spacing: 0.1em;

    opacity: .6;
    padding-left: .3em;
    }



/* Gerre le bloque de droite avec "voir plus" */
.bloc-header .grid.grid-2{
  align-items: center;
}

.right{
  display: flex;
  flex-direction: column;
  justify-content: center; /* centre vertical */
  align-items: center;   /* garde alignÃƒÆ’Ã‚Â© ÃƒÆ’Ã‚Â  droite */
  gap: 8px;
}


.leftImg{
  width: 3rem;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  background-color: var(--tp-surface-muted);
}

.leftImg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bloc_valide .leftImg img{ /* met l'image en noir et blanc */
  filter: grayscale(100%);
  opacity: .5;
}

.toggle-text{
  color:var(--tp-text-gold);
  font-size: 8px;
  font-weight:700;
  color: var(--tp-text-brown);
  text-transform:uppercase;
  letter-spacing:.04em;
  opacity: .5;
}

.tag,
button.tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:0 12px;
  border-radius:999px;
  /*background:var(--tp-surface-2);*/
  color: var(--tp-surface-muted);
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
}

button.tag{
  border:0;
  background:none;
  cursor:pointer;
}

button.tag.tp-modal-trigger{
  all: unset;
  box-sizing: border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:0 12px;
  border-radius:999px;
  color: var(--tp-surface-muted);
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
  cursor:pointer;
  margin:0;
}

.blocMetaFooter{
  display:flex;
  align-items:center;
  gap:0;
}

.blocMetaFooter .tag,
.blocMetaFooter__spacer,
.blocMetaFooter button.tag.tp-modal-trigger{
  flex:1 1 0;
  width:33.333%;
  justify-content:center;
}


.is-close .toggle-text::after{content:" \25BC"; font-size:10px;}
.is-open .toggle-text::after{content:" \25B2"; font-size:10px;}


.bloc-content{
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition: height 0.35s ease, opacity 0.25s ease;
}

.bloc-content-inner{
  padding: 0 18px 18px;
  border-top: 1px solid var(--tp-line);
  position: relative;
}


.is-open .bloc-content{
  opacity: 1;
}

.is-close .bloc-content{
  opacity: 0;
}

.bloc-content textarea{
  background: var(--tp-bg);
}



.richtext{
  font-size:16px;
  color:var(--tp-text);
}

.richtext p{margin:14px 0;}
.richtext ul,
.richtext ol{margin:12px 0 12px 22px; padding:0;}
.richtext li{margin:10px 0;}
.richtext strong{font-weight:800;}

.bloc_image{
  margin: 0 -18px 0px;
}

.bloc_image img{
  width:100%;
  /*aspect-ratio:16/10;*/ /*suppression du ratio pour les image haute*/
  object-fit:cover;
  border-radius:0;
  max-height: 27em;
}


.blocLiens{
  padding-top: 1.4em;
  margin-top: 1.5em;
  margin-bottom: 1.5em;

  background: linear-gradient(
    to right,
    transparent,
    var(--tp-line),
    transparent
  );
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: top;
}

.blocLiens p{
  padding: 0;
  margin: 0em 0;
}

.blocLiens ul{
  padding: 0;
  margin: 0;
}

.blocLiens li{
  padding: 0;
  margin: .2em 0;
  font-size: .9em;
  text-align: center;
  list-style: none;
}




.lienReservation a,
.lienReservation span{
  background: var(--tp-accent);
  margin: auto;
  padding: .5em 1em .5em 1.2em;
  color: var(--tp-white) !important;
  border-radius: 0 0 0 1em;
  max-width: 170px;
  position: absolute;
  top: 0px;
  right: 0;
  cursor: pointer; 
  font-size: .8em; 
  z-index: 11;
} 

.lienPrixDetail button,
.lienPrixDetail button.tp-modal-trigger{
  all: unset;
  box-sizing: border-box;
  background: var(--tp-accent);
  margin: auto;
  padding: .5em 1em .5em 1.2em;
  color: var(--tp-white) !important;
  border-radius: 0 0 1em 0;
  max-width: min(170px, 46%);
  position: absolute;
  top: 0;
  left: 0;
  cursor: pointer;
  font-size: .8em;
  z-index: 11;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lienPrixDetail button::after{
  font-family: 'Material Symbols Outlined';
  content: 'open_in_new';
  font-size: 14px;
  line-height: 1;
  flex: 0 0 auto;
}

.lienReservation a:hover,
.lienReservation span:hover{
  opacity: .9;
  text-decoration: none;
} 

.lienPrixDetail button:hover,
.lienPrixDetail button:focus-visible,
.lienPrixDetail button.tp-modal-trigger:hover,
.lienPrixDetail button.tp-modal-trigger:focus-visible{
  background: var(--tp-accent);
  color: var(--tp-white) !important;
  opacity: .9;
  text-decoration: none;
}

.lienPrixDetail button:focus-visible{
  outline: 2px solid var(--tp-white);
  outline-offset: -4px;
}


.retourClient{
  display:block;
  font-size:14px;
  font-weight:400;
  margin:2em 0 10px;
  text-align: center;
  padding-top: .5em;


  color: var(--tp-text-beige);
  background: linear-gradient(to right, transparent, var(--tp-line-soft), transparent);
    background-position-x: 0%;
    background-position-y: 0%;
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: top;
}

.comClient{

  display: block;
  font-size: 14px;
  font-weight: 400;
  margin: 2em 0 10px;
  text-align: center;
  padding-top: .5em;
  color: var(--tp-text-beige);
  background: linear-gradient( to right, transparent, var(--tp-line), transparent );
    background-position-x: 0%;
    background-position-y: 0%;
    background-repeat: repeat;
    background-size: auto;
  background-position-x: 0%;
  background-position-y: 0%;
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: top;
}


.infos {
  margin: 0 0 0 0;
  color: var(--tp-text-muted);
  text-align: left;
  font-size: .8em;
  padding: .2em .2em 0 .5em;
  font-style: italic;
  background-color: var(--tp-surface);
  z-index: 10;
  position: relative;
  border-radius: var(--tp-radius-xs);
}


.bloc_en_attente .infos {
  background-color: var(--tp-white);
}


.bloc_image + .infos {
  margin-top: -11px;
}

.infos.infos--top-offset {
  margin-top: 45px;
}















/* ========================================================  */
/* drawer admin Systeme de rechercher  */
/* ========================================================  */
.tpModeleDrawer{
  position:fixed;
  inset:0 auto 0 0;
  width:min(88vw, 380px);
  z-index:120;
  transform:translateX(0);
  transition:transform .22s ease;
}

.tpModeleDrawer.is-closed{
  transform:translateX(calc(-100% + 4px));
}

.tpModeleDrawer__close{ /* coche de la recherche latÃƒÆ’Ã‚Â©ral*/
    float: right;
}

.tpModeleDrawer__panel{
  height:100%;
  background:var(--tp-surface);
  border-right:1px solid var(--tp-line);
  box-shadow:var(--tp-shadow);
  display:flex;
  flex-direction:column;
}

.tpModeleDrawer__header,
.tpModeleDrawer__body {
    padding: 16px;
}

.tpModeleDrawer__body {
    overflow: auto;
}

.tpModeleDrawer__field {
    margin-bottom: 14px;
}

.tpModeleDrawer__field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    font-size: 13px;
}

.tpModeleDrawer__field input,
.tpModeleDrawer__field select {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--tp-line);
    border-radius: 14px;
    padding: 0 12px;
    background: var(--tp-surface);
}

.tpModeleDrawer__item {
    display: grid;
    grid-template-columns: 5rem 1fr;
    gap: 14px;
    align-items: start;

    width: 100%;
    text-align: left;
    padding: 12px;
    background: var(--tp-white);
    border: 1px solid var(--tp-line);
    border-radius: 16px;
    margin-bottom: 10px;
    color: var(--tp-text);
}

.tpModeleDrawer__thumb {
    width: 5rem;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
  background-color: var(--tp-surface-muted);
    grid-column: 1;
    grid-row: 1 / span 2;
}

.tpModeleDrawer__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tpModeleDrawer__itemTitle {
    display: block;
    grid-column: 2;
    grid-row: 1;

    font-size: 16px;
    line-height: 1.1;
    font-weight: 800;
    color: var(--tp-text-brown);
    font-family: 'Inter', sans-serif;
    margin: 0 0 .3em 0;
    opacity: .9;
}

.tpModeleDrawer__meta {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
}

.tpModeleDrawer__tag {
    font-size: 11px;
    background: var(--tp-surface-2);
    padding: 4px 8px;
    border-radius: 999px;
}

.tpModeleDrawer__toggle {
    position: fixed;
    left: 14px;
    top: 20px;
    z-index: 121;
} 

.tp-sidebar-open {
    overflow: hidden;
}





















.topbar {
  box-shadow: var(--tp-black-65) 0px 0px 0px 0px;
  padding: 0;
  max-width: 550px;
  margin: 0 auto;
  text-align: center;
  min-height: 1.5em;
}

.topbar a {
  position: relative;
  display: inline-flex;
  padding: 2.8em 2em .8em;
  background: var(--tp-surface);
  margin: 0 .2em;
  text-align: center;
  border-radius: 0 0 10px 10px;
  color: var(--tp-text-muted);
  text-decoration: none;
  top: -2em;
  font-size: .8em;

  transition: top 0.3s ease, background 0.8s ease, color 0.3s ease;
}

.topbar a:hover {
  top: -1.5em;
  background: var(--tp-accent);
  color: var(--tp-bg);
}

.topbar .wrap{
  padding: 0;
}




/* Systeme d'ouverture de fenetre popup */
.tp-modal-source {
    display: none;
}

.tp-modal-overlay {
    position: fixed;
    inset: 0;
    background: var(--tp-black-00);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.25s ease, background 0.25s ease;
}

.tp-modal-overlay.is-visible {
    background: var(--tp-black-65);
    opacity: 1;
}


.test {
  background: var(--tp-danger);
  color: var(--tp-white);
  border-color: var(--tp-info);
}

.tp-modal-box {
    position: relative;
    width: min(700px, calc(100vw - 40px));
    max-width: 100%;
    max-height: 90vh;
    overflow: auto;
    background: var(--tp-white);    border-radius: 12px;
    padding: 24px;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(16px) scale(0.98);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.tp-modal-overlay.is-visible .tp-modal-box {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.tp-modal-close {
    position: absolute;
  top: 0;
  right: 0;
  border: 0;
  background: var(--tp-black-08);
  font-size: 35px;
  line-height: 1;
  cursor: pointer;
  border-radius: 0 10px 0 10px;
  padding: 0 .2em .2em .2em;
}

.tp-modal-content {
    
}

.tp-modal-content h1,
.tp-modal-content h2{
    margin-top: 0;
    padding-top: 0;
}

.feedback-modal__title{
  margin: 0 56px 1.65rem 0;
  font-size: 1.18rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.feedback-modal__summary{
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.feedback-modal__media{
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--tp-surface-2);
}

.feedback-modal__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feedback-modal__summaryText{
  min-width: 0;
}

.feedback-modal__summaryTitle{
  margin: 0 0 5px;
  font-size: 1rem;
  font-weight: 700;
  color: #101a41;
}

.feedback-modal__summaryMeta{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #6c6f89;
  font-size: 0.92rem;
}

.feedback-modal__summaryMeta span[hidden]{
  display: none;
}

.feedback-modal__summaryMeta span + span::before{
  content: "\2022";
  margin-right: 8px;
}

.feedback-modal__summaryMeta #tpBlocFeedbackSubtitle{
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82em;
  font-weight: 700;
}

.tpBlocFeedback .btn.tp-modal-trigger{
  width: 100%;
  text-align: center;
  background-color: var(--tp-bg);
  border: none;
  padding: 1em;
  border-radius: 0 0;
  font-weight: 400;
  color: var(--tp-accent);
  font-size: .9em;
  font-weight: 800;
  border-radius: var(--tp-radius-xs);
}

.tpBlocFeedback .btn.tp-modal-trigger:hover{
  box-shadow: none;
}

.tpBlocFeedbackModal__choices,
.tpBlocFeedbackModal__actions{
  display: grid;
  gap: 12px;
}

.tpBlocFeedbackModal__choices[hidden],
.tpBlocFeedbackModal__message[hidden]{
  display: none !important;
}

.tpBlocFeedbackModal__message{
  margin-top: 18px;
}

.feedback-modal__message-state{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.feedback-modal__message-state-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #dff5df;
  color: #0a8c36;
  font-size: 18px;
  flex: 0 0 28px;
}


.feedback-modal__message-state[data-feedback-state="refuse"] .feedback-modal__message-state-icon{
  background: #fde7e7;
  color: #e36464;
}

.feedback-modal__message-state[data-feedback-state="question"] .feedback-modal__message-state-icon{
  background: #e8ebff;
  color: #3154d9;
}

.feedback-modal__message-state-title{
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.3;
}

.tpBlocFeedbackModal__actions{
  margin-top: 16px;
}

.tpBlocFeedbackModal__back{
  border: 0;
  background: transparent;
  color: var(--tp-text-muted);
  min-height: auto;
  padding: 0;
  font-weight: 600;
  justify-content: flex-start;
}

.tpBlocNoteThread{
  display: grid;
  gap: 14px;
}

.tpBlocNoteThread__item{
  padding-top: 14px;
  border-top: 1px solid var(--tp-line);
}

.tpBlocNoteThread__item:first-child{
  padding-top: 0;
  border-top: 0;
}

.tpBlocNoteThread__meta,
.tpBlocNoteThread__empty{
  margin: 0 0 8px;
  font-size: 0.92em;
  color: var(--tp-text-muted);
}

.tpBlocNoteThread__body{
  white-space: pre-wrap;
}



.tp-modal-content input[type="text"],
.tp-modal-content input[type="email"],
.tp-modal-content input[type="password"],
.tp-modal-content input[type="date"],
.tp-modal-content input[type="time"],
.tp-modal-content input[type="number"],
.tp-modal-content select,
.tp-modal-content textarea{
  background: var(--tp-surface);
}


body.tp-modal-opened {
    overflow: hidden;
}

span.tp-modal-trigger {
  cursor: pointer;
  color: var(--tp-text-gold);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

span.tp-modal-trigger::after {
  font-family: 'Material Symbols Outlined';
  content: 'open_in_new';
  font-size: 14px;
  line-height: 1;
}


button.tp-modal-trigger {
    /* RESET complet */
    all: unset;
    box-sizing: border-box;

    /* ton style */
    display: inline-block;
    padding: 8px 14px;
    margin: 8px 0;
    border: 1px solid var(--tp-line-soft);
    background: var(--tp-surface-muted);
    border-radius: 6px;

    /* texte */
    font-family: "Inter", system-ui, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--tp-black);

    cursor: pointer;
}

/* hover propre */
button.tp-modal-trigger:hover {
    background: var(--tp-surface-muted);
}

.tpBlocPriceDetail__title{
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--tp-text);
}

.tpBlocPriceDetail__price{
    margin: 0 0 18px;
    color: var(--tp-text-gold);
    font-weight: 700;
}

.tpBlocPriceDetail__content{
    color: var(--tp-text);
    line-height: 1.55;
    white-space: normal;
}











/* Message flash info en haut apres action */

:root {
  --flash-success-bg: #ecfdf3;
  --flash-success-text: #166534;
  --flash-success-border: #86efac;

  --flash-error-bg: #fef2f2;
  --flash-error-text: #991b1b;
  --flash-error-border: #fca5a5;

  --flash-info-bg: #eff6ff;
  --flash-info-text: #1d4ed8;
  --flash-info-border: #93c5fd;

  --flash-warning-bg: #fffbeb;
  --flash-warning-text: #92400e;
  --flash-warning-border: #fcd34d;
}

.flash {
  padding: 12px 16px 12px 44px;
  border-radius: var(--tp-radius-xs);
  margin: 0 auto 15px;
  font-size: 14px;
  position: relative;
  max-width: 30em;
  line-height: 1.45;
}

/* base icÃƒÆ’Ã‚Â´ne */
.flash::before {
  font-family: 'Material Symbols Outlined';
  position: absolute;
  left: 14px;
  top: 12px;
  font-size: 20px;
  line-height: 1;
  font-weight: normal;
  font-style: normal;
}

/* succÃƒÆ’Ã‚Â¨s */
.flash-success {
  background: var(--flash-success-bg);
  color: var(--flash-success-text);
  border: 1px solid var(--flash-success-border);
}

.flash-success::before {
  content: "check_circle";
}

/* erreur */
.flash-error {
  background: var(--flash-error-bg);
  color: var(--flash-error-text);
  border: 1px solid var(--flash-error-border);
}

.flash-error::before {
  content: "error";
}

/* info */
.flash-info {
  background: var(--flash-info-bg);
  color: var(--flash-info-text);
  border: 1px solid var(--flash-info-border);
}

.flash-info::before {
  content: "info";
}

/* warning */
.flash-warning {
  background: var(--flash-warning-bg);
  color: var(--flash-warning-text);
  border: 1px solid var(--flash-warning-border);
}

.flash-warning::before {
  content: "warning";
}







.webCarnetNav{
display: none;
}










/****************************************/
/*  Page voyage - boutton trie des bloc */ 
/****************************************/
.btnFiltreVoyage{
  position: fixed;
  top: 31px;
  right: 20px;
  z-index: 9998;
  width: auto;
  max-width: none;
  margin: 0;
}

.tpFiltresHeader{
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  appearance: none;
  border: none;
  border-radius: 50%;
  background: var(--tp-surface-2);
  color: var(--tp-text-beige);
  display: flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 4px 12px var(--tp-black-08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
}

.tpFiltresHeader:hover{
  transform: translateY(-1px);
  box-shadow: 0 6px 16px var(--tp-black-20);
}

.tpFiltresHeader__left{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.tpFiltresHeader__left span:last-child{
  display: none;
}

.tpFiltresHeader .material-symbols-outlined{
  font-size: 20px;
  line-height: 1;
}

.tpFiltresHeader__arrow{
  display: none;
}

.tpFiltresPanel{
  position: absolute;
  top: 52px;
  right: 0;
  left: auto;
  width: min(320px, calc(100vw - 40px));
  z-index: 9999;

  padding: 0 14px;
  border-radius: 18px;
  background: var(--tp-surface-2);
  box-shadow: 0 8px 24px var(--tp-black-08);

  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;

  transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.25s ease;
}

.tpFiltresPanel.is-open{
  padding: 10px 14px 10px;
  opacity: 1;
  max-height: 420px;
  pointer-events: auto;
}

.tpFiltresBlocs{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tpFiltreToggle{
  width: 100%;
  appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 28px;
  cursor: pointer;
  font: inherit;
  color: var(--tp-text-beige);
}

.tpFiltreToggle__label{
  flex: 0 0 auto;
  min-width: 95px;
  text-align: left;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3px;
}

.tpFiltreToggle__line{
  flex: 1 1 auto;
  height: 1px;
  background: var(--tp-line-soft);
  border-radius: 999px;
  opacity: .6;
}

.tpFiltreToggle__ui{
  width: 58px;
  height: 24px;
  border-radius: 999px;
  background: var(--tp-accent-2);
  position: relative;
  flex: 0 0 auto;
  transition: background-color .2s ease;
}

.tpFiltreToggle__knob{
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--tp-text-beige);
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform .2s ease, background-color .2s ease;
  box-shadow: 0 1px 4px var(--tp-black-08);
}


.tpFiltreToggle.is-active .tpFiltreToggle__ui{
  background: var(--tp-success);
}

.tpFiltreToggle.is-active .tpFiltreToggle__knob{
  transform: translateX(34px);
}

.tpFiltresResume{
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--tp-text-beige);
  line-height: 1.4;
  opacity: .8;
}

.tpFiltreDivider{
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--tp-text-beige);
  opacity: 0.6;
  font-weight: 600;

  display: flex;
  align-items: center;
  gap: 10px;

  margin: 8px 0 6px;
}

.tpFiltreDivider::before,
.tpFiltreDivider::after{
  content: "";
  flex: 1;
  height: 1px;
  background: var(--tp-line-soft);
}







/* Tiny MCE */
.tox .tox-toolbar,
.tox .tox-toolbar__primary,
.tox .tox-toolbar__overflow {
  background-image: none !important;
}
.tox .tox-statusbar__text-container {
  height: 0;
}







/* Admin Bloc Edit */
/* Admin Bloc Edit */
.blocEditLayout{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 420px;
  gap:24px;
  align-items:start;
  max-width:1440px;
  margin:1.5em auto 2em auto;
  padding:0 20px;
  box-sizing:border-box;
}

.blocEditForm{
  padding:30px 20px 26px;
  margin:0;
  width:100%;
  max-width:none;
  background-color:var(--tp-surface);
  border-radius:var(--tp-radius-xs);
  box-sizing:border-box;
  min-width:0;
}

.blocEditPreview{
  position:relative;
  width:420px;
  min-width:420px;
  box-sizing:border-box;
}

.blocEditPreviewInner{
  position:relative;
  min-width:0;
}

.blocEditPreviewInner.is-fixed{
  position:fixed;
  top:20px;
  width:420px;
  z-index:20;
}

.blocEditPreviewInner.is-bottom{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  top:auto;
  width:420px;
}

.blocPreviewWrap.webCarnet{
  display:block !important;
  grid-auto-flow:initial !important;
  grid-auto-columns:auto !important;
  gap:0 !important;
  overflow:visible !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
  scrollbar-width:auto !important;
  -ms-overflow-style:auto !important;
  position:static !important;
}

.blocPreviewWrap.webCarnet::before{
  display:none !important;
}

.blocPreviewWrap.webCarnet > .card{
  width:auto !important;
  min-width:0 !important;
  margin:0 !important;
  padding-left:0 !important;
}

.blocPreviewWrap.webCarnet > .card::before{
  display:none !important;
}

.blocEditPreview .bloc-content{
  max-height:none !important;
  height:auto !important;
  opacity:1 !important;
  overflow:visible !important;
}

.blocEditPreview .bloc-content-inner{
  overflow:visible !important;
}

.blocEditPreviewSpacer{
  display:none;
}

.blocEditPreviewSpacer.is-active{
  display:block;
}

@media (max-width: 1200px){
  .blocEditLayout{
    grid-template-columns:minmax(0, 1fr) 360px;
    max-width:1320px;
  }

  .blocEditPreview{
    width:360px;
    min-width:360px;
  }

  .blocEditPreviewInner.is-fixed,
  .blocEditPreviewInner.is-bottom{
    width:360px;
  }
}

@media (max-width: 980px){
  .blocEditLayout{
    grid-template-columns:1fr;
    max-width:960px;
  }

  .blocEditPreview{
    width:auto;
    min-width:0;
    max-width:none;
  }

  .blocEditPreviewInner,
  .blocEditPreviewInner.is-fixed,
  .blocEditPreviewInner.is-bottom{
    position:relative;
    top:auto;
    left:auto;
    right:auto;
    bottom:auto;
    width:auto;
  }

  .blocEditPreviewSpacer,
  .blocEditPreviewSpacer.is-active{
    display:none;
  }
}




/* Admin - Bloc ÃƒÆ’Ã‚Â©dit - Menu bloquer en bas - Bloc Edit  Valider / retour / Ajouterr en modele - toujours en page de page*/
.actions-sticky{
  position:fixed;
  bottom:0;
  left:0;
  width:100%;
  padding:12px 20px;
  background:var(--tp-white);  border-top:1px solid var(--tp-black-08);
  display:flex;
  justify-content:space-between;
  align-items:center;
  z-index:1000;
  box-sizing:border-box;
}

.actions-sticky .left{
  display:flex;
  gap:10px;
}

.actions-sticky .right{
  display:flex;
}









.card.intro { 
  max-width: 30em;
  text-align: center;
  margin: 0 auto;
  background: none;
  padding: 1em 0 2em 0;
}

.card.intro h1 { 
  margin: .3em auto .5em auto;
}

.card.intro .style1 { 
  margin: 0;
}

.admin_intro_bar{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin:0 0 14px;
}

.admin_intro_bar__label{
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--tp-text-muted);
}

.admin_intro_bar__actions{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  flex-wrap:wrap;
}

.admin_intro_bar__form{
  margin:0;
}

.admin_visibility_toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:32px;
  padding:8px 14px;
  line-height:1.2;
  white-space:nowrap;
}

.admin_action_visible{
  background:rgba(60, 122, 72, .12);
  color:#2d6a3d;
}

.admin_action_hidden{
  background:rgba(148, 58, 58, .12);
  color:#8d2f2f;
}

.admin_mode_validation{
  background:rgba(206, 142, 30, .16);
  color:#8a5b12;
}

.admin_mode_carnet{
  background:rgba(78, 102, 146, .14);
  color:#3d537b;
}

.card.intro ul {
    list-style: none;      /* enlÃƒÆ’Ã‚Â¨ve les points */
    padding: 0;
    margin: 0;

    display: flex;         /* met les ÃƒÆ’Ã‚Â©lÃƒÆ’Ã‚Â©ments cÃƒÆ’Ã‚Â´te ÃƒÆ’Ã‚Â  cÃƒÆ’Ã‚Â´te */
    gap: 12px;             /* espace entre les items */
    justify-content: center; /* ÃƒÂ°Ã…Â¸Ã¢â‚¬ËœÃ‹â€  centre les ÃƒÆ’Ã‚Â©lÃƒÆ’Ã‚Â©ments */
}

.card.intro ul {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 1em;
}








/*==================================================================================================*/
/* Sur Ordinateur (pas mobil ) */
/*==================================================================================================*/
@media (min-width: 980px){


.grid.grid-2{
  grid-template-columns:1fr auto ;
}


 /****************************************/
/* Gestion de la barrer de defilement */
/****************************************/
  .wrap{
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0 24px 60px;
  }

  .topbar{
    max-width: none;
  }




  .webCarnetShell{
    position: relative;
    overflow: visible; /* ajoute pour l'histoire du scrool intene*/
  }


  .wrap{
    overflow: visible; /* ajoute pour l'histoire du scrool intene*/
  }

  .webCarnet{
    display: grid;
    grid-auto-flow: column;
    /*grid-auto-columns: minmax(340px, 420px);*/
    /*grid-auto-columns: clamp(340px, 30vw, 520px);*/
    grid-auto-columns: clamp(440px, 32vw, 520px);
    gap: 28px;
    align-items: start;
    overflow-y: visible;
    padding-bottom: 7em;
    padding-top: 1em;
    padding-left: 1em;
    scrollbar-width: none;
    -ms-overflow-style: none;


    overflow-x: auto; /* ajoute pour l'histoire du scrool intene*/
    overflow-y: hidden; /* <-- IMPORTANT */ /* ajoute pour l'histoire du scrool intene*/

  }


  .webCarnet::-webkit-scrollbar{
    display: none;
  }

  .webCarnet::before{
    display: none;
  }

  .webCarnet > .card{
    margin: 0;
    position: relative;
    padding-left: 20px;
    background: transparent;
    min-width: 0;
  }

  .webCarnet > .card::before{
    content: "";
    position: absolute;
    left: 15px;
    top: 3px;
    bottom: -2em;
    width: 2px;
    background: repeating-linear-gradient(
      to bottom,
      var(--tp-line) 0 4px,
      transparent 4px 8px
    );
  }

  .webCarnetNav{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 0;
    width: min(100%, 460px);
    user-select: none;

    position: sticky;
    top: 0;
    z-index: 1000;
    padding-top: 1em;
    padding-bottom: 2em;
    background: var(--tp-bg);
    border-radius: 0 0 var(--tp-radius-xs) var(--tp-radius-xs);

  }

  .webCarnetArrow{
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: var(--tp-text-muted);
    color: var(--tp-white);
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    padding: 0;
    line-height: 1;
    aspect-ratio: 1 / 1;
    flex: 0 0 28px;

    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
  }

  .webCarnetArrow:hover{
    opacity: .9;
  }

  .webCarnetBar{
    position: relative;
    flex: 1;
    height: 20px;
    background: var(--tp-surface-muted);
    border-radius: 999px;
    cursor: pointer;
    padding: 2px;
    box-sizing: border-box;
  }

  .webCarnetBarThumb{
    position: absolute;
    top: 2px;
    left: 2px;
    height: 16px;
    min-width: 60px;
    width: 120px;
    background: var(--tp-text-muted);
    border-radius: 999px;
    cursor: grab;
    margin: 0;
  }

  .webCarnetBarThumb.is-dragging{
    cursor: grabbing;
  }

} /* Fin de ordi */

