@import '../../../styles/variables.scss'; @mixin tag($bg, $color) { display: inline-block; padding: 4px 12px; border-radius: 8px; font-size: 22px; font-weight: 500; background: $bg; color: $color; } .diagnoses-page { min-height: 100vh; background: $bg; padding: 32px 24px; padding-bottom: 40px; } .page-title { font-family: 'Georgia', 'Times New Roman', serif; font-size: 30px; font-weight: bold; color: $tx; margin-bottom: 20px; display: block; padding-left: 4px; } .diagnosis-list { display: flex; flex-direction: column; gap: 16px; } .diagnosis-card { background: $card; border-radius: $r; padding: 28px; box-shadow: $shadow-sm; } .diagnosis-card__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; } .diagnosis-card__name { font-size: 28px; font-weight: bold; color: $tx; flex: 1; margin-right: 12px; } .diagnosis-card__status { @include tag($bd-l, $tx3); &.active { @include tag($acc-l, $acc); } &.resolved { @include tag($acc-l, $acc); } &.chronic { @include tag($wrn-l, $wrn); } } .diagnosis-card__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; } .diagnosis-card__type { @include tag($pri-l, $pri-d); &.secondary { @include tag($bd-l, $tx2); } &.comorbid { @include tag($wrn-l, $wrn); } } .diagnosis-card__code { font-size: 22px; color: $tx3; font-variant-numeric: tabular-nums; } .diagnosis-card__date { font-size: 22px; color: $tx2; display: block; } .diagnosis-card__notes { font-size: 22px; color: $tx2; display: block; margin-top: 8px; }