/* =====================================================
   نظام مراقبة حساسات ESP32 — التصميم الكامل
   داواجن تك | Mobile First | الوضع الداكن الصناعي
   اتجاه: من اليمين لليسار (RTL)
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ── المتغيرات الأساسية ─────────────────────────────── */
:root {
  --bg-primary:    #080c14;
  --bg-secondary:  #0d1220;
  --bg-card:       #101827;
  --bg-card-hover: #141d30;

  --accent-blue:   #2d7ef7;
  --accent-cyan:   #00d4ff;
  --accent-teal:   #00c9a7;
  --accent-green:  #22d3a1;
  --accent-amber:  #f59e0b;
  --accent-orange: #f97316;
  --accent-red:    #ef4444;
  --accent-violet: #8b5cf6;

  --status-safe:    #22d3a1;
  --status-warning: #f59e0b;
  --status-danger:  #ef4444;

  --text-primary:   #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted:     #475569;

  --border-subtle: rgba(255,255,255,0.06);
  --border-card:   rgba(255,255,255,0.08);
  --border-active: rgba(45,126,247,0.4);

  --grad-blue:   linear-gradient(135deg, #1d4ed8, #2d7ef7);
  --grad-teal:   linear-gradient(135deg, #0891b2, #00d4ff);
  --grad-green:  linear-gradient(135deg, #059669, #22d3a1);
  --grad-amber:  linear-gradient(135deg, #d97706, #f59e0b);
  --grad-red:    linear-gradient(135deg, #dc2626, #ef4444);
  --grad-violet: linear-gradient(135deg, #6d28d9, #8b5cf6);
  --grad-orange: linear-gradient(135deg, #ea580c, #f97316);

  --glow-blue:  0 0 30px rgba(45,126,247,0.15);
  --glow-teal:  0 0 30px rgba(0,212,255,0.15);
  --glow-green: 0 0 30px rgba(34,211,161,0.15);
  --glow-amber: 0 0 30px rgba(245,158,11,0.15);
  --glow-red:   0 0 30px rgba(239,68,68,0.25);

  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --font-main: 'Tajawal', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --transition-fast:   0.15s ease;
  --transition-normal: 0.25s ease;
}

/* ── إعادة الضبط ────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  direction: rtl;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  direction: rtl;
  text-align: right;
  background-image:
    radial-gradient(ellipse at 80% 10%, rgba(45,126,247,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(0,212,255,0.04) 0%, transparent 50%);
}

/* ── Scrollbar ──────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 3px; }

/* ── تخطيط التطبيق ──────────────────────────────────── */
.app-layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── شريط التنقل ──────────────────────────────────────*/
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 12, 20, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 1rem;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  direction: rtl;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar-logo {
  width: 38px;
  height: 38px;
  background: var(--grad-blue);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--glow-blue);
  flex-shrink: 0;
}

.navbar-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0;
  line-height: 1.2;
}

.navbar-subtitle {
  font-size: 0.68rem;
  color: var(--accent-cyan);
  font-weight: 500;
  letter-spacing: 0;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  direction: rtl;
}

.navbar-nav a {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.navbar-nav a:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
}

.navbar-nav a.active {
  background: rgba(45,126,247,0.15);
  color: var(--accent-blue);
}

/* ── المحتوى الرئيسي ─────────────────────────────────*/
.main-content {
  flex: 1;
  padding: 1.25rem 1rem;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

/* ── رأس الصفحة ──────────────────────────────────────*/
.page-header {
  margin-bottom: 1.5rem;
}

.page-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.2;
}

.page-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.3rem;
}

/* ── شبكة البطاقات ───────────────────────────────────*/
.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
}

/* ── بطاقة الحساس ───────────────────────────────────*/
.sensor-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.125rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.sensor-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  opacity: 0.8;
  transition: opacity var(--transition-normal);
}

.sensor-card:hover {
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

/* ألوان البطاقات */
.card-temperature::before { background: var(--grad-orange); }
.card-temperature:hover    { box-shadow: var(--glow-amber); }

.card-humidity::before { background: var(--grad-teal); }
.card-humidity:hover   { box-shadow: var(--glow-teal); }

.card-ammonia::before { background: var(--grad-green); }
.card-ammonia:hover   { box-shadow: var(--glow-green); }

.card-connection::before { background: var(--grad-blue); }
.card-connection:hover   { box-shadow: var(--glow-blue); }

.card-update::before { background: var(--grad-violet); }
.card-records::before { background: var(--grad-blue); }

/* حالة الخطر */
.sensor-card.danger-state {
  border-color: rgba(239,68,68,0.35);
  animation: danger-pulse 2s ease-in-out infinite;
}
.sensor-card.danger-state::before {
  background: var(--grad-red);
  animation: danger-glow 2s ease-in-out infinite;
}

@keyframes danger-pulse {
  0%,100% { box-shadow: 0 4px 20px rgba(239,68,68,0.15); }
  50%     { box-shadow: 0 0 40px rgba(239,68,68,0.45); }
}
@keyframes danger-glow {
  0%,100% { opacity: 0.7; }
  50%     { opacity: 1; }
}

/* أيقونة البطاقة */
.card-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.875rem;
}

.card-temperature .card-icon { background: rgba(249,115,22,0.15); }
.card-humidity    .card-icon { background: rgba(0,212,255,0.12); }
.card-ammonia     .card-icon { background: rgba(34,211,161,0.12); }
.card-connection  .card-icon { background: rgba(45,126,247,0.12); }
.card-update      .card-icon { background: rgba(139,92,246,0.12); }
.card-records     .card-icon { background: rgba(45,126,247,0.12); }

/* تسمية البطاقة */
.card-label {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

/* قيمة البطاقة */
.card-value {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  transition: color var(--transition-fast);
  text-shadow: 0 0 20px rgba(255,255,255,0.15);
}

.card-temperature .card-value { color: #ff9f4a; text-shadow: 0 0 20px rgba(249,115,22,0.4); }
.card-humidity    .card-value { color: #38e8ff; text-shadow: 0 0 20px rgba(0,212,255,0.4); }
.card-ammonia     .card-value { color: #2dffc4; text-shadow: 0 0 20px rgba(34,211,161,0.4); }
.card-connection  .card-value { color: #ffffff; font-size: 1rem; font-weight: 700; }
.card-update      .card-value { color: #c4b5fd; font-size: 1rem; font-weight: 600; }
.card-records     .card-value { color: #93c5fd; text-shadow: 0 0 20px rgba(96,165,250,0.3); }

.card-unit {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  margin-right: 0.2rem;
}

/* شارة الحالة */
.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 0.5rem;
}

.badge-online  { background: rgba(34,211,161,0.12); color: var(--accent-green); }
.badge-offline { background: rgba(107,114,128,0.15); color: #6b7280; }
.badge-safe    { background: rgba(34,211,161,0.12); color: var(--accent-green); }
.badge-warning { background: rgba(245,158,11,0.12); color: var(--accent-amber); }
.badge-danger  { background: rgba(239,68,68,0.15); color: var(--accent-red); }

.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-online .badge-dot { animation: pulse-dot 1.5s ease-in-out infinite; }

@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.5; transform: scale(0.8); }
}

/* ── بانر التنبيه ────────────────────────────────────*/
.alert-banner {
  display: none;
  background: linear-gradient(135deg, rgba(220,38,38,0.15), rgba(239,68,68,0.08));
  border: 1px solid rgba(239,68,68,0.35);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  gap: 0.875rem;
  align-items: flex-start;
  direction: rtl;
}

.alert-banner.visible {
  display: flex;
  animation: slide-in 0.3s ease;
}

@keyframes slide-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.alert-icon { font-size: 1.5rem; flex-shrink: 0; animation: shake 0.5s ease infinite; }

@keyframes shake {
  0%,100% { transform: rotate(0deg); }
  25%     { transform: rotate(-5deg); }
  75%     { transform: rotate(5deg); }
}

.alert-title { font-size: 0.95rem; font-weight: 800; color: #fca5a5; margin-bottom: 0.2rem; }
.alert-text  { font-size: 0.82rem; color: rgba(252,165,165,0.75); line-height: 1.5; }

/* ── قسم البيانات ─────────────────────────────────────*/
.section {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  gap: 0.75rem;
  direction: rtl;
}

.section-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-badge {
  font-size: 0.68rem;
  background: rgba(45,126,247,0.12);
  color: var(--accent-blue);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-weight: 700;
}

/* ── الجدول ──────────────────────────────────────────*/
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  direction: rtl;
}

.data-table thead { background: rgba(255,255,255,0.03); }

.data-table th {
  padding: 0.75rem 1rem;
  text-align: right;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-muted);
  white-space: nowrap;
  border-bottom: 1px solid var(--border-subtle);
  letter-spacing: 0;
}

.data-table th.sortable {
  cursor: pointer;
  user-select: none;
  transition: color var(--transition-fast);
}
.data-table th.sortable:hover  { color: var(--text-secondary); }
.data-table th.sort-active     { color: var(--accent-blue); }

.data-table td {
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
  vertical-align: middle;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  white-space: nowrap;
  text-align: right;
}

.data-table tbody tr:hover td {
  background: rgba(255,255,255,0.025);
  color: var(--text-primary);
}
.data-table tbody tr:last-child td { border-bottom: none; }

.val-mono {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  direction: ltr;
  unicode-bidi: embed;
}

.val-badge {
  display: inline-flex;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.77rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.val-safe    { background: rgba(34,211,161,0.1);  color: #4ade80; }
.val-warning { background: rgba(245,158,11,0.1);  color: #fbbf24; }
.val-danger  { background: rgba(239,68,68,0.12);  color: #f87171; }
.val-normal  { background: rgba(255,255,255,0.05);color: var(--text-secondary); }

/* ── شريط الفلاتر ──────────────────────────────────── */
.filters-bar {
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  direction: rtl;
}

.filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  align-items: flex-end;
  direction: rtl;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
  min-width: 140px;
}

.filter-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0;
}

.filter-input,
.filter-select {
  background: var(--bg-primary);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  font-family: var(--font-main);
  transition: border-color var(--transition-fast);
  width: 100%;
  outline: none;
  height: 40px;
  direction: rtl;
  text-align: right;
}

.filter-input:focus,
.filter-select:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(45,126,247,0.15);
}

.filter-input::placeholder { color: var(--text-muted); }
.filter-select option { background: var(--bg-secondary); }

/* ── الأزرار ─────────────────────────────────────────*/
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 700;
  font-family: var(--font-main);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  height: 40px;
  text-decoration: none;
}

.btn-primary {
  background: var(--grad-blue);
  color: #fff;
  box-shadow: 0 2px 12px rgba(45,126,247,0.3);
}
.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(45,126,247,0.5);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text-secondary);
  border: 1px solid var(--border-card);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
}

.btn-sm { padding: 0.35rem 0.75rem; font-size: 0.78rem; height: 34px; }

/* ── ترقيم الصفحات ──────────────────────────────────*/
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 1rem;
  flex-wrap: wrap;
  direction: rtl;
}

.pagination-info {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0 0.5rem;
  white-space: nowrap;
}

.page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-main);
}
.page-btn:hover:not(:disabled) {
  background: rgba(45,126,247,0.15);
  color: var(--accent-blue);
  border-color: var(--border-active);
}
.page-btn.active {
  background: var(--grad-blue);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(45,126,247,0.3);
}
.page-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* ── مؤشر البث المباشر ─────────────────────────────── */
.live-indicator {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-green);
  letter-spacing: 0;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 0 0 rgba(34,211,161,0.5);
  animation: live-pulse 2s ease-in-out infinite;
}

@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,211,161,0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(34,211,161,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,211,161,0); }
}

/* ── دوارة التحميل ──────────────────────────────────*/
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.1);
  border-top-color: var(--accent-blue);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── صف الإحصاءات ────────────────────────────────────*/
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.stat-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 0.875rem;
  text-align: center;
}

.stat-chip-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.stat-chip-value {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  direction: ltr;
  unicode-bidi: embed;
}

/* ── الحالة الفارغة ──────────────────────────────────*/
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--text-muted);
}
.empty-state-icon { font-size: 2.5rem; margin-bottom: 0.75rem; opacity: 0.5; }
.empty-state-text { font-size: 0.9rem; line-height: 1.6; }

/* ── وسم الجهاز ──────────────────────────────────────*/
.device-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  background: rgba(139,92,246,0.1);
  color: #a78bfa;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 500;
  direction: ltr;
  unicode-bidi: embed;
}

/* ── أقراص الفترة الزمنية ──────────────────────────── */
.period-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  direction: rtl;
}

.period-pill {
  padding: 0.38rem 0.875rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-main);
}

.period-pill:hover,
.period-pill.active {
  background: rgba(45,126,247,0.15);
  color: var(--accent-blue);
  border-color: var(--border-active);
}

/* ── تحريك التحديث ───────────────────────────────────*/
@keyframes value-flash {
  0%   { opacity: 0.4; transform: scale(0.97); }
  50%  { opacity: 1;   transform: scale(1.02); }
  100% { opacity: 1;   transform: scale(1); }
}
.value-updated { animation: value-flash 0.4s ease; }

/* ── Skeleton ────────────────────────────────────────*/
.skeleton {
  background: linear-gradient(90deg,
    rgba(255,255,255,0.05) 25%,
    rgba(255,255,255,0.08) 50%,
    rgba(255,255,255,0.05) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
  color: transparent !important;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── التذييل ─────────────────────────────────────────*/
.app-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════
   استجابة — التابلت (≥ 640px)
   ══════════════════════════════════════════════════════ */
@media (min-width: 640px) {
  .main-content  { padding: 1.5rem; }
  .cards-grid    { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .card-value    { font-size: 2.4rem; }
  .stats-row     { grid-template-columns: repeat(6, 1fr); }
  .page-title    { font-size: 1.75rem; }
}

/* ══════════════════════════════════════════════════════
   استجابة — سطح المكتب (≥ 1024px)
   ══════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  .main-content  { padding: 2rem; }
  .cards-grid    { grid-template-columns: repeat(6, 1fr); gap: 1.125rem; }
  .navbar        { padding: 0 2rem; }
  .filters-row   { flex-wrap: nowrap; }
  .sensor-card   { padding: 1.375rem; }
}

@media (min-width: 1280px) {
  .card-value { font-size: 2.6rem; }
}
