/* Alves Pilates — look of Elementor forms with the «Entregar recurso» action. Elementor styles each widget with
 * id-based selectors, so the key properties use !important to keep one consistent look across the network. */
.alves-form .elementor-form {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(2, 105, 101, .10);
  padding: 28px 24px 24px;
  font-family: Roboto, -apple-system, "Segoe UI", Arial, sans-serif;
}
.alves-form .elementor-field-group { margin-bottom: 14px !important; }
.alves-form .elementor-field-label {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #1f2d2c !important;
  margin-bottom: 6px !important;
}
.alves-form .elementor-field-group .elementor-field,
.alves-form .alves-dial-box {
  height: 48px !important;
  border: 1px solid #c9d6d5 !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #1f2d2c !important;
  font-size: 16px !important; /* 16px avoids the zoom on iOS */
  padding: 0 14px !important;
  box-shadow: none !important;
  transition: border-color .15s, box-shadow .15s;
}
.alves-form .elementor-field-group select.elementor-field {
  appearance: none;
  -webkit-appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b7b7a' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center !important;
  padding-right: 38px !important;
  cursor: pointer;
}
.alves-form .elementor-field-group .elementor-field:focus,
.alves-form .alves-dial-box:focus-within {
  border-color: #04a29c !important;
  box-shadow: 0 0 0 3px rgba(4, 162, 156, .18) !important;
  outline: none;
}
.alves-form .elementor-field-group .elementor-field::placeholder { color: #9aa8a7; }
.alves-form .elementor-error .elementor-field { border-color: #b32d2e !important; }

/* phone with dialing code */
.alves-form .alves-tel { display: flex; gap: 8px; width: 100%; }
.alves-form .alves-tel .elementor-field { flex: 1; min-width: 0; }
.alves-form .alves-dial-box {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f6f9f9 !important;
  white-space: nowrap;
  cursor: pointer;
}
.alves-form .alves-dial-box::after { content: ""; width: 8px; height: 8px; border: solid #6b7b7a; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-3px); margin-left: 4px; }
.alves-form .alves-dial-box select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }

/* consent */
.alves-form .alves-consent label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.45;
  color: #4a5a59;
  cursor: pointer;
  font-weight: 400;
}
.alves-form .alves-consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #026965; }
.alves-form .alves-consent a { color: #026965; text-decoration: underline; }

/* button */
.alves-form .e-form__buttons .elementor-button {
  width: 100% !important;
  height: 52px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #026965 !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: .01em;
  transition: background .15s;
}
.alves-form .e-form__buttons .elementor-button:hover { background: #04a29c !important; }

/* messages */
.alves-form .elementor-message { border-radius: 10px; padding: 12px 14px; font-size: 14px; margin-top: 12px; }
.alves-form .elementor-message.elementor-message-success { background: #e6f6ea; color: #1a7f37; }
.alves-form .elementor-message.elementor-message-danger { background: #fbeaea; color: #b32d2e; }
.alves-form .elementor-message::before { display: none; }

@media (max-width: 600px) {
  .alves-form .elementor-form { padding: 20px 16px 16px; }
}

/* the invisible reCAPTCHA v3 holder is a field group too: keep it out of the layout */
.alves-form .elementor-field-type-recaptcha_v3 { margin: 0 !important; padding: 0 !important; }
.alves-form .elementor-field-type-recaptcha_v3 .elementor-field {
  height: 0 !important; min-height: 0 !important; border: 0 !important; padding: 0 !important; background: none !important; box-shadow: none !important;
}

/* confirmation card shown instead of the form after a successful submission */
.alves-form .alves-done {
  background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(2, 105, 101, .10); padding: 30px 26px; text-align: center;
  font-family: Roboto, -apple-system, "Segoe UI", Arial, sans-serif; color: #1f2d2c;
}
.alves-form .alves-done-title { display: inline-block; background: #e6f6ea; color: #1a7f37; font-weight: 700; padding: 7px 16px; border-radius: 999px; font-size: 15px; }
.alves-form .alves-done p { font-size: 15px; line-height: 1.55; margin: 16px 0 0; }
.alves-form .alves-done-next { margin-top: 24px; padding: 20px 18px; background: #f0f8f8; border-radius: 12px; }
.alves-form .alves-done-next span { display: block; font-size: 13px; color: #6b7b7a; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .06em; }
.alves-form .alves-done-btn { display: inline-block; background: #026965; color: #fff !important; text-decoration: none; font-weight: 600; font-size: 15px; padding: 13px 24px; border-radius: 10px; }
.alves-form .alves-done-btn:hover { background: #04a29c; }
.alves-form .alves-done-again { display: inline-block; margin-top: 18px; font-size: 13px; color: #6b7b7a !important; text-decoration: underline; }

/* cover + form card (when the resource has a cover); stacks when the widget is narrow (popups, phones) */
.alves-form { container-type: inline-size; }
.alves-form .alves-split {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); max-width: 1040px; margin: 0 auto 72px;
  background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(2, 105, 101, .10); overflow: hidden;
}
.alves-form .alves-split .elementor-form, .alves-form .alves-split .alves-done { box-shadow: none; border-radius: 0; }
.alves-form .alves-split-main { display: flex; flex-direction: column; justify-content: center; }
.alves-form .alves-split .elementor-form { padding: 34px 36px 30px; }
.alves-form .alves-cover {
  background: linear-gradient(160deg, #e3f4f3 0%, #f3faf9 100%); display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 22px; padding: 40px 32px; text-align: center;
}
.alves-form .alves-cover img { width: 100%; max-width: 290px; height: auto; border-radius: 6px; box-shadow: 0 16px 34px rgba(2, 105, 101, .22); }
.alves-form .alves-cover-cap span { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #4b8a87; margin-bottom: 4px; }
.alves-form .alves-cover-cap b { display: block; font-size: 19px; line-height: 1.3; color: #026965; font-family: Roboto, -apple-system, "Segoe UI", Arial, sans-serif; }
@container (max-width: 720px) {
  .alves-form .alves-split { grid-template-columns: 1fr; margin-bottom: 40px; }
  .alves-form .alves-cover { flex-direction: row; justify-content: flex-start; text-align: left; gap: 16px; padding: 18px 20px; }
  .alves-form .alves-cover img { width: 86px; max-width: 86px; box-shadow: 0 8px 18px rgba(2, 105, 101, .2); }
  .alves-form .alves-cover-cap b { font-size: 17px; }
  .alves-form .alves-split .elementor-form { padding: 22px 18px 18px; }
}

/* email domain suggestion */
.alves-form .alves-hint { margin-top: 6px; font-size: 13px; color: #9a5b00; background: #fff4e0; border-radius: 8px; padding: 7px 10px; }
.alves-form .alves-hint a { color: #026965; font-weight: 600; text-decoration: underline; }
