/* File: static/css/user/breadcrumps.css */

/* ================================
   BREADCRUMB NAVIGATION
   ================================ */

:root {
    
    --text-secondary: #6b7280;
    --text-muted: #86889d !important;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin: 2rem 0;
}

.breadcrumb-long{
    display: block;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.breadcrumb-link {
    text-decoration: none;
    transition: color 0.2s;
    color: var(--main-color);
}

.breadcrumb-link:hover {
    color: var(--main-color-hover);
}

.breadcrumb-separator {
    color: var(--text-muted);
    font-weight: 300;
}

.breadcrumb-current {
    color: var(--text-secondary);
    font-weight: 500;
}

@media (max-width: 768px) {

    .breadcrumb-nav{
        margin-top: 0;
        margin-bottom: 1rem;
        text-wrap-style: pretty;
    }

    .breadcrumb-current {
        display: block; 
        max-width: 100%;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .breadcrumb-link{
        text-wrap-mode: nowrap;
    }

}