.form-div-header{
  background-color: #083d77;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  height: 20px;
}

/* === CONTAINER === */
.form-div {
  background-color: white;
  border-radius: 10px;
  margin: auto;
  margin-bottom: 50px;
  padding-bottom: 15px;
  width: 100%;
}

@media (min-width: 576px) { .form-div { width: 540px; } }
@media (min-width: 768px) { .form-div { width: 720px; } }
@media (min-width: 992px) { .form-div { width: 960px; } }
@media (min-width: 1200px) { .form-div { width: 1000px; margin-left: 0} }

/* === FORM FIELDS === */
.input-div { margin-left: 24px; }
.form_double_input { width: 48%; margin-right: 2%; }
.form_input { width: 100% !important; }
.form-check-input { width: 15px; height: 15px; }
.form_input_two_thirds { width: 66% !important; }
.form_input_one_third { width: 33% !important; }
.single_collum_form { max-width: 1216px; align-self: center; }

/* === STEP TRACKER WRAPPER === */
.step-tracker-wrapper {
  position: relative; /* parent context for absolute tracker */
}

/* === TRACKER === */
.step-tracker {
  position: absolute;
  top: 0.5rem; /* adjust to align with h2 */
  right: 0;
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

/* === BUBBLE === */
.step {
    position: relative;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ccc;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  transition: background 0.3s;
}

.step.current {
  background: #555;
  font-weight: bold;
}

.step.complete {
  background: #00e676;
  color: transparent;
}

.step.complete::after {
content: "✓";
  font-size: 16px;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* === FIELDSETS === */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.form-step h2 {
  margin: 0 0 1rem 0;
  font-size: 1.8rem;
}

/* === NAV BUTTONS === */
.wizard-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}

.prev-step,
.next-step,
.submit-step {
  min-width: 120px;
}

.step-title {
  margin-top: 2rem;
}

.submit-step {
  display: none;
}

@media (max-width: 768px) {
  .wizard-nav { flex-direction: column; gap: 1rem; }
  .wizard-nav button { width: 100%; }
}

@media (max-width: 1100px) {
  .form-container {
    margin-left: 40px;
    margin-right: 40px;
    margin-top: 24px;
    max-width: 1120px;
  }
}

/* Document card refinado */
.document-form {
  position: relative;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
}

.document-form .remove-document {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  color: #dc3545;
}

.document-form .remove-document i {
  font-size: 1.2rem;
}

.document-form .remove-document:hover {
  color: #a71d2a;
  transform: scale(1.1);
}

/* Opções sempre em nova linha */
.option-fields {
  width: 100%;
  background: #fafafa;
  border: 1px dashed #ccc;
  border-radius: 6px;
  padding: 0.5rem;
  margin-top: 0.5rem;
}

.option-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.option-item input {
  flex: 1;
}

.remove-option {
  padding: 0.2rem 0.5rem;
}

.remove-option i {
  font-size: 0.9rem;
}

.add-option {
  font-size: 0.85rem;
}

.document-form .flex-fill.d-flex label {
  display: flex;
  align-items: center;
  height: 100%;
  margin-bottom: 0; /* força alinhamento */
}
.document-form .flex-fill input[type="checkbox"] {
  margin: 0;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #DEDEDE;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 2px 4px 1px;
    font-size: 1rem;
}
span.helptext {
  font-size: x-small;
  color: #6a6f7d;
  padding-left: 10px;
}
input[type="radio"].form-control,
input[type="checkbox"].form-control {
  appearance: auto;
  border: initial;
  padding: initial;
  font-weight: initial;
  border-radius: initial;
  border: none;
  box-shadow: none;
  background: none;
  width: auto;
}

.application-option {
  background-color: #f2f2f2;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.application-option label {
  margin: 0;
  font-weight: 500;
}

.application-radio,
.application-checkbox {
  width: 18px;
  height: 18px;
}

