body {
  background: #f8f9fa;
}

.card {
  border: none;
}

.navbar-brand {
  font-weight: 700;
}

.list-group-item {
  cursor: pointer;
}

.search-result-card--clickable {
  cursor: pointer;
  transition: transform 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
}

.search-result-card--clickable:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.search-result-art {
  width: 72px;
  height: 108px;
  object-fit: cover;
}

.search-result-art-wrapper {
  min-width: 72px;
}

.search-result-note {
  display: inline-block;
  margin-top: 0.5rem;
  white-space: normal;
  width: 100%;
}

.added-note {
  border: 1px solid #d0ebff;
}

.already-added {
  background-color: #f1f3f5;
  border: 1px solid #e9ecef;
}

.available-check {
  color: #198754;
  font-weight: 700;
  margin-right: 0.25rem;
}

.modal-poster {
  width: 180px;
  height: 270px;
  object-fit: cover;
  background: #dee2e6;
}

.download-progress-wrap {
  min-width: 140px;
}

.download-progress {
  height: 12px;
}

.download-progress-label {
  font-size: 0.8rem;
  color: #555;
  margin-top: 2px;
}

.movie-progress {
  max-width: 220px;
}

.season-progress,
.episode-progress {
  max-width: 180px;
}

.modal-poster-wrapper {
  min-width: 180px;
}

.modal-body dl dt {
  font-weight: 600;
}

.season-thumb {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.season-header-info {
  gap: 0.75rem;
}

.download-status {
  font-size: 0.85rem;
}

.collection-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.collection-item {
  width: 110px;
  flex: 0 0 auto;
}

.collection-thumb-wrapper {
  width: 100%;
  aspect-ratio: 2 / 3;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.collection-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-label {
  font-size: 0.85rem;
  color: #343a40;
  margin-top: 0.35rem;
}

.download-indicator {
  color: #0d6efd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.download-indicator-icon {
  animation: spin 1.1s linear infinite;
  font-size: 1rem;
}

.overview-toggle {
  color: #0d6efd;
  text-decoration: none;
}

.overview-toggle:hover,
.overview-toggle:focus {
  text-decoration: underline;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
