/* =====================================================================
   [سايكل المتابعة] الفورم + التايم لاين + شاشة المتابعات
   ===================================================================== */
.gs-fu-modal .modal-content { border-radius: 18px; border: 0; }
.gs-fu-modal .modal-header { border-bottom: 0; padding-bottom: 4px; }
.gs-fu-modal .modal-title { font-weight: 800; font-size: 17px; }
.gs-fu-modal .modal-title small { display: block; font-size: 13px; color: var(--gs-muted, #636b78); font-weight: 600; margin-top: 2px; }
.gs-fu-modal .modal-title .fa { color: var(--gs-red, #d53c41); }
.gs-fu-modal label { font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.gs-fu-ask { display: flex; gap: 12px; align-items: flex-start; background: #effaf3; border: 1px solid #c9ecd6; border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; }
.gs-fu-ask > .fa { font-size: 22px; color: #16a34a; margin-top: 2px; }
.gs-fu-ask b { display: block; font-size: 14px; }
.gs-fu-ask span { display: block; font-size: 13px; color: #1d2127; margin-top: 2px; line-height: 1.7; }
.gs-fu-ask small { display: block; color: var(--gs-muted, #636b78); font-size: 12px; margin-top: 4px; }
.gs-fu-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.gs-fu-seg button { border: 1px solid var(--gs-border-strong, #cfd3da); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: #4b5260; }
.gs-fu-seg button.is-on { border-color: #141414; background: #141414; color: #fff; }
.gs-fu-seg button .fa-whatsapp { color: #16a34a; }
.gs-fu-seg button.is-on .fa { color: #fff; }
.gs-fu-res { display: flex; flex-wrap: wrap; gap: 6px; }
.gs-fu-res .gs-pill { border: 1px solid transparent; cursor: pointer; padding: 6px 12px; font-size: 12.5px; opacity: .55; }
.gs-fu-res .gs-pill.is-on { opacity: 1; border-color: currentColor; box-shadow: 0 0 0 2px rgba(0,0,0,.04); }
.gs-fu-next { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.gs-fu-next input { flex: 0 1 170px; }
.gs-fu-next .btn { border-radius: 999px; font-weight: 600; font-size: 12px; }
.gs-fu-sales { margin: 0; font-size: 12.5px; color: var(--gs-muted, #636b78); }
.gs-fu-go { border-radius: 12px; font-weight: 700; }

/* التايم لاين */
.gs-tl-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.gs-tl-kpis { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; color: #4b5260; font-weight: 600; }
.gs-tl-kpis .fa { color: #9aa0a8; }
.gs-fu-next-t { color: #b45309; font-weight: 700; }
.gs-fu-next-t .fa { color: #b45309 !important; }
.gs-fu-add { border-radius: 10px; font-weight: 700; }
.gs-tl { list-style: none; margin: 0; padding: 0; position: relative; }
.gs-tl::before { content: ''; position: absolute; top: 6px; bottom: 6px; inset-inline-start: 15px; width: 2px; background: #eceef1; }
.gs-tl-i { position: relative; display: flex; gap: 12px; padding: 8px 0; }
.gs-tl-dot { position: relative; z-index: 1; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; background: #f1f2f4; color: #4b5260; border: 3px solid #fff; }
.gs-tl-i.is-blue .gs-tl-dot { background: var(--gs-blue-soft, #e8eefb); color: var(--gs-blue, #1d4fb8); }
.gs-tl-i.is-green .gs-tl-dot { background: var(--gs-green-soft, #e7f6ec); color: #177245; }
.gs-tl-i.is-orange .gs-tl-dot { background: #fff1e6; color: #c2410c; }
.gs-tl-i.is-dark .gs-tl-dot { background: #141414; color: #fff; }
.gs-tl-b { flex: 1 1 auto; min-width: 0; background: #fff; border: 1px solid #eef0f2; border-radius: 12px; padding: 9px 12px; }
.gs-tl-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 10px; }
.gs-tl-h b { font-size: 13.5px; color: #1d2127; }
.gs-tl-h small { color: var(--gs-muted, #636b78); font-size: 11.5px; }
.gs-tl-m { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 5px; font-size: 12px; color: #4b5260; align-items: center; }
.gs-tl-m .fa { color: #9aa0a8; }
.gs-tl-m .fa-whatsapp { color: #16a34a; }
.gs-tl-b p { margin: 6px 0 0; font-size: 12.5px; color: #1d2127; background: #fafbfc; border-radius: 8px; padding: 6px 9px; white-space: pre-wrap; }

/* شاشة المتابعات */
.fu-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 12px; scrollbar-width: thin; }
.fu-tabs button { flex: 0 0 auto; border: 1px solid var(--gs-border, #e6e8ec); background: #fff; border-radius: 12px; padding: 9px 13px; font-weight: 700; font-size: 13px; color: #4b5260; display: inline-flex; align-items: center; gap: 7px; }
.fu-tabs button em { font-style: normal; font-size: 11.5px; background: #f1f2f4; border-radius: 999px; padding: 1px 8px; color: #1d2127; }
.fu-tabs button.is-on { background: #141414; border-color: #141414; color: #fff; }
.fu-tabs button.is-on em { background: rgba(255,255,255,.18); color: #fff; }
.fu-tabs button.is-hot em { background: var(--gs-red, #d53c41); color: #fff; }
.fu-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.fu-tools .form-control { height: 40px; border-radius: 12px; width: auto; min-width: 160px; }
.fu-tools .fu-q { flex: 1 1 220px; max-width: 340px; }
.fu-tools .gs-toolbar-end { margin-inline-start: auto; display: flex; gap: 8px; }
.fu-desc { margin: 0 0 12px; font-size: 13px; color: var(--gs-muted, #636b78); line-height: 1.7; }
.fu-list { display: grid; gap: 8px; }
.fu-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr) minmax(0, 1.2fr) auto; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--gs-border, #e6e8ec); border-radius: 14px; padding: 12px 14px; }
.fu-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.fu-who b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fu-who small { display: block; color: var(--gs-muted, #636b78); font-size: 12px; }
.fu-why { font-size: 12.5px; color: #4b5260; line-height: 1.7; }
.fu-why b { color: #1d2127; }
.fu-last { font-size: 12px; color: #4b5260; line-height: 1.7; }
.fu-last .gs-pill { margin-inline-end: 4px; }
.fu-act { display: flex; gap: 6px; align-items: center; justify-content: flex-end; }
.fu-act .btn { border-radius: 10px; font-weight: 700; white-space: nowrap; }
.fu-late { color: var(--gs-red, #d53c41); font-weight: 700; }
.fu-set .form-group label { font-weight: 700; font-size: 13px; }
.fu-set small { display: block; color: var(--gs-muted, #636b78); font-size: 12px; margin-top: 4px; line-height: 1.6; }
@media (max-width: 991.98px) {
    .fu-row { grid-template-columns: 1fr; gap: 8px; }
    .fu-act { justify-content: flex-start; }
}

/* [قواعد حساب السيلز] الاشتراك اتحسب لمين وليه (في التايم لاين) */
.gs-fu-why { flex-basis: 100%; width: 100%; margin-top: 6px; font-size: 12px; line-height: 1.6; color: #475467; background: #f8f9fb; border: 1px solid #eef0f3; border-radius: 8px; padding: 6px 8px; }
.gs-fu-why i { color: var(--gs-red, #d53c41); }

/* [قواعد حساب السيلز] الاشتراك بيتحسب لمين (ظاهرة للكل) + الإعدادات */
.fu-rules { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: #f8f9fb; border: 1px solid #eceff3; color: #475467; font-size: 13px; line-height: 1.7; }
.fu-rules[hidden] { display: none; }
.fu-rules > i { color: var(--gs-red, #d53c41); font-size: 16px; margin-top: 2px; }
.fu-rules b { display: block; color: #1d2939; margin-bottom: 2px; }
.fu-rules p { margin: 0; }
.fu-rules.is-preview { margin: 4px 0 0; background: rgba(var(--gs-red-rgb, 213, 60, 65), .05); border-color: rgba(var(--gs-red-rgb, 213, 60, 65), .18); }
.fu-set-sec { border: 1px solid #eef0f3; border-radius: 12px; padding: 12px 14px 14px; margin-bottom: 16px; }
.fu-set-sec h5 { font-size: 14px; font-weight: 700; margin: 0 0 12px; color: #1d2939; display: flex; align-items: center; gap: 8px; }
.fu-set-sec h5 i { color: var(--gs-red, #d53c41); }
.fu-set-checks { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.fu-chk { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; margin: 0; cursor: pointer; font-size: 13.5px; }
.fu-chk input { accent-color: var(--gs-red, #d53c41); width: 16px; height: 16px; }

.gs-fu-credit { margin: 8px 0 0; font-size: 12.5px; line-height: 1.6; color: #475467; background: #f8f9fb; border: 1px solid #eef0f3; border-radius: 8px; padding: 6px 9px; }
.gs-fu-credit[hidden] { display: none; }
.gs-fu-credit i { color: #98a2b3; }
.gs-fu-credit.is-ok { background: #ecfdf3; border-color: #c6f1d6; color: #05603a; }
.gs-fu-credit.is-ok i { color: #12b76a; }
