.table-card .application-cell-title {
  display: block;
  line-height: 1.35;
}

.application-meta-badge {
  margin-top: 8px;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.application-filter-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 14px;
}

.application-filter-keyword {
  grid-column: span 3;
}

.application-filter-date-range-cell {
  grid-column: span 3;
}

.application-filter-secondary .application-filter-date-range-cell {
  grid-column: span 3;
}

.application-filter-grid .application-filter-stage-result {
  min-width: 0;
  width: 100%;
}

.application-filter-stage-result .form-select {
  width: 100% !important;
}

.application-sort-direction {
  min-height: 44px;
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #334155;
  font-weight: 600;
}

.application-sort-direction:hover {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1d4ed8;
}

.application-page-size {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 0.875rem;
  white-space: nowrap;
}

.application-page-size .form-select {
  width: auto;
  min-width: 92px;
}

.application-status-cell {
  min-width: 168px;
}

.application-status-trigger {
  border: 0;
  cursor: pointer;
}

.application-status-trigger:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 2px;
}

.application-status-editor {
  display: grid;
  gap: 6px;
}

.recycle-bin-table th:first-child,
.recycle-bin-table td:first-child {
  width: 48px;
}

.recycle-bin-retention {
  color: #64748b;
  font-size: 0.875rem;
  white-space: nowrap;
}

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

  .application-filter-keyword,
  .application-filter-date-range-cell,
  .application-filter-secondary .application-filter-date-range-cell {
    grid-column: span 2;
  }
}

@media (max-width: 575.98px) {
  .application-filter-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .application-filter-keyword,
  .application-filter-date-range-cell,
  .application-filter-secondary .application-filter-date-range-cell {
    grid-column: span 1;
  }
}

.application-company-type-private {
  border: 1px solid #bfdbfe;
  background: #e0f2fe;
  color: #0369a1;
}

.application-company-type-state-owned {
  border: 1px solid #fecaca;
  background: #fee2e2;
  color: #b91c1c;
}

.application-company-type-foreign {
  border: 1px solid #e9d5ff;
  background: #f3e8ff;
  color: #7e22ce;
}

.application-company-type-public-institution {
  border: 1px solid #99f6e4;
  background: #ccfbf1;
  color: #0f766e;
}

.application-company-type-other,
.application-job-type-other {
  border: 1px solid #d1d5db;
  background: #f3f4f6;
  color: #4b5563;
}

.application-job-type-regular {
  border: 1px solid #e9d5ff;
  background: #f3e8ff;
  color: #7e22ce;
}

.application-job-type-early {
  border: 1px solid #fed7aa;
  background: #ffedd5;
  color: #c2410c;
}

.application-job-type-supplementary {
  border: 1px solid #bbf7d0;
  background: #dcfce7;
  color: #15803d;
}
