/* Ensure overrides apply inside Caspio containers */
body .cbForm,
body .caspioform,
body .cbReport,
body .cbResultSetTable,
body .cbTable {
  font-family: inherit !important;
  font-size: 14px !important;
}

/* Card-like wrapper around Caspio blocks */
body .cbForm,
body .caspioform,
body .cbReport {
  border-radius: 14px !important;
  padding: 16px !important;
  background: transparent !important;
}

/* Tables */
body table.cbResultSetTable,
body table.cbTable {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

body table.cbResultSetTable th,
body table.cbTable th {
  font-weight: 600 !important;
  padding: 12px 14px !important;
}

body table.cbResultSetTable td,
body table.cbTable td {
  padding: 12px 14px !important;
  vertical-align: middle !important;
}

/* Inputs */
body .cbForm input[type="text"],
body .cbForm input[type="email"],
body .cbForm input[type="password"],
body .cbForm input[type="number"],
body .cbForm input[type="date"],
body .cbForm select,
body .cbForm textarea {
  width: 100% !important;
  border-radius: 10px !important;
  padding: 10px 12px !important;
  line-height: 1.2 !important;
}

/* Buttons */
body .cbFormButton,
body .cbSearchButton,
body .cbSubmitButton,
body .cbUpdateButton,
body .cbInsertButton,
body .cbDeleteButton,
body .cbActionButton,
body .cbLoginButton,
body .cbLogoutButton,
body input[type="submit"],
body button {
  border-radius: 10px !important;
  padding: 10px 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}
