/* Interlab Breadcrumb Menu — dropdown styling (matches mega-menu v2 look) */

.ilbc-crumb {
    cursor: pointer;
    position: relative;
}
.ilbc-chev {
    display: inline-block;
    margin-left: 4px;
    vertical-align: 1px;
    opacity: .45;
    transition: opacity .15s, transform .2s;
}
.ilbc-crumb:hover .ilbc-chev,
.ilbc-crumb.ilbc-open .ilbc-chev { opacity: 1; color: #FFC200; }
.ilbc-crumb.ilbc-open .ilbc-chev svg { transform: rotate(180deg); }
.ilbc-chev svg { transition: transform .2s; }

.ilbc-drop {
    position: absolute;
    z-index: 100000;
    min-width: 200px;
    max-width: 300px;
    max-height: 62vh;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    box-shadow: 0 10px 28px -8px rgba(0, 0, 0, .18);
    padding: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .16s ease, visibility .16s ease, transform .16s ease;
}
.ilbc-drop.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.ilbc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 4px 9px;
    border-radius: 7px;
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.35;
    color: #333333;
    transition: background .12s;
}
.ilbc-item:hover {
    background: #FFF7DE;
    color: #111111;
}
.ilbc-name { flex: 1; min-width: 0; }
.ilbc-pill {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 600;
    color: #8a8a8a;
    background: #f3f4f6;
    padding: 1px 8px;
    border-radius: 999px;
    transition: background .12s, color .12s;
}
.ilbc-item:hover .ilbc-pill { background: #FFC200; color: #111111; }
.ilbc-more .ilbc-name {
    font-size: 12px;
    font-weight: 600;
    color: #9a7500;
}
.ilbc-more:hover .ilbc-name { color: #111111; }

.ilbc-drop::-webkit-scrollbar { width: 6px; }
.ilbc-drop::-webkit-scrollbar-track { background: transparent; }
.ilbc-drop::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }

/* Hide the chevron only on hover-capable narrow screens (small laptops);
   on touch devices keep it as the tap-to-open affordance. */
@media (hover: hover) and (max-width: 1024px) {
    .ilbc-chev { display: none; }
}

/* Touch devices: bigger tap targets + the chevron stays visible. */
@media (hover: none), (pointer: coarse) {
    .ilbc-chev { display: inline-block; }
    .ilbc-drop { min-width: 220px; padding: 6px; }
    .ilbc-item { padding: 9px 12px; font-size: 14px; }
    .ilbc-more .ilbc-name { font-size: 13px; }
}
