/* דיווחי נציגות בתיק הביטוחי — תוספתי, כל המחלקות מתחילות ב-pfb-. לא נוגע בשום סגנון קיים. */
#pfb-layer { position: fixed; inset: 0; pointer-events: none; z-index: 9000; }
.pfb-flag {
    position: fixed; pointer-events: auto; width: 24px; height: 24px; padding: 0; border-radius: 50%;
    border: 1px solid #b45309; background: #fef3c7; color: #b45309; font-size: 13px; line-height: 22px;
    cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); opacity: .92;
}
.pfb-flag:hover { background: #fde68a; opacity: 1; }

#pfb-bar {
    position: fixed; left: 12px; bottom: 12px; z-index: 9100; display: flex; gap: 6px; flex-wrap: wrap;
    max-width: calc(100vw - 24px); direction: rtl; font-family: inherit;
}
#pfb-bar button { font-family: inherit; font-size: 13px; cursor: pointer; border-radius: 999px; padding: 8px 14px; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.pfb-main { background: #1b3a6b; color: #fff; border: 0; font-weight: 700; }
.pfb-main[aria-pressed="true"] { background: #b45309; }
.pfb-sec { background: #fff; color: #1b3a6b; border: 1px solid #cbd5e1; }
.pfb-count { display: inline-block; margin-inline-start: 6px; min-width: 18px; padding: 0 5px; border-radius: 9px; background: #dc2626; color: #fff; font-size: 11px; text-align: center; }

.pfb-pop, .pfb-modal { direction: rtl; font-family: inherit; color: #0f172a; background: #fff; border: 1px solid #cbd5e1; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.pfb-pop { position: fixed; z-index: 9200; width: 320px; max-width: calc(100vw - 16px); max-height: 80vh; overflow: auto; border-radius: 12px; padding: 12px; }
.pfb-pop.pfb-sheet { left: 0 !important; right: 0; top: auto !important; bottom: 64px; width: auto; max-width: none; border-radius: 16px 16px 0 0; max-height: calc(100vh - 84px); }
.pfb-pop .pfb-send { flex: 1 1 auto; min-height: 40px; }
.pfb-pop-title { font-weight: 700; font-size: 15px; }
.pfb-pop-sub { font-size: 12px; color: #64748b; margin: 2px 0 8px; }
.pfb-choices { display: flex; flex-direction: column; gap: 2px; }
.pfb-choice, .pfb-check, .pfb-lbl { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 6px 4px; cursor: pointer; }
.pfb-extra { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.pfb-input, .pfb-comment { width: 100%; box-sizing: border-box; font: inherit; font-size: 14px; padding: 6px 8px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; color: inherit; }
.pfb-comment { margin-top: 8px; resize: vertical; }
.pfb-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; position: sticky; bottom: -12px; background: #fff; padding: 10px 0 12px; border-top: 1px solid #e2e8f0; z-index: 2; }
.pfb-send { background: #047857; color: #fff; border: 0; border-radius: 8px; padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.pfb-send:disabled { opacity: .5; }
.pfb-cancel, .pfb-mini { background: #fff; color: #334155; border: 1px solid #cbd5e1; border-radius: 8px; padding: 6px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.pfb-danger { color: #b91c1c; border-color: #fecaca; }

.pfb-back { position: fixed; inset: 0; z-index: 9300; background: rgba(15, 23, 42, .45); display: flex; align-items: center; justify-content: center; padding: 12px; }
.pfb-modal { width: 640px; max-width: 100%; max-height: 90vh; display: flex; flex-direction: column; border-radius: 14px; }
.pfb-modal-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid #e2e8f0; }
.pfb-x { border: 0; background: transparent; font-size: 18px; cursor: pointer; color: #64748b; }
.pfb-modal-body { padding: 12px 16px; overflow: auto; }
.pfb-card { border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; }
.pfb-card-title { font-weight: 700; }
.pfb-card-sub { font-size: 12px; color: #64748b; margin-top: 2px; overflow-wrap: anywhere; }
.pfb-quote { font-size: 13px; background: #f8fafc; border-radius: 6px; padding: 4px 8px; margin-top: 4px; overflow-wrap: anywhere; }
.pfb-rule-text { margin-top: 6px; font-size: 13px; background: #ecfdf5; border-radius: 6px; padding: 6px 8px; }
.pfb-h { margin: 14px 0 6px; font-weight: 700; }
.pfb-rule { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; padding: 6px 0; border-bottom: 1px solid #f1f5f9; }
.pfb-off { opacity: .5; }
.pfb-empty { color: #64748b; text-align: center; padding: 16px 0; }

.pfb-toast { position: fixed; left: 50%; bottom: 70px; transform: translateX(-50%); z-index: 9400; background: #0f172a; color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; direction: rtl; max-width: calc(100vw - 24px); }
.pfb-toast.pfb-bad { background: #b91c1c; }
.pfb-toast.pfb-ok { background: #047857; font-weight: 700; box-shadow: 0 6px 20px rgba(0, 0, 0, .3); }

@media print {
    #pfb-layer, #pfb-bar, .pfb-pop, .pfb-back, .pfb-toast { display: none !important; }
}
