/* Search bar — Google-style rounded input with subtle shadow */
.search-bar {
  background: #fff;
  border: 1px solid #dfe1e5;
  border-radius: 24px;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.08);
  transition: box-shadow 0.2s;
}

.search-bar:focus-within {
  box-shadow: 0 1px 6px rgba(32, 33, 36, 0.2);
  border-color: #ccc;
}

.search-bar .form-control {
  border: none;
  box-shadow: none;
  background: transparent;
  padding-left: 0;
}

.search-bar .form-control:focus {
  box-shadow: none;
}

/* Result rows */
.result-item {
  padding: 1rem 0;
  border-bottom: 1px solid #ebebeb;
}

.result-item:last-child {
  border-bottom: none;
}

/* Thumbnails */
.dl-thumbnail {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

/* Status pills */
.status-badge {
  display: inline-block;
  padding: 0.2em 0.6em;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: capitalize;
}

.status-pending    { background: #fff3cd; color: #856404; }
.status-processing { background: #cfe2ff; color: #084298; }
.status-completed  { background: #d1e7dd; color: #0f5132; }
.status-failed     { background: #f8d7da; color: #842029; }

/* Subtle highlight on new rows */
@keyframes highlight-fade {
  from { background-color: #e8f0fe; }
  to   { background-color: transparent; }
}

.result-item.new-row {
  animation: highlight-fade 1.5s ease-out;
}
