/* اشتراكات العملاء (لوحة dash-pro) */

.sub-subs-page {
  font-family: var(--font-sans, "STC Forward", "Tajawal", "Segoe UI", Tahoma, sans-serif);
}

.sub-subs-list-head {
  margin-top: 4px;
}

.sub-subs-list-head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--s-text);
  letter-spacing: -0.02em;
}

.svc-table.svc-table--subscriptions {
  min-width: 920px;
}

.svc-th--sub-days {
  width: 72px;
  text-align: center !important;
}

.seller-app-shell .svc-td--narrow {
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.sub-sub-sod-page {
  font-family: var(--font-sans, "STC Forward", "Tajawal", "Segoe UI", Tahoma, sans-serif);
}

.sub-sub-sod-page .sod-card--progress .sub-sub-progress-head {
  margin-bottom: 10px;
}

.sub-sub-sod-page .sod-card--progress .sod-progress.sod-progress--subscription {
  margin-top: 0;
}

.sub-sub-sod-page .sod-progress--subscription .sod-progress__track {
  direction: rtl;
  height: 8px;
  background: linear-gradient(180deg, var(--s-surface2, #f4f4f5), #e4e4e7);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06);
}

.sub-sub-sod-page .sod-progress--subscription .sod-progress__seg.sub-sub-progress-seg {
  flex-direction: column;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

.sub-sub-progress-seg {
  flex: 1 1 100%;
  min-width: 0;
  max-width: 100%;
}

.sub-sub-sod-page .sod-progress--subscription .sod-progress__seg.sub-sub-progress-seg .sod-progress__track {
  width: 100%;
  flex: 0 0 auto;
  min-width: 0;
}

.sub-sub-sod-page .sod-progress--subscription .sod-progress__bar {
  transition:
    width 0.45s cubic-bezier(0.33, 1, 0.68, 1),
    background 0.28s ease,
    box-shadow 0.28s ease;
}

.sub-sub-sod-page .sub-sub-progress-seg--active .sod-progress__bar {
  background: linear-gradient(180deg, #3f3f46, #18181b);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 1px 2px rgba(15, 23, 42, 0.14);
}

.sub-sub-sod-page .sub-sub-progress-seg--expired .sod-progress__bar {
  background: linear-gradient(180deg, #a8a8b3, #71717a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.sub-sub-sod-page .sub-sub-progress-seg--cancelled .sod-progress__bar {
  background: linear-gradient(180deg, #f87171, #dc2626);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 1px 3px rgba(220, 38, 38, 0.22);
}

.sub-sub-progress-endcap {
  flex: 0 0 auto;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--s-text, #0a0a0a);
  letter-spacing: -0.02em;
  line-height: 1.35;
  white-space: nowrap;
  align-self: flex-end;
  opacity: 0.82;
  font-variant-numeric: tabular-nums;
}

.sod-page-section .sod-pay__row dd .svc-price {
  font-weight: 700;
}

.sub-sub-auto-inner {
  padding-top: 2px;
}

.sub-sub-auto-inner .toggle-switch {
  max-width: 100%;
}
