/* Estilos extraídos do HTML original */
.zoho-form-container {
  font-family: "Inter", sans-serif;
}
.form-step {
  display: none;
}
.form-step-active {
  display: block;
}
.custom-radio,
.custom-checkbox {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0;
  display: inline-block;
  position: relative;
  cursor: pointer;
  margin-right: 0.5rem;
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid var(--others-divider, #e2e2e2);
}
.custom-radio {
  border-radius: 50%;
}
.custom-checkbox {
  border-radius: 0.25rem;
}
.custom-radio:checked,
.custom-checkbox:checked {
  background-color: var(--brand-primaryMain, #1f8563);
  border-color: var(--brand-primaryMain, #1f8563);
}
.custom-radio:checked::after {
  content: "";
  display: block;
  width: 0.625rem;
  height: 0.625rem;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.custom-checkbox:checked::after {
  content: "";
  display: block;
  box-sizing: border-box;
  width: 0.3125rem;
  height: 0.625rem;
  border-style: solid;
  border-color: white;
  border-width: 0 2px 2px 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -70%) rotate(45deg);
}
.zf-important {
  color: #ff0000 !important;
  padding: 0;
  font-size: 1.0625rem !important;
  margin-left: 0.125rem;
  font-weight: bold;
}
.zf-errorMessage {
  font: 0.9375rem Arial, Helvetica, sans-serif;
  color: #f41033;
  padding-top: 0.625rem;
}
.zf-instruction {
  color: #465475;
  font-style: normal;
  font-size: 0.8125rem;
  overflow: visible !important;
  word-break: break-all;
  padding: 0.5rem 0px 0px 0px;
  font-weight: 500;
  clear: both;
}
select.placeholder-selected {
  color: #9ca3af;
}
select:not(.placeholder-selected) {
  color: #374151;
}
#successMessage {
  display: none;
  padding: 80px 24px;
  text-align: center;
  border-radius: 0.5rem;
}

/* Layout */
.formulario-component {
  max-width: 480px;
  margin: 0 auto;
  padding: 24px;
  background: var(--surface-background, #ffffff);
  border-radius: 12px;
}

/* Header */
.form-header {
  text-align: left;
  margin-bottom: 40px;
}

/* Progress */
.progress-container {
  margin-bottom: 32px;
}
.formulario-title {
  font-weight: 400;
  font-size: 24px;
  line-height: 133%;
  text-align: center;
  margin-bottom: 12px;
}
.formulario-subtitle {
  margin-bottom: 24px;
}
.formulario-subtitle p {
  font-weight: 400;
  font-size: 14px;
  line-height: 148%;
  text-align: center;
}
.progress-bg {
  width: 100%;
  background-color: var(--others-divider, #e2e2e2);
  border-radius: 16px;
  height: 12px;
}

.progress-bar {
  background-color: var(--brand-primaryMain, #1f8563);
  height: 12px;
  border-radius: 16px;
  transition: all 0.5s ease-out;
}

/* Form Steps */
.step-title {
  font-weight: 700;
  font-size: 16px;
  line-height: 148%;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 32px;
}

.form-label {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #1b1b1b;
  margin-bottom: 8px;
  line-height: 20px;
}

.form-input {
  width: 100%;
  padding: 16px 24px;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  transition: box-shadow 0.15s ease-in-out;
}

.form-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #1f8563;
  border-color: #1f8563;
}

.form-select {
  width: 100%;
  padding: 16px 24px;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  background: white;
  transition: box-shadow 0.15s ease-in-out;
}

.form-select:focus {
  outline: none;
  box-shadow: 0 0 0 2px #1f8563;
  border-color: #1f8563;
}

.radio-group,
.checkbox-group {
  margin-bottom: 20px;
}

.radio-item,
.checkbox-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.radio-label,
.checkbox-label {
  margin-left: 8px;
  color: #1b1b1b;
}

/* Buttons */
.btn-container {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn {
  padding: 12px 24px;
  font-weight: 500;
  border-radius: 8px;
  transition: background-color 0.15s ease-in-out;
  border: none;
  cursor: pointer;
}

.btn-secondary {
  font-family: Desktop/Label Medium/font-family;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 0%;
  background: unset;
  color: #1f8563;
}

.btn-secondary:hover {
  background-color: #d6d6d6;
}

.btn-secondary:disabled {
  opacity: 0;
}

.btn-primary {
  background-color: #1f8563;
  color: white;
}

.btn-primary:hover {
  background-color: #1a6f52;
}

/* Success Message */
.success-icon {
  width: 64px;
  height: 64px;
  color: #1f8563;
  margin: 0 auto 12px;
}
#successMessage p {
  margin: 0;
}
.success-title {
  font-size: 24px;
  font-weight: 400;
  line-height: 133%;
  text-align: center;
  margin: 12px 0;
}

/* Responsividade Mobile */
@media (max-width: 767px) {
  .formulario-component {
    max-width: 100%;
    padding: 16px;
  }
}
