/* ============================================
   BREADCRUMBS
   ============================================ */

.bcg-breadcrumbs-wrapper {
    background-color: #f8f8f8;
    border-bottom: none;
}

.bcg-breadcrumbs {
    font-size: 0.875rem;
    gap: 0.75rem;
    font-weight: 500;
}

.bcg-breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.bcg-breadcrumb-link,
.bcg-breadcrumb-current {
    background: white;
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    transition: all 0.2s ease;
    display: inline-block;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.bcg-breadcrumb-link {
    color: #424242;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.bcg-breadcrumb-link:hover {
    color: #212121;
    background: var(--sand-100);
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.bcg-breadcrumb-link i {
    font-size: 1rem;
}

.bcg-breadcrumb-current {
    color: #424242;
    font-weight: 600;
    background: var(--sand-100);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.bcg-breadcrumb-separator {
    color: #bdbdbd;
    margin: 0 0.5rem;
    font-weight: 400;
}

/* ============================================
   BREADCRUMB DROPDOWN
   ============================================ */

.bcg-breadcrumb-dropdown {
    position: relative;
    display: inline-block;
}

.bcg-breadcrumb-toggle {
    background: none;
    border: none;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    color: #757575;
    font-size: 0.75rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.bcg-breadcrumb-toggle:hover {
    color: #424242;
    transform: translateY(1px);
}

.bcg-breadcrumb-toggle[aria-expanded="true"] {
    color: #424242;
}

.bcg-breadcrumb-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.bcg-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 0.375rem;
    min-width: 200px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
}

.bcg-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bcg-dropdown-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #424242;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    font-weight: 500;
}

.bcg-dropdown-link:hover {
    background-color: var(--sand-100);
    color: #212121;
    text-decoration: none;
}

.bcg-dropdown-link:last-child {
    border-bottom: none;
}

.bcg-dropdown-current {
    display: block;
    padding: 0.75rem 1rem;
    color: #424242;
    background-color: var(--sand-100);
    font-weight: 600;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .bcg-breadcrumbs {
        font-size: 0.8125rem;
    }

    .bcg-breadcrumb-toggle {
        font-size: 0.65rem;
        padding: 0.2rem 0.375rem;
    }

    .bcg-dropdown-menu {
        min-width: 160px;
        max-height: 250px;
    }

    .bcg-dropdown-link {
        padding: 0.625rem 0.875rem;
        font-size: 0.8125rem;
    }
}
