/* ===== QUANTUM BREADCRUMBS VARIABLES ===== */
:root {
    --quantum-bc-primary: #ff6b6b;
    --quantum-bc-secondary: #ffb86b; /* warm amber secondary */
    --quantum-bc-bg: rgba(26, 26, 46, 0.9);
    --quantum-bc-glass: rgba(255, 255, 255, 0.05);
    --quantum-bc-border: 1px solid rgba(255, 255, 255, 0.1);
    --quantum-bc-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --quantum-bc-radius: 1rem;
}

/* ===== QUANTUM BREADCRUMBS LAYOUT - ZINTEGROWANE ===== */
.hdr-breadcrumbs-2025 {
    background: var(--quantum-bc-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hdr-bc-container.hdr-bcc-2025 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    position: relative;
    z-index: 2;
}

/* ===== BREADCRUMBS TRACK ===== */
.hdr-bc-track.hdr-bct-2025 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hdr-bc-track.hdr-bct-2025::-webkit-scrollbar {
    display: none;
}

/* ===== HDR CRUMB ITEMS ===== */
.hdr-crumb-2025.hdr-bc-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--quantum-text);
    border-radius: 0.75rem;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    white-space: nowrap;
    background: var(--quantum-bc-glass);
    border: var(--quantum-bc-border);
}

.hdr-crumb-2025.hdr-bc-item:not(.hdr-current-2025):hover {
    background: rgba(255, 107, 107, 0.1);
    transform: translateY(-1px);
    box-shadow: var(--quantum-bc-shadow);
}

.hdr-crumb-2025.hdr-bc-item.hdr-current-2025 {
    background: linear-gradient(135deg, var(--quantum-bc-primary), var(--quantum-bc-secondary));
    color: white;
    font-weight: 600;
}

.hdr-crumb-icon.hdr-ci-2025 {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.hdr-crumb-2025:hover .hdr-crumb-icon.hdr-ci-2025 {
    transform: scale(1.2);
}

.hdr-crumb-text.hdr-ct-2025 {
    font-weight: 500;
    font-size: 0.9rem;
}

.hdr-crumb-orb.hdr-co-2025 {
    position: absolute;
    top: 50%;
    right: -6px;
    width: 12px;
    height: 12px;
    background: var(--quantum-bc-primary);
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.hdr-crumb-2025:hover .hdr-crumb-orb.hdr-co-2025 {
    opacity: 1;
    animation: hdr-crumb-orb-pulse 2s ease-in-out infinite;
}

@keyframes hdr-crumb-orb-pulse {
    0%, 100% { transform: translateY(-50%) scale(1); opacity: 1; }
    50% { transform: translateY(-50%) scale(1.3); opacity: 0.7; }
}

/* ===== BREADCRUMB SEPARATOR ===== */
.hdr-bc-separator.hdr-bcs-2025 {
    color: var(--quantum-text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin: 0 0.25rem;
    transition: transform 0.3s ease, color 0.2s ease;
}

.hdr-bc-separator.hdr-bcs-2025 svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    opacity: 0.9;
}

.hdr-crumb-2025:hover + .hdr-bc-separator.hdr-bcs-2025,
.hdr-bc-separator.hdr-bcs-2025:hover {
    transform: scale(1.15);
    color: var(--quantum-bc-primary);
}

/* ===== BREADCRUMBS ACTIONS ===== */
.hdr-bc-actions.hdr-bca-2025 {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
}

.hdr-bc-action.hdr-bca-2025 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--quantum-bc-glass);
    border: var(--quantum-bc-border);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.hdr-bc-action.hdr-bca-2025:hover {
    background: rgba(255, 107, 107, 0.1);
    transform: translateY(-1px);
    box-shadow: var(--quantum-bc-shadow);
}

.hdr-bc-action.hdr-bca-2025::after {
    content: attr(data-quantum-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--quantum-bc-bg);
    color: var(--quantum-text);
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
    border: var(--quantum-bc-border);
    z-index: 1003;
}

.hdr-bc-action.hdr-bca-2025:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

/* ===== BREADCRUMBS PROGRESS ===== */
.hdr-bc-progress hdr-bcp-2025, .hdr-bc-progress.hdr-bcp-2025 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.hdr-progress-track.hdr-pt-2025 {
    width: 100%;
    height: 100%;
    position: relative;
}

.hdr-progress-fill.hdr-pf-2025 {
    height: 100%;
    background: linear-gradient(90deg, var(--quantum-bc-primary), var(--quantum-bc-secondary));
    transition: width 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.hdr-progress-fill.hdr-pf-2025::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: hdr-progress-shine 2s ease-in-out infinite;
}

@keyframes hdr-progress-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ===== RESPONSIVE BREADCRUMBS ===== */
@media (max-width: 968px) {
    .hdr-bc-container.hdr-bcc-2025 {
        padding: 0.75rem 1.5rem;
    }
    
    .hdr-crumb-text.hdr-ct-2025 {
        font-size: 0.8rem;
    }
    
    .hdr-crumb-2025.hdr-bc-item {
        padding: 0.4rem 0.75rem;
    }
}

@media (max-width: 768px) {
    .hdr-bc-container.hdr-bcc-2025 {
        padding: 0.75rem 1rem;
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }
    
    .hdr-bc-actions.hdr-bca-2025 {
        margin-left: 0;
        justify-content: center;
    }
    
    .hdr-bc-track.hdr-bct-2025 {
        justify-content: center;
    }
    
    .hdr-crumb-text.hdr-ct-2025 {
        display: none;
    }
    
    .hdr-crumb-2025.hdr-bc-item {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hdr-bc-separator.hdr-bcs-2025 {
        margin: 0 0.1rem;
    }
    
    .hdr-crumb-2025.hdr-bc-item {
        padding: 0.4rem;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    .hdr-crumb-orb.hdr-co-2025,
    .hdr-progress-fill.hdr-pf-2025::after {
        animation: none;
    }
    
    .hdr-crumb-2025:hover .hdr-crumb-orb.hdr-co-2025 {
        animation: none;
        opacity: 0.7;
    }
}

.hdr-crumb-2025:focus,
.hdr-bc-action.hdr-bca-2025:focus {
    outline: 2px solid var(--quantum-primary);
    outline-offset: 2px;
}

/* ===== DARK THEME SUPPORT ===== */
.dark-theme .hdr-breadcrumbs-2025 {
    --quantum-bc-bg: rgba(15, 15, 25, 0.95);
    --quantum-bc-glass: rgba(255, 255, 255, 0.03);
}