/*--------------------------------------------------------------
  >> : ACF Overrides
--------------------------------------------------------------*/
  
  /* Forms */
  .acfe-form {
    width: calc(100% + 24px);
    margin-left: -12px;
    margin-right: -12px;
  }

  /* Form Fields */
  .acf-fields > .acf-field {
    padding: 12px 16px !important;
    border: none !important;
  }

  /* Submit Buttons */
  .acf-form-submit {
    padding: 12px 16px;
  }


  /* Field Groups */
  .acf-field-group > .acf-input > .acf-fields {
    width: calc(100% + 32px);
    margin-left: -16px;
    margin-right: -16px;
    border: none;
  }

/*--------------------------------------------------------------
  >> : Generic Inputs
--------------------------------------------------------------*/
.acf-field input[type=text], 
.acf-field input[type=password], 
.acf-field input[type=date], 
.acf-field input[type=datetime], 
.acf-field input[type=datetime-local], 
.acf-field input[type=email], 
.acf-field input[type=month], 
.acf-field input[type=number], 
.acf-field input[type=search], 
.acf-field input[type=tel], 
.acf-field input[type=time], 
.acf-field input[type=url], 
.acf-field input[type=week], 
.acf-field textarea, 
.acf-field select {
  border-radius: 5px;
  border: 1px solid var(--brand-neutral-grey, #CBCBCB);
  background: #FFF;
  padding: 14px 12px !important;
}



/*--------------------------------------------------------------
  >> : Custom Class - Disable Inputs
--------------------------------------------------------------*/
  .acf-disabled [type="text"] {
    pointer-events: none;
    background: #f7f7f7 !important;
    color: #858585 !important;
  }

  .acf-disabled .acf-input-wrap {
    cursor: not-allowed;
  }


  [data-name="stock_uuid"],
  [data-name="stock_review"] {
    display: none !important;
  }

/*--------------------------------------------------------------
  >> : Specific Inputs
--------------------------------------------------------------*/

  .registration-plate-uk input[type=text] {
    font-family: "rajdhani", sans-serif;
    font-weight: 700;
    font-style: normal;
    background: #FAE527;
    text-transform: uppercase;
    width: 40% !important;
    text-align: center;
    font-size: 26px !important;
    padding-top: 7px !important;
    padding-bottom: 5px !important;
    line-height: 1 !important;
  }


  /* Submit Banner */
  .acfe-submit-banner {
    text-align: center;
    background-image: url('/app/uploads/2024/07/1720690404-67b2/acf-submit-cta.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 3rem 2rem;
    border-radius: 1rem;
  }

  .acfe-submit-banner  + .acf-button {
    margin: 0 auto;
    margin-top: 1rem;
    left: 0;
    right: 0;
    position: relative;
    width: 100%;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    background-color: transparent;
    border-color: transparent;
  }


  /* Messages for photo examples (via modal) */
  .acf-message-modals {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    width: 100%;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }

  .acf-message-modals > div {
    width: 50%;
    margin-bottom: 0 !important;
  }

  .acf-message-modals .acf-input {
    text-align: right;
  }

  /* Hide sorting on single upload galleries */
  .acf-gallery .acf-fr,
  .acf-gallery[data-min="1"][data-max="1"] .acf-fr {
    display: none;
  }

  /*--------------------------------------------------------------
  >> : Woo Inputs
  --------------------------------------------------------------*/

  fieldset#contact-fields {
      margin-bottom: 0;
  }


  /*--------------------------------------------------------------
  >> : CF7
  --------------------------------------------------------------*/
.cf7-row input:not([type="submit"]),
.cf7-row textarea {
    border-radius: 5px;
    border: 1px solid var(--brand-neutral-grey, #CBCBCB);
    background: #FFF;
    padding: 14px 12px !important;
    width: 100%;
    margin-top:10px;
}

.cf7-row label {
    display:block;
    width:100% !important;
    margin-bottom:15px;
}

.wpcf7-submit {
    background:#020c1b;
    padding:17px 30px;
    border-radius:50px;
    color:#fff;
    font-weight:600;
    font-size:1.1em;
    border:none;
    display:block;
    margin:1px auto;
    transition:all 300ms ease;
    position: relative;
}

.wpcf7-submit:hover {
    background:#0079b6;
}

.select2-container {
  display: block !important;
  width: 100% !important;
  max-width: 100%;
}

.select2-selection {
  height: auto !important;
  min-height: 42px; /* or match your theme's input height */
  padding: 6px 12px;
  line-height: 1.4;
  box-sizing: border-box;
}

.select2-selection__rendered {
  line-height: 1.4 !important;
  padding-left: 0 !important;
}

.select2-selection__arrow {
  height: 100% !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    padding-left: 22px;
}

.select2-container .select2-search--inline {
    display: none;
}
.wpcf7 form.sent .wpcf7-response-output {
    border-color: none !important;
    border-radius: 20px;
    padding: 10px;
    background: #0399d6;
    color: #fff;
}

.hardware-single-form span.wpcf7-form-control.wpcf7-acceptance label {
    display: flex;
    align-items: center;
}

.wpcf7-acceptance input[type="checkbox"] {
    width: 50px !important;
    margin-top: 0px !important;
    width: 10px !important;
    margin-right: 10px;
}
.wpcf7-submit {
    margin: unset;
}