/* ── Campos do form ──────────────────────────────────────────────── */
.webform-submission-simulador-ctpv5-form .js-form-item {
  width: 50%;
}

/* ── Tabela ──────────────────────────────────────────────────────── */
#custom-ajax-results {
  display: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 1.5rem;
  width: 100%;
}

#DataTables_Table_0 {
  width: 100%;
  min-width: 1400px;
  border-collapse: collapse;
  font-size: 14px;
}

#DataTables_Table_0 thead tr:first-child {
  background-color: #e8f0fe;
}

#DataTables_Table_0 thead tr:last-child {
  background-color: #f0f4fd;
}

#DataTables_Table_0 th {
  text-align: center;
  padding: 10px 8px;
  font-weight: 600;
  color: #1a1a1a;
  white-space: nowrap;
  border: 1px solid #e0e0e0;
}

#DataTables_Table_0 th:first-child,
#DataTables_Table_0 th:nth-child(2) {
  text-align: left;
}

#DataTables_Table_0 td {
  padding: 10px 8px;
  border-top: 1px solid #e0e0e0;
  white-space: nowrap;
  text-align: right;
}

#DataTables_Table_0 td:first-child,
#DataTables_Table_0 td:nth-child(2) {
  text-align: left;
}

#DataTables_Table_0 tbody tr:hover {
  background-color: #f5f5f5;
}

#DataTables_Table_0 tr.total-row td {
  font-weight: 600;
  background-color: #f0f4fd;
}

/* Remove "No data" e paginação do DataTables */
#DataTables_Table_0_wrapper .dt-paging,
#DataTables_Table_0_wrapper .dt-empty,
#DataTables_Table_0_wrapper .dataTables_empty {
  display: none !important;
}

/* Mobile */
@media (max-width: 600px) {
  .webform-submission-simulador-ctpv5-form .js-form-item {
    width: 100%;
  }
}