/* Changelog Page Styles */

.changelog-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.changelog-version {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.version-header {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
    border-bottom: 1px solid transparent;
}

.version-header:hover {
    background-color: #f8f9fa;
}

.version-header:not(.collapsed) {
    border-bottom-color: #e9ecef;
}

.version-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    margin-right: 0.75rem;
}

.version-date {
    color: #6b7280;
    font-size: 0.95rem;
}

.collapse-icon {
    transition: transform 0.3s ease;
    color: #9ca3af;
}

.version-header:not(.collapsed) .collapse-icon {
    transform: rotate(180deg);
}

.version-content {
    padding: 1.5rem;
    background: #fafafa;
}

.change-category {
    margin-bottom: 1.5rem;
}

.change-category:last-child {
    margin-bottom: 0;
}

.change-category h6 {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.change-category ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.change-category li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #4b5563;
    line-height: 1.6;
}

.change-category li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65rem;
    width: 6px;
    height: 6px;
    background: var(--secondary-color);
    border-radius: 50%;
}

.change-category li:last-child {
    margin-bottom: 0;
}

.change-category li strong {
    color: #1f2937;
}

.change-category li code {
    background: #e5e7eb;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.85em;
    color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .version-header {
        padding: 1rem;
    }

    .version-content {
        padding: 1rem;
    }

    .version-badge {
        font-size: 0.9rem;
        padding: 0.25rem 0.65rem;
    }

    .version-date {
        display: block;
        margin-top: 0.25rem;
        font-size: 0.85rem;
    }
}
