﻿
.changelog-section {
    max-width: 900px;
    margin: 0 auto;
}

.changelog-timeline {
    position: relative;
    padding-left: 36px;
}

    .changelog-timeline::before {
        content: "";
        position: absolute;
        left: 10px;
        top: 10px;
        bottom: 30px;
        width: 2px;
        background: linear-gradient(to bottom, #FFC300, #e2e8f0);
    }

.changelog-entry {
    position: relative;
    margin-bottom: 36px;
}

.timeline-dot {
    position: absolute;
    left: -33px;
    top: 5px;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 4px solid #FFC300;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #eff6ff;
}

.changelog-date {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.changelog-card {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(15, 23, 42, 0.035);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .changelog-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
    }

.changelog-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 26px;
    border-bottom: 1px solid #f1f5f9;
}

.changelog-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
}

.changelog-subtitle {
    color: #94a3b8;
    font-size: 0.85rem;
    margin: 0;
}

.release-count {
    background: #f1f5f9;
    color: #64748b;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.changelog-card-body {
    padding: 24px 26px;
}

.change-group {
    margin-bottom: 24px;
}

    .change-group:last-child {
        margin-bottom: 0;
    }

.change-group-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.change-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 6px;
    padding: 5px 11px;
    font-size: 0.78rem;
    font-weight: 700;
}

.change-added {
    color: #15803d;
    background: #dcfce7;
}

.change-fixed {
    color: #a16207;
    background: #fef9c3;
}

.change-changed {
    color: #1d4ed8;
    background: #dbeafe;
}

.change-other {
    color: #475569;
    background: #f1f5f9;
}

.change-count {
    color: #94a3b8;
    font-size: 0.75rem;
}

.change-list {
    list-style: none;
    padding: 14px 18px;
    margin: 0;
    background: #f8fafc;
    border-radius: 10px;
}

    .change-list li {
        position: relative;
        padding-left: 18px;
        margin-bottom: 10px;
        font-size: 0.9rem;
        line-height: 1.65;
        color: #475569;
    }

        .change-list li:last-child {
            margin-bottom: 0;
        }

        .change-list li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 10px;
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: #94a3b8;
        }

.changelog-pagination {
    text-align: center;
    padding: 25px 0 40px;
}

.pagination-info {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-bottom: 18px;
}

.changelog-pagination .pagination {
    gap: 7px;
}

.changelog-pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border: 1px solid #e2e8f0;
    border-radius: 9px !important;
    color: #475569;
    font-weight: 600;
    font-size: 0.85rem;
}

    .changelog-pagination .page-link:hover {
        background: #eff6ff;
        color: #FFC300;
        border-color: #bfdbfe;
    }

.changelog-pagination .page-item.active .page-link {
    background: #FFC300;
    border-color: #FFC300;
    color: #fff;
}

.changelog-pagination .page-item.disabled .page-link {
    opacity: 0.4;
    pointer-events: none;
}

.changelog-empty {
    text-align: center;
    padding: 70px 20px;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    background: #f8fafc;
}

    .changelog-empty i {
        font-size: 2.5rem;
        color: #94a3b8;
    }

    .changelog-empty h4 {
        margin-top: 18px;
        font-weight: 700;
    }

    .changelog-empty p {
        color: #94a3b8;
    }

@media (max-width: 576px) {
    .changelog-timeline {
        padding-left: 26px;
    }

        .changelog-timeline::before {
            left: 6px;
        }

    .timeline-dot {
        left: -26px;
        width: 14px;
        height: 14px;
    }

    .changelog-card-header,
    .changelog-card-body {
        padding: 18px;
    }

    .release-count {
        display: none;
    }
}
