/* Media Timeline Styles */

.media-container {
  margin: 20px 0;
}

/* Pagination Controls */
.pagination-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  background-color: transparent;
  color: #0a0a0a;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.15s ease;
  height: 36px;
}

.pagination-btn:hover:not(:disabled) {
  background-color: #f9fafb;
  border-color: #d1d5db;
}

.pagination-btn:disabled {
  color: #9ca3af;
  cursor: not-allowed;
  opacity: 0.5;
}

.pagination-btn svg {
  width: 16px;
  height: 16px;
}

/* Year Selector */
.year-selector {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}

.year-btn {
  padding: 8px 12px;
  background-color: transparent;
  color: #374151;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.15s ease;
  height: 36px;
  min-width: 56px;
}

.year-btn:hover {
  background-color: #f9fafb;
  border-color: #d1d5db;
}

.year-btn.active {
  background-color: #0a0a0a;
  color: #ffffff;
  border-color: #0a0a0a;
}

/* Year Section */
.year-section {
  display: none;
}

.year-section.active {
  display: block;
}

.year-header {
  font-size: 1.5em;
  font-weight: 600;
  color: #0a0a0a;
  margin: 30px 0 15px 0;
  padding-bottom: 5px;
  border-bottom: 1px solid #e5e7eb;
}

/* Media List */
.media-list {
  list-style-type: none;
  padding: 0;
  margin: 20px 0;
}

.media-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding: 10px;
  border-radius: 8px;
  transition: background-color 0.15s ease;
}

.media-item:hover {
  background-color: #f9fafb;
}

/* Media Icon */
.media-icon {
  margin-right: 12px;
  flex-shrink: 0;
  color: #6b7280;
}

.media-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

/* Media Cover */
.media-cover {
  width: 50px;
  height: auto;
  border-radius: 4px;
  margin-right: 15px;
  flex-shrink: 0;
  border: 1px solid #e5e7eb;
}

/* Media Info */
.media-info {
  flex-grow: 1;
}

.media-title {
  font-weight: 600;
  margin-bottom: 5px;
  color: #0a0a0a;
}

.media-title a {
  color: #0a0a0a;
  text-decoration: none;
  transition: color 0.15s ease;
}

.media-title a:hover {
  color: #525252;
}

.media-date {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Media Rating */
.media-rating {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 3px;
  margin-left: auto;
  padding-left: 20px;
  flex-shrink: 0;
  flex-wrap: nowrap;
}

.media-rating .star {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.media-rating .star.filled {
  color: #6b7280;
  width: 16px;
  height: 16px;
}

.media-rating .star.empty {
  color: #6b7280;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 15px;
  height: 15px;
}
