﻿/* 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 */
.category-chip {
    display: inline-block; /* inline-block for flow */
    padding: 6px 14px;
    margin-right: 8px;
    margin-bottom: 8px;
    background-color: #f1f3f5;
    color: #333;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    border-radius: 0 !important;
    border-left: 3px solid transparent; /* default no border */
}

    /* Hover and focus states for mobile chips */
    .category-chip:hover,
    .category-chip:focus {
        background-color: #e6f0ff;
        border-left-color: #0055a4;
        color: #000091 !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 #000091;
        background-color: #e6f0ff;
        border-left: 3px solid #0055a4;
        color: #000091 !important;
        padding-left: 10px;
        text-decoration: none;
    }

/* Utility classes for responsive display */
.hide-on-sm {
    display: none !important;
}

.show-on-sm {
    display: block !important;
}

@media (min-width: 768px) {
    .hide-on-sm {
        display: block !important;
    }

    .show-on-sm {
        display: none !important;
    }
}

/* Label container style */
.label-title-press {
    padding: 10px;
    justify-content: center;
    display: flex;
}
