.bmf-offers-panel { width:100%; min-width:0; margin:20px 0 26px; padding:24px; border:1px solid #eadde3; border-radius:18px; background:#fff; }
.bmf-offers-panel h2 { margin:0 0 15px; color:#34242f; font-size:clamp(18px,2vw,23px); }
.bmf-offers-heading { display:flex; align-items:center; flex-wrap:wrap; justify-content:space-between; gap:12px; margin-bottom:14px; }
.bmf-offers-heading h2 { margin:0; }
.bmf-treatment-table-wrap { max-width:100%; overflow-x:auto; border:1px solid #f0e3e9; border-radius:12px; }
.bmf-treatment-table { width:100%; border-collapse:collapse; background:#fff; text-align:left; font-size:14px; }
.bmf-treatment-table th { font-size:12px; color:#75606b; background:#fcf8fa; font-weight:700; white-space:nowrap; }
.bmf-treatment-table th, .bmf-treatment-table td { padding:13px 14px; border-bottom:1px solid #f1e8ec; }
.bmf-treatment-table tr:last-child td { border-bottom:0; }
.bmf-treatment-status { display:inline-flex; padding:4px 10px; border-radius:999px; font-size:12px; font-weight:700; white-space:nowrap; }
.bmf-treatment-status.is-active { color:#28664b; background:#edf9f2; }
.bmf-treatment-status.is-inactive { color:#80536a; background:#f8eef3; }
.bmf-offers-panel .bmf-management-form { margin-top:18px; }
@media (max-width:720px) {
    .bmf-offers-panel { padding:16px; }
    .bmf-treatment-table { min-width:640px; }
}

.bmf-catalog-image-link { display:inline-flex; width:50px; height:45px; overflow:hidden; align-items:center; justify-content:center; border-radius:9px; border:1px solid #e4d5de; }
.bmf-catalog-image-link img { width:100%; height:100%; object-fit:cover; }
.bmf-catalog-image-preview { display:flex; flex-wrap:wrap; align-items:center; gap:18px; }
.bmf-catalog-image-preview > a { display:flex; align-items:center; gap:12px; color:#b44f79; font-size:13px; font-weight:650; }
.bmf-catalog-image-preview img { width:110px; height:75px; object-fit:cover; border-radius:10px; border:1px solid #e4d5de; }
html[data-bmf-dark-active="true"] .bmf-catalog-image-preview > a { color:#f0a5c5; }
html[data-bmf-dark-active="true"] :is(.bmf-catalog-image-link,.bmf-catalog-image-preview img) { border-color:var(--bmf-border); }
html[data-bmf-dark-active="true"] .bmf-management-form input[type="file"] { color:var(--bmf-text); }

/* Fixed-size image column in the treatment catalog. */
#bmf-admin-catalog th:first-child,#bmf-admin-catalog td:first-child{width:100px;min-width:100px;max-width:100px;text-align:center}
#bmf-admin-catalog .bmf-catalog-image-link{width:64px;height:64px;border-radius:10px;background:#faf6f8}
#bmf-admin-catalog .bmf-catalog-image-link img{width:100%;height:100%;object-fit:contain}
#bmf-admin-catalog td{height:88px}
html[data-bmf-dark-active="true"] #bmf-admin-catalog .bmf-catalog-image-link{background:var(--bmf-surface-2)}


/* Shared treatment editor for doctor services and facilities. */
.bmf-offer-batch-modal{width:min(1020px,calc(100vw - 32px));max-width:1020px}
.bmf-offer-batch-form{display:flex;flex-direction:column;gap:14px}
.bmf-offer-batch-facility{max-width:520px}
.bmf-offer-batch-scroll{width:100%;overflow:auto;border:1px solid var(--bmf-border,#eadde3);border-radius:12px}
.bmf-offer-batch-table{width:100%;min-width:680px;border-collapse:collapse;text-align:left;font-size:13px}
.bmf-offer-batch-table th{padding:12px 10px;white-space:nowrap;background:var(--bmf-surface-2,#fcf8fa);color:var(--bmf-text-muted,#755d69)}
.bmf-offer-batch-table td{padding:9px 8px;border-top:1px solid var(--bmf-border,#eadde3);vertical-align:top}
.bmf-offer-batch-table td:first-child{min-width:210px;width:42%}
.bmf-offer-batch-table td:last-child{text-align:center;width:52px}
.bmf-offer-batch-table :is(input,select){box-sizing:border-box;width:100%;min-height:37px;min-width:0;background:var(--bmf-surface,#fff);color:var(--bmf-text,#3e3037);border:1px solid var(--bmf-border,#e9dce3);border-radius:8px;padding:7px}
.bmf-offer-batch-table input[readonly],.bmf-offer-batch-table select:disabled{opacity:.72;cursor:not-allowed}
.bmf-offer-batch-table tr.is-inactive{opacity:.68}
.bmf-offer-batch-table tr[hidden]{display:none!important}
.bmf-offer-batch-note{display:block;margin-top:5px;font-size:11px;color:var(--bmf-text-muted,#866774)}
.bmf-offer-batch-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.bmf-offer-batch-bottom button{display:inline-flex;align-items:center;gap:7px}
.bmf-offer-batch-help{font-size:12px;color:var(--bmf-text-muted,#866774)}
