/* prettier-ignore */
/*# sourceMappingURL=user-rtl.min.css.map */

.nav-slide {
  padding: calc(var(--phoenix-navbar-top-height) + 2rem) 1.5rem 6.375rem 1.5rem;
  position: relative;
  padding-bottom: 6rem;
}

.nav-slide .right {
  width: 10%;
  color: var(--phoenix-nav-link-color);
}

.nav-slide .left {
  width: 30%;
  color: var(--phoenix-nav-link-color);
}

.cont {
  min-height: 80vh;
}

.input-wrapper {
  position: relative;
  display: inline-block;
}

.loading-spinner {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 2px solid #ccc;
  border-top: 2px solid #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: none;
}

@keyframes spin {
  0% {
    transform: translateY(-50%) rotate(0deg);
  }

  100% {
    transform: translateY(-50%) rotate(360deg);
  }
}

.tabulator-col .tabulator-col-title {
  white-space: normal !important;
  /* يسمح بلف النص */
  line-height: 1.2;
  text-align: center;
  /* اختياري: لتوسيط النص */
}

/* شبكة الكروت */
.rem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem;
}

@media (min-width: 576px) {
  .rem-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .rem-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* البطاقة */
.rem-card {
  position: relative;
  display: block;
  text-decoration: none !important;
  border-radius: 22px;
  padding: 14px;
  min-height: 120px;
  border: 1px solid var(--phoenix-border-color);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  color: inherit;
}

.rem-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

/* المحتوى */
.rem-count {
  font-weight: 800;
  font-size: clamp(1.4rem, 1rem + 1.2vw, 1.8rem);
  line-height: 1;
}

.rem-ico {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.35);
}

.rem-title {
  margin-top: 1.35rem;
  font-weight: 500;
  font-size: 1.5rem;
}

/* ألوان */
.rem-blue {
  background: var(--phoenix-primary-bg-subtle);
  color: var(--phoenix-primary-text-emphasis);
}

.rem-red {
  background: var(--phoenix-danger-bg-subtle);
  color: var(--phoenix-danger-text-emphasis);
}

.rem-amber {
  background: var(--phoenix-warning-bg-subtle);
  color: var(--phoenix-warning-text-emphasis);
}

.rem-green {
  background: var(--phoenix-success-bg-subtle);
  color: var(--phoenix-success-text-emphasis);
}

.rem-cyan {
  background: var(--phoenix-info-bg-subtle);
  color: var(--phoenix-info-text-emphasis);
}

.rem-indigo {
  background: var(--phoenix-indigo-bg-subtle);
  color: var(--phoenix-indigo-text-emphasis);
}

.rem-gray {
  background: var(--phoenix-gray-200);
  color: var(--phoenix-gray-800);
}

/* خلفية الأيقونة حسب اللون */
.rem-blue .rem-ico {
  background: rgba(13, 110, 253, 0.12);
}

.rem-red .rem-ico {
  background: rgba(220, 53, 69, 0.14);
}

.rem-amber .rem-ico {
  background: rgba(255, 193, 7, 0.18);
}

.rem-green .rem-ico {
  background: rgba(25, 135, 84, 0.12);
}

.rem-cyan .rem-ico {
  background: rgba(13, 202, 240, 0.16);
}

.rem-indigo .rem-ico {
  background: rgba(111, 66, 193, 0.14);
}

.rem-gray .rem-ico {
  background: rgba(0, 0, 0, 0.06);
}
/* ===== KPI strip ===== */
.kpi-row .kpi {
  background: var(--kpi-bg, #fff);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.kpi-label {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 0.3rem;
}

.kpi-value {
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.3px;
}

/* ===== ECharts card ===== */
.echart-card {
  height: 330px;
}
