/* BAMAL_SUPPORT_V1 */
.sp-overlay{position:fixed;inset:0;z-index:10050;display:none;align-items:flex-end;justify-content:center;background:rgba(10,20,35,.55);backdrop-filter:blur(6px)}
.sp-overlay.show{display:flex}
.sp-sheet{position:relative;width:100%;max-width:520px;height:94vh;height:94dvh;background:#f5f8fc;border-radius:24px 24px 0 0;display:flex;flex-direction:column;overflow:hidden;direction:rtl;font-family:inherit;animation:spUp .28s ease}
@keyframes spUp{from{transform:translateY(40px);opacity:0}to{transform:none;opacity:1}}
@media(min-width:700px){.sp-overlay{align-items:center}.sp-sheet{height:88vh;border-radius:24px}}
.sp-topbar{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;height:58px;padding:0 14px;background:#fff;border-bottom:1px solid #e8eef5}
.sp-back{width:38px;height:38px;border:0;border-radius:12px;background:#edf6ff;color:#075ea8;font-size:20px;cursor:pointer}
.sp-title{font-size:14px;font-weight:900;color:#172033}
.sp-top-space{width:38px}
.sp-body{flex:1;overflow-y:auto;padding:14px 14px calc(24px + env(safe-area-inset-bottom,0px));-webkit-overflow-scrolling:touch}
.sp-hero{text-align:center;padding:22px 16px;border-radius:22px;color:#fff;background:linear-gradient(135deg,#064f8f,#0869b7 55%,#168be1);box-shadow:0 14px 34px rgba(7,94,168,.22);margin-bottom:12px}
.sp-hero-mark{width:56px;height:56px;margin:0 auto 8px;border-radius:18px;background:rgba(255,255,255,.2);display:flex;align-items:center;justify-content:center;font-size:26px;font-weight:900}
.sp-hero h2{margin:0;font-size:21px;font-weight:900}
.sp-hero p{margin:4px 0 0;font-size:12px;opacity:.85}
.sp-card{background:#fff;border:1px solid #e8eef5;border-radius:18px;padding:14px 15px;margin-bottom:10px;box-shadow:0 5px 18px rgba(16,52,89,.05)}
.sp-card h3{margin:0 0 6px;font-size:13.5px;font-weight:900;color:#172033}
.sp-card p{margin:0;font-size:12.3px;line-height:2.05;color:#475467}
.sp-card-warn{background:#fff8ee;border-color:#ffe3bd}
.sp-card-info{background:#f1f7ff;border-color:#d7e9fb}
.sp-actions{display:flex;gap:10px;margin:14px 0}
.sp-btn{flex:1;min-height:54px;border:0;border-radius:16px;font-family:inherit;font-size:13px;font-weight:900;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;text-decoration:none;transition:transform .15s}
.sp-btn:active{transform:scale(.97)}
.sp-btn:disabled{opacity:.6}
.sp-btn small{font-size:11px;font-weight:700;opacity:.9}
.sp-btn-call{background:linear-gradient(135deg,#22cf79,#0e9e56);color:#fff;box-shadow:0 10px 24px rgba(14,158,86,.28)}
.sp-btn-primary{background:linear-gradient(135deg,#168be1,#075ea8);color:#fff;box-shadow:0 10px 24px rgba(7,94,168,.28)}
.sp-block{width:100%;flex:none;margin-top:12px}
.sp-tickets{margin-top:6px}
.sp-tabs{display:flex;gap:6px;padding:4px;background:#e9eff6;border-radius:14px;margin-bottom:10px}
.sp-tabs button{flex:1;position:relative;height:38px;border:0;border-radius:11px;background:transparent;font-family:inherit;font-size:12px;font-weight:800;color:#6b7a90;cursor:pointer}
.sp-tabs button.active{background:#fff;color:#075ea8;box-shadow:0 3px 10px rgba(16,52,89,.1)}
.sp-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#ef4136;margin-right:4px}
.sp-dot.hidden{display:none}
.sp-list{display:flex;flex-direction:column;gap:8px}
.sp-empty{text-align:center;padding:26px 10px;font-size:12px;color:#94a3b8}
.sp-ticket{width:100%;text-align:right;background:#fff;border:1px solid #e8eef5;border-radius:16px;padding:12px 14px;cursor:pointer;font-family:inherit}
.sp-ticket.unread{border-color:#1f8fff;background:#f3f9ff}
.sp-ticket-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.sp-ticket-top b{font-size:13px;color:#172033}
.sp-ticket-prev{margin-top:6px;font-size:12px;color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-ticket-time{margin-top:5px;font-size:10.5px;color:#a0a9b7}
.sp-st{font-size:10.5px;font-weight:800;padding:4px 9px;border-radius:999px;white-space:nowrap}
.sp-st-open{background:#fff3cd;color:#8a6400}
.sp-st-answered{background:#e3f8ee;color:#0e8a4f}
.sp-st-closed{background:#eceff3;color:#5a6472}
.sp-footer{margin-top:22px;text-align:center}
.sp-footer p{margin:10px 0 0;font-size:11px;color:#94a3b8}
.sp-enamad{display:flex;justify-content:center}
.sp-enamad-empty{width:110px;height:110px;border:1.5px dashed #c9d5e3;border-radius:16px;display:flex;align-items:center;justify-content:center;font-size:10.5px;color:#a0a9b7;text-align:center;padding:8px}
.sp-thread-head{display:flex;align-items:center;justify-content:space-between;background:#fff;border:1px solid #e8eef5;border-radius:14px;padding:11px 14px;margin-bottom:10px;font-size:13px}
.sp-msgs{display:flex;flex-direction:column;gap:9px}
.sp-msg{max-width:88%;padding:10px 12px;border-radius:16px;font-size:12.8px;line-height:1.9}
.sp-msg.user{align-self:flex-start;background:#e8f3ff;border-bottom-right-radius:5px}
.sp-msg.admin{align-self:flex-end;background:#fff;border:1px solid #e3ebf4;border-bottom-left-radius:5px}
.sp-msg-who{font-size:10.5px;font-weight:900;color:#075ea8;margin-bottom:2px}
.sp-msg-text{white-space:pre-wrap;word-break:break-word;color:#172033}
.sp-msg img{display:block;max-width:100%;max-height:260px;border-radius:12px;margin-top:6px}
.sp-msg-time{margin-top:4px;font-size:10px;color:#94a3b8}
.sp-reply{margin-top:14px}
.sp-reply textarea,.sp-modal-card input,.sp-modal-card textarea{width:100%;border:1px solid #e0e8f1;background:#f9fbfd;border-radius:13px;padding:11px 13px;font-family:inherit;font-size:13px;color:#172033;outline:none;box-sizing:border-box}
.sp-reply textarea:focus,.sp-modal-card input:focus,.sp-modal-card textarea:focus{border-color:#69aee4;background:#fff}
.sp-link{border:0;background:none;color:#075ea8;font-family:inherit;font-size:12px;font-weight:800;cursor:pointer;padding:10px 4px}
.sp-link:disabled{color:#a0a9b7}
.sp-danger{color:#d93a55;display:block;margin:6px auto 0}
.sp-modal{position:absolute;inset:0;z-index:5;background:rgba(10,20,35,.5);display:flex;align-items:flex-end;justify-content:center}
.sp-modal-card{position:relative;width:100%;max-height:92%;overflow-y:auto;background:#fff;border-radius:24px 24px 0 0;padding:22px 18px 24px;animation:spUp .25s ease}
.sp-modal-card h3{margin:0 0 4px;font-size:16px;font-weight:900;color:#172033;padding-left:36px}
.sp-modal-sub{margin:0 0 12px;font-size:12px;color:#6b7a90;line-height:1.9}
.sp-modal-card label{display:block;margin:10px 0 6px;font-size:11.5px;font-weight:800;color:#344054}
.sp-modal-x{position:absolute;top:14px;left:14px;width:34px;height:34px;border:0;border-radius:50%;background:#f1f4f9;color:#5b6b85;font-size:19px;cursor:pointer}
.sp-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.sp-code{text-align:center;font-size:24px !important;letter-spacing:8px;font-weight:900;margin-top:6px}
.sp-row{display:flex;justify-content:space-between;margin-top:6px}
.sp-acc-btn{width:100%;height:46px;display:flex;align-items:center;justify-content:space-between;padding:0 13px;border:1px solid #e0e8f1;border-radius:13px;background:#f9fbfd;font-family:inherit;font-size:13px;color:#8a96ab;cursor:pointer}
.sp-acc-btn span.sel{color:#172033;font-weight:800}
.sp-acc-arrow{transition:transform .2s}
.sp-acc-btn.open .sp-acc-arrow{transform:rotate(180deg)}
.sp-acc-list{display:none;margin-top:6px;padding:6px;border:1px solid #e8eef5;border-radius:13px;background:#f7f9fc}
.sp-acc-list.open{display:block}
.sp-acc-list button{display:block;width:100%;text-align:right;min-height:42px;padding:0 14px;margin-bottom:5px;border:1px solid #e8eef5;border-radius:10px;background:#fff;font-family:inherit;font-size:13px;color:#344054;cursor:pointer}
.sp-acc-list button:last-child{margin-bottom:0}
.sp-acc-list button.selected{background:#2fd99a;border-color:#2fd99a;color:#06170f;font-weight:800}
.sp-toast{position:fixed;left:50%;bottom:calc(30px + env(safe-area-inset-bottom,0px));transform:translate(-50%,20px);opacity:0;pointer-events:none;z-index:100000;max-width:88vw;padding:12px 18px;border-radius:14px;background:rgba(20,31,47,.95);color:#fff;font-size:12.5px;font-weight:800;text-align:center;transition:.22s}
.sp-toast.show{opacity:1;transform:translate(-50%,0)}

/* SUPPORT_NOOTP_V1 */
.sp-phone-note{margin:0 0 4px;padding:9px 12px;border-radius:12px;background:#eaf4ff;border:1px solid #cfe1f7;color:#1c3f73;font-size:12px;line-height:1.9;text-align:center;}
