/* Copyright (C) 2026 JSLY
 * SPDX-License-Identifier: AGPL-3.0-or-later */

.change-container {
    max-width: 800px;
    margin: 0 auto;
}

.change-entry {
    position: relative;
    padding: 24px 0 24px 32px;
    border-left: 2px solid #0d9488;
}

.change-entry::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 30px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0d9488;
    border: 2px solid var(--bg);
}

.change-entry-header {
    margin-bottom: 12px;
}

.change-entry-date {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 4px;
}

.change-entry-date i {
    margin-right: 4px;
}

.change-entry-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    line-height: 1.4;
}

.change-entry-body {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray);
}

.change-entry-body p {
    margin: 0 0 8px 0;
}

.change-entry-body ul {
    margin: 4px 0;
    padding-left: 20px;
    list-style: none;
}

.change-entry-body ul li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 4px;
}

.change-entry-body ul li::before {
    content: '-';
    position: absolute;
    left: 0;
    color: #0d9488;
    font-weight: 600;
}

.change-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 8px;
    vertical-align: middle;
    line-height: 1.4;
    text-transform: lowercase;
}

.change-badge-fix {
    color: #fff;
    background: #e53e3e;
}

.change-badge-feat {
    color: #fff;
    background: #38a169;
}

.change-badge-chore {
    color: #fff;
    background: #718096;
}

.change-badge-other {
    color: #fff;
    background: #718096;
}

.change-mode-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin: 24px 0 0;
}

.change-mode-label {
    font-size: 0.9rem;
    color: var(--gray);
    margin-right: 4px;
}

.change-mode-btn {
    padding: 4px 14px;
    border: 1px solid var(--border, #ddd);
    border-radius: 16px;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.change-mode-btn:hover {
    border-color: #0d9488;
    color: #0d9488;
}

.change-mode-btn.active {
    background: #0d9488;
    color: #fff;
    border-color: #0d9488;
}

.change-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.change-filter-btn {
    padding: 6px 18px;
    border: 1px solid var(--border, #ddd);
    border-radius: 20px;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.change-filter-btn:hover {
    border-color: #0d9488;
    color: #0d9488;
}

.change-filter-btn.active {
    background: #0d9488;
    color: #fff;
    border-color: #0d9488;
}

.repo-stats {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--gray);
}

.repo-stats span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
