.elementor-2047 .elementor-element.elementor-element-3ef6493d{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:100px;--padding-left:0px;--padding-right:0px;}body.elementor-page-2047{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}/* Start custom CSS *//* ============================================================
   CSS CONTACT FORM 7 — Pagina „Solicită Ofertă" 4MControl
   ------------------------------------------------------------
   PROBLEMA rezolvată: CF7 + tema Repairex înfășoară fiecare input
   în <span class="wpcf7-form-control-wrap"> și aplică stiluri
   globale care strică layout-ul. Acest CSS forțează aliniere
   corectă, grid pe 2 coloane și stilizare în brandul site-ului.

   UNDE se pune:
   Elementor → Pagina „Solicită Ofertă" → Settings (roata jos-stânga)
   → Advanced → Custom CSS
   SAU: Elementor → Site Settings → Custom CSS (global)
   SAU: în <style> la finalul Secțiunii 1.

   NU necesită modificarea formularului CF7. Funcționează pe
   structura standard generată de shortcode.
   ============================================================ */

/* ---- Reset al moștenirilor problematice din temă ---- */
.of-page .wpcf7 {
  text-align: left;            /* anulează center-ul moștenit */
}
.of-page .wpcf7-form {
  text-align: left;
}

/* CF7 pune fiecare control într-un <p> cu margini mari — le controlăm noi */
.of-page .of-cf7-grid p {
  margin: 0 0 20px;
  padding: 0;
  line-height: normal;
}

/* ---- Grid pe 2 coloane (Nume/Companie, Email/Telefon) ---- */
.of-page .of-cf7-grid .of-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px;
  margin: 0 0 20px;
}
.of-page .of-cf7-grid .of-row2 .of-f {
  margin: 0;
}

/* ---- Câmp simplu (full width) ---- */
.of-page .of-cf7-grid .of-f {
  display: block;
  margin: 0 0 20px;
}

/* ---- Label-uri: stânga, bold, culoare brand-neutră ---- */
.of-page .of-cf7-grid label {
  display: block;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1c1c1f;
  margin: 0 0 8px;
  line-height: 1.3;
}

/* ---- Wrapper-ul span generat de CF7 → forțat block & full width ---- */
.of-page .of-cf7-grid .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* ---- Inputuri / textarea — overrideuri cu specificitate mare ---- */
.of-page .of-cf7-grid input.wpcf7-form-control,
.of-page .of-cf7-grid textarea.wpcf7-form-control {
  display: block;
  width: 100%;
  max-width: 100%;
  background: #f5f5f7;
  border: 1.5px solid transparent;
  border-radius: 6px;
  color: #1c1c1f;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  padding: 14px 18px;
  margin: 0;
  height: auto;             /* anulează height fix din temă */
  box-shadow: none;
  transition: border-color .2s ease, background .2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.of-page .of-cf7-grid input.wpcf7-form-control::placeholder,
.of-page .of-cf7-grid textarea.wpcf7-form-control::placeholder {
  color: #a9a9aa;
  opacity: 1;
}
.of-page .of-cf7-grid input.wpcf7-form-control:focus,
.of-page .of-cf7-grid textarea.wpcf7-form-control:focus {
  border-color: #ff953a;
  background: #fff;
  outline: none;
}
.of-page .of-cf7-grid textarea.wpcf7-form-control {
  min-height: 130px;
  resize: vertical;
}

/* ---- Câmp upload fișier ---- */
.of-page .of-cf7-grid input.wpcf7-form-control.wpcf7-file {
  background: #f5f5f7;
  border: 1.5px dashed #d0d0d4;
  padding: 13px 18px;
  cursor: pointer;
  font-size: 13px;
  color: #6f6f74;
}
.of-page .of-cf7-grid input.wpcf7-file:hover {
  border-color: #ff953a;
}

/* ---- GDPR (acceptance) ---- */
.of-page .of-cf7-grid .of-gdpr {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #6f6f74;
  margin: 4px 0 0;
}
.of-page .of-cf7-grid .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.of-page .of-cf7-grid .wpcf7-acceptance .wpcf7-list-item-label {
  font-size: 13px;
  color: #6f6f74;
  font-weight: 400;
  line-height: 1.5;
}
.of-page .of-cf7-grid input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 3px;
  accent-color: #ff953a;
  cursor: pointer;
}

/* ---- Buton submit ---- */
.of-page .of-cf7-grid .of-submit {
  margin: 8px 0 0;
}
.of-page .of-cf7-grid input.wpcf7-submit,
.of-page .of-cf7-grid button.wpcf7-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ff953a;
  color: #fff;
  border: 0;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 30px;
  cursor: pointer;
  transition: background .2s ease;
  width: auto;
  text-transform: none;
  letter-spacing: 0;
}
.of-page .of-cf7-grid input.wpcf7-submit:hover,
.of-page .of-cf7-grid button.wpcf7-submit:hover {
  background: #e8832d;
}

/* spinner CF7 lângă buton */
.of-page .of-cf7-grid .wpcf7-spinner {
  margin: 0 0 0 12px;
}

/* ---- Mesaje de răspuns CF7 (succes / eroare / validare) ---- */
.of-page .wpcf7-response-output {
  margin: 22px 0 0 !important;
  padding: 14px 18px !important;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  border-width: 1.5px !important;
}
/* succes */
.of-page .wpcf7 form.sent .wpcf7-response-output {
  border-color: #2e9e5b !important;
  background: #eaf7ef;
  color: #1f7a45;
}
/* eroare de validare */
.of-page .wpcf7 form.invalid .wpcf7-response-output,
.of-page .wpcf7 form.unaccepted .wpcf7-response-output,
.of-page .wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #e0a800 !important;
  background: #fff8e6;
  color: #8a6d00;
}
/* eroare de trimitere */
.of-page .wpcf7 form.failed .wpcf7-response-output,
.of-page .wpcf7 form.aborted .wpcf7-response-output {
  border-color: #d9534f !important;
  background: #fdecea;
  color: #a3302c;
}

/* mesaj de validare sub câmp (tooltip CF7) */
.of-page .wpcf7-not-valid-tip {
  color: #d9534f;
  font-size: 12.5px;
  font-family: 'Inter', sans-serif;
  margin-top: 6px;
  display: block;
}
.of-page .of-cf7-grid input.wpcf7-not-valid,
.of-page .of-cf7-grid textarea.wpcf7-not-valid {
  border-color: #d9534f !important;
}

/* ---- Bara „Înapoi" sub formular ---- */
.of-page .of-form-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 22px;
}

/* ---- Responsive ---- */
@media (max-width: 720px) {
  .of-page .of-cf7-grid .of-row2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .of-page .of-cf7-grid input.wpcf7-submit,
  .of-page .of-cf7-grid button.wpcf7-submit {
    width: 100%;
    justify-content: center;
  }
}/* End custom CSS */