:root {
    --hs-sidebar-width: 260px;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
}

.hs-shell {
    display: flex;
    min-height: 100vh;
}

.hs-sidebar {
    width: var(--hs-sidebar-width);
    flex-shrink: 0;
    border-right: 1px solid var(--bs-border-color);
    background-color: var(--bs-tertiary-bg);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
}

.hs-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.hs-topbar {
    border-bottom: 1px solid var(--bs-border-color);
    background-color: var(--bs-body-bg);
    position: sticky;
    top: 0;
    z-index: 1020;
}

.hs-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    border-radius: 0.5rem;
    color: var(--bs-body-color);
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.hs-nav-link:hover {
    background-color: var(--bs-secondary-bg);
    color: var(--bs-emphasis-color);
}

.hs-nav-link.active {
    background-color: rgba(13, 110, 253, 0.16);
    color: #3d8bfd;
}

.hs-stat-card {
    border-radius: 0.75rem;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.hs-stat-card:hover {
    transform: translateY(-2px);
}

.hs-listing-thumb {
    width: 88px;
    height: 66px;
    object-fit: cover;
    border-radius: 0.5rem;
    background-color: var(--bs-secondary-bg);
    flex-shrink: 0;
}

.hs-listing-card-img {
    height: 170px;
    width: 100%;
    object-fit: cover;
    background-color: var(--bs-secondary-bg);
}

.hs-color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.hs-pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    animation: hsPulse 1.8s infinite;
}

@keyframes hsPulse {
    0% { box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(25, 135, 84, 0); }
    100% { box-shadow: 0 0 0 0 rgba(25, 135, 84, 0); }
}

.hs-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 0.5rem;
}

.hs-cat-btn {
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.hs-text-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .hs-sidebar {
        display: none;
    }
}
