/* ═══ Warranty Tracker Module Styles ═══ */

.warranty-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border-radius: 16px; padding: 16px;
  margin-bottom: 10px; cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  transition: transform .15s; -webkit-tap-highlight-color: transparent;
}
.warranty-card:active { transform: scale(0.98); }
.warranty-card__icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.warranty-card__info { flex: 1; min-width: 0; }
.warranty-card__name { font-size: 15px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.warranty-card__meta { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
.warranty-card__status {
  padding: 4px 10px; border-radius: 20px; font-size: 11px;
  font-weight: 600; white-space: nowrap; flex-shrink: 0;
}
.warranty-card__status--active { background: #00B89415; color: #00B894; }
.warranty-card__status--expiring { background: #F39C1215; color: #F39C12; }
.warranty-card__status--expired { background: #E1705515; color: #E17055; }

.warranty-filter-chips {
  display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.warranty-filter-chips::-webkit-scrollbar { display: none; }
.warranty-chip {
  padding: 6px 14px; border-radius: 20px;
  font-size: 13px; font-weight: 500; white-space: nowrap;
  background: var(--card); color: var(--text-secondary);
  border: 1.5px solid var(--border); cursor: pointer;
  transition: all .15s; -webkit-tap-highlight-color: transparent;
}
.warranty-chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.warranty-stat-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 16px;
}
.warranty-stat-card {
  background: var(--card); border-radius: 12px; padding: 12px;
  text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,.03);
}
.warranty-stat-card__value { font-size: 20px; font-weight: 700; color: var(--primary); }
.warranty-stat-card__label { font-size: 11px; color: var(--text-secondary); margin-top: 2px; text-transform: uppercase; letter-spacing: .3px; }
