/* ══════════════════════════════════════════════
   MediMind — History Page Styles
   css/history.css
══════════════════════════════════════════════ */

.history-wrap {
  max-width: 900px; margin: 0 auto; padding: 48px 40px; flex: 1;
}

.page-header { margin-bottom: 36px; }
.page-h1     { font-family: var(--serif); font-style: italic; font-size: 36px; color: var(--text); margin-bottom: 6px; }
.page-h1-sub { font-size: 14px; color: var(--text3); }

.hist-empty {
  text-align: center; padding: 80px 24px;
  background: white; border: 1.5px solid var(--wire2); border-radius: var(--r3);
}
.hist-empty-icon  { font-size: 48px; margin-bottom: 16px; }
.hist-empty-title { font-family: var(--serif); font-style: italic; font-size: 22px; margin-bottom: 8px; }
.hist-empty-sub   { font-size: 13px; color: var(--text3); }

.hist-list { display: flex; flex-direction: column; gap: 10px; }
.hist-item {
  background: white; border: 1.5px solid var(--wire2); border-radius: var(--r2);
  padding: 18px 22px; display: flex; align-items: center; gap: 16px;
  cursor: pointer; transition: all .15s;
}
.hist-item:hover { border-color: var(--ink); transform: translateX(4px); box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.hist-lozenge {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 0 0 3px transparent;
}
.hist-lozenge.EMERGENCY { background: var(--red);   box-shadow: 0 0 0 3px rgba(230,57,70,.15); }
.hist-lozenge.URGENT    { background: var(--amber);  box-shadow: 0 0 0 3px rgba(244,162,97,.2); }
.hist-lozenge.SELF_CARE { background: var(--green);  box-shadow: 0 0 0 3px rgba(42,157,92,.15); }

.hist-complaint { flex: 1; font-size: 14px; font-weight: 600; color: var(--text); }

.hist-badge {
  font-size: 10px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px;
}
.hist-badge.EMERGENCY { background: var(--red-lt);   color: var(--red); }
.hist-badge.URGENT    { background: var(--amber-lt); color: #c47028; }
.hist-badge.SELF_CARE { background: var(--green-lt); color: var(--green); }

.hist-date  { font-size: 11px; color: var(--text3); text-align: right; min-width: 80px; }
.hist-arrow { color: var(--text3); font-size: 18px; font-weight: 300; }
