/* BanglaTrack Changelog Styles */

.bt-changelog {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bt-changelog-entry {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.bt-changelog-entry:last-child { border-bottom: none; }

.bt-changelog-entry.is-latest .bt-changelog-header { margin-bottom: 16px; }

.bt-changelog-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.bt-changelog-version {
  margin: 0;
  font-family: 'DM Mono', monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -.01em;
}

.is-latest .bt-changelog-version { color: var(--accent); }

.bt-changelog-tag {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 2px 9px;
  border-radius: 100px;
  background: rgba(13, 107, 80, .12);
  color: var(--accent);
}

.bt-changelog-meta {
  font-size: 12px;
  color: var(--text3);
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 2px 9px;
}

.bt-changelog-date {
  font-size: 13px;
  color: var(--text3);
  margin-left: auto;
}

/* Body content */
.bt-changelog-body { padding-left: 4px; }

.bt-changelog-body ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bt-changelog-body li {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.65;
  padding-left: 20px;
  position: relative;
}

.bt-changelog-body li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--border2);
}

.bt-changelog-body p {
  font-size: 14px;
  color: var(--text3);
  line-height: 1.7;
  margin: 4px 0;
}

/* Type prefix badges */
.bt-cl-type {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 1px 7px;
  border-radius: 4px;
  margin-right: 6px;
  vertical-align: middle;
}

.bt-cl-feat  { background: rgba(13, 107, 80, .1);   color: var(--accent); }
.bt-cl-fix   { background: rgba(237, 27, 36, .08);  color: var(--accent2); }
.bt-cl-imp   { background: rgba(249, 115, 22, .1);  color: var(--accent3); }
.bt-cl-break { background: rgba(245, 158, 11, .12); color: var(--accent4); }

/* Section label within changelog body (### Features, etc.) */
.bt-cl-section {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text3);
  margin: 20px 0 8px;
}

/* Notice (empty / error) */
.bt-cl-notice {
  font-size: 14px;
  color: var(--text3);
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  text-align: center;
}

@media (max-width: 560px) {
  .bt-changelog-date { margin-left: 0; }
}
