.plan-card-link:hover {
  text-decoration: none;
}

.admin-card {
  border: 1px solid var(--box-shadow-color-2);
  color: gray;
  width: auto;
  border-radius: 3px;
  margin: 11px 0;
  padding: 10px;
}
.admin-card:hover {
  box-shadow: 3px 3px 6px var(--color-text-light);
}

.big-text-area {
  height: 150px !important;
}

.active-jobs-dashboard {
  color: #2f3538;
}

.active-jobs-dashboard,
.active-jobs-dashboard *,
.active-jobs-dashboard *::before,
.active-jobs-dashboard *::after {
  transition: none !important;
  transition-delay: 0s !important;
}

.active-jobs-dashboard__card {
  border: 1px solid rgba(97, 102, 104, 0.18);
  box-shadow: 0 6px 18px rgba(47, 53, 56, 0.06);
}

.active-jobs-dashboard__heatmap {
  min-width: 760px;
}

.active-jobs-dashboard__chart-filter {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.active-jobs-dashboard__chart-filter-control {
  align-items: center;
  display: flex;
  gap: 8px;
}

.active-jobs-dashboard__chart-filter select {
  width: auto;
}

.active-jobs-dashboard__chart {
  position: relative;
}

.active-jobs-chart-tooltip {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(47, 53, 56, 0.08);
  color: #000;
  font-family: 'Gotham-Book', 'Helvetica', 'sans-serif';
  left: 0;
  line-height: 1.3;
  opacity: 0;
  padding: 8px 10px;
  pointer-events: none;
  position: absolute;
  top: 0;
  transform: translate(-50%, calc(-100% - 12px));
  transition: none;
  white-space: nowrap;
  z-index: 10;
}

.active-jobs-chart-tooltip--below {
  transform: translate(-50%, 12px);
}

.active-jobs-chart-tooltip--visible {
  opacity: 1;
}

.active-jobs-chart-tooltip__title {
  color: #5a5a5a;
  font-family: 'Gotham-Medium', 'Helvetica', 'sans-serif';
  font-size: 0.75rem;
  line-height: 1.2;
  margin-bottom: 5px;
}

.active-jobs-chart-tooltip__rows {
  column-gap: 16px;
  display: grid;
  grid-template-columns: max-content max-content;
}

.active-jobs-chart-tooltip__row {
  align-items: baseline;
  display: contents;
  font-size: 0.87rem;
}

.active-jobs-chart-tooltip__label {
  color: #2f3538;
  font-family: 'Gotham-Book', 'Helvetica', 'sans-serif';
  font-weight: 400;
}

.active-jobs-chart-tooltip__value {
  color: #111827;
  font-family: 'Gotham-Medium', 'Helvetica', 'sans-serif';
  font-weight: 700;
  text-align: right;
}

.active-jobs-dashboard__nav {
  border-bottom: 1px solid rgba(97, 102, 104, 0.18);
  display: flex;
  gap: 0;
  overflow-x: auto;
}

.active-jobs-dashboard__nav-link {
  border-bottom: 3px solid transparent;
  color: #616668;
  display: block;
  font-weight: 700;
  padding: 10px 24px 12px;
  text-decoration: none;
  white-space: nowrap;
}

.active-jobs-dashboard__nav-link:hover {
  color: #2f3538;
  text-decoration: none;
}

.active-jobs-dashboard__nav-link.active {
  border-bottom-color: #e9c40e;
  color: #2f3538;
}

.active-jobs-dashboard__stat-card {
  --active-jobs-dashboard-stat-color: #a1a1aa;
  background: white;
  border: 1px solid rgba(97, 102, 104, 0.18);
  border-radius: 6px;
  color: #2f3538;
  display: block;
  height: 100%;
  padding: 14px;
  text-decoration: none;
}

.active-jobs-dashboard__stat-card--amber {
  --active-jobs-dashboard-stat-color: #fbbf24;
}

.active-jobs-dashboard__stat-card--blue {
  --active-jobs-dashboard-stat-color: #3b82f6;
}

.active-jobs-dashboard__stat-card--green {
  --active-jobs-dashboard-stat-color: #22c55e;
}

.active-jobs-dashboard__stat-card--neutral,
.active-jobs-dashboard__stat-card--zinc {
  --active-jobs-dashboard-stat-color: #a1a1aa;
}

.active-jobs-dashboard__stat-card--purple {
  --active-jobs-dashboard-stat-color: #a855f7;
}

.active-jobs-dashboard__stat-card--red {
  --active-jobs-dashboard-stat-color: #ef4444;
}

.active-jobs-dashboard__stat-card:hover {
  color: #2f3538;
  text-decoration: none;
}

.active-jobs-dashboard__stat-card.active {
  border-color: #e9c40e;
}

.active-jobs-dashboard__stat-label {
  align-items: center;
  color: #616668;
  display: flex;
  font-size: 0.78rem;
  gap: 7px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.active-jobs-dashboard__stat-indicator {
  background: var(--active-jobs-dashboard-stat-color);
  border-radius: 999px;
  display: inline-flex;
  flex: 0 0 8px;
  height: 8px;
  width: 8px;
}

.active-jobs-dashboard__stat-count {
  color: #111827;
  display: block;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 4px;
}

.active-jobs-dashboard__table {
  font-size: 0.88rem;
  margin-bottom: 0;
}

.active-jobs-dashboard__table th {
  border-top: 0;
  color: #616668;
  white-space: nowrap;
}

.active-jobs-dashboard__table td {
  font-family: 'Gotham-Book', 'Helvetica', 'sans-serif';
  font-weight: 400;
  vertical-align: middle;
}

.active-jobs-dashboard__task-cell {
  max-width: 520px;
  min-width: 340px;
}

.active-jobs-dashboard__task-key {
  color: #111827;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.active-jobs-dashboard__task-class {
  color: #616668;
  display: block;
  font-size: 0.82rem;
  line-height: 1.35;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

a.active-jobs-dashboard__task-class:hover {
  color: #2f3538;
}

.active-jobs-dashboard__schedule-description {
  color: #616668;
  display: block;
  font-size: 0.82rem;
  line-height: 1.35;
  margin-top: 4px;
}

.active-jobs-dashboard__timestamp {
  white-space: nowrap;
}

.active-jobs-dashboard__row-link {
  cursor: pointer;
}

.active-jobs-dashboard__row-link:focus {
  outline: 2px solid #e9c40e;
  outline-offset: -2px;
}

.active-jobs-dashboard__meta-line {
  color: #616668;
  gap: 10px;
}

.active-jobs-dashboard__failed-at {
  white-space: nowrap;
}

.active-jobs-dashboard__actions,
.active-jobs-dashboard__bulk-actions,
.active-jobs-dashboard__job-actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

.active-jobs-dashboard__job-actions {
  justify-content: flex-end;
}

.active-jobs-dashboard__detail-grid {
  display: grid;
  gap: 18px 28px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.active-jobs-dashboard__detail-grid > div {
  min-width: 0;
}

.active-jobs-dashboard__detail-grid dt {
  color: #616668;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.active-jobs-dashboard__detail-grid dd {
  margin-bottom: 0;
  overflow-wrap: anywhere;
}

.active-jobs-dashboard__details-summary {
  cursor: pointer;
  font-weight: 700;
}

.active-jobs-dashboard__pre {
  background: #f8fafc;
  border: 1px solid rgba(97, 102, 104, 0.18);
  border-radius: 4px;
  color: #2f3538;
  font-size: 0.85rem;
  margin-bottom: 0;
  max-height: 520px;
  overflow: auto;
  padding: 12px;
  white-space: pre-wrap;
}

.active-jobs-dashboard__sort-link.active {
  color: #e9c40e;
  font-weight: 700;
}

.active-jobs-dashboard__status-pill {
  border-radius: 999px;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  padding: 5px 8px;
  white-space: nowrap;
}

.active-jobs-dashboard__status-pill--amber {
  background: #fff4d6;
  color: #946200;
}

.active-jobs-dashboard__status-pill--blue {
  background: #dff1ff;
  color: #075985;
}

.active-jobs-dashboard__status-pill--green {
  background: #dcfce7;
  color: #166534;
}

.active-jobs-dashboard__status-pill--neutral,
.active-jobs-dashboard__status-pill--zinc {
  background: #f1f5f9;
  color: #475569;
}

.active-jobs-dashboard__status-pill--purple {
  background: #f3e8ff;
  color: #6b21a8;
}

.active-jobs-dashboard__status-pill--red {
  background: #fee2e2;
  color: #991b1b;
}
