/**
 * @file
 * Estilos gerais para webforms do Portal do Cliente Sanepar.
 */

/* ========================================
   Radio Buttons
   ======================================== */

/* Remover borda amarela ao clicar nos radio buttons */
.webform-submission-form .form-radios input[type="radio"],
.webform-submission-form .form-radios input[type="radio"]:focus,
.webform-submission-form .form-radios input[type="radio"]:active,
.webform-submission-form .form-radios input[type="radio"]:checked,
.webform-submission-form .form-radios input[type="radio"]:focus-visible,
.webform-submission-form .webform-type-radios input[type="radio"],
.webform-submission-form .webform-type-radios input[type="radio"]:focus,
.webform-submission-form .webform-type-radios input[type="radio"]:active,
.webform-submission-form .webform-type-radios input[type="radio"]:checked,
.webform-submission-form .webform-type-radios input[type="radio"]:focus-visible,
.form-radios input[type="radio"],
.form-radios input[type="radio"]:focus,
.form-radios input[type="radio"]:active,
.form-radios input[type="radio"]:checked,
.form-radios input[type="radio"]:focus-visible,
.webform-type-radios input[type="radio"],
.webform-type-radios input[type="radio"]:focus,
.webform-type-radios input[type="radio"]:active,
.webform-type-radios input[type="radio"]:checked,
.webform-type-radios input[type="radio"]:focus-visible,
input[type="radio"],
input[type="radio"]:focus,
input[type="radio"]:active,
input[type="radio"]:checked,
input[type="radio"]:focus-visible {
  outline: none !important;
  outline-width: 0 !important;
  outline-style: none !important;
  outline-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
  border-width: 0 !important;
  border-style: none !important;
  border-color: transparent !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

/* Remover outline do container dos radios também */
.form-radios,
.webform-type-radios,
.form-radios *,
.webform-type-radios * {
  outline: none !important;
  box-shadow: none !important;
}

/* ========================================
   Botões de Formulário
   ======================================== */

/* Botão Voltar */
.webform-button--previous {
  appearance: none;
  border: 1px solid var(--ssa-color-palette-portal-blue-1, #0066CC);
  border-radius: 0 20px 0 20px;
  padding: 12px 24px;
  min-width: 170px;
  background: #fff;
  color: var(--ssa-color-palette-portal-blue-1, #0066CC);
  font-family: 'Roboto Regular', sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.webform-button--previous:hover {
  color: var(--ssa-color-palette-portal-blue-2, #0052A3);
  border-color: var(--ssa-color-palette-portal-blue-2, #0052A3);
  background: #f5f5f5;
}

/* Botão Enviar */
.webform_submition_btn,
.webform-button--submit {
  appearance: none;
  border: 1px solid var(--ssa-color-palette-portal-blue-1, #0066CC);
  border-radius: 0 20px 0 20px;
  padding: 12px 24px;
  min-width: 170px;
  background: var(--ssa-color-palette-portal-blue-1, #0066CC);
  color: #fff;
  font-family: 'Roboto Regular', sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.webform_submition_btn:hover,
.webform-button--submit:hover {
  background: var(--ssa-color-palette-portal-blue-2, #0052A3);
  border-color: var(--ssa-color-palette-portal-blue-2, #0052A3);
}


/* Alinha os campos de nome, telefone e email horizontalmente  */
.webform-submission-pavement-restoration-request-form .fieldset-highlighted>.fieldset-wrapper {
  display: flex;
  gap: 1rem;
}

.webform-submission-pavement-restoration-request-form .fieldset-highlighted>.fieldset-wrapper>div:first-child {
  width: 50%;
}

.webform-submission-pavement-restoration-request-form .fieldset-highlighted>.fieldset-wrapper>div:nth-child(2),
.webform-submission-pavement-restoration-request-form .fieldset-highlighted>.fieldset-wrapper>div:nth-child(3) {
  width: 25%;
}

@media (max-width: 600px) {
  .webform-submission-pavement-restoration-request-form .fieldset-highlighted>.fieldset-wrapper {
    display: block;
  }

  .webform-submission-pavement-restoration-request-form .fieldset-highlighted>.fieldset-wrapper>div {
    width: 100% !important;

  }
}