/* Form "Ottieni un preventivo gratuito" (Fusion CRM, Mad for Hair).
   Riproduce l'aspetto del vecchio form LeadConnector che sostituisce. */
@import url("fonts.googleapis.com/css/8caebaa21d.css");

.mad-crm-form {
  box-sizing: border-box;
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 3px;
  box-shadow: 0 4px 4px 0 #57647e36;
  font-family: "Inter", sans-serif;
  color: #2c3345;
  text-align: left;
  line-height: 1.5;
}
.mad-crm-form *, .mad-crm-form *::before, .mad-crm-form *::after { box-sizing: border-box; }
.mad-crm-form--popup { box-shadow: none; }

.mad-crm-form .mad-crm-title {
  margin: 0 0 16px;
  padding: 30px 0 0;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 900;
  color: #000000;
  text-align: center;
  letter-spacing: normal;
  text-transform: none;
}
.mad-crm-form .mad-crm-field { margin: 0 0 16px; }
.mad-crm-form .mad-crm-label {
  display: block;
  margin: 0 0 8px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #344054;
}
.mad-crm-form .mad-crm-input {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 8px 15px;
  background: #ffffff;
  color: #2c3345;
  border: 1px solid #acacac;
  border-radius: 5px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 18px;
  box-shadow: none;
  outline: none;
}
.mad-crm-form .mad-crm-input::placeholder { color: #667085; opacity: 1; }
.mad-crm-form .mad-crm-input:focus { border-color: #155eef; }
.mad-crm-form .mad-crm-consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: #344054;
  cursor: pointer;
}
.mad-crm-form .mad-crm-consent input { flex: 0 0 auto; width: 16px; height: 16px; margin: 1px 0 0; }
.mad-crm-form .mad-crm-consent a { color: inherit; text-decoration: underline; }
.mad-crm-form .mad-crm-message { display: none; padding: 8px 0 0; font-size: 14px; font-weight: 500; text-align: center; }
.mad-crm-form .mad-crm-message.is-error { display: block; color: #d92d20; }
.mad-crm-form .mad-crm-submit {
  display: block;
  width: 100%;
  margin: 15px 0 16px;
  padding: 12px 20px;
  background: #155eef;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 1px 2px 0 #00000014;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  white-space: normal;
  cursor: pointer;
}
.mad-crm-form .mad-crm-submit:disabled { opacity: 0.7; cursor: default; }
.mad-crm-form .mad-crm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.mad-crm-form .mad-crm-links {
  margin: 0;
  padding: 0 0 30px;
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  color: #000000;
  text-align: center;
}
.mad-crm-form .mad-crm-links a { color: #000000; text-decoration: underline; }
.mad-crm-form .mad-crm-success {
  display: none;
  margin: 0;
  padding: 24px 0 40px;
  font-size: 16px;
  font-weight: 500;
  color: #000000;
  text-align: center;
}
.mad-crm-form.is-sent .mad-crm-field,
.mad-crm-form.is-sent .mad-crm-submit,
.mad-crm-form.is-sent .mad-crm-message,
.mad-crm-form.is-sent .mad-crm-links { display: none; }
.mad-crm-form.is-sent .mad-crm-success { display: block; }

@media (max-width: 480px) {
  .mad-crm-form { padding: 0 20px; }
}
