/* Salon de coiffure che'Z'elle — design du formulaire de réservation */
#tgi-reservation-wrapper{--sage:#9CAF9E;--sage-d:#7C927E;--rose:#E8B4BC;--rose-d:#D4949E;--ink:#2B2B2B;--line:#EAE2D6;font-family:'Plus Jakarta Sans',system-ui,sans-serif;color:var(--ink)}
#tgi-reservation-wrapper *{box-sizing:border-box}
#tgi-reservation-wrapper .tgi-form{display:grid;gap:1.25rem;margin:0}
#tgi-reservation-wrapper .tgi-row{display:grid;gap:1.25rem;grid-template-columns:1fr}
@media(min-width:640px){#tgi-reservation-wrapper .tgi-row--2{grid-template-columns:1fr 1fr}}
#tgi-reservation-wrapper .tgi-field{display:flex;flex-direction:column;gap:.45rem;min-width:0}
#tgi-reservation-wrapper .tgi-field label{font-size:.75rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--ink);margin:0}
#tgi-reservation-wrapper .tgi-field label span{color:var(--rose-d)}

#tgi-reservation-wrapper .tgi-input,
#tgi-reservation-wrapper .tgi-field input[type=text],
#tgi-reservation-wrapper .tgi-field input[type=tel],
#tgi-reservation-wrapper .tgi-field input[type=email],
#tgi-reservation-wrapper .tgi-field input[type=date],
#tgi-reservation-wrapper .tgi-field select{
  display:block;width:100%;height:3.1rem;padding:0 1rem;margin:0;
  font:400 .95rem/1.2 'Plus Jakarta Sans',system-ui,sans-serif;color:var(--ink);
  background:#F7F4F0;border:1.5px solid var(--line);border-radius:12px;box-shadow:none;outline:none;
  transition:border-color .2s,box-shadow .2s,background .2s;-webkit-appearance:none;appearance:none}
#tgi-reservation-wrapper .tgi-input::placeholder,
#tgi-reservation-wrapper .tgi-field input::placeholder{color:#8E8782}
#tgi-reservation-wrapper .tgi-input:hover,
#tgi-reservation-wrapper .tgi-field select:hover{border-color:var(--rose)}
#tgi-reservation-wrapper .tgi-input:focus,
#tgi-reservation-wrapper .tgi-field input:focus,
#tgi-reservation-wrapper .tgi-field select:focus{background:#fff;border-color:var(--rose-d);box-shadow:0 0 0 4px rgba(232,180,188,.25)}
#tgi-reservation-wrapper .tgi-field select{
  padding-right:2.6rem;cursor:pointer;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23D4949E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat:no-repeat;background-position:right 1rem center}
#tgi-reservation-wrapper .tgi-field select:disabled{background-color:#F7F4F0;color:#A8A19C;cursor:not-allowed;border-style:dashed;opacity:.75}
#tgi-reservation-wrapper .tgi-date-wrap{position:relative}
#tgi-reservation-wrapper .tgi-date-wrap::after{content:"";position:absolute;right:1rem;top:50%;width:17px;height:17px;margin-top:-8.5px;pointer-events:none;
  background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4949E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='16' rx='3'/><path d='M3 10h18M8 3v4M16 3v4'/></svg>") center/contain no-repeat}
#tgi-reservation-wrapper .tgi-date-wrap input{cursor:pointer;padding-right:2.8rem}

#tgi-reservation-wrapper .tgi-hint{font-size:.82rem;color:#66615E;margin:-.3rem 0 0;display:flex;gap:.5rem;align-items:center}
#tgi-reservation-wrapper .tgi-hint::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--sage-d);flex:none}

#tgi-reservation-wrapper .tgi-msg{display:none;padding:1rem 1.2rem;border-radius:12px;font-size:.92rem;line-height:1.5;border-left:4px solid}
#tgi-reservation-wrapper .tgi-msg.is-visible{display:block}
#tgi-reservation-wrapper .tgi-msg--ok{background:#EEF5EF;color:#2F5A3A;border-color:#7C927E}
#tgi-reservation-wrapper .tgi-msg--err{background:#FBEFEF;color:#8A2F2F;border-color:#D4949E}

#tgi-reservation-wrapper .tgi-btn{
  display:block;width:100%;height:3.5rem;margin:.5rem 0 0;border:0;border-radius:999px;cursor:pointer;
  font:600 .9rem/1 'Plus Jakarta Sans',system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#fff;
  background:var(--ink);
  box-shadow:0 12px 24px -14px rgba(43,43,43,.45);transition:transform .25s,box-shadow .25s,background .25s}
#tgi-reservation-wrapper .tgi-btn:hover:not(:disabled){transform:translateY(-2px);background:var(--rose-d);box-shadow:0 16px 28px -14px rgba(212,148,158,.7)}
#tgi-reservation-wrapper .tgi-btn:disabled{background:#D5CFC9;color:#fff;box-shadow:none;cursor:not-allowed;opacity:1}
#tgi-reservation-wrapper .tgi-btn.is-loading{opacity:.8;cursor:progress}
#tgi-reservation-wrapper .tgi-note{margin:.2rem 0 0;font-size:.78rem;color:#66615E;text-align:center;line-height:1.6}

.flatpickr-calendar{font-family:'Plus Jakarta Sans',system-ui,sans-serif;border-radius:16px;box-shadow:0 20px 45px -20px rgba(43,43,43,.25);border:1px solid #EAE2D6}
.flatpickr-months .flatpickr-month,.flatpickr-current-month .flatpickr-monthDropdown-months{color:#2B2B2B}
.flatpickr-current-month{font-weight:600;font-size:105%}
.flatpickr-weekdays,span.flatpickr-weekday{color:#7C927E;background:transparent;font-weight:700}
.flatpickr-day{border-radius:999px}
.flatpickr-day:hover{background:#F9EEF0;border-color:#E8B4BC}
.flatpickr-day.today{border-color:#7C927E}
.flatpickr-day.today:hover{background:#7C927E;border-color:#7C927E;color:#fff}
.flatpickr-day.selected,.flatpickr-day.selected:hover,.flatpickr-day.selected:focus{background:#D4949E;border-color:#D4949E;color:#fff}
.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover{color:#CCCCCC;background:transparent}
.flatpickr-months .flatpickr-prev-month:hover svg,.flatpickr-months .flatpickr-next-month:hover svg{fill:#D4949E}

#tgi-reservation-wrapper .tgi-consent{display:flex;gap:.75rem;align-items:flex-start;font-size:.82rem;line-height:1.55;color:#66615E;cursor:pointer;margin:0}
#tgi-reservation-wrapper .tgi-consent input{margin:.25rem 0 0;width:1.05rem;height:1.05rem;flex:none;accent-color:var(--rose-d)}
#tgi-reservation-wrapper .tgi-consent a{color:var(--rose-d);text-decoration:underline}
#tgi-reservation-wrapper .tgi-consent b{color:var(--rose-d)}
