/**
 * Centauri Breadcrumb Styles
 * 
 * Consistent breadcrumb styling across all subdomains.
 * Sticky positioning below header, professional white theme.
 */

/* Breadcrumb Container - Sticky below header */
.centauri-breadcrumb {
    position: sticky;
    top: 72px; /* Height of standard header */
    z-index: 999;
    width: 100%;
    padding: 12px 24px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.8125rem;
    line-height: 1.4;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* Breadcrumb List */
.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 1200px;
}

/* Breadcrumb Item */
.breadcrumb-item {
    display: flex;
    align-items: center;
    color: #64748b;
}

/* Breadcrumb Links */
.breadcrumb-item a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s ease;
}

.breadcrumb-item a:hover {
    color: #7A78FF;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Current Page (not clickable) */
.breadcrumb-item.breadcrumb-current span {
    color: #1e293b;
    font-weight: 500;
}

/* Separator */
.breadcrumb-separator {
    display: inline-block;
    margin: 0 8px;
    color: #94a3b8;
    font-size: 0.75rem;
    user-select: none;
}

/* Responsive */
@media (max-width: 768px) {
    .centauri-breadcrumb {
        top: 64px; /* Smaller header on mobile */
        padding: 10px 16px;
        font-size: 0.75rem;
    }
    
    .breadcrumb-separator {
        margin: 0 6px;
    }
}

@media (max-width: 480px) {
    .centauri-breadcrumb {
        padding: 8px 12px;
    }
    
    .breadcrumb-list {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .breadcrumb-item {
        white-space: nowrap;
    }
}

/* Print Styles */
@media print {
    .centauri-breadcrumb {
        position: static;
        background: transparent;
        border-bottom: none;
        padding: 0 0 8px 0;
        box-shadow: none;
    }
    
    .breadcrumb-item a {
        color: inherit;
        text-decoration: none;
    }
}

/* Accessibility: Focus styles */
.breadcrumb-item a:focus {
    outline: 2px solid #7A78FF;
    outline-offset: 2px;
    border-radius: 2px;
}

/* Accessibility: Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .breadcrumb-item a {
        transition: none;
    }
}
}
