/* custom-forms.css — стили автономных форм */
.custom-form-wrap { width:100%; box-sizing:border-box; }
.custom-form-wrap form { display:flex; flex-direction:column; gap:10px; }
.custom-form-wrap input[type=text],
.custom-form-wrap input[type=tel],
.custom-form-wrap input[type=email],
.custom-form-wrap textarea {
  width:100%; box-sizing:border-box;
  height:50px; padding:0 20px;
  border:1px solid rgba(255,255,255,0.8); border-radius:100px;
  background:rgba(255,255,255,0.15); color:#ffffff;
  font-family:var(--t-text-font,Arial); font-size:16px;
  outline:none;
}
.custom-form-wrap input[type=text]::placeholder,
.custom-form-wrap input[type=tel]::placeholder,
.custom-form-wrap input[type=email]::placeholder { color:rgba(255,255,255,0.7); }
.custom-form-wrap input[type=text]:focus,
.custom-form-wrap input[type=tel]:focus,
.custom-form-wrap input[type=email]:focus { border-color:#fff; background:rgba(255,255,255,0.2); }

/* Чекбоксы */
.custom-form-wrap .custom-consent {
  display:flex; align-items:flex-start; gap:10px;
  color:rgba(255,255,255,0.9); font-size:13px; line-height:1.5;
  cursor:pointer; margin-top:4px; width:100%; box-sizing:border-box;
}
.custom-form-wrap .custom-consent input[type=checkbox] {
  width:16px; height:16px; min-width:16px;
  margin:2px 0 0 0; cursor:pointer;
  accent-color:#7b5ea7;
}
.custom-form-wrap .custom-consent span { flex:1; }
.custom-form-wrap .custom-consent a { color:rgba(255,200,100,0.95); text-decoration:underline; }

/* Кнопка */
.custom-form-wrap .custom-submit {
  width:100%; height:50px; border:none; border-radius:100px;
  background:#ffffff; color:#4a4040;
  font-family:var(--t-text-font,Arial); font-size:18px; font-weight:600;
  cursor:pointer; transition:opacity .2s; margin-top:6px;
}
.custom-form-wrap .custom-submit:hover { opacity:0.88; }
.custom-form-wrap .custom-submit:disabled { opacity:0.5; cursor:default; }

/* Успех */
.custom-form-wrap .custom-success {
  display:none; text-align:center; padding:24px 0;
  color:#ffffff; font-size:18px; font-weight:600;
}

@media (max-width:640px) {
  .custom-form-wrap input[type=text],
  .custom-form-wrap input[type=tel],
  .custom-form-wrap input[type=email] { height:35px; font-size:11px; }
  .custom-form-wrap .custom-submit { height:40px; font-size:14px; }
  .custom-form-wrap .custom-consent { font-size:11px; }
}
