
.campaign-card {
  border: 1px solid #e5e5e7;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  background: white;
}

.campaign-main {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr 1fr;
  gap: 30px;
  align-items: start;
}

.campaign-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.campaign-badge {
  display: inline-block;
  background: #667eea;
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  width: fit-content;
}

.campaign-name {
  font-size: 15px;
  font-weight: 700;
  color: #1d1d1f;
}

.campaign-url {
  font-size: 12px;
  color: #667eea;
  text-decoration: none;
}

.campaign-url:hover {
  text-decoration: underline;
}

.campaign-links {
  margin-top: 10px;
  padding: 10px;
  background: #fafafa;
  border-radius: 6px;
  border: 1px solid #e5e5e7;
}

.campaign-targets {
  display: flex;
  flex-direction: column;
}

.target-item {
  margin-bottom: 10px;
  font-size: 12px;
}

.target-label {
  font-weight: 600;
  color: #1d1d1f;
  margin-right: 8px;
}

.target-url {
  color: #667eea;
  text-decoration: none;
  font-size: 11px;
}

.target-url:hover {
  text-decoration: underline;
}

.target-id {
  display: inline-block;
  margin-left: 8px;
  color: #86868b;
  font-size: 11px;
}

.campaign-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
  align-content: flex-start;
}

.filter-badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  background: #f5f5f7;
  color: #1d1d1f;
}

.status-active {
  background: #d4f4dd;
  color: #34c759;
}

.status-bot-search {
  background: #fff4e6;
  color: #ff9500;
}

.status-bot-world {
  background: #ffe5e5;
  color: #ff3b30;
}

.filter-geo {
  background: #f0f0f5;
  color: #86868b;
}

.filter-bot-shield {
  background: #fff4e6;
  color: #ff9500;
}

.btn-top-sources {
  padding: 6px 12px;
  background: #e8f0ff;
  border: 1px solid #667eea;
  border-radius: 6px;
  color: #667eea;
  font-size: 11px;
  cursor: pointer;
  font-weight: 600;
}

.btn-top-sources:hover {
  background: #667eea;
  color: white;
}

.campaign-performance {
  display: flex;
  flex-direction: column;
}

.performance-stats-horizontal {
  display: flex;
  gap: 20px;
  align-items: center;
}

.performance-item-horizontal {
  text-align: center;
}

.performance-value-large {
  font-size: 28px;
  font-weight: 700;
  color: #1d1d1f;
  line-height: 1;
}

.performance-label {
  font-size: 10px;
  color: #86868b;
  margin-top: 4px;
}

.campaigns-filters {
  margin-bottom: 20px;
}

.search-input {
  padding: 8px 12px;
  border: 1px solid #e5e5e7;
  border-radius: 6px;
  font-size: 13px;
  flex: 1;
}

.select-sm {
  padding: 4px 8px;
  border: 1px solid #e5e5e7;
  border-radius: 4px;
  font-size: 12px;
  background: white;
}

.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}

.pagination-btn {
  padding: 8px 12px;
  border: 1px solid #e5e5e7;
  border-radius: 6px;
  background: white;
  color: #1d1d1f;
  font-size: 13px;
  cursor: pointer;
}

.pagination-btn:hover {
  background: #f5f5f7;
}

.pagination-btn.active {
  background: #667eea;
  color: white;
  border-color: #667eea;
}

@media (max-width: 1400px) {
  .campaign-main {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}
