/* ═══════════════════════════════════════════════════════════════════════
   Pagadian ESSP2 — Design System
   Utility classes (ds-* prefix) for modern components.
   Ported from property_management_system design-system.css.
   Safe to use alongside essp-theme.css — no selector conflicts.
═══════════════════════════════════════════════════════════════════════ */

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ── Animations ── */
@keyframes ds-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ds-scale-in {
  from { opacity: 0; transform: scale(0.95) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes ds-shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}
@keyframes ds-toast-in {
  from { opacity: 0; transform: translateX(20px) scale(0.97); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes ds-spin  { to { transform: rotate(360deg); } }
@keyframes ds-pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* ── Wrapper ── */
.ds-wrapper { padding: 20px 16px 16px; }

/* ── Page header ── */
.ds-page-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.ds-page-header__left { flex: 1; }
.ds-page-header__title {
  font-size: 1.3rem; font-weight: 700; color: #1a1915;
  margin: 0 0 3px; letter-spacing: -0.3px;
}
.ds-page-header__sub { font-size: 0.83rem; color: #615d59; font-weight: 400; margin: 0; }

/* ── Card ── */
.ds-card {
  background: #ffffff; border-radius: 8px;
  box-shadow: rgba(0,0,0,0.04) 0px 4px 18px, rgba(0,0,0,0.027) 0px 2px 8px, rgba(0,0,0,0.02) 0px 1px 3px;
  padding: 20px; margin-bottom: 16px;
  animation: ds-fade-up 0.25s ease both;
  border: 1px solid rgba(0,0,0,0.08);
  transition: box-shadow 0.2s;
}
.ds-card:hover {
  box-shadow: rgba(0,0,0,0.06) 0px 6px 22px, rgba(0,0,0,0.04) 0px 2px 8px;
}
.ds-card--accent-green  { border-top: 3px solid #22c55e; }
.ds-card--accent-blue   { border-top: 3px solid #4299e1; }
.ds-card--accent-orange { border-top: 3px solid #f97316; }

/* ── Section title ── */
.ds-section-title {
  font-size: 0.72rem; font-weight: 600; color: #a39e98;
  text-transform: uppercase; letter-spacing: 0.8px;
  margin-bottom: 14px; display: flex; align-items: center; gap: 8px;
}
.ds-section-title::after { content: ""; flex: 1; height: 1px; background: rgba(0,0,0,0.06); }

/* ── Filters bar ── */
.ds-filters {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end;
  background: #ffffff; border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px; box-shadow: rgba(0,0,0,0.03) 0px 2px 8px;
  padding: 14px; margin-bottom: 16px;
}
.ds-filter-group { display: flex; flex-direction: column; gap: 4px; min-width: 130px; }
.ds-filter-group--grow { flex: 1; }
.ds-filter-group--btn { min-width: auto; }
.ds-filter-group label {
  font-size: 0.72rem; font-weight: 600; color: #a39e98;
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0;
}

/* ── Inputs ── */
.ds-input, .ds-select {
  height: 36px; border: 1px solid rgba(0,0,0,0.12); border-radius: 6px;
  padding: 0 12px; font-size: 0.85rem; color: rgba(0,0,0,0.9);
  background: #ffffff; outline: none;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
  font-family: inherit;
}
.ds-input:focus, .ds-select:focus {
  border-color: #f97316; box-shadow: 0 0 0 3px rgba(249,115,22,0.14); background: #fff;
}
.ds-input::placeholder, .ds-select::placeholder { color: #a39e98; }
.ds-input { width: 100%; }

/* ── Buttons ── */
.ds-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 18px; border-radius: 9px; font-size: 0.85rem; font-weight: 600;
  cursor: pointer; border: none;
  transition: all 0.18s cubic-bezier(0.4,0,0.2,1);
  text-decoration: none; letter-spacing: 0.1px;
  position: relative; overflow: hidden; font-family: inherit;
}
.ds-btn:focus { outline: none; }
.ds-btn:active { transform: scale(0.96) !important; }
.ds-btn::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(255,255,255,0); transition: background 0.15s; border-radius: inherit;
}
.ds-btn:hover::after { background: rgba(255,255,255,0.10); }

.ds-btn--primary {
  background: linear-gradient(135deg,#fb923c 0%,#ea580c 100%) !important;
  color: #fff !important; box-shadow: 0 2px 8px rgba(234,88,12,0.28) !important;
}
.ds-btn--primary:hover {
  box-shadow: 0 5px 16px rgba(234,88,12,0.38) !important;
  transform: translateY(-1px); color: #fff !important;
}
.ds-btn--secondary {
  background: #f6f5f4 !important; color: #615d59 !important;
  border: 1px solid rgba(0,0,0,0.1) !important; box-shadow: none !important;
}
.ds-btn--secondary:hover {
  background: #ece9e6 !important; color: rgba(0,0,0,0.85) !important;
  border-color: rgba(0,0,0,0.15) !important;
}
.ds-btn--secondary::after { display: none; }
.ds-btn--success {
  background: linear-gradient(135deg,#4ade80 0%,#16a34a 100%) !important;
  color: #fff !important; box-shadow: 0 2px 8px rgba(22,163,74,0.28) !important;
}
.ds-btn--success:hover {
  box-shadow: 0 5px 16px rgba(22,163,74,0.38) !important;
  transform: translateY(-1px); color: #fff !important;
}
.ds-btn--danger {
  background: linear-gradient(135deg,#fc8181 0%,#e53e3e 100%) !important;
  color: #fff !important; box-shadow: 0 2px 8px rgba(229,62,62,0.25) !important;
}
.ds-btn--danger:hover {
  box-shadow: 0 5px 14px rgba(229,62,62,0.35) !important;
  transform: translateY(-1px); color: #fff !important;
}
.ds-btn--warning {
  background: linear-gradient(135deg,#f6c76b 0%,#d97706 100%) !important;
  color: #fff !important; box-shadow: 0 2px 8px rgba(217,119,6,0.25) !important;
}
.ds-btn--warning:hover {
  box-shadow: 0 5px 14px rgba(217,119,6,0.35) !important;
  transform: translateY(-1px); color: #fff !important;
}
.ds-btn--outline {
  background: transparent !important; color: #ea580c !important;
  border: 1.5px solid #ea580c !important; box-shadow: none !important;
}
.ds-btn--outline:hover { background: rgba(249,115,22,0.06) !important; color: #c2410c !important; }
.ds-btn--outline::after { display: none; }
.ds-btn--sm { padding: 5px 12px !important; font-size: 0.78rem !important; border-radius: 7px !important; }
.ds-btn--loading { pointer-events: none !important; opacity: 0.8 !important; }
.ds-btn--loading::before {
  content: ""; width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.35); border-top-color: #fff;
  border-radius: 50%; animation: ds-spin 0.65s linear infinite; flex-shrink: 0;
}

/* ── Action icon buttons ── */
.ds-action-btn {
  width: 30px; height: 30px; border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.08); background: #f6f5f4;
  cursor: pointer; font-size: 0.78rem; margin: 0 2px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.15s cubic-bezier(0.4,0,0.2,1);
}
.ds-action-btn:hover { transform: translateY(-1px); box-shadow: 0 3px 8px rgba(0,0,0,0.12); }
.ds-action-btn:active { transform: scale(0.92); }
.ds-action-btn--view    { background: #fff7ed; color: #c2410c; border: 1px solid rgba(249,115,22,0.2); }
.ds-action-btn--view:hover    { background: #fed7aa; }
.ds-action-btn--edit    { background: #fefce8; color: #854d0e; border: 1px solid rgba(234,179,8,0.2); }
.ds-action-btn--edit:hover    { background: #fde68a; }
.ds-action-btn--print   { background: #f6f5f4; color: #615d59; border: 1px solid rgba(0,0,0,0.08); }
.ds-action-btn--print:hover   { background: #ece9e6; }
.ds-action-btn--cancel  { background: #fef2f2; color: #991b1b; border: 1px solid rgba(239,68,68,0.15); }
.ds-action-btn--cancel:hover  { background: #fecaca; }
.ds-action-btn--delete  { background: #fef2f2; color: #991b1b; border: 1px solid rgba(239,68,68,0.15); }
.ds-action-btn--delete:hover  { background: #fecaca; }
.ds-action-btn--approve { background: #f0fdf4; color: #166534; border: 1px solid rgba(34,197,94,0.15); }
.ds-action-btn--approve:hover { background: #dcfce7; }
.ds-action-btn--reject  { background: #fef2f2; color: #991b1b; border: 1px solid rgba(239,68,68,0.15); }
.ds-action-btn--reject:hover  { background: #fecaca; }
.ds-action-btn--process { background: #fff7ed; color: #c2410c; border: 1px solid rgba(249,115,22,0.2); }
.ds-action-btn--process:hover { background: #fed7aa; }

/* ── Tables ── */
.ds-table-wrap { overflow-x: auto; }
.ds-table-wrap::-webkit-scrollbar       { height: 4px; }
.ds-table-wrap::-webkit-scrollbar-thumb { background: #c5d0de; border-radius: 99px; }

.ds-table { width: 100%; border-collapse: collapse; font-size: 0.84rem; }
.ds-table thead th {
  background: #f6f5f4; border-bottom: 2px solid rgba(0,0,0,0.08);
  padding: 11px 14px; font-weight: 600; color: #615d59;
  text-align: left; font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.4px; white-space: nowrap;
}
.ds-table tbody tr { transition: background 0.12s; }
.ds-table tbody tr:nth-child(even) td { background: #fafaf9; }
.ds-table tbody tr:hover td { background: #fff7ed !important; }
.ds-table tbody td {
  padding: 11px 14px; border-bottom: 1px solid rgba(0,0,0,0.06);
  vertical-align: middle; color: rgba(0,0,0,0.85); font-size: 0.85rem;
}
.ds-table tfoot td {
  padding: 11px 14px; background: #f6f5f4;
  border-top: 2px solid rgba(0,0,0,0.08); font-weight: 700;
}

/* ── Vue Tables 2 override ── */
.ds-vue-table .VueTables__search-field input {
  border: 1px solid rgba(0,0,0,0.12) !important; border-radius: 6px !important;
  font-size: 0.85rem !important; padding: 6px 12px !important; height: 36px !important;
  background: #ffffff !important; font-family: inherit !important; transition: all 0.18s !important;
}
.ds-vue-table .VueTables__search-field input:focus {
  border-color: #f97316 !important; box-shadow: 0 0 0 3px rgba(249,115,22,0.14) !important;
}
.ds-vue-table table { font-size: 0.85rem; }
.ds-vue-table table thead th {
  background: #f6f5f4 !important; border-bottom: 2px solid rgba(0,0,0,0.08) !important;
  padding: 11px 14px !important; font-weight: 600 !important; color: #615d59 !important;
  font-size: 0.75rem !important; text-transform: uppercase !important; letter-spacing: 0.4px !important;
}
.ds-vue-table table td {
  padding: 11px 14px !important; border-bottom: 1px solid rgba(0,0,0,0.06) !important;
  vertical-align: middle !important; transition: background 0.12s !important; color: rgba(0,0,0,0.85) !important;
}
.ds-vue-table table tr:nth-child(even) td { background: #fafaf9 !important; }
.ds-vue-table table tr:hover td { background: #fff7ed !important; }
.ds-vue-table .pagination {
  display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
  justify-content: center; margin: 0; padding: 14px 18px;
  border-top: 1px solid rgba(0,0,0,0.06); background: #f6f5f4;
  border-radius: 0 0 8px 8px; list-style: none;
}
.ds-vue-table .pagination .page-item .page-link {
  width: 32px; height: 32px; border-radius: 6px !important;
  border: 1px solid rgba(0,0,0,0.08) !important; background: #fff !important;
  color: #615d59 !important; font-size: 0.82rem !important; font-weight: 600 !important;
  cursor: pointer; display: inline-flex !important; align-items: center !important;
  justify-content: center !important; transition: all 0.15s !important;
  font-family: inherit !important; padding: 0 !important; line-height: 1 !important; box-shadow: none !important;
}
.ds-vue-table .pagination .page-item .page-link:hover {
  background: #f6f5f4 !important; border-color: rgba(0,0,0,0.14) !important; color: rgba(0,0,0,0.85) !important;
}
.ds-vue-table .pagination .page-item.active .page-link {
  background: #ea580c !important; color: #fff !important; border-color: #ea580c !important;
}
.ds-vue-table .pagination .page-item.disabled .page-link {
  opacity: 0.4 !important; cursor: not-allowed !important; pointer-events: none !important;
}

/* ── Badges ── */
.ds-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 4px; font-size: 0.72rem;
  font-weight: 600; letter-spacing: 0.3px; white-space: nowrap;
}
.ds-badge--blue   { background: #eff6ff; color: #1d4ed8; }
.ds-badge--teal   { background: #f0fdf4; color: #166534; }
.ds-badge--green  { background: #f0fdf4; color: #166534; }
.ds-badge--orange { background: #fff7ed; color: #c2410c; }
.ds-badge--red    { background: #fef2f2; color: #991b1b; }
.ds-badge--gray   { background: #f6f5f4; color: #615d59; }
.ds-badge--yellow { background: #fefce8; color: #854d0e; }
.ds-badge--purple { background: #ede9fe; color: #7c3aed; }
.ds-badge--dot::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; flex-shrink: 0;
  animation: ds-pulse-dot 1.5s ease-in-out infinite;
}

/* ── Empty / loading states ── */
.ds-loading, .ds-empty { text-align: center; padding: 56px 24px; color: #8898a8; }
.ds-loading i, .ds-empty i { display: block; font-size: 2rem; margin-bottom: 12px; color: #c5d0de; }
.ds-loading p, .ds-empty p { margin: 0; font-size: 0.9rem; line-height: 1.6; }
.ds-loading i { animation: ds-spin 1s linear infinite; }

/* ── Skeleton ── */
.ds-skeleton {
  background: linear-gradient(90deg,#f0f4f8 25%,#e2e8f0 50%,#f0f4f8 75%);
  background-size: 600px 100%; animation: ds-shimmer 1.6s infinite; border-radius: 6px;
}
.ds-skeleton--text   { height: 14px; margin-bottom: 8px; }
.ds-skeleton--title  { height: 20px; margin-bottom: 12px; width: 60%; }
.ds-skeleton--avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }
.ds-skeleton--btn    { height: 34px; width: 100px; border-radius: 9px; }
.ds-skeleton--full   { width: 100%; }

/* ── Banners ── */
.ds-banner {
  padding: 12px 16px; border-radius: 10px; font-size: 0.85rem; font-weight: 600;
  margin-bottom: 14px; display: flex; align-items: center; gap: 10px;
  animation: ds-fade-up 0.2s ease both; border: 1px solid transparent;
}
.ds-banner--success { background: #f0fdf4; color: #15803d; border-color: #bbf7d0; border-left: 4px solid #48bb78; }
.ds-banner--error   { background: #fff5f5; color: #b91c1c; border-color: #fecaca; border-left: 4px solid #fc8181; }
.ds-banner--info    { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; border-left: 4px solid #6899d0; }
.ds-banner--warning { background: #fffbeb; color: #b45309; border-color: #fde68a; border-left: 4px solid #f6c76b; }

/* ── Toast notifications ── */
.ds-toast {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px;
  border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
  font-size: 0.85rem; font-weight: 500;
  animation: ds-toast-in 0.28s cubic-bezier(0.34,1.2,0.64,1) both;
  pointer-events: all; background: #fff; border: 1px solid #e8edf4;
  border-left: 4px solid #6899d0; color: #2d3748; cursor: pointer;
  transition: opacity 0.2s, transform 0.2s; font-family: inherit;
}
.ds-toast__icon { font-size: 1rem; margin-top: 1px; flex-shrink: 0; }
.ds-toast__body { flex: 1; min-width: 0; }
.ds-toast__title { font-weight: 700; font-size: 0.82rem; margin-bottom: 2px; color: #1a2332; }
.ds-toast__msg   { font-size: 0.81rem; color: #718096; line-height: 1.4; }
.ds-toast__close { background: none; border: none; cursor: pointer; color: #8898a8; padding: 0; font-size: 0.85rem; line-height: 1; margin-top: 1px; flex-shrink: 0; }
.ds-toast__close:hover { color: #4a5568; }
.ds-toast--success { border-left-color: #48bb78; }
.ds-toast--success .ds-toast__icon { color: #15803d; }
.ds-toast--error   { border-left-color: #fc8181; }
.ds-toast--error .ds-toast__icon   { color: #b91c1c; }
.ds-toast--warning { border-left-color: #f6c76b; }
.ds-toast--warning .ds-toast__icon { color: #b45309; }
.ds-toast--info    { border-left-color: #6899d0; }
.ds-toast--info .ds-toast__icon    { color: #1d4ed8; }

/* ── Modal overlay (ds-modal variant — for custom modals outside Bootstrap) ── */
.ds-modal-overlay {
  position: fixed; inset: 0; background: rgba(10,20,35,0.5);
  z-index: 1050; display: flex; align-items: center; justify-content: center;
  padding: 16px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.ds-modal {
  background: #fff; border-radius: 10px; width: 100%; max-height: 90vh;
  overflow-y: auto;
  box-shadow: rgba(0,0,0,0.05) 0px 10px 38px, rgba(0,0,0,0.04) 0px 4px 18px, rgba(0,0,0,0.03) 0px 2px 8px;
  animation: ds-scale-in 0.25s cubic-bezier(0.34,1.4,0.64,1) both;
  border: 1px solid rgba(0,0,0,0.08);
}
.ds-modal--lg { max-width: 880px; }
.ds-modal--md { max-width: 620px; }
.ds-modal--sm { max-width: 440px; }
.ds-modal__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid rgba(0,0,0,0.08);
  background: #ffffff; border-radius: 10px 10px 0 0;
}
.ds-modal__header h5 { margin: 0; font-size: 0.95rem; font-weight: 700; color: rgba(0,0,0,0.92); letter-spacing: -0.2px; }
.ds-modal__close {
  background: #f6f5f4; border: none; width: 30px; height: 30px;
  border-radius: 6px; cursor: pointer; color: #615d59;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; transition: all 0.15s;
}
.ds-modal__close:hover { background: #ece9e6; color: rgba(0,0,0,0.85); transform: scale(1.05); }
.ds-modal__body   { padding: 20px; }
.ds-modal__footer {
  padding: 14px 20px; border-top: 1px solid rgba(0,0,0,0.08);
  background: #f6f5f4; display: flex; gap: 10px; justify-content: flex-end;
  border-radius: 0 0 10px 10px;
}
.ds-modal--danger .ds-modal__header  { border-top: 3px solid #fc8181; border-radius: 10px 10px 0 0; }
.ds-modal--success .ds-modal__header { border-top: 3px solid #48bb78; border-radius: 10px 10px 0 0; }
.ds-modal--warning .ds-modal__header { border-top: 3px solid #f6c76b; border-radius: 10px 10px 0 0; }
.ds-modal--info .ds-modal__header    { border-top: 3px solid #4299e1; border-radius: 10px 10px 0 0; }

/* ── Info grid ── */
.ds-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.ds-info-item {
  display: flex; flex-direction: column; gap: 2px; font-size: 0.85rem;
  padding: 10px 12px; border-bottom: 1px solid rgba(0,0,0,0.06);
}
.ds-info-item--full { grid-column: 1/-1; }
.ds-info-label { font-weight: 600; color: #a39e98; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.5px; }
.ds-info-value { color: #1a2332; font-weight: 500; font-size: 0.88rem; }

/* ── Stat cards (dashboard) ── */
.dash-section-label {
  font-size: 0.72rem; font-weight: 600; color: #a39e98;
  text-transform: uppercase; letter-spacing: 0.8px;
  margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.dash-section-label::after { content: ""; flex: 1; height: 1px; background: rgba(0,0,0,0.06); }

.dash-stat-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 0;
}
@media (max-width: 1100px) { .dash-stat-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 768px)  { .dash-stat-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px)  { .dash-stat-grid { grid-template-columns: 1fr 1fr; } }

.dash-stat-card {
  background: #ffffff; border-radius: 8px;
  box-shadow: rgba(0,0,0,0.04) 0px 4px 18px, rgba(0,0,0,0.027) 0px 2px 8px;
  padding: 18px 20px; display: flex; align-items: center; gap: 14px;
  animation: ds-fade-up 0.25s ease both;
  border: 1px solid rgba(0,0,0,0.08);
  transition: all 0.22s cubic-bezier(0.4,0,0.2,1);
  position: relative; overflow: hidden;
}
.dash-stat-card::before {
  content: ""; position: absolute; top: -24px; right: -24px;
  width: 88px; height: 88px; border-radius: 50%;
  opacity: 0.04; background: currentColor; pointer-events: none;
}
.dash-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: rgba(0,0,0,0.06) 0px 6px 22px, rgba(0,0,0,0.04) 0px 2px 8px;
}
.dash-stat-card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0; position: relative; z-index: 1;
}
.dash-stat-card__body { position: relative; z-index: 1; }
.dash-stat-card__value {
  font-size: 1.7rem; font-weight: 700; color: rgba(0,0,0,0.92);
  line-height: 1; margin-bottom: 4px; letter-spacing: -0.5px;
}
.dash-stat-card__label {
  font-size: 0.78rem; color: #615d59; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.4px;
}
.dash-stat-card--blue   { border-left: 4px solid #f97316; }
.dash-stat-card--blue   .dash-stat-card__icon { background: linear-gradient(135deg,#fff7ed,#fed7aa); color: #c2410c; }
.dash-stat-card--teal   { border-left: 4px solid #14b8a6; }
.dash-stat-card--teal   .dash-stat-card__icon { background: linear-gradient(135deg,#f0fdfa,#99f6e4); color: #0f766e; }
.dash-stat-card--green  { border-left: 4px solid #22c55e; }
.dash-stat-card--green  .dash-stat-card__icon { background: linear-gradient(135deg,#f0fdf4,#bbf7d0); color: #166534; }
.dash-stat-card--orange { border-left: 4px solid #f97316; }
.dash-stat-card--orange .dash-stat-card__icon { background: linear-gradient(135deg,#fff7ed,#fed7aa); color: #c2410c; }
.dash-stat-card--red    { border-left: 4px solid #ef4444; }
.dash-stat-card--red    .dash-stat-card__icon { background: linear-gradient(135deg,#fef2f2,#fecaca); color: #991b1b; }
.dash-stat-card--purple { border-left: 4px solid #a78bfa; }
.dash-stat-card--purple .dash-stat-card__icon { background: linear-gradient(135deg,#ede9fe,#ddd6fe); color: #7c3aed; }
.dash-stat-card--gray   { border-left: 4px solid #8898a8; }
.dash-stat-card--gray   .dash-stat-card__icon { background: linear-gradient(135deg,#f6f5f4,#ece9e6); color: #615d59; }

/* ── Pending cards ── */
.dash-pending-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
@media (max-width: 900px) { .dash-pending-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .dash-pending-grid { grid-template-columns: 1fr 1fr; } }

.dash-pending-card {
  background: #fff; border-radius: 8px;
  box-shadow: rgba(0,0,0,0.04) 0px 4px 18px, rgba(0,0,0,0.027) 0px 2px 8px;
  padding: 20px 16px; display: flex; flex-direction: column;
  align-items: center; text-align: center; text-decoration: none; gap: 6px;
  transition: all 0.22s cubic-bezier(0.4,0,0.2,1);
  animation: ds-fade-up 0.25s ease both;
  border: 1px solid rgba(0,0,0,0.08);
  border-top: 3px solid rgba(0,0,0,0.08);
}
.dash-pending-card:hover {
  transform: translateY(-3px);
  box-shadow: rgba(0,0,0,0.06) 0px 6px 22px, rgba(0,0,0,0.04) 0px 2px 8px;
  text-decoration: none; border-top-color: #f97316;
}
.dash-pending-card__count       { font-size: 2.4rem; font-weight: 800; color: #c5d0de; line-height: 1; letter-spacing: -1px; }
.dash-pending-card__count--active { color: #fc8181; }
.dash-pending-card__label       { font-size: 0.72rem; font-weight: 700; color: #4a5568; text-transform: uppercase; letter-spacing: 0.4px; }
.dash-pending-card__icon        { font-size: 1.1rem; color: #c5d0de; margin-top: 4px; }

/* ── Pagination bar ── */
.ds-pagination-bar {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 14px 18px; border-top: 1px solid rgba(0,0,0,0.06);
  background: #f6f5f4; border-radius: 0 0 8px 8px;
}
.ds-pagination { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: center; }
.ds-page-btn {
  width: 32px; height: 32px; border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.08); background: #fff; color: #615d59;
  font-size: 0.82rem; font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.15s; font-family: inherit;
}
.ds-page-btn:hover { background: #f6f5f4; border-color: rgba(0,0,0,0.14); color: rgba(0,0,0,0.85); }
.ds-page-btn--active { background: #ea580c !important; color: #fff !important; border-color: #ea580c !important; }
.ds-page-btn--disabled { opacity: 0.4; cursor: not-allowed; }
.ds-page-btn--disabled:hover { background: #fff; border-color: rgba(0,0,0,0.08); color: #615d59; }

/* ── Utilities ── */
.ds-text-muted  { color: #8898a8; font-size: 0.78rem; }
.ds-text-sm     { font-size: 0.78rem; }
.ds-text-right  { text-align: right; }
.ds-text-center { text-align: center; }
.ds-mt-3        { margin-top: 12px; }
.ds-mr-1        { margin-right: 4px; }
.ds-mr-2        { margin-right: 8px; }
.ds-mb-0        { margin-bottom: 0; }
.ds-label {
  display: block; font-size: 0.72rem; font-weight: 700; color: #8898a8;
  text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 5px;
}
.ds-divider { border: none; border-top: 1px solid rgba(0,0,0,0.06); margin: 16px 0; }
