/**
 * Breadcrumb Navigation Styles
 *
 * Minimal and modern breadcrumb styling
 *
 * @package Nila
 * @since 1.0.0
 */

/* ============================================
   Main Container
   ============================================ */
.nila-breadcrumb {
    background: transparent;
    padding: 15px 0;
    margin-bottom: 0;
    border-bottom: 1px solid #e5e5e5;
}

.nila-breadcrumb .breadcrumb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Breadcrumb Items
   ============================================ */
.nila-breadcrumb .breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.nila-breadcrumb .breadcrumb-item:not(:last-child)::after {
    content: '/';
    color: #999;
    font-weight: 300;
    margin-left: 8px;
    margin-right: 0;
}

.nila-breadcrumb .breadcrumb-link {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nila-breadcrumb .breadcrumb-link:hover {
    color: #1a1a1a;
    text-decoration: none;
}

.nila-breadcrumb .breadcrumb-link::before {
    display: none;
}

.nila-breadcrumb .breadcrumb-item.active {
    color: #1a1a1a;
    font-weight: 400;
}

.nila-breadcrumb .breadcrumb-item.active span {
    color: #1a1a1a;
}

/* ============================================
   Separator
   ============================================ */
.nila-breadcrumb .breadcrumb-separator {
    color: #999;
    margin: 0 8px;
    font-size: 11px;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .nila-breadcrumb {
        padding: 12px 0;
    }
    
    .nila-breadcrumb .breadcrumb-list {
        padding: 0 15px;
        font-size: 12px;
    }
    
    .nila-breadcrumb .breadcrumb-item {
        font-size: 12px;
    }
}

/* ============================================
   RTL Support
   ============================================ */
.rtl .nila-breadcrumb .breadcrumb-item:not(:last-child)::after {
    margin-left: 0;
    margin-right: 8px;
}

.rtl .nila-breadcrumb .breadcrumb-separator {
    margin: 0 8px;
    transform: scaleX(-1);
}
