/* === Volume Calculator CSS Fixed & Secured === */

/* Container principal */
.volume-calculator {
  max-width: 100%;
  margin: 0 auto;
  font-family: Arial, sans-serif;
}

/* Onglets de catégories */
.volume-calculator .vc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1rem;
}
.volume-calculator .vc-tabs .vc-tab {
  padding: .5rem .8rem;
  border: 1px solid #072256;
  background: #fff;
  cursor: pointer;
  border-radius: 4px;
  transition: all .2s ease-in-out;
}
.volume-calculator .vc-tabs .vc-tab:hover {
  background: #072256;
  color: #fff;
}

/* Liste d’items */
.volume-calculator .vc-items {
  margin-bottom: 1rem;
}
.volume-calculator .vc-items div {
  margin-bottom: .4rem;
}

/* Pied de formulaire */
.volume-calculator .form-footer {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}

/* Champ email */
.volume-calculator .form-footer input[type="email"] {
  padding: .4rem .6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  flex: 1 1 auto;
}

/* Bouton d’envoi – verrouillage affichage */
.volume-calculator .form-footer .vc-send {
  display: inline-flex !important;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1rem;
  border-radius: .5rem;
  border: 1px solid #072256;
  background: #072256;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s ease-in-out, opacity .2s ease-in-out;
  visibility: visible !important;
  opacity: 1;
}
.volume-calculator .form-footer .vc-send[disabled] {
  cursor: not-allowed;
  opacity: .6;
}

/* Bouton hover */
.volume-calculator .form-footer .vc-send:hover:not([disabled]) {
  background: #0a3479;
}

/* Modal overlay */
.vc-modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(0,0,0,.45);
  z-index: 9999;
}
.vc-modal .ai-modal-content {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  max-width: 640px;
  width: 92%;
}

/* Boutons du modal */
.vc-modal .modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
}
.vc-modal .modal-close-btn,
.vc-modal .restart-btn {
  border: 1px solid #072256;
  padding: .5rem .8rem;
  border-radius: 8px;
  background: #fff;
  color: #072256;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s ease-in-out, color .2s ease-in-out;
}
.vc-modal .modal-close-btn:hover,
.vc-modal .restart-btn:hover {
  background: #072256;
  color: #fff;
}

/* Safelist anti-Remove Unused CSS */
.volume-calculator {}
.volume-calculator .form-footer {}
.volume-calculator .form-footer .vc-send {}
.vc-modal {}
.vc-modal .modal-buttons {}
.modal-close-btn {}
.restart-btn {}
