/* Banana Contact: زر التواصل العائم (بنفس لغة ختم التوثيق) */
.bpc { position: fixed; left: calc(18px + env(safe-area-inset-left, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 9990; font-family: 'Tajawal', -apple-system, sans-serif; direction: rtl; text-align: right; line-height: 1.4; animation: bpc-in .6s cubic-bezier(.2,.8,.2,1) .5s both; }
@keyframes bpc-in { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
.bpc-btn { display: inline-flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; margin: 0; background: #0B0B0B; color: #fff; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; font: inherit; font-weight: 800; font-size: 14px; line-height: 1; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08); transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s; -webkit-tap-highlight-color: transparent; }
.bpc-btn:hover, .bpc-btn:focus-visible { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.1); outline: none; color: #fff; }
.bpc-btn:focus-visible { box-shadow: 0 0 0 3px #F5D74E, 0 16px 36px rgba(0,0,0,.4); }
.bpc-bi { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 50%; background: #F5D74E; color: #0B0B0B; transition: background .18s; }
.bpc-bi svg { width: 18px; height: 18px; display: block; }
.bpc.is-open .bpc-bi { background: #fff; }
.bpc-panel { position: absolute; left: 0; bottom: calc(100% + 12px); width: min(320px, calc(100vw - 36px)); box-sizing: border-box; padding: 14px; background: #0B0B0B; color: #fff; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.45); transform-origin: bottom left; animation: bpc-pop .22s cubic-bezier(.2,.8,.2,1); }
.bpc-panel[hidden] { display: none; }
@keyframes bpc-pop { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
.bpc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin: 0 0 10px; padding: 0 2px 10px; border-bottom: 1px dashed rgba(255,255,255,.18); }
.bpc-head b { display: block; font-size: 16px; font-weight: 900; color: #fff; }
.bpc-head small { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 600; line-height: 1.6; color: rgba(255,255,255,.68); }
.bpc-x { width: 32px; height: 32px; flex: 0 0 auto; padding: 0; border: 0; border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; font: inherit; font-size: 20px; line-height: 1; cursor: pointer; }
.bpc-x:hover, .bpc-x:focus-visible { background: rgba(255,255,255,.16); outline: none; }
.bpc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.bpc-list li { margin: 0; padding: 0; }
.bpc-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; color: #fff !important; text-decoration: none !important; transition: background .15s; }
.bpc-item:hover, .bpc-item:focus-visible { background: rgba(255,255,255,.08); outline: none; }
.bpc-item:focus-visible { box-shadow: 0 0 0 2px #F5D74E; }
.bpc-ic { width: 40px; height: 40px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; }
.bpc-ic svg { width: 21px; height: 21px; display: block; }
.is-wa .bpc-ic { background: #25D366; color: #0B0B0B; }
.is-tg .bpc-ic { background: #2AABEE; color: #fff; }
.is-mail .bpc-ic { background: #F5D74E; color: #0B0B0B; }
.bpc-t { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.bpc-t b { font-size: 14.5px; font-weight: 800; color: #fff; }
.bpc-t small { font-size: 12.5px; color: rgba(255,255,255,.72); overflow-wrap: anywhere; }
.bpc-t small[dir="ltr"] { text-align: right; }
.bpc-more { display: block; margin-top: 8px; padding: 8px 10px 2px; font-size: 12.5px; font-weight: 700; text-align: center; color: #F5D74E !important; text-decoration: none !important; }
.bpc-more:hover, .bpc-more:focus-visible { text-decoration: underline !important; outline: none; }
@media (max-width: 420px) {
	.bpc { left: calc(14px + env(safe-area-inset-left, 0px)); bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
	.bpc-btn { padding: 6px; }
	.bpc-lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.bpc-bi { width: 40px; height: 40px; }
	.bpc-bi svg { width: 20px; height: 20px; }
	.bpc-panel { width: calc(100vw - 28px); }
}
@media (prefers-reduced-motion: reduce) { .bpc, .bpc-panel { animation: none; } .bpc-btn, .bpc-bi { transition: none; } }
@media print { .bpc { display: none; } }
