.jvvf-wrap {
    background: #fff;
    border-radius: 20px;
    padding: 75px 58px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .07)
}

.jvvf-header {
    padding: 0 54px 77px 54px;
}
.jvvf-field.jvvf-ymm-field {
    position: relative;
}
.jvvf-main-title{
    color: #141414;
    font-family: 'Archive Expanded', 'Archivo';
    font-stretch: semi-expanded;
    font-size: 40px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}
span.ymm-loader, .ymm-loader-year{
    position: absolute;
    right: 5px;
}
.jvvf-centred-niv {
    display: flex;
    justify-content: center;
    align-items: center !important;
    text-align: center;
    flex-direction: column!important;
    margin-top: 40px!important;
}
.jvvf-text-center {
    text-align: center;
}
.jvvf-main-desc{
    color: #141414;
    font-family: Archivo;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px;
    max-width: 840px;
}
.jvvf-row-spinner{
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0;

}
.jvvf-header h2 {
    margin: 0 0 4px;
    font-size: 40px
}

.jvvf-hr {
    margin: 10px 54px 83px 54px;
    padding: 0 54px;
    background-color: #141414;
    height: 1px;
}

.jvvf-subtitle{
    padding: 0 54px 0 54px;
    margin-bottom: 0;
    font-size: 40px;
}

.jvvf-header p {
    margin: 12px 0 12px;
}

.jvvf-steps {
    display: flex;
    gap: 32px;
    align-items: center;
    max-width: 1000px;
    margin: 52px auto 0 auto;
}

.jvvf-step {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid #d9d9d9;
  color: #d9d9d9;
  font-family: Archivo, sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: all 0.3s ease;
}

.jvvf-step.is-prev {
  background: #00A8FF;
  border-color: #00A8FF;
  color: #fff;
}

.jvvf-step.is-active {
  background: transparent;
  color: #00A8FF;
  border-color: #00A8FF;
}

.jvvf-line {
  flex: 1;
  height: 8px;
  border-radius: 50px;
  background: #D9D9D9;
  transition: background-color 0.3s ease;
}


.jvvf-panel h3 {
    margin: 8px 0 0 0;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
    letter-spacing: .02em
}

.jvvf-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 80px 40px;
    margin: 40px 0;
}

.jvvf-card.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.jvvf-grid.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.jvvf-grid.four {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px
}

.jvvf-grid.vehicle-types {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.jvvf-field {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.jvvf-field label {
    font-size: 20px;
    color: #6b7280
}

.jvvf-field input,
.jvvf-field select {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    padding: 12px 40px;
}
.jvvf-field select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url('../icons/dropdown.svg');
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;
  cursor: pointer;
  background-color: #fff !important;
}

.jvvf-field select:focus {
  outline: none;
  border-color: #00A8FF !important;
  box-shadow: none;
}

.jvvf-field select:invalid {
  color: #757575 !important;
}

.jvvf-label { 
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.jvvf-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px
}

.jvvf-btn {
    border: 0;
    border-radius: 10px;
    padding: 10px 16px;
    background: #0ea5e9;
    font-weight: 600;
    cursor: pointer;
    padding: 18px 20px;
}

.jvvf-btn[disabled] {
    opacity: .5;
    cursor: not-allowed
}

.jvvf-btn.ghost {
    background: #e5e7eb;
    color: #111827
}

.jvvf-btn.outline {
    background: #fff;
    border: 1px solid #0ea5e9;
    color: #0ea5e9
}

.jvvf-btn.primary {
    background: #0ea5e9
}

.jvvf-row {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    margin: 10px 0
}

.jvvf-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-direction: column;
    padding: 14px 19px;
    gap: 13px;
    cursor: pointer;
    user-select: none
}

.jvvf-tile input {
    display: none
}
.jvvf-step-one-actions{
    margin-top: 330px;
}
.jvvf-tile span {
    font-weight: 600
}

.jvvf-tile input:checked+span,
.jvvf-tile:hover {
    color: #0ea5e9
}

.jvvf-verify {
    display: flex;
    align-items: start;
    gap: 12px;
    justify-content: center;
}

.jvvf-otp input {
    max-width: 200px
}

.jvvf-success {
    padding: 30px;
    text-align: center
}

.jvvf-cert {
    display: flex;
    gap: 10px;
    align-items: center
}

/* FilePond harmonisé */
.filepond--panel-root {
    border-radius: 10px;
}

.filepond--drop-label {
    color: #6b7280;
}

.jvvf-field-upload-preview .filepond--item-panel {
    background: transparent !important;
}

.filepond--credits {
    display: none !important;
}

img.label_vehicule_img {
    width: auto;
    height: auto;
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
    display: block;
}
.jvvf-accessories-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    margin: 0 150px 7px 150px;
    align-items: start;
}

.jvvf-accessories-oui-col,
.jvvf-accessories-non-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.jvvf-accessories-oui-col .jvvf-field-error {
    margin-top: 2px;
    text-align: left;
    width: 100%;
}

.jvvf-accessories-oui-col .jvvf-yes-optional {
    margin: 0;
    width: 100%;
    max-width: 423px;
    box-sizing: border-box;
}
.label_vehicule {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 158px;
    height: 158px;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    box-sizing: border-box;
    transition: border 0.2s, border-radius 0.2s, background 0.2s;
}

/* État sélectionné : cercle (boîte carrée + border-radius 50 %) */
.jvvf-tile input:checked + .label_vehicule {
    border-radius: 50%;
    border: 1px solid #141414;
    background: #00A8FF;
}

.label_title_vehicule {
    color: #141414;
    font-family: Archivo;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.separated-col {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.owner-container{
    max-width: 600px;
}
.intent-container{
    max-width: 950px;
}
.separated-col label {
    font-family: Archivo;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
    border-radius: 10px;
    color: #141414!important;
    padding: 12px 31px;
    border: 1px solid #d1d5db;
    background: #fff;
}

.separated-col label input[type="radio"] {
  appearance: none!important;        
  -webkit-appearance: none!important; 
  -moz-appearance: none!important;   
  position: relative;
  margin: 0;
  outline: none;
  cursor: pointer;
  width: 0;
  height: 0;
  display: none;
}

.separated-col label input[type="radio"]:checked + span,
.separated-col label input[type="radio"]:checked {
    background: #00A8FF;
    color: #fff !important;
}

.separated-col label:has(input[type="radio"]:checked) {
    background: #00A8FF;
    color: #fff !important;
}

span.separator-owner {
    display: inline-flex;
    align-items: center;
    color: #141414;
    font-family: Archivo;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.jvvf-horizontal{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.jvvf-vehicule-info .jvvf-field label{
    color: #141414;
    font-family: Archivo;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
}
.md-two-col{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px 43px;
    max-width: 960px;
    margin: 40px auto 60px;
    align-items: start;
}

.jvvf-specs-col {
    display: flex;
    flex-direction: column;
    gap: 35px;
    min-width: 0;
}

.jvvf-specs-col > .jvvf-field {
    min-height: 0;
}

.jvvf-vehicule-info .jvvf-horizontal {
    margin-bottom: 28px;
}

.jvvf-vin-decode-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    width: 100%;
}

.jvvf-vin-decode-row input#jvvf-vin {
    flex: 1 1 auto;
    min-width: 0;
    width: 100% !important;
    max-width: none;
    padding: 12px 16px;
    margin: 0;
    box-sizing: border-box;
    border: 1px solid #d1d5db;
    border-radius: 8px;
}

.jvvf-vin-decode-actions {
    display: none;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.jvvf-vin-decode-row.has-decode .jvvf-vin-decode-actions {
    display: flex;
}

.jvvf-btn-decode-vin {
    white-space: nowrap;
    padding: 12px 18px !important;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.2;
}

.jvvf-vin-decode-row:not(.has-decode) input#jvvf-vin {
    width: 100%;
}

.jvvf-vin-loader {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.jvvf-vin-loader img {
    display: block;
    width: 24px;
    height: 24px;
}

.jvvf-vehicule-info .md-two-col .jvvf-field input,
.jvvf-vehicule-info .md-two-col .jvvf-field select {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    box-sizing: border-box;
}

.md-two-col.jvvf-boat-fields .jvvf-field-odometer-unit {
    display: none !important;
}

/* Champs full-width dans la grille 2 colonnes */
.md-two-col .jvvf-field-other-info{
    grid-column: 1 / -1;
}
.md-two-col .jvvf-field-other-info textarea{
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    padding: 12px 16px;
}
.md-two-col .jvvf-field label{
    color: #141414;
    font-family: Archivo;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px; 
    text-transform: uppercase;
}
.jvvf-title-field{
    color: #141414;
    font-family: 'Archive Expanded', 'Archivo';
    font-stretch: expanded;
    font-size: 30px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    padding-bottom: 13px;
}
.jvvf-etat-options-col{
    display: grid;
    justify-content: space-between;
    grid-template-columns: 1fr 2fr 2fr;
    align-items: center;
    padding: 12px 70px;
}
.jvvf-etat-letter{
    color: rgba(0, 168, 255, 0.20);
    font-family: 'Archive Expanded', 'Archivo';
    font-stretch: expanded;
    font-size: 80px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

 .jvvf-field .jvvf-etat-options-col label{
    color: #141414;
    font-family: Archivo;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
}
.jvvf-field .jvvf-etat-options-col label .jvvf-condition-desc{
    color: #141414;
    font-family: Archivo;
    font-size: 24px;
    font-style: italic;
    font-weight: 400;
    line-height: 36px; 
    display: block;
}

.jvvf-field .jvvf-etat-options-col .jvvf-etat-evaluation{
    font-family: Archivo;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px; 
}


.jvvf-field .jvvf-etat-options-col .jvvf-etat-evaluation .jvvf-blue{
    color: #00A8FF;
}
.jvvf-field .jvvf-etat-options-col .jvvf-etat-evaluation .jvvf-black{
    color: #141414;;
}
.jvvf-accessoire .jvvf-field label{
    color: #141414;
    font-family: Archivo;
    font-size: 30px;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
}
.jvvf-accessoire .jvvf-field input[type="text"],
.jvvf-accessories-oui-col .jvvf-yes-optional {
  width: 423px;
  max-width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  padding: 12px 16px;
  box-sizing: border-box;
}
.jvvf-field-upload{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap:190px;
}
.jvvf-field-upload p{
    color: #000;
    font-family: Archivo;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px; 
    max-width: 418px;
}
.jvvf-field-upload-preview{
    width: 100%;
}
.jvvf-contact-preferences{
    display: flex;
    flex-direction: row;
    gap: 41px;
}
.jvvf-contact-preferences .jvvf-card{
    width: 100%;
}
.jvvf-contact-grid {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 38px 75px;
}
.jvvf-contact-methods , .jvvf-contact-times{
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 28px 0;
}

.jvvf-cert{
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.70);
    padding: 21px 70px 21px 54px;
    margin-top: 69px;
}
.jvvf-field label.jvvf-cert{
    color: #141414;
    font-family: 'Archive Expanded', 'Archivo';
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
}
.jvvf-contact-col .jvvf-contact-methods label,.jvvf-contact-col  .jvvf-contact-times label{
    color: #141414;
    font-family: Archivo;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px;
}
.jvvf-field-upload-preview {
    max-width: 718px;
    min-height: 270px;
    margin-left: 0;
}
.jvvf-field-upload-preview {
    min-height: 270px;
    max-width: 718px;
    border-radius: 10px;
    border: 2px dashed #00A8FF;
}
/* Wrapper pour le préfixe +1 */
.jvvf-phone-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: rgba(217, 217, 217, 0.50);
    overflow: hidden;
}
.jvvf-phone-wrapper input, .jvvf-phone-prefix {
    padding: 10px !important;
}
.jvvf-phone-prefix {
    padding: 14px 8px 14px 16px;
    color: #141414;
    font-family: Archivo;
    font-size: 24px;
    font-weight: 400;
    background: rgba(200, 200, 200, 0.3);
    pointer-events: none;
    user-select: none;
}
.jvvf-phone-wrapper input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    /* padding: 14px 16px 14px 4px !important; */
    color: #141414;
    font-family: Archivo;
    font-size: 24px;
    font-weight: 400;
    line-height: 36px;
    text-transform: uppercase;
    outline: #cacaca;
    max-width: none !important;
}

.jvvf-info-text-input input{
    border-radius: 10px;
    background: rgba(217, 217, 217, 0.50);
    padding: 14px 31px;
    color: #141414;
    font-family: Archivo;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px;
    text-transform: uppercase;
    max-width: 426px;
    outline: #cacaca;
}
.jvvf-info-perso-two{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap:24px;
    max-width: 876px;
    margin-top: 64px;
}
#jvvf-photos {
    height:390px !important;
    cursor:grab;
}
.filepond--drop-label.filepond--drop-label label{
  cursor: grab;
}
div#jvvf-photos .filepond--list-scroller {
    position: absolute;
    /* width: 175px; */
    z-index: 9;
    cursor: auto;
    height: 100%;
    gap: 0px;
    padding: 0;
    /* margin: 0 0 0 auto; */
    display: none;
    transform: translate3d(0,0,0)!important;
    width: 100%;
    height: 100%!important;
}
.filepond--list.filepond--list {
  overflow-y: auto !important;
  /* max-height: 100%; */
  /* overflow-x: hidden; */
}
.filepond--drop-label {
  height: 100%!important;
} 
.jvvf-radio {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%!important;
  border: 1px solid #000!important;
  margin-right: 6px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 1;
  padding: 8px !important;
}

.jvvf-radio:checked {
  background-color: #000;
}
.jvvf-contact-preferences.two-col .jvvf-card {
    margin: 0;
}
.jvvf-panel.jvvf-info-perso label {
    display: none;
}

/* Message d'erreur sous chaque champ */
.jvvf-field-error {
  color: #e57373;
  font-size: 0.9em;
  margin-top: 4px;
  font-family: Archivo, sans-serif;
  display: block;
}

.filepond--root .filepond--image-preview {
  background: transparent !important;
}
[data-filepond-item-state='processing-complete'] .filepond--item-panel {
    background-color: transparent !important;
}
.filepond--image-preview-overlay-idle {
    color: rgba(109, 109, 109, 0.85)!important;
}

.filepond--image-preview-overlay-success {
    color: rgb(198, 198, 198, 0.5)!important;
}

.filepond--image-preview-overlay-failure {
    color: rgba(255, 6, 6, 0.5)!important;
}
.jvvf-step-one{
    margin: 0 30px;
}


/* Checkbox personnalisé */

.jvvf-wrap input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 4px !important;
  border: 2px solid #141414 !important;
  margin-right: 54px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  background: #fff;
  transition: all 0.3s ease;
  padding: 0 !important;
  outline: #cacaca;
}

.jvvf-label.jvvf-title-field.jvvf-subfield-title{
    color: #141414;
    font-family: Archivo;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal; 
}

.jvvf-wrap input[type="checkbox"]:hover {
  border-color: #00A8FF !important;
  background: rgba(0, 168, 255, 0.05);
}

.jvvf-wrap input[type="checkbox"]:checked {
  background-color: #00A8FF !important;
  border-color: #00A8FF !important;
}

.jvvf-wrap input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.jvvf-wrap input[type="checkbox"]:focus {
  outline: 2px solid rgba(27, 27, 27, 0.3);
  outline-offset: 2px;
}
.jvvf-btn.ghost:hover{
    background: #e5e7eb!important;
}
.jvvf-vehicule-info-warn{
    padding: 0 40px;
}
.jvvf-wrap input[type="checkbox"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.jvvf-btn:hover {
    background-color: #0ea5e9;
    color: #141414!important;

}
.jvvf-btn{
    color: #141414;
    font-family: 'Archive Expanded', 'Archivo';
    font-stretch: expanded;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
}
.jvvf-wrap [type=button].next,
.jvvf-wrap [type=submit],
.jvvf-wrap button.next {
    background-color: #0ea5e9;

}
.image-mobile-only{
  display: none;
}
.jvvf-wrap [type=button].next:hover,
.jvvf-wrap [type=submit].next:hover,
.jvvf-wrap button.next:hover,
.jvvf-wrap [type=button].next:focus,
.jvvf-wrap [type=submit].next:focus,
.jvvf-wrap button.next:focus {
    background-color: #0ea5e9;
}

.jvvf-field-success {
  color: #4caf50;
  font-size: 0.9em;
  margin-top: 4px;
  font-family: Archivo, sans-serif;
  display: block;
}
select#jvvf-ville {
    color: #141414;
    font-family: Archivo;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px;
    text-transform: uppercase;
    padding: 12px 20px;
    background: rgba(217, 217, 217, 0.50);
}
/* Style pour le select ville */
.jvvf-info-text-input select#jvvf-ville {
    border-radius: 10px;
    background: rgba(217, 217, 217, 0.50);
    padding: 14px 31px;
    font-family: Archivo;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 36px;
    text-transform: uppercase;
    max-width: 426px;
    width: 100%;
    border: 1px solid #d1d5db;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url('../icons/dropdown.svg');
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px 18px;
    cursor: pointer;
    background-color: rgba(217, 217, 217, 0.50) !important;
}

/* Placeholder (option par défaut) - couleur grise */
.jvvf-info-text-input select#jvvf-ville option[value=""] {
    color: #999;
}

.jvvf-info-text-input select#jvvf-ville option:not([value=""]) {
    color: #141414;
    font-style: normal;
}

.jvvf-info-text-input select#jvvf-ville:not([value=""]) {
    color: #141414;
}

.jvvf-info-text-input select#jvvf-ville[value=""],
.jvvf-info-text-input select#jvvf-ville:invalid {
    color: #999;
}

.jvvf-info-text-input select#jvvf-ville:focus {
    outline: none;
    outline-offset: 2px;
}
label.jvvf-cert {
    padding-right: 67px;
}

/* .jvvf-info-text-input select#jvvf-ville:hover {
    background: rgba(217, 217, 217, 0.7);
} */

.jvvf-cert {
  display: flex;
  gap: 12px;
  align-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.70);
  padding: 21px 54px;
  margin-top: 69px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.jvvf-cert:hover {
  background: rgba(255, 255, 255, 0.9);
}

.jvvf-field label.jvvf-cert {
  color: #141414;
  font-family: 'Archive Expanded', 'Archivo';
  font-stretch: expanded;  
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  cursor: pointer;
}
.jvvf-field-vin-wrap .jvvf-vin-decode-row input#jvvf-vin {
    padding: 12px 16px;
}

@media screen and (max-width: 1600px) {
 .jvvf-field label.jvvf-cert {
    font-size: 16px;
    
  }
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1366px) {
  .jvvf-wrap {
    padding: 40px 25px;
  }
  .jvvf-wrap input[type="checkbox"]{
    margin-right: 10px;
  }
  
  .jvvf-tile{
    padding: 10px;
  }
  .jvvf-main-title {
    font-size: 28px;
  }
  .jvvf-main-desc {
    font-size: 18px;
    line-height: 26px;
  }
  .jvvf-header h2 {
    font-size: 22px;
  }
  .jvvf-header p {
    font-size: 18px;
    margin: 0 0 12px;
  }
  .jvvf-steps {
    gap: 20px;
  }
  .jvvf-step {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  .jvvf-card {
    padding: 40px 20px;
    margin: 24px 0;
  }
  .jvvf-panel h3 {
    font-size: 20px;
    padding-bottom: 6px;
  }
  .md-two-col {
    gap: 20px 28px;
    margin: 40px auto;
  }
  .jvvf-specs-col {
    gap: 20px;
  }
  .md-two-col .jvvf-field label {
    font-size: 20px;
    line-height: 26px;
  }
  .jvvf-title-field {
    font-size: 22px;
  }
  .separated-col label, span.separator-owner {
    font-size: 20px;
    padding: 10px 20px;
    line-height: 28px;
  }
  .jvvf-vehicule-info .jvvf-field label {
    font-size: 20px;
    line-height: 28px;
  }
  .jvvf-vin-decode-row input#jvvf-vin {
    padding: 12px 16px;
    width: 100% !important;
  }
  .jvvf-card.jvvf-vehicule-info .md-two-col label {
    font-size: 16px;
  }
  .jvvf-etat-options-col {
    padding: 8px 40px;
  }
  .jvvf-etat-letter {
    font-size: 50px;
  }
  .jvvf-field .jvvf-etat-options-col label {
    font-size: 20px;
    line-height: 28px;
  }
  .jvvf-field .jvvf-etat-options-col label .jvvf-condition-desc {
    font-size: 20px;
    line-height: 24px;
  }
  .jvvf-field .jvvf-etat-options-col .jvvf-etat-evaluation {
    font-size: 20px;
    line-height: 28px;
  }
  .jvvf-accessoire .jvvf-field label {
    font-size: 20px;
    line-height: 28px;
  }
  .jvvf-accessoire .jvvf-field input[type="text"] {
    width: 100%;
    max-width: 320px;
  }
  .jvvf-field-upload {
    gap: 80px;
  }
  .jvvf-field-upload p {
    font-size: 18px;
    line-height: 24px;
    max-width: 300px;
  }
  .jvvf-contact-preferences {
    gap: 24px;
  }
  .jvvf-contact-grid {
    padding: 20px 10px;
  }
  .jvvf-contact-methods, .jvvf-contact-times {
    gap: 14px;
    padding: 18px 0;
  }
  .jvvf-contact-col .jvvf-contact-methods label, .jvvf-contact-col .jvvf-contact-times label {
    font-size: 18px;
    line-height: 26px;
  }
  .jvvf-cert {
    padding: 14px 32px;
    margin-top: 40px;
  }
  .jvvf-field label.jvvf-cert {
    font-size: 16px!important;
    
  }
  .jvvf-info-text-input input, .jvvf-phone-wrapper input, .jvvf-phone-prefix {
    padding: 10px 20px;
    font-size: 20px;
    line-height: 26px;
    max-width: 320px;
  }
  .jvvf-phone-prefix {
    padding: 10px 6px 10px 12px;
    font-size: 20px;
  }
  .jvvf-info-perso-two {
    gap: 16px;
    max-width: 700px;
  }
  .jvvf-btn {
    font-size: 20px;
    padding: 12px 16px;
  }
  .jvvf-actions {
    gap: 8px;
    margin-top: 40px;
  }
  .jvvf-success {
    padding: 20px;
  }
  .jvvf-info-text-input select#jvvf-ville {
    padding: 10px 20px;
    padding-right: 45px;
    font-size: 18px;
    line-height: 26px;
    max-width: 320px;
    background-position: right 15px center;
    background-size: 14px;
  }
  .jvvf-cert {
    padding: 14px 32px;
    margin-top: 40px;
    gap: 10px;
  }
  
  .jvvf-field label.jvvf-cert {
    font-size: 18px;
    line-height: 26px;
  }
  .jvvf-phone-wrapper{
    max-width: 320px;
  }
  .jvvf-row[data-group="vin"] {
    align-items: start;
    flex-direction: column;
  }
}

@media(max-width:1024px) {
    .jvvf-grid.four {
        grid-template-columns: 1fr 1fr
    }
    button.jvvf-btn {
      font-size: 14px;
    }
    .jvvf-vin-decode-row input#jvvf-vin {
      padding: 10px 16px;
      width: 100% !important;
    }
    .jvvf-subtitle{
      font-size: 20px;
    }
}

/* Mobile < 767px : Les grilles passent à 1 colonne, tout devient compact */
@media (max-width: 767px) {
  .jvvf-wrap {
    padding: 16px 20px;
    border-radius: 20px;
  }
  .image-mobile-only{
    display: block;
    margin-bottom: 30px;
  }
  button#jvvf-decode-vin {
    padding: 13px 19px;
  }
  .image-mobile-only img{
    width: 170px;
    height: 48px;
  }
  .jvvf-card.jvvf-vehicule-info .md-two-col label {
    font-size: 16px;
  }
  .jvvf-main-title {
    font-size: 18px;
  }
  .label_vehicule{
    width: 118px;
    height: 118px;
    padding: 10px;
  }
  img.label_vehicule_img{
    max-width: 100px;
    max-height: 100px;
  }
  .jvvf-main-desc {
    font-size: 20px;
    line-height: 18px;
  }
  .jvvf-header h2 {
    font-size: 22px;
  }
  .jvvf-header p {
    font-size: 18px;
    margin: 0 0 8px;
  }
  .jvvf-steps {
    gap: 12px;
    margin-top: 50px;
  }
  .jvvf-step {
    width: 36px;
    height: 36px;
    font-size: 16px;
    line-height: 20px;
  }
  .jvvf-line {
    height: 4px;
  }
  .jvvf-card {
    padding: 16px 8px;
    margin: 20px 0;
  }
  .jvvf-panel h3 {
    font-size: 20px;
    padding-bottom: 4px;
    margin: 6px 0 10px;
  }
  .separated-col.intent-container label {
    text-align: center;
  }

  .md-two-col,
  .jvvf-info-perso-two,
  .jvvf-grid.two,
  .jvvf-card.two-col,
  .jvvf-grid.four {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    max-width: 100%;
  }
  
  .md-two-col {
    margin: 20px auto;
  }
  .jvvf-specs-col {
    gap: 20px;
  }
  .md-two-col .jvvf-field label {
    font-size: 20px;
    line-height: 28px;
  }
  .jvvf-title-field {
    font-size: 20px;
    text-align: center;
  }

  .jvvf-vin-decode-row {
    flex-direction: column;
    align-items: stretch;
  }
  .jvvf-btn-decode-vin {
    width: 100%;
    min-height: 44px;
  }
  .jvvf-vin-decode-actions {
    justify-content: flex-start;
  }
  
  .owner-container,
  .intent-container,
  .separated-col {
    flex-direction: column !important;
    gap: 6px !important;
    max-width: 100%;
    align-items: center;
  }
  .separated-col label,
  span.separator-owner {
    font-size: 20px;
    padding: 10px 20px;
    line-height: 18px;
  }
  
  .jvvf-horizontal {
    flex-direction: column;
    gap: 8px;
  }
  
  .jvvf-vehicule-info .jvvf-field label {
    font-size: 20px;
    line-height: 18px;
  }
  .jvvf-vehicule-info .jvvf-field .md-two-col label{
    font-size: 16px;
  }
  .jvvf-etat-options-col {
    grid-template-columns: 1fr !important;
    padding: 6px 8px;
    gap: 6px;
  }
  .jvvf-etat-letter {
    font-size: 28px;
  }
  .jvvf-accessoire .jvvf-field label {
    font-size: 20px;
    line-height: 18px;
  }
  .jvvf-accessoire .jvvf-field input[type="text"] {
    width: 100%;
    max-width: 100%;
  }
  
  .jvvf-field-upload {
    flex-direction: column;
    gap: 12px;
  }
  .jvvf-field-upload p {
    font-size: 18px;
    line-height: 26px;
    max-width: 100%;
  }
  
  .jvvf-contact-preferences,
  .jvvf-contact-grid {
    flex-direction: column !important;
    gap: 20px !important;
    padding: 0;
  }
  .jvvf-contact-methods,
  .jvvf-contact-times {
    gap: 8px;
    padding: 10px 0;
  }
  .jvvf-contact-col .jvvf-contact-methods label,
  .jvvf-contact-col .jvvf-contact-times label {
    font-size: 20px;
    line-height: 18px;
  }
  
  .jvvf-cert {
    padding: 10px 14px;
    margin-top: 20px;
  }
  .jvvf-field label.jvvf-cert {
    font-size: 16px;
  }
  
  .jvvf-info-text-input input, .jvvf-phone-wrapper input, .jvvf-phone-prefix {
    padding: 8px 12px;
    font-size: 16px!important;
    line-height: 28px;
    max-width: 100%;
  }
  .jvvf-phone-prefix {
    padding: 8px 4px 8px 8px;
    font-size: 20px;
  }
  
  .jvvf-btn {
    font-size: 20px;
    padding: 10px 12px;
  }
  .jvvf-actions {
    gap: 6px;
    margin-top:16px;
  }
  .jvvf-success {
    padding: 12px;
  }
  
  .jvvf-field-error {
    font-size: 0.75em;
    text-align: center;
  }
  .label_title_vehicule{
    text-align: center;
    font-size: 10px;
    max-width: 62px ;
    overflow-wrap: break-word;
    white-space: normal;
  }
  .jvvf-grid.vehicle-types{
    align-items: flex-start;
  }
  .jvvf-header,.jvvf-subtitle{
    padding: 0px;
  }
  .jvvf-step-one{
    margin: 0px;
  }
  .jvvf-subtitle{
    font-size: 22px;
    margin-top: 50px;
  }
  .jvvf-hr{
    margin: 10px 0;
  }
    .jvvf-step-one-actions{
    margin-top: 100px;
  }
  .jvvf-panel.jvvf-info-perso .jvvf-actions {
    flex-direction: column-reverse;
    align-items: center;
}
  .jvvf-etat-letter {
    text-align: center;
    font-size: 40px;
    }
  .jvvf-info-text-input select#jvvf-ville {
    padding: 15px 12px;
    padding-right: 35px;
    font-size: 20px;
    line-height: 18px;
    max-width: 100%;
    background-position: right 10px center;
    background-size: 12px;
  }
  .jvvf-accessories-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 0 7px 0;
    gap: 12px;
  }
  .jvvf-accessories-oui-col .jvvf-yes-optional {
    margin: 0;
    max-width: 100%;
  }
  .jvvf-wrap input[type="checkbox"] {
    width: 20px;
    height: 20px;
  }
  
  .jvvf-wrap input[type="checkbox"]:checked::after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 9px;
    border-width: 0 2px 2px 0;
  }

  .jvvf-label.jvvf-title-field.jvvf-subfield-title{
    font-family: Archivo;
    font-size: 20px;
    font-style: normal;
    padding-bottom: 0;
    text-align: left;;
  }
  .jvvf-field input, .jvvf-field select{
    padding: 10px;
  }
  .jvvf-cert {
    padding: 10px 14px;
    margin-top: 20px;
    gap: 8px;
  }
  
  .jvvf-field label.jvvf-cert {
    font-size: 16px;
    line-height: 22px;
    padding-right: 20px;
  }
  .jvvf-phone-wrapper{
    max-width: 100%;
  }
  .jvvf-row[data-group="vin"] {
    flex-direction: column;
    align-items: start;
  }
  .filepond--list-scroller ,#jvvf-photos{
    min-height: 270px !important;
    margin-bottom: 0!important;
    /* height: 270px!important; */
  }
  .filepond--list-scroller{
    display: none;
  }

  .filepond--drop-label {
    height: 270px !important;
  }
}

@media(max-width:370px) {
    .jvvf-grid.four {
        grid-template-columns: 1fr
    }
}
@media(min-width:1768px){
  .jvvf-step-one {
    margin: 0 0;
  }
}
@media (max-width: 380px) {
  .jvvf-vin-decode-row input#jvvf-vin {
    width: 100% !important;
  }
}
    
/* ================= OTP Modal Styles ================= */
.jvvf-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jvvf-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.jvvf-modal-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10001;
}

.jvvf-modal-title {
    color: #141414;
    font-family: 'Archivo', sans-serif;
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 12px 0;
    text-align: center;
}

.jvvf-modal-desc {
    color: #757575;
    font-family: 'Archivo', sans-serif;
    font-size: 16px;
    font-weight: 400;
    margin: 0 0 30px 0;
    text-align: center;
    line-height: 24px;
}

.jvvf-modal-field {
    margin-bottom: 20px;
}

.jvvf-modal-field input {
    width: 100%;
    padding: 16px;
    border: 2px solid #D9D9D9;
    border-radius: 8px;
    font-size: 18px;
    font-family: 'Archivo', sans-serif;
    text-align: center;
    letter-spacing: 4px;
    transition: border-color 0.3s ease;
}

.jvvf-modal-field input:focus {
    outline: none;
    border-color: #00A8FF;
}

.jvvf-modal-error {
    display: block;
    color: #FF4444;
    font-size: 14px;
    margin-top: 8px;
    text-align: center;
    min-height: 20px;
}

.jvvf-modal-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.jvvf-modal-actions .jvvf-btn {
    flex: 1;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Archivo', sans-serif;
}
.jvvf-link-btn:hover{
    background-color: transparent!important;
}
.jvvf-modal-actions .jvvf-btn.primary {
    background: #00A8FF;
    color: #fff;
}

.jvvf-modal-actions .jvvf-btn.primary:hover {
    background: #0096E0;
}

.jvvf-modal-actions .jvvf-btn.primary:disabled {
    background: #B3B3B3;
    cursor: not-allowed;
}
#jvvf-modal-resend-btn:hover {
    text-decoration: underline;
}
#jvvf-modal-cancel-btn {
    background: transparent;
    color: #141414;
    border: 2px solid #D9D9D9;
}

#jvvf-modal-cancel-btn:hover {
    border-color: #B3B3B3;
}

.jvvf-modal-resend {
    text-align: center;
    padding-top: 12px;
    border-top: 1px solid #E5E5E5;
}

.jvvf-link-btn {
    background: transparent;
    border: none;
    color: #00A8FF;
    font-size: 14px;
    font-family: 'Archivo', sans-serif;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

.jvvf-link-btn:hover {
    color: #0096E0;
}

.jvvf-link-btn:disabled {
    color: #B3B3B3;
    cursor: not-allowed;
}

.jvvf-resend-timer {
    color: #757575;
    font-size: 14px;
    margin-left: 8px;
}

@media (max-width: 600px) {
    .jvvf-modal-content {
        padding: 30px 20px;
        width: 95%;
    }
    
    .jvvf-modal-title {
        font-size: 24px;
    }
    
    .jvvf-modal-desc {
        font-size: 14px;
    }
    
    .jvvf-modal-actions {
        flex-direction: column;
    }
}


.filepond--root {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  background: transparent !important;
}

.filepond--label-action {
  font-weight: 600 !important;
  font-size: 16px !important;
  color: #000000 !important;
}

/* Scroller neutralisé */
.filepond--list-scroller {
  display: block !important;
  width: 100% !important;
  position: static !important;
  overflow: visible !important;
  transform: none !important;
  will-change: auto !important;
  background: transparent !important;
}

/* LISTE en grille */
.filepond--list {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  align-items: stretch !important;
  background: transparent !important;
}

/* Items */
.filepond--item {
  position: static !important;
  transform: none !important;
  width: auto !important;
  margin: 0 !important;
  background: transparent !important;
  animation: jvvfFadeIn .25s ease-out !important;
}

/* Preview panels */
.filepond--file,
.filepond--file-wrapper,
.filepond--image-preview,
.filepond--image-preview-wrapper,
.filepond--image-clip,
.filepond--item-panel,
.filepond--panel,
.filepond--panel-root {
  background: transparent !important;
  border: 0 !important;
}

.filepond--image-preview-wrapper {
  border-radius: 10px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.08) !important;
}

/* Boutons */
.filepond--file-action-button {
  border-radius: 50% !important;
  background-color: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.18) !important;
  width: 26px !important;
  height: 26px !important;
}

/* Pas de bouton X rouge visible sur les aperçus */
.jvvf-field-upload-preview .filepond--action-remove-item,
.jvvf-field-upload-preview .filepond--file-action-button.filepond--action-remove-item {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Infos */
.filepond--file-info,
.filepond--file-status {
  background: transparent !important;
  padding: 8px !important;
  font-size: 12px !important;
  color: #374151 !important;
}

/* Crédit */
.filepond--credits { display: none !important; }

/* Responsive */
@media (max-width: 1024px) {
  .filepond--list { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
  .filepond--list { grid-template-columns: 1fr !important; gap: 12px !important; }
  .filepond--drop-label { min-height: 100px !important; }
}

/* Animation */
@keyframes jvvfFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==== FilePond grid/stability override (append at end) ==== */

.jvvf-field-upload-preview {
  position: relative !important;
  max-width: 718px !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
}

/* Root (doublon supprimé → gardé une seule fois) */
.filepond--root {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  background: transparent !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

/* Drop label (doublon nettoyé, une seule version complète) */
.filepond--drop-label {
  order: 0 !important;
  position: relative !important;
  z-index: 2 !important;
  pointer-events: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 120px !important;
  padding: 16px 18px !important;
  border: 2px dashed #00A8FF !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%) !important;
  color: #141414 !important;
  cursor: pointer !important;
  opacity: 1 !important;
}

.filepond--label-action {
  font-weight: 600 !important;
  font-size: 16px !important;
  color: #141414 !important;
  text-decoration: none !important;
}

/* list-scroller (doublon fusionné) */
.filepond--list-scroller {
  order: 1 !important;
  display: block !important;
  position: static !important;
  width: 100% !important;
  transform: none !important;
  will-change: auto !important;
  overflow: hidden !important;
  background: transparent !important;
  z-index: 1 !important;
  box-sizing: border-box !important;
}

/* list (doublons fusionnés) */
.filepond--list {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  align-items: stretch !important;
  width: 100% !important;
  background: transparent !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

/* items (doublon fusionné) */
.filepond--item {
  position: static !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  box-sizing: border-box !important;
  animation: jvvfFadeIn .2s ease-out !important;
}

/* Panels (doublon fusionné) */
.filepond--item-panel,
.filepond--file,
.filepond--file-wrapper,
.filepond--image-clip,
.filepond--image-preview-wrapper,
.filepond--image-preview {
  width: 100% !important;
  max-width: 100% !important;
  background: transparent !important;
  box-sizing: border-box !important;
}

.filepond--image-preview-wrapper {
  border-radius: 10px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.08) !important;
}

/* Buttons (doublon fusionné) */
.filepond--file-action-button {
  border-radius: 50% !important;
  background-color: rgba(255,255,255,0.96) !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.18) !important;
  width: 26px !important;
  height: 26px !important;
}

.filepond--file-action-button.filepond--action-revert-item-processing svg {
  color: #141414 !important;
}

/* Infos et crédits (doublons fusionnés) */
.filepond--file-info,
.filepond--file-status {
  background: transparent !important;
  padding: 8px !important;
  font-size: 12px !important;
  color: #374151 !important;
}

.filepond--credits { display: none !important; }

/* responsive → nettoyé */
@media (max-width: 1024px) {
  .filepond--list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 600px) {
  .filepond--list {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .filepond--drop-label {
    min-height: 100px !important;
  }
}

/* Animation (doublon supprimé) */
@keyframes jvvfFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==== Aperçus photo : image en cover sur toute la carte ====
   FilePond cadre l'image en « contain » : il place le canvas dans un
   .filepond--image-canvas-wrapper porteur d'un transform scale calculé sur le
   ratio de la photo, d'où les bandes vides et les images rognées de travers.
   On neutralise ce calque de mise à l'échelle, on étire toute la pile sur la
   carte, et c'est object-fit qui cadre l'image. */
.jvvf-field-upload-preview .filepond--item {
  height: 170px !important;
  position: relative !important;
  overflow: hidden !important;
  border-radius: 10px !important;
}

.jvvf-field-upload-preview .filepond--image-preview-wrapper,
.jvvf-field-upload-preview .filepond--image-preview,
.jvvf-field-upload-preview .filepond--image-clip,
.jvvf-field-upload-preview .filepond--image-canvas-wrapper,
.jvvf-field-upload-preview .filepond--image-bitmap {
  position: absolute !important;
  inset: 0 !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  transform: none !important;
  transform-origin: 0 0 !important;
}

.jvvf-field-upload-preview .filepond--image-preview-wrapper {
  border-radius: 10px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08) !important;
}

/* Le canvas porte l'image : c'est lui qui remplit la carte. */
.jvvf-field-upload-preview .filepond--image-preview canvas,
.jvvf-field-upload-preview .filepond--image-preview img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
}

/* Le panneau blanc de FilePond dépassait sous l'image. */
.jvvf-field-upload-preview .filepond--item-panel,
.jvvf-field-upload-preview .filepond--panel,
.jvvf-field-upload-preview .filepond--panel-root {
  background: transparent !important;
  border-radius: 10px !important;
}

.jvvf-field-upload-preview .filepond--image-preview-overlay {
  width: 100% !important;
  height: 100% !important;
  top: 0 !important;
  left: 0 !important;
}

/* Nom de fichier et « Upload complete » se superposaient à la photo. */
.jvvf-field-upload-preview .filepond--file-info,
.jvvf-field-upload-preview .filepond--file-status {
  display: none !important;
}

/* Masquer les dégradés d’overlay quand l’image est prête */
[data-filepond-item-state='processing-complete'] .filepond--image-preview-overlay-idle,
[data-filepond-item-state='processing-complete'] .filepond--image-preview-overlay-success,
[data-filepond-item-state='idle'] .filepond--image-preview-overlay-idle {
  opacity: 0 !important;
}

.filepond--drop-label {
  height: 80px !important;
  padding: 0 !important;
}
