/* =============================================
   JR BREADCRUMB - Base
   ============================================= */

.jr-breadcrumb-container {
    position: relative;
    width: 100%;
}

.jr-breadcrumb-wrap {
    display: flex;
    align-items: center;
}

.jr-breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.jr-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 0;
    line-height: 1.4;
}

.jr-breadcrumb-item a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #555;
    transition: all 0.3s ease;
    position: relative;
}

.jr-breadcrumb-item a:hover {
    color: #FF8C00;
}

.jr-bc-home-icon {
    display: inline-flex;
    align-items: center;
    margin-right: 6px;
    line-height: 1;
}

.jr-bc-home-icon i,
.jr-bc-home-icon svg {
    transition: all 0.3s ease;
}

.jr-bc-separator {
    display: inline-flex;
    align-items: center;
    color: #999;
    user-select: none;
    flex-shrink: 0;
}

.jr-bc-current {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
}

/* Screen reader only */
.jr-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Page Title */
.jr-breadcrumb-page-title {
    margin: 10px 0 0;
    padding: 0;
    line-height: 1.3;
}

/* =============================================
   STYLE 1 - Classic
   ============================================= */

.jr-bc-style-1 {
    background: transparent;
    padding: 12px 0;
}

.jr-bc-style-1 .jr-breadcrumb-item a {
    color: #555;
    font-size: 14px;
}

.jr-bc-style-1 .jr-breadcrumb-item a:hover {
    color: #FF8C00;
}

.jr-bc-style-1 .jr-bc-current {
    color: #FF8C00;
    font-size: 14px;
}

.jr-bc-style-1 .jr-bc-separator {
    font-size: 12px;
    color: #bbb;
}

/* =============================================
   STYLE 2 - Modern Card
   ============================================= */

.jr-bc-style-2 {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 14px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
}

.jr-bc-style-2:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.jr-bc-style-2 .jr-breadcrumb-item a {
    color: #666;
    font-size: 14px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.jr-bc-style-2 .jr-breadcrumb-item a:hover {
    color: #FF8C00;
    background: rgba(255, 140, 0, 0.08);
}

.jr-bc-style-2 .jr-bc-current {
    color: #1a1a1a;
    font-weight: 700;
    font-size: 14px;
    padding: 4px 8px;
}

.jr-bc-style-2 .jr-bc-separator {
    color: #ccc;
    font-size: 11px;
}

/* =============================================
   STYLE 3 - Pill / Rounded
   ============================================= */

.jr-bc-style-3 {
    padding: 12px 0;
}

.jr-bc-style-3 .jr-breadcrumb-list {
    gap: 6px;
}

.jr-bc-style-3 .jr-breadcrumb-item a {
    color: #555;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 50px;
    background: #f3f4f6;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.jr-bc-style-3 .jr-breadcrumb-item a:hover {
    color: #FF8C00;
    background: rgba(255, 140, 0, 0.1);
    border-color: rgba(255, 140, 0, 0.2);
}

.jr-bc-style-3 .jr-bc-current {
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 50px;
    background: linear-gradient(135deg, #FF8C00, #ff6b00);
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.3);
}

.jr-bc-style-3 .jr-bc-separator {
    font-size: 10px;
    color: #ccc;
    margin: 0 2px;
}

/* =============================================
   STYLE 4 - Arrow Steps
   ============================================= */

.jr-bc-style-4 {
    padding: 12px 0;
}

.jr-bc-style-4 .jr-breadcrumb-list {
    gap: 0;
}

.jr-bc-style-4 .jr-breadcrumb-item {
    position: relative;
}

.jr-bc-style-4 .jr-breadcrumb-item a {
    color: #555;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 20px 8px 16px;
    background: #f3f4f6;
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%, 12px 50%);
    transition: all 0.3s ease;
    margin-left: -4px;
}

.jr-bc-style-4 .jr-breadcrumb-item:first-child a {
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
    border-radius: 6px 0 0 6px;
    margin-left: 0;
    padding-left: 14px;
}

.jr-bc-style-4 .jr-breadcrumb-item a:hover {
    color: #fff;
    background: #FF8C00;
}

.jr-bc-style-4 .jr-bc-current {
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 16px 8px 20px;
    background: linear-gradient(135deg, #FF8C00, #e67e00);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 12px 50%);
    border-radius: 0 6px 6px 0;
    margin-left: -4px;
}

.jr-bc-style-4 .jr-bc-separator {
    display: none;
}

/* =============================================
   STYLE 5 - Minimal Underline
   ============================================= */

.jr-bc-style-5 {
    padding: 16px 0;
    border-bottom: 2px solid #f0f0f0;
}

.jr-bc-style-5 .jr-breadcrumb-item a {
    color: #777;
    font-size: 14px;
    font-weight: 400;
    padding: 2px 0;
    position: relative;
}

.jr-bc-style-5 .jr-breadcrumb-item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FF8C00;
    transition: width 0.3s ease;
}

.jr-bc-style-5 .jr-breadcrumb-item a:hover {
    color: #FF8C00;
}

.jr-bc-style-5 .jr-breadcrumb-item a:hover::after {
    width: 100%;
}

.jr-bc-style-5 .jr-bc-current {
    color: #1a1a1a;
    font-weight: 600;
    font-size: 14px;
    position: relative;
    padding: 2px 0;
}

.jr-bc-style-5 .jr-bc-current::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #FF8C00;
}

.jr-bc-style-5 .jr-bc-separator {
    font-size: 11px;
    color: #ddd;
}

/* =============================================
   STYLE 6 - Gradient Bar
   ============================================= */

.jr-bc-style-6 {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 16px 28px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.jr-bc-style-6::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF8C00, #15803d, #FF8C00);
    background-size: 200% 100%;
    animation: jr-bc-gradient-shift 3s ease infinite;
}

@keyframes jr-bc-gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.jr-bc-style-6 .jr-breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.jr-bc-style-6 .jr-breadcrumb-item a:hover {
    color: #FF8C00;
}

.jr-bc-style-6 .jr-bc-current {
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
}

.jr-bc-style-6 .jr-bc-separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 11px;
}

.jr-bc-style-6 .jr-bc-home-icon i,
.jr-bc-style-6 .jr-bc-home-icon svg {
    color: rgba(255, 255, 255, 0.7);
    fill: rgba(255, 255, 255, 0.7);
}

.jr-bc-style-6 .jr-breadcrumb-item a:hover .jr-bc-home-icon i,
.jr-bc-style-6 .jr-breadcrumb-item a:hover .jr-bc-home-icon svg {
    color: #FF8C00;
    fill: #FF8C00;
}

.jr-bc-style-6 .jr-breadcrumb-page-title {
    color: #ffffff;
}

/* =============================================
   ANIMATIONS
   ============================================= */

.jr-breadcrumb-item {
    animation: jr-bc-fade-in 0.4s ease both;
}

.jr-breadcrumb-item:nth-child(1) { animation-delay: 0.05s; }
.jr-breadcrumb-item:nth-child(2) { animation-delay: 0.1s; }
.jr-breadcrumb-item:nth-child(3) { animation-delay: 0.15s; }
.jr-breadcrumb-item:nth-child(4) { animation-delay: 0.2s; }
.jr-breadcrumb-item:nth-child(5) { animation-delay: 0.25s; }
.jr-breadcrumb-item:nth-child(6) { animation-delay: 0.3s; }
.jr-breadcrumb-item:nth-child(7) { animation-delay: 0.35s; }
.jr-breadcrumb-item:nth-child(8) { animation-delay: 0.4s; }

@keyframes jr-bc-fade-in {
    from {
        opacity: 0;
        transform: translateX(-8px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 767px) {
    .jr-breadcrumb-list {
        gap: 4px;
    }

    .jr-bc-style-2 {
        padding: 10px 16px;
        border-radius: 8px;
    }

    .jr-bc-style-3 .jr-breadcrumb-item a,
    .jr-bc-style-3 .jr-bc-current {
        padding: 5px 10px;
        font-size: 12px;
    }

    .jr-bc-style-4 .jr-breadcrumb-item a {
        padding: 6px 16px 6px 14px;
        font-size: 12px;
    }

    .jr-bc-style-4 .jr-bc-current {
        padding: 6px 14px 6px 16px;
        font-size: 12px;
    }

    .jr-bc-style-6 {
        padding: 12px 18px;
        border-radius: 8px;
    }

    .jr-breadcrumb-page-title {
        font-size: 20px !important;
    }
}

@media (max-width: 480px) {
    .jr-breadcrumb-list {
        gap: 3px;
    }

    .jr-bc-style-4 .jr-breadcrumb-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .jr-bc-style-4 .jr-breadcrumb-list::-webkit-scrollbar {
        display: none;
    }
}