.ats-upload {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.ats-status {
  margin-top: 12px;
}

.ats-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.ats-warning {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff4cc;
  border: 1px solid #f0d98a;
  color: #6b4e00;
  font-size: 13px;
  margin-bottom: 14px;
}

.ats-warning i {
  color: #b37b00;
}

.ats-stat {
  background: #f8f5f0;
  border: 1px solid #efe7dc;
  border-radius: 12px;
  padding: 12px;
}

.ats-stat-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7a6a5a;
}

.ats-stat-value {
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: #1d1a16;
}

.ats-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
}

.ats-filter-label {
  font-size: 13px;
  color: #6b5f53;
}

.ats-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.ats-text-block {
  background: #fbf9f6;
  border: 1px solid #efe7dc;
  border-radius: 12px;
  padding: 12px;
  max-height: 320px;
  overflow: auto;
  white-space: pre-wrap;
  font-size: 13px;
  line-height: 1.5;
}

.ats-signal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 12px;
}

.ats-signal {
  border: 1px solid #efe7dc;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fffdf9;
}

.ats-signal--found {
  border-color: #cde7d6;
  background: #f3fbf6;
}

.ats-signal--not_analyzed {
  border-color: #e8e1d6;
  background: #fbf8f3;
}

.ats-signal--not_found {
  border-color: #efe7dc;
  background: #fffdf9;
}

.ats-signal--empty {
  border-style: dashed;
}

.ats-signal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ats-signal-label {
  font-weight: 600;
  color: #1d1a16;
}

.ats-signal-badge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 999px;
  background: #efe7dc;
  color: #6b5f53;
}

.ats-signal--found .ats-signal-badge {
  background: #cde7d6;
  color: #2e5b3a;
}

.ats-signal--not_analyzed .ats-signal-badge {
  background: #f0e7da;
  color: #7a6a5a;
}

.ats-signal-note {
  margin-top: 6px;
  font-size: 12px;
  color: #6b5f53;
}

.ats-signal-examples {
  margin-top: 8px;
  background: #fbf9f6;
  border: 1px dashed #e3d9cc;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.4;
  white-space: pre-wrap;
}
