﻿/* Mobile category chip row */
.category-row-mobile {
    display: flex;
    overflow-x: auto;
    gap: 0.5rem; /* preferred over 10px for consistent rem use */
    padding: 0.75rem 0;
    white-space: nowrap;
    border-bottom: 1px solid var(--border-default-grey, #ccc);
}

    /* Custom scrollbar for better mobile UX */
    .category-row-mobile::-webkit-scrollbar {
        height: 6px;
    }

    .category-row-mobile::-webkit-scrollbar-thumb {
        background: #bbb;
        border-radius: 10px;
    }

    .category-row-mobile::-webkit-scrollbar-track {
        background: transparent;
    }

/* Mobile category chips */


    /* Hover and focus states for mobile chips */
    .category-chip:hover,
    .category-chip:focus {
        background-color: rgba(var(--fr-purple-rgb), 0.08);
        border-left-color: var(--fr-purple);
        color: var(--fr-purple) !important;
        text-decoration: none;
        padding-left: 8px;
    }

/* Desktop sidebar category links */
.sidebar__category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    color: #212529;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
    border-radius: 0 !important;
}

    /* Hover and focus states for desktop sidebar links */
    .sidebar__category-list a:hover,
    .sidebar__category-list a:focus {
        border-bottom: 1px solid var(--fr-purple);
        background-color: rgba(var(--fr-purple-rgb), 0.08);
        border-left: 3px solid var(--fr-purple);
        color: var(--fr-purple) !important;
        padding-left: 10px;
        text-decoration: none;
    }

/* Utility classes for responsive display */
.hide-on-sm {
    display: none !important;
}

.show-on-sm {
    display: block !important;
}



/* Label container style */
.label-title-press {
    padding: 10px;
    justify-content: center;
    display: flex;
}

.cat-active {
    background-color: #e6f0ff !important;
    border-left: 3px solid var(--fr-purple);
    border-radius: 0;
    padding-left: 10px !important;
    color: var(--fr-purple) !important;
    transition: all 0.2s ease;
    pointer-events: none;
    cursor: default;
    opacity: 0.8;
}

.btn-download {
    border-color: var(--fr-purple);
    border-radius: 0;
}

.btn-download:hover {
    background-color: var(--fr-purple);
    border-color: var(--fr-purple);
}

.btn-download > i {
    color: var(--fr-purple);
    transition: transform 0.1s ease, color 0.1s ease;
}

.btn-download:hover > i {
    color: #f1f3f5 !important;
    transform: scale(1.4);
}
