/* nv-calendrier.css — calendrier Nimba Visit (voir nv-calendrier.js) */
.nvcal-champ { display: flex !important; align-items: center; gap: 10px; width: 100%; min-height: 46px; padding: 10px 14px !important; text-align: left;
  background: #fff !important; border: 1.5px solid #e5e7eb !important; border-radius: 12px !important; font: inherit; font-size: 15px; font-weight: 600; color: #1f2430 !important;
  cursor: pointer; box-sizing: border-box; transition: border-color .15s, box-shadow .15s; }
.nvcal-champ:hover { border-color: #F85646 !important; }
.nvcal-champ:focus-visible, .nvcal-champ[aria-expanded="true"] { outline: none; border-color: #F85646 !important; box-shadow: 0 0 0 4px rgba(248, 86, 70, .14); }
.nvcal-champ > .fa-calendar-days { color: #F85646; font-size: 16px; }
.nvcal-txt { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: none; }
.nvcal-champ.nvcal-vide .nvcal-txt { color: #9ca3af; font-weight: 500; }
.nvcal-chev { color: #9ca3af; font-size: 12px; }
.nvcal-champ.nvcal-err { border-color: #dc2626 !important; box-shadow: 0 0 0 4px rgba(220, 38, 38, .12); }

.nvcal { position: absolute; z-index: 100000; width: 344px; max-width: calc(100vw - 16px); background: #fff; border-radius: 18px;
  box-shadow: 0 18px 50px rgba(17, 24, 39, .22), 0 2px 8px rgba(17, 24, 39, .08); font-family: inherit; color: #1f2430; overflow: hidden;
  animation: nvcalIn .14s ease-out; }
@keyframes nvcalIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.nvcal--bas { position: fixed; left: 0 !important; right: 0; bottom: 0; top: auto !important; width: 100%; max-width: none; border-radius: 22px 22px 0 0;
  padding-bottom: env(safe-area-inset-bottom); animation: nvcalUp .2s ease-out; }
@keyframes nvcalUp { from { transform: translateY(100%); } to { transform: none; } }
.nvcal-fond { position: fixed; inset: 0; z-index: 99999; background: rgba(17, 24, 39, .45); }
.nvcal-titre { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px; background: #F85646; color: #fff; }
.nvcal-titre strong { font-size: 15px; font-weight: 800; letter-spacing: .01em; }
.nvcal-x2 { width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .18); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.nvcal-corps { padding: 12px 14px 14px; }
.nvcal-tete { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.nvcal-mil { flex: 1; display: flex; gap: 6px; }
.nvcal-mil .nvcal-sel:first-child { flex: 1.5; }
.nvcal-sel { flex: 1; min-width: 0; height: 38px; padding: 0 8px; border: 1.5px solid #e5e7eb; border-radius: 10px; background: #fff; font: inherit; font-size: 14.5px; font-weight: 700; color: #1f2430; cursor: pointer; }
.nvcal-sel:focus { outline: none; border-color: #F85646; }
.nvcal-fl { width: 38px; height: 38px; flex: 0 0 38px; border: 0; border-radius: 10px; background: #fdecea; color: #F85646; font-size: 22px; font-weight: 700; line-height: 1; cursor: pointer; }
.nvcal-fl:hover:not(:disabled) { background: #F85646; color: #fff; }
.nvcal-fl:disabled { background: #f3f4f6; color: #d1d5db; cursor: default; }
.nvcal-js, .nvcal-grille { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.nvcal-js span { text-align: center; font-size: 12px; font-weight: 800; color: #9ca3af; padding: 4px 0; }
.nvcal-j { aspect-ratio: 1; min-height: 36px; border: 0; border-radius: 50%; background: none; font: inherit; font-size: 14.5px; font-weight: 600; color: #1f2430; cursor: pointer; padding: 0; }
.nvcal-j:hover:not(:disabled) { background: #fdecea; color: #F85646; }
.nvcal-j:focus-visible { outline: 2px solid #F85646; outline-offset: 1px; }
.nvcal-auj { box-shadow: inset 0 0 0 1.5px #F85646; color: #F85646; }
.nvcal-dans { background: #fdecea; border-radius: 0; color: #c2410c; }
.nvcal-bord { background: #fcd5d0; }
.nvcal-on, .nvcal-on:hover:not(:disabled) { background: #F85646 !important; color: #fff !important; border-radius: 50%; box-shadow: 0 4px 10px rgba(248, 86, 70, .35); }
.nvcal-off { color: #d1d5db !important; text-decoration: line-through; cursor: not-allowed; }
.nvcal-heure { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #f0f0f2; }
.nvcal-heure > span { flex: 1; font-size: 13.5px; font-weight: 700; color: #4b5563; }
.nvcal-heure .nvcal-sel { flex: 0 0 76px; }
.nvcal-pied { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.nvcal-lien { border: 0; background: none; color: #F85646; font: inherit; font-size: 14px; font-weight: 700; padding: 8px 4px; cursor: pointer; }
.nvcal-lien:disabled { color: #d1d5db; cursor: default; }
.nvcal-ok { margin-left: auto; border: 0; border-radius: 999px; background: #F85646; color: #fff; font: inherit; font-size: 14px; font-weight: 800; padding: 9px 18px; cursor: pointer; }
@media (max-width: 640px) { .nvcal-j { min-height: 42px; font-size: 16px; } .nvcal-corps { padding: 14px 16px 18px; } }

/* Protection contre les styles généraux du site (boutons, listes, titres) */
.nvcal, .nvcal * { box-sizing: border-box !important; letter-spacing: normal; text-transform: none; }
.nvcal .nvcal-titre { padding: 14px 16px 12px !important; margin: 0 !important; }
.nvcal .nvcal-titre strong { color: #fff !important; font-size: 15px !important; margin: 0 !important; }
.nvcal .nvcal-corps { padding: 12px 14px 14px !important; }
.nvcal select.nvcal-sel { height: 40px !important; min-height: 40px !important; padding: 0 8px !important; margin: 0 !important; line-height: 38px !important;
  font-size: 14.5px !important; font-weight: 700 !important; color: #1f2430 !important; background: #fff !important; border: 1.5px solid #e5e7eb !important; border-radius: 10px !important; width: auto !important; max-width: none !important; }
.nvcal button { margin: 0 !important; min-width: 0 !important; box-shadow: none; text-transform: none !important; letter-spacing: normal !important; }
.nvcal button.nvcal-fl { width: 40px !important; height: 40px !important; padding: 0 !important; border-radius: 10px !important; font-size: 22px !important; line-height: 1 !important; }
.nvcal button.nvcal-j { width: 100% !important; height: auto !important; padding: 0 !important; font-size: 15px !important; line-height: 1 !important; border-radius: 50% !important; }
.nvcal button.nvcal-dans { border-radius: 0 !important; }
.nvcal button.nvcal-x2 { width: 32px !important; height: 32px !important; padding: 0 !important; border-radius: 50% !important; font-size: 20px !important; }
.nvcal button.nvcal-lien { padding: 8px 4px !important; font-size: 14px !important; background: none !important; }
.nvcal button.nvcal-ok { padding: 9px 18px !important; font-size: 14px !important; border-radius: 999px !important; }
.nvcal button.nvcal-on { box-shadow: 0 4px 10px rgba(248, 86, 70, .35) !important; }
.nvcal button.nvcal-auj { box-shadow: inset 0 0 0 1.5px #F85646 !important; }
@media (max-width: 640px) { .nvcal button.nvcal-j { font-size: 16px !important; } }
.nvcal-champ { min-width: 0 !important; max-width: 100% !important; }
/* Pages Réservation / Paiement sur téléphone : les colonnes ne débordent plus de l'écran */
.nvp-grid > * { min-width: 0; }
@media (max-width: 480px) { .nvp-steps span { min-width: 0; padding: 7px 6px; gap: 5px; font-size: 11.5px; } .nvp-steps span i { width: 18px; height: 18px; flex: 0 0 18px; font-size: 10.5px; } }
.nvcal button.nvcal-ok { margin-left: auto !important; }
