.logs-view {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  background: transparent;
}

.logs-empty {
  min-height: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 28px 20px;
  text-align: center;
}

.logs-empty h2 {
  margin: 0;
  color: #0f172a;
  font-size: 18px;
}

.logs-empty p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 13px;
}

.system-logs-list.panel {
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .10), 0 1px 2px rgba(0, 0, 0, .06);
}

.system-logs-list .list-search {
  width: 280px;
}

.system-logs-list .status-dropdown-filter,
.system-logs-list .status-filter-trigger,
.system-logs-list .status-filter-menu {
  min-width: 154px;
}

.system-logs-list .status-filter-trigger > .mdi:first-child {
  color: var(--theme-primary);
}

.system-logs-list .refresh-interval-filter,
.system-logs-list .refresh-interval-trigger,
.system-logs-list .refresh-interval-menu {
  min-width: 148px;
}

.system-logs-list .refresh-interval-trigger > .mdi:first-child {
  color: var(--theme-primary);
}

.system-logs-list .icon-refresh-action {
  width: 40px;
  min-width: 40px;
  padding: 0;
}

.system-logs-list .icon-refresh-action .mdi {
  font-size: 18px;
}

.system-logs-list .system-log-table {
  min-width: 1260px;
}

.system-logs-list .col-time { width: 13%; }
.system-logs-list .col-level { width: 8%; }
.system-logs-list .col-event { width: 13%; }
.system-logs-list .col-module { width: 15%; }
.system-logs-list .col-outcome { width: 8%; }
.system-logs-list .col-summary { width: 27%; }
.system-logs-list .col-request { width: 16%; }

.system-logs-list .summary-cell {
  text-align: left;
  white-space: normal;
}

.system-logs-list .summary-cell strong,
.system-logs-list .summary-cell span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.system-logs-list .summary-cell strong {
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.system-logs-list .summary-cell span {
  margin-top: 4px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
  white-space: nowrap;
}

.system-logs-list .trace-cell {
  color: #2563eb;
  word-break: break-all;
  white-space: normal;
}

.system-logs-list .status-pill,
.system-logs-list .level-pill {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.system-logs-list .status-pill.success {
  border-color: var(--success-line);
  background: var(--success-soft);
  color: var(--success-active);
}

.system-logs-list .status-pill.warning,
.system-logs-list .level-pill.warning {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #f97316;
}

.system-logs-list .status-pill.danger,
.system-logs-list .level-pill.danger {
  border-color: #fecaca;
  background: #fef2f2;
  color: #dc2626;
}

.system-logs-list .status-pill.muted,
.system-logs-list .level-pill.muted {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #475569;
}

.system-logs-list .level-pill.info {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #2563eb;
}

.system-logs-list .inline-empty {
  padding: 36px 16px;
  background: transparent;
  color: #64748b;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 760px) {
  .logs-view {
    padding: 0;
  }

  .system-logs-list .document-filter-menu {
    width: 100%;
  }
}
