:root {
  --bg: #081120;
  --bg-accent: #0f1b31;
  --panel: rgba(15, 23, 42, 0.88);
  --panel-strong: rgba(30, 41, 59, 0.96);
  --border: rgba(148, 163, 184, 0.16);
  --text: #e5edf8;
  --muted: #94a3b8;
  --primary: #7c3aed;
  --primary-soft: rgba(124, 58, 237, 0.16);
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --shadow: 0 24px 60px rgba(2, 6, 23, 0.45);
  --shadow-soft: 0 14px 34px rgba(2, 6, 23, 0.24);
  --card-highlight: rgba(255, 255, 255, 0.04);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(124, 58, 237, 0.22), transparent 30%),
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.18), transparent 26%),
    linear-gradient(180deg, var(--bg) 0%, #0b1220 100%);
  color: var(--text);
  padding: 34px 18px 64px;
}

.app {
  max-width: 1280px;
  margin: 0 auto;
}


.app-header {
  margin-bottom: 30px;
}

.app-header__top {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 18px;
}

.top-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px;
  background: rgba(10, 18, 34, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.top-nav__item {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: #9fb3cf;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 11px 16px;
  border-radius: 14px;
  cursor: pointer;
  transition: 160ms ease;
}

.top-nav__item:hover {
  color: #eef4ff;
  background: rgba(148, 163, 184, 0.08);
}

.top-nav__item.is-active {
  color: #f8fbff;
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.24), rgba(124, 58, 237, 0.14));
  border-color: rgba(124, 58, 237, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  text-shadow: 0 10px 30px rgba(2, 6, 23, 0.28);
}

.app-subtitle {
  margin: 10px 0 0;
  text-align: center;
  color: #97a9c4;
  font-size: 1rem;
}


.app-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.app-main--tabs {
  min-height: 640px;
}

.dashboard-tab {
  display: block;
}

.dashboard-tab[hidden] {
  display: none !important;
}


.dashboard-shell {
  position: relative;
  background: linear-gradient(180deg, rgba(10, 18, 34, 0.94), rgba(10, 18, 34, 0.78));
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 30px;
  padding: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.dashboard-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(124, 58, 237, 0.1), transparent 26%),
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 22%);
  pointer-events: none;
}

.dashboard-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 26px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ddd6fe;
  background: rgba(91, 33, 182, 0.22);
  border: 1px solid rgba(124, 58, 237, 0.34);
  padding: 9px 13px;
  border-radius: 999px;
  margin-bottom: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.dashboard-title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.dashboard-subtitle {
  margin: 12px 0 0;
  color: #95a7c2;
  font-size: 1rem;
  line-height: 1.65;
  max-width: 760px;
}

.status-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 156px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.26);
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.16), rgba(34, 197, 94, 0.08));
  color: #d1fae5;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 0;
}

.stats-grid--system {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.stat-card {
  position: relative;
  background: linear-gradient(180deg, rgba(24, 35, 56, 0.96), rgba(13, 22, 39, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 24px;
  padding: 22px;
  text-align: left;
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--card-highlight), transparent 42%);
  pointer-events: none;
}

.stat-card__label {
  font-size: 0.94rem;
  color: #93a6c2;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.stat-card__value {
  margin-top: 18px;
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: #f8fbff;
}

.stats-grid--system .stat-card {
  min-height: 96px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(16, 25, 40, 0.82), rgba(10, 17, 29, 0.82));
  border: 1px solid rgba(148, 163, 184, 0.09);
  box-shadow: none;
}

.stats-grid--system .stat-card__label {
  font-size: 0.77rem;
  color: #89a0bf;
}

.stats-grid--system .stat-card__value {
  margin-top: 12px;
  font-size: clamp(0.95rem, 1.8vw, 1.18rem);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #d9e4f5;
  word-break: break-word;
}

.charts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 0 0 22px;
  align-items: start;
}

.chart-card {
  background: linear-gradient(180deg, rgba(18, 27, 43, 0.92), rgba(10, 18, 31, 0.92));
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 22px;
  padding: 16px 16px 12px;
  box-shadow: var(--shadow-soft);
}

.chart-card__title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #dbe7f8;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

.chart-card__body {
  position: relative;
  height: 220px;
}

.chart-card__body--donut {
  height: 220px;
}

.chart-card canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.summary-card {
  background: linear-gradient(180deg, rgba(10, 15, 27, 0.94), rgba(12, 19, 32, 0.88));
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 24px;
  padding: 20px 22px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.summary-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.04), transparent 38%);
  pointer-events: none;
}

.summary-card--highlights,
.summary-card--activity {
  background: linear-gradient(180deg, rgba(12, 19, 32, 0.96), rgba(10, 16, 28, 0.92));
}

.summary-card--meta {
  background: linear-gradient(180deg, rgba(9, 15, 26, 0.82), rgba(8, 13, 23, 0.78));
  border-color: rgba(148, 163, 184, 0.1);
}

.summary-card + .summary-card {
  margin-top: 16px;
}

.summary-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  text-align: left;
}

.summary-card__row:last-child {
  border-bottom: 0;
}

.summary-card__row span {
  color: #97a9c4;
  font-size: 0.96rem;
}

.summary-card__row strong {
  color: #f3f7fd;
  font-weight: 800;
  text-align: right;
}

.summary-card__row--header {
  padding-bottom: 16px;
}

.summary-card__row--header span {
  font-size: 1.05rem;
  color: #e7eefb;
  font-weight: 700;
}

.summary-card__row--header strong {
  color: #cdd9ee;
}

#avg-resolution-time,
#recent-activity-count,
#top-problems-count {
  color: #f8fafc;
}

.summary-card--meta .summary-card__row span {
  color: #8ea1bb;
  font-size: 0.88rem;
}

.summary-card--meta .summary-card__row strong {
  color: #d5e1f3;
  font-size: 0.92rem;
}

.staff-rank-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.staff-rank-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.42), rgba(10, 16, 28, 0.38));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.staff-rank-item__left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.staff-rank-item__position {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.18);
  border: 1px solid rgba(124, 58, 237, 0.24);
  color: #ddd6fe;
  font-weight: 800;
  font-size: 0.84rem;
  flex-shrink: 0;
}

.staff-rank-item__identity {
  color: #e5edf8;
  font-size: 0.95rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
}

.staff-rank-item__score {
  color: #9fb3cf;
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}


.staff-rank-empty {
  color: #90a4c1;
  font-size: 0.94rem;
  padding: 10px 2px 4px;
}

.alerts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0 22px;
}

.alert-card {
  position: relative;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.74), rgba(9, 15, 26, 0.72));
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.alert-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 48%);
  pointer-events: none;
}

.alert-card--high {
  border-color: rgba(239, 68, 68, 0.28);
  background: linear-gradient(180deg, rgba(69, 18, 24, 0.82), rgba(34, 12, 18, 0.78));
}

.alert-card--medium {
  border-color: rgba(245, 158, 11, 0.28);
  background: linear-gradient(180deg, rgba(61, 34, 11, 0.82), rgba(32, 19, 9, 0.78));
}

.alert-card--low,
.alert-card--ok {
  border-color: rgba(34, 197, 94, 0.2);
}

.alert-card__top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.alert-card__icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.alert-card__meta {
  min-width: 0;
}

.alert-card__title {
  color: #f8fbff;
  font-size: 0.97rem;
  font-weight: 800;
  line-height: 1.25;
}

.alert-card__level {
  color: #dbe7f8;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.alert-card__message {
  color: #d5e1f3;
  font-size: 0.92rem;
  line-height: 1.6;
}

.alert-card__footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #9fb3cf;
  font-size: 0.8rem;
  font-weight: 700;
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.problem-item {
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.56), rgba(10, 16, 28, 0.52));
  padding: 14px 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.problem-item--high {
  border-color: rgba(239, 68, 68, 0.24);
}

.problem-item--medium {
  border-color: rgba(245, 158, 11, 0.24);
}

.problem-item--low {
  border-color: rgba(59, 130, 246, 0.18);
}

.problem-item__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.problem-item__left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.problem-item__rank {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 800;
  color: #e9ddff;
  background: rgba(124, 58, 237, 0.18);
  border: 1px solid rgba(124, 58, 237, 0.24);
}

.problem-item__title {
  color: #eef4ff;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
}

.problem-item__hint {
  margin-top: 6px;
  color: #94a8c6;
  font-size: 0.84rem;
  line-height: 1.5;
}

.problem-item__value {
  color: #f8fbff;
  font-size: 1.05rem;
  font-weight: 900;
  white-space: nowrap;
}

.search-result-card {
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.5), rgba(10, 16, 28, 0.46));
  padding: 15px 16px;
  box-shadow: var(--shadow-soft);
}

.search-result-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.search-result-card__left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.search-result-card__rank {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 800;
  color: #ddd6fe;
  background: rgba(124, 58, 237, 0.18);
  border: 1px solid rgba(124, 58, 237, 0.24);
}

.search-result-card__title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: #f1f6ff;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
}

.search-result-card__title a {
  color: #f1f6ff;
  text-decoration: none;
}

.search-result-card__title a:hover {
  text-decoration: underline;
}

.search-result-card__badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #e0ecff;
  background: rgba(59, 130, 246, 0.16);
  border: 1px solid rgba(59, 130, 246, 0.22);
}

.search-result-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 7px;
  color: #98aac6;
  font-size: 0.8rem;
  font-weight: 700;
}

.search-result-card__age {
  color: #9fb3cf;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.search-result-card__excerpt {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  color: #d9e4f5;
  font-size: 0.9rem;
  line-height: 1.6;
}

.dashboard-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.dashboard-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dashboard-field--full {
  grid-column: 1 / -1;
}

.dashboard-field > span {
  color: #a8bad3;
  font-size: 0.88rem;
  font-weight: 700;
}

.dashboard-input {
  width: 100%;
  appearance: none;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(8, 15, 28, 0.86);
  color: #eef4ff;
  font: inherit;
  font-size: 0.95rem;
  padding: 13px 14px;
  border-radius: 14px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.dashboard-input::placeholder {
  color: #6f84a3;
}

.dashboard-input:focus {
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.14);
  background: rgba(10, 17, 30, 0.94);
}

.dashboard-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.dashboard-button {
  appearance: none;
  border: 1px solid rgba(124, 58, 237, 0.3);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.28), rgba(124, 58, 237, 0.18));
  color: #f8fbff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 11px 16px;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.dashboard-button:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.34), rgba(124, 58, 237, 0.22));
}

.dashboard-button--ghost {
  border-color: rgba(148, 163, 184, 0.16);
  background: rgba(148, 163, 184, 0.08);
  color: #d9e4f5;
}

.dashboard-button--ghost:hover {
  background: rgba(148, 163, 184, 0.12);
}

.dashboard-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.dashboard-button:disabled:hover {
  transform: none;
}

#recent-activity-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.event-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.46), rgba(10, 16, 28, 0.42));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.event-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.event-item__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.event-item__label {
  color: #deebfa;
  line-height: 1.48;
  font-size: 0.95rem;
}

.event-item__time {
  color: #8fa6c7;
  font-size: 0.82rem;
  font-weight: 700;
}

.event-item--created .event-item__icon {
  background: rgba(59, 130, 246, 0.16);
  border-color: rgba(59, 130, 246, 0.2);
}

.event-item--closed .event-item__icon {
  background: rgba(34, 197, 94, 0.16);
  border-color: rgba(34, 197, 94, 0.2);
}

.event-item--escalated .event-item__icon {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.2);
}

.event-item--security .event-item__icon {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.2);
}

.panel-state {
  background: linear-gradient(180deg, rgba(10, 18, 34, 0.94), rgba(10, 18, 34, 0.78));
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 30px;
  padding: 42px 28px;
  box-shadow: var(--shadow);
  text-align: center;
}

.panel-state--error {
  border-color: rgba(239, 68, 68, 0.24);
}

.panel-state__title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.panel-state__text {
  color: #97a9c4;
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid--system {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .alerts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .dashboard-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .status-chip {
    width: fit-content;
  }

  .charts-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .chart-card__body,
  .chart-card__body--donut {
    height: 200px;
  }
}

@media (max-width: 640px) {
  body {
    padding: 22px 14px 40px;
  }

  .app-main {
    gap: 18px;
  }

  .dashboard-shell,
  .panel-state {
    padding: 18px;
    border-radius: 24px;
  }

  .stats-grid,
  .stats-grid--system,
  .charts-grid {
    grid-template-columns: 1fr;
  }

  .summary-card__row,
  .staff-rank-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .summary-card__row strong,
  .staff-rank-item__score {
    text-align: left;
    white-space: normal;
  }

  .chart-card__body,
  .chart-card__body--donut {
    height: 180px;
  }

  .top-nav {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 8px;
  }

  .top-nav__item {
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .dashboard-form-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-actions {
    width: 100%;
  }

  .dashboard-button {
    width: 100%;
    justify-content: center;
  }
  .alerts-grid {
    grid-template-columns: 1fr;
  }

  .alert-card__footer,
  .problem-item__top,
  .search-result-card__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-result-card__age,
  .problem-item__value {
    white-space: normal;
  }
}