/* Compact Unfold toolbar based on the approved table reference. */
.bf-admin-list {color:#263546;min-width:0}
.bf-admin-list .result-list-wrapper {min-width:0}
.bf-admin-list #result_list :is(.field-number,.field-customer,.field-masked_phone) {white-space:nowrap}
.bf-visually-hidden {position:absolute!important;width:1px;height:1px;padding:0!important;margin:-1px!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.bf-query {border:1px solid #dfe5ec;border-bottom:0;border-radius:6px 6px 0 0;background:#fff;padding:12px;margin:0;min-width:0}
.bf-query-row {display:flex;align-items:flex-start;flex-wrap:wrap;gap:8px;min-width:0}
.bf-query-search {display:flex;align-items:center;gap:8px;flex:1 1 260px;min-width:200px;background:#fff;border:1px solid #dfe5ec;border-radius:6px;height:40px;padding:0 12px;box-shadow:0 1px 2px #10263b06}
.bf-query-search:focus-within {outline:2px solid #15659f;outline-offset:1px}
.bf-query-search>.material-symbols-outlined {font-size:18px;color:#899bad}
.bf-query-search>input {background:transparent;border:0;box-shadow:none;outline:0;min-width:0;width:100%;font:inherit;color:#36546b;height:38px}
.bf-query-search>input::placeholder {color:#6e8194}
.bf-filter-field {min-width:160px;flex:1 1 180px;max-width:300px;margin:0;border:0;padding:0}
.bf-filter-field.bf-filter-range {flex:0 1 328px;min-width:280px;max-width:none}
.bf-filter-inputs {display:flex;gap:8px}
.bf-filter-input {min-width:0;flex:1;position:relative}
.bf-query .bf-filter-input input:not([type=radio]):not([type=checkbox]),.bf-query select {height:40px;min-height:40px;max-width:none;width:100%;min-width:0;border-color:#dfe5ec;border-radius:6px;color:#36546b;font-weight:400}
.bf-filter-input .select2-container {width:100%!important;max-width:100%}
.bf-query .select2-container--admin-autocomplete .select2-selection--single {height:40px;min-height:40px;border-color:#dfe5ec;border-radius:6px;background:#fff;display:flex;align-items:center;box-shadow:0 1px 2px #10263b06}
.bf-query .select2-selection__rendered {color:#36546b!important;font-weight:400!important;padding-left:12px!important}
.bf-query .select2-selection__arrow {top:0!important;right:0!important;height:40px!important;margin-top:0!important;margin-right:10px!important}
.bf-query .select2-selection__arrow>b {display:none}
.bf-query select.select2-hidden-accessible~.material-symbols-outlined {display:none}
.bf-query .bf-filter-input .datetimeshortcuts {position:absolute;right:9px;top:8px;font-size:0;color:transparent;line-height:24px}
.bf-query .datetimeshortcuts a {display:inline-flex;align-items:center;justify-content:center;font-size:0}
.bf-query .datetimeshortcuts .material-symbols-outlined {font-size:18px;color:#899bad}
.bf-query .bf-filter-input input.vDateField {padding:8px 32px 8px 12px}
.bf-query-actions {display:flex;align-items:center;gap:8px;flex:0 0 auto}
.bf-control-button {display:inline-flex;align-items:center;justify-content:center;gap:6px;height:40px;padding:0 14px;border:1px solid #dfe5ec;border-radius:6px;background:#fff;color:#36546b;font-weight:500;font-size:13px;line-height:20px;cursor:pointer;white-space:nowrap;box-shadow:0 1px 2px #10263b08}
.bf-control-button .material-symbols-outlined {font-size:18px}
.bf-control-button:hover {border-color:#15659f;color:#15659f;background:#f7fafc}
.bf-control-button.bf-control-primary {background:#15659f;color:#fff;border-color:#15659f;min-width:72px;font-weight:600}
.bf-control-button.bf-control-primary:hover {background:#135281}
.bf-control-button:focus-visible,.bf-icon-button:focus-visible,.bf-pagination a:focus-visible,.bf-text-link:focus-visible,.bf-toolbar-options>summary:focus-visible {outline:3px solid #15659f;outline-offset:2px}
.bf-toolbar-options {position:relative}
.bf-toolbar-options>summary {display:flex;align-items:center;justify-content:center;list-style:none;cursor:pointer;width:32px;height:40px;color:#899bad;border-radius:6px}
.bf-toolbar-options>summary::-webkit-details-marker {display:none}
.bf-toolbar-options>summary:hover {background:#f7fafc}
.bf-toolbar-options>div {position:absolute;right:0;top:46px;z-index:50;background:#fff;border:1px solid #dfe5ec;border-radius:6px;padding:6px;min-width:150px;box-shadow:0 4px 15px #10263b16}
.bf-toolbar-options a {display:block;white-space:nowrap;padding:8px;font-size:13px;border-radius:4px}
.bf-toolbar-options a:hover {background:#f0f7fc}
.bf-applied-filters {display:flex;align-items:baseline;gap:8px 18px;flex-wrap:wrap;padding-top:10px;font-size:12px;color:#718394}
.bf-applied-filters>span {overflow-wrap:anywhere;max-width:100%}
.bf-text-link {color:#15659f;font-size:12px;text-decoration:underline;text-underline-offset:3px}
.bf-query-error {color:#b42335;font-size:13px;margin-top:10px}
.bf-query .errorlist {color:#b42335;font-size:12px;margin:6px 0 0;white-space:normal}
.bf-filter-drawer {background:#fff;color:#263546;border:1px solid #dfe5ec;border-radius:8px;padding:16px;margin-top:16px}
.bf-filter-drawer:not(dialog) [data-close-filters] {display:none}
.bf-filter-drawer .bf-filter-field>legend {position:static!important;clip-path:none;width:auto;height:auto;margin:0 0 8px!important;overflow:visible;font-weight:600;font-size:13px}
.bf-filter-drawer .bf-filter-input input {font-size:14px}
.bf-query dialog.bf-filter-drawer {position:fixed;inset:12px 12px 12px auto;width:min(400px,calc(100vw - 24px));max-height:calc(100dvh - 24px);height:calc(100dvh - 24px);margin:0;padding:0;box-shadow:0 16px 60px #10263b30;overflow:visible;flex-direction:column}
.bf-query dialog.bf-filter-drawer[open] {display:flex}
.bf-query dialog.bf-filter-drawer:not([open]) {display:none}
.bf-query dialog.bf-filter-drawer::backdrop {background:#10263b40}
.bf-drawer-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px;border-bottom:1px solid #e1e9ef}
.bf-drawer-heading h2 {font-size:16px;font-weight:600}
.bf-icon-button {display:grid;place-items:center;width:34px;height:34px;border:1px solid #dfe5ec;border-radius:6px;background:#fff;color:#526b7f;cursor:pointer}
.bf-drawer-fields {display:flex;flex-direction:column;gap:24px;flex:1;overflow:auto;padding:20px}
.bf-drawer-fields .bf-filter-field {flex:none;width:100%;min-width:0;max-width:none}
.bf-drawer-footer {border-top:1px solid #e1e9ef;padding:16px 20px;display:flex;gap:10px}
.bf-drawer-footer .bf-control-button {flex:1}
.bf-empty {border:1px solid #dfe5ec;border-radius:6px;background:#fff;display:flex;flex-direction:column;align-items:center;gap:10px;padding:42px 20px;text-align:center}
.bf-query+#changelist-form .bf-empty {border-radius:0 0 6px 6px}
.bf-query+#changelist-form>div:has(>table#result_list) {border-radius:0 0 6px 6px;box-shadow:none}
.bf-empty-icon {font-size:34px!important;color:#8da0b0;margin-bottom:8px}
.bf-empty h2 {font-size:17px;line-height:1.5;font-weight:600;color:#263546}
.bf-empty p {color:#718394;font-size:13px;line-height:1.7;max-width:38em}
.bf-empty .bf-control-button {margin-top:6px}
.bf-pagination-bar {position:sticky;bottom:0;border-top:1px solid #dfe5ec;background:#fff;z-index:30;padding:10px 16px}
.bf-pagination-inner {display:flex;align-items:center;gap:14px;flex-wrap:wrap;min-height:38px}
.bf-page-total {font-size:13px;color:#526b7f;margin-right:auto;display:flex;align-items:baseline;gap:4px}
.bf-page-total strong {font-variant-numeric:tabular-nums;color:#263546}
.bf-page-total>span {margin-left:12px;font-size:12px;color:#748998}
.bf-pagination {display:flex;align-items:center;gap:5px}
.bf-page-number,.bf-page-step {display:inline-flex;align-items:center;justify-content:center;min-width:34px;min-height:34px;padding:5px 10px;border:1px solid #dfe5ec;border-radius:6px;background:#fff;color:#36546b;font-size:13px;font-variant-numeric:tabular-nums}
.bf-page-number[aria-current] {background:#15659f;border-color:#15659f;color:#fff;font-weight:600}
.bf-pagination a:hover {border-color:#15659f;background:#f7fafc;color:#15659f}
.bf-page-step[aria-disabled] {color:#93a3af;background:#f7fafc}
.bf-page-gap {color:#718394;padding:0 2px}
.bf-page-position {font-size:12px;color:#718394;white-space:nowrap}
body.change-form #content .form-row input:not([type=checkbox]):not([type=radio]):not([type=hidden]),body.change-form #content .form-row select {min-height:40px}
body.change-form #content .form-row textarea {line-height:1.7}
body.change-form .datetimeshortcuts a {display:inline-flex;align-items:center;justify-content:center;min-width:28px;min-height:32px}
@media(max-width:1023px) {
  .bf-page-total {flex-basis:100%;margin:0}
  .bf-page-position {margin-left:auto}
}
@media(max-width:767px) {
  .bf-query {padding:10px}
  .bf-query-search {flex-basis:100%;min-width:0}
  .bf-query-row>.bf-filter-field {flex:1 1 130px;min-width:0;max-width:none}
  .bf-query-row>.bf-filter-range {flex-basis:100%;min-width:0}
  .bf-query-actions {flex:1;flex-wrap:wrap}
  .bf-query-actions>.bf-control-button {flex:1;height:42px}
  .bf-pagination-inner {gap:8px}
  .bf-pagination {gap:4px;justify-content:space-between;width:100%}
  .bf-pagination .bf-page-number {min-width:30px;min-height:36px;padding:4px 6px}
  .bf-pagination .bf-page-step {padding:4px 8px;min-height:36px}
  .bf-page-position {margin:0}
  .bf-empty {padding:30px 16px}
}
