/* Прокрутка */
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(100, 100, 100, 0.3);
    border-radius: 2px;
    border: 1px solid transparent;
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(100, 100, 100, 0.5);
}

/* Scroll Buttons Container */
.scroll-buttons {
    position: sticky;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 20;
}

/* Scroll to Top Button */
.scroll-to-top-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease, transform 0.2s ease;
    opacity: 0.9;
    margin-bottom: 8px; /* Space between buttons */
}

.scroll-to-top-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.scroll-to-top-btn i {
    font-size: 18px;
}

/* Scroll to Bottom Button */
.scroll-to-bottom-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease, transform 0.2s ease;
    opacity: 0.9;
}

.scroll-to-bottom-btn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.scroll-to-bottom-btn i {
    font-size: 18px;
}

/* Hide scrollbars on mobile for a cleaner look */
@media (max-width: 600px) {
    .content, .issues-list, .issues-wrapper {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    .content::-webkit-scrollbar, .issues-list::-webkit-scrollbar, .issues-wrapper::-webkit-scrollbar {
        display: none; /* Chrome, Safari */
    }
}

.scroll_block::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.scroll_block::-webkit-scrollbar-thumb {
    background-color: rgba(100, 100, 100, 0.3);
    border-radius: 2px;
    border: 1px solid transparent;
}

.scroll_block::-webkit-scrollbar:horizontal {
    height: 4px;
}

.scroll_block::-webkit-scrollbar-thumb:hover {
    background-color: rgba(100, 100, 100, 0.5);
}