.form.form-framework.user_hub {
  border: 4px solid #009fe3;
  padding: 2rem;
}

.form.form-framework.user_hub h2 {
  margin: -2rem -2rem 2rem;
  background-color: #009fe3;
  padding: 2rem;
  text-align: center;
  color: white;
  font-size: 26px;
  font-weight: bold;
}

.form.form-framework.user_hub .form-group:not(.checkbox) label:not(.input-group-text) {
  display: none !important;
}

.form.form-framework.user_hub [type='checkbox'],
.form.form-framework.user_hub [type='radio'] {
  float: left;
  margin-top: 1rem
}

.form.form-framework.user_hub .custom-checkbox label,
.form.form-framework.user_hub .custom-radio label {
  display: block !important;
  margin-left: 2rem;
  padding-top: .75rem;
}

.form.form-framework.user_hub .form-group {
  margin: 0 0 1rem;
}

.form.form-framework.user_hub .btn-group {
  width: 100%;
  margin-top: 1rem;
}

.form.form-framework.user_hub .btn-group button {
  color: white;
  background-color: #00a1e9;
  border-color: #00a1e9;
}

.form.form-framework.user_hub input.error,
.form.form-framework.user_hub select.error{
  border-color: #cc4b37;
  background-color: #f9ecea;
}
.form.form-framework.user_hub .custom-checkbox span.error {
  display: none !important;
}
.form.form-framework.user_hub span.error {
  margin-top: -0.5rem;
  margin-bottom: 2rem;
  font-size: .75rem;
  font-weight: bold;
  color: #fff !important;
  display: block;
  background-color: rgb(220, 53, 69);
  padding: .75rem;
}

.form.form-framework.user_hub .custom-checkbox .error+label,
.form.form-framework.user_hub .custom-radio .error+label {
  color: rgb(220, 53, 69);
}

.form.form-framework.user_hub select.error {
  font-weight: inherit;
}

.custom-checkbox:has(.is-invalid) {
  border: 1px solid;
  border-color: var(--bs-form-invalid-border-color);
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}