/* media-log.css: styles for read books and watched movies page */

.media-log-hero {
  background: linear-gradient(120deg, #f5f8ff, #fff7f1);
  border-bottom: 1px solid rgba(13, 110, 253, 0.12);
}

.media-log-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.media-log-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6c757d;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.media-log-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.media-log-lede {
  color: #495057;
  max-width: 520px;
  margin-bottom: 0;
}

.media-log-filters {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 18px;
  padding: 1rem 1.25rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.media-log-filter-label {
  font-size: 0.85rem;
  color: #6c757d;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.media-log-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.media-log-filter-buttons .btn {
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-weight: 600;
}

.media-log-stats {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.media-log-stat {
  background: rgba(13, 110, 253, 0.1);
  color: #0b3066;
  padding: 0.45rem 0.85rem;
  border-radius: 14px;
  font-weight: 600;
}

.media-section {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  padding: 1.75rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
}

.media-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.media-section-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.media-section-subtitle {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 0;
}

.media-subsection + .media-subsection {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.media-subsection-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.media-subsection-title {
  font-weight: 700;
  font-size: 1rem;
}

.media-item {
  padding: 1rem 0;
  border-bottom: 1px dashed rgba(15, 23, 42, 0.2);
}

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

.media-item-title {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.media-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #6c757d;
}

.media-item-badge {
  background: #f1f3f5;
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #212529;
}

.media-item-notes {
  margin: 0.5rem 0 0;
  color: #495057;
}

.media-empty {
  text-align: center;
  padding: 2rem;
  border-radius: 16px;
  border: 1px dashed rgba(15, 23, 42, 0.2);
  color: #6c757d;
  background: #f8f9fb;
}

@media (max-width: 991.98px) {
  .media-log-header {
    align-items: flex-start;
  }

  .media-log-title {
    font-size: 1.9rem;
  }

  .media-section {
    padding: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .media-log-title {
    font-size: 1.6rem;
  }

  .media-log-filters {
    width: 100%;
  }
}
