/* Banto UI governance: visible actions and correctable validation states. */
.btn.btn-default,
.btn.btn-secondary,
.btn.btn-outline.btn-success,
.btn.btn-outline.btn-danger,
.btn.btn-outline.btn-primary,
button.btn-default,
a.btn-default {
  background-color: #e7edf5;
  border-color: #9aa9bc;
  color: #17243a;
  box-shadow: none;
}
.btn.btn-default:hover,.btn.btn-default:focus,
.btn.btn-secondary:hover,.btn.btn-secondary:focus {
  background-color: #d7e1ee;
  border-color: #667892;
  color: #0d1728;
}
.btn.btn-outline.btn-success { background-color: #218739; border-color: #196c2d; color: #fff; }
.btn.btn-outline.btn-danger { background-color: #c94444; border-color: #a93232; color: #fff; }
.btn.btn-outline.btn-primary { background-color: #2864d7; border-color: #1d4fae; color: #fff; }
.btn:focus,.btn.focus,[role="button"]:focus { outline: 3px solid rgba(39,101,216,.35); outline-offset: 2px; }
.btn.disabled,.btn[disabled],fieldset[disabled] .btn { opacity: .62; cursor: not-allowed; }
.banto-action-status { display:inline-flex;align-items:center;gap:.4rem;min-width:8rem;justify-content:center; }
.banto-selected-result { margin-top:.5rem;padding:.65rem .8rem;border-radius:.45rem;background:#eef4ff;border:1px solid #b7cdfa;color:#173c80; }
.banto-selected-result[hidden] { display:none!important; }
.banto-field-error { display:block;margin-top:.35rem;color:#a32121;font-weight:600; }
.form-group.has-error .form-control,
.form-group.has-error select,
.form-group.has-error textarea,
.form-control[aria-invalid="true"],
select[aria-invalid="true"],textarea[aria-invalid="true"],input[aria-invalid="true"] {
  border-color:#bd2e2e!important;
  box-shadow:0 0 0 2px rgba(189,46,46,.14)!important;
  background-color:#fff5f5!important;
}
.form-group.has-error > label,.form-group.has-error legend { color:#9f1f1f; }
.banto-error-summary { border-left:5px solid #bd2e2e; }
.banto-object-list-toolbar {display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;align-items:center;margin:0 0 14px}
.banto-object-list-toolbar .form-control {max-width:320px}
.banto-object-status {display:inline-block;padding:.25rem .55rem;border-radius:999px;background:#e8eef6;color:#20344f;font-weight:600}
.banto-object-status.is-active,.banto-object-status.is-published {background:#dff1e3;color:#155a28}
.banto-object-status.is-warning,.banto-object-status.is-draft {background:#fff2ce;color:#785700}
.banto-object-status.is-error,.banto-object-status.is-blocked {background:#f9dddd;color:#8a2020}
.banto-table-actions {display:flex;flex-wrap:wrap;gap:6px}
.banto-context-explanation {border-left:4px solid #2a66d9;background:#eef4ff;padding:10px 12px;margin-bottom:12px}
@media (max-width:767px){.banto-object-list-toolbar{align-items:stretch}.banto-object-list-toolbar .btn,.banto-object-list-toolbar .form-control{width:100%;max-width:none}.banto-table-actions .btn{width:100%}}
/* Bootstrap 5 outline variants are actions too; render them as filled controls. */
.btn-outline-primary { background-color:#2864d7!important;border-color:#1d4fae!important;color:#fff!important; }
.btn-outline-success { background-color:#218739!important;border-color:#196c2d!important;color:#fff!important; }
.btn-outline-danger { background-color:#c94444!important;border-color:#a93232!important;color:#fff!important; }
.btn-outline-warning { background-color:#b66a00!important;border-color:#8e5200!important;color:#fff!important; }
.btn-outline-secondary { background-color:#59697d!important;border-color:#455466!important;color:#fff!important; }
.btn-outline-primary:hover,.btn-outline-primary:focus { background-color:#1d4fae!important;color:#fff!important; }
.btn-outline-success:hover,.btn-outline-success:focus { background-color:#196c2d!important;color:#fff!important; }
.btn-outline-danger:hover,.btn-outline-danger:focus { background-color:#a93232!important;color:#fff!important; }
.btn-outline-warning:hover,.btn-outline-warning:focus { background-color:#8e5200!important;color:#fff!important; }
.btn-outline-secondary:hover,.btn-outline-secondary:focus { background-color:#455466!important;color:#fff!important; }
