﻿.breadcrumbs
{
    margin: 1.5rem 0;
}

.breadcrumbs-list
{
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
    gap: 0.25rem 0;
}

.breadcrumbs-item
{
    display: flex;
    align-items: center;
    max-width: 100%;
}

    .breadcrumbs-item:not(:last-child)::after
    {
        content: "";
        display: inline-block;
        width: 16px;
        height: 16px;
        margin: 0 0.5rem;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E") center / 16px no-repeat;
        flex-shrink: 0;
    }

.breadcrumbs-link
{
    color: #325650;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

    .breadcrumbs-link:hover
    {
        color: #ffc55e;
    }

    .breadcrumbs-link img
    {
        display: block;
        height: 24px;
        width: 24px;
        flex-shrink: 0;
    }

.breadcrumbs-current
{
    font-weight: 600;
    color: #ffc55e;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 576px)
{
    .breadcrumbs-link
    {
        max-width: 120px;
    }

    .breadcrumbs-current
    {
        max-width: 200px;
    }

    .breadcrumbs-item:not(:last-child)::after
    {
        margin: 0 0.25rem;
    }
}



.search-compare-section
{
    margin-bottom: 2.5rem;
}

.search-compare-wrapper
{
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-input-wrapper
{
    position: relative;
    flex: 1;
}

.search-icon
{
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 1.25rem;
    pointer-events: none;
    z-index: 2;
}

#searchBox
{
    width: 100%;
    height: 3.5rem;
    padding: 0 1.25rem 0 3.5rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    background-color: #ffffff;
    color: #343434;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

    #searchBox::placeholder
    {
        color: #adb5bd;
    }

    #searchBox:focus
    {
        outline: none;
        border-color: #325650;
        box-shadow: 0 0 0 4px rgba(50, 86, 80, 0.1);
    }

#results
{
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    z-index: 1000;
    max-height: 480px;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 2px solid #e9ecef;
    list-style: none;
    padding: 0;
    margin: 0;
}

    #results:empty
    {
        display: none;
    }

    #results li
    {
        padding: 1.25rem 1.5rem;
        border-left: 4px solid transparent;
        transition: all 0.2s ease;
        cursor: pointer;
        border-bottom: 0.5px solid #C4C4C4;
    }

        #results li:hover
        {
            background-color: #f8f9fa;
            border-left-color: #ffc55e;
        }

        #results li a
        {
            text-align: start;
            color: #2b2b2b;
            text-decoration: none;
            font-weight: 700;
            font-size: 1.125rem;
            display: block;
            margin-bottom: 0.5rem;
            transition: color 0.2s ease;
        }

        #results li:hover a
        {
            color: #274a45;
        }

        #results li small
        {
            display: flex;
            align-items: center;
            color: #868e96;
            font-size: 0.875rem;
            font-weight: 400;
            gap: 0.25rem;
            flex-wrap: wrap;
        }

            #results li small .path-separator
            {
                color: #c5cbd1;
                margin: 0 0.25rem;
            }

            #results li small .path-part
            {
                color: #868e96;
            }

        #results li:hover small .path-part:last-child
        {
            color: #325650;
            font-weight: 500;
        }

    #results::-webkit-scrollbar
    {
        width: 8px;
    }

    #results::-webkit-scrollbar-track
    {
        background: #f8f9fa;
        border-radius: 0 12px 12px 0;
    }

    #results::-webkit-scrollbar-thumb
    {
        background: #cbd5e0;
        border-radius: 4px;
    }

        #results::-webkit-scrollbar-thumb:hover
        {
            background: #a0aec0;
        }

@media (max-width: 768px)
{
    .search-compare-wrapper
    {
        flex-direction: column;
    }

    #searchBox
    {
        height: 3rem;
    }

    #results
    {
        max-height: 350px;
    }

        #results li
        {
            padding: 1rem 1.25rem;
        }

            #results li a
            {
                font-size: 1rem;
            }
}



#compareButton
{
    height: 3.5rem;
    padding: 0 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

    #compareButton:not(.active)
    {
        background-color: #ffc55e;
        color: #343434;
    }

        #compareButton:not(.active):hover
        {
            background-color: #ffb732;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255, 197, 94, 0.3);
        }

    #compareButton.active
    {
        background-color: #325650;
        color: #ffffff;
    }

        #compareButton.active:hover
        {
            background-color: #2a4a43;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(50, 86, 80, 0.3);
        }

    #compareButton i
    {
        font-size: 1.25rem;
    }

@media (max-width: 768px)
{
    .search-compare-wrapper
    {
        flex-direction: column;
    }

    .search-input-wrapper
    {
        width: 100%;
    }

    #compareButton
    {
        width: 100%;
        justify-content: center;
    }
}



.json-wrapper
{
    width: 100%;
    min-width: 0;
    flex: 1 1 auto;
}

.json-only
{
    width: 75%;
    max-width: 75%;
}

.json-default
{
    max-width: 750px;
}

.json-data-container
{
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 2px solid #e9ecef;
    overflow: hidden;
    overflow-x: auto;
}

.json-data-header
{
    padding: 1.5rem;
    border-bottom: 2px solid #ffc55e;
    background: linear-gradient(135deg, #325650 0%, #2a4a43 100%);
}

.json-data-title
{
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.json-data-table
{
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

    .json-data-table tbody tr
    {
        border-bottom: 1px solid #e9ecef;
        transition: background-color 0.2s ease;
    }

        .json-data-table tbody tr:nth-child(even)
        {
            background-color: #f8f9fa;
        }

        .json-data-table tbody tr:hover
        {
            background-color: #fff9e6;
        }

        .json-data-table tbody tr:last-child
        {
            border-bottom: none;
        }

    .json-data-table td
    {
        padding: 1rem 1.5rem;
        vertical-align: top;
    }

        .json-data-table td:first-child
        {
            font-weight: 700;
            color: #343434;
            width: 35%;
            border-right: 2px solid #e9ecef;
        }

        .json-data-table td:last-child
        {
            color: #495057;
        }

    .json-data-table a
    {
        color: #325650;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.2s ease;
        padding-bottom: 2px;
    }

        .json-data-table a:hover
        {
            color: #ffc55e;
            border-bottom-color: #ffc55e;
            background-color: rgba(255, 197, 94, 0.1);
        }

.json-data-list
{
    list-style: none;
    padding: 0;
    margin: 0;
}

    .json-data-list li
    {
        padding: 0.5rem 0;
        padding-left: 1.5rem;
        position: relative;
    }

        .json-data-list li:before
        {
            content: "•";
            color: #ffc55e;
            font-weight: bold;
            font-size: 1.2rem;
            position: absolute;
            left: 0;
        }

        .json-data-list li:last-child
        {
            padding-bottom: 0;
        }

@media (max-width: 768px)
{
    .json-only
    {
        width: 100%;
        max-width: 100%;
    }

    .json-data-table td
    {
        padding: 0.875rem 1rem;
    }

        .json-data-table td:first-child
        {
            width: 40%;
            font-size: 0.9rem;
        }

    .json-data-header
    {
        padding: 1.25rem;
    }

    .json-data-title
    {
        font-size: 1.1rem;
    }
}



.company-logos-section
{
    background: linear-gradient(135deg, #325650 0%, #2a4a43 100%);
    border-radius: 12px;
    padding: 2rem;
    border: 2px solid #325650;
    box-shadow: 0 4px 12px rgba(50, 86, 80, 0.15);
}

.company-logos-title
{
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 3px solid #ffc55e;
    padding-bottom: 0.75rem;
}

.company-logos-grid
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    align-items: center;
    justify-items: center;
}

.company-logo-link
{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: #ffffff;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    width: 100%;
    height: 100px;
    text-decoration: none;
}

    .company-logo-link:hover
    {
        background: #ffffff;
        border-color: #ffc55e;
        transform: translateY(-4px);
        box-shadow: 0 6px 20px rgba(255, 197, 94, 0.4);
    }

.company-logo-img
{
    max-height: 60px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.company-logo-link:hover .company-logo-img
{
    filter: grayscale(0%);
}

@media (max-width: 768px)
{
    .company-logos-grid
    {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 1rem;
    }

    .company-logo-link
    {
        height: 80px;
        padding: 0.75rem;
    }

    .company-logo-img
    {
        max-height: 50px;
    }
}

@media (max-width: 576px)
{
    .company-logos-section
    {
        padding: 1.5rem;
    }

    .company-logos-grid
    {
        grid-template-columns: repeat(2, 1fr);
    }
}



.nodes-wrapper
{
    flex: 1 1 300px;
    min-width: 250px;
}

.node-item
{
    flex: 0 0 45%;
    max-width: 45%;
}

.nodes-container
{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 50px;
}

.node-card
{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #343434;
    transition: all 0.3s ease;
    flex: 1 1 calc(25% - 50px);
    max-width: calc(25% - 50px);
}

    .node-card:hover
    {
        transform: translateY(-8px);
        color: #343434;
    }

.node-card-circle
{
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffc55e 0%, #FCF7DC 100%);
    box-shadow: 0 4px 12px rgba(255, 197, 94, 0.25);
    transition: all 0.3s ease;
}

    .node-card-circle img
    {
        width: 60%;
        height: auto;
        max-width: 120px;
    }

.node-card:hover .node-card-circle
{
    box-shadow: 0 8px 24px rgba(255, 197, 94, 0.4);
    transform: scale(1.05);
}

.node-card h2
{
    margin-top: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    padding: 0 1rem;
}

.node-card-rectangle
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    text-decoration: none;
    border-radius: 10px;
    background: linear-gradient(90deg, #ffc55e 0%, #FCF7DC 100%);
    color: #343434;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(255, 197, 94, 0.2);
}

    .node-card-rectangle:hover
    {
        transform: translateX(6px);
        box-shadow: 0 4px 12px rgba(255, 197, 94, 0.35);
        color: #343434;
    }

    .node-card-rectangle i
    {
        font-size: 1.4rem;
        transition: transform 0.3s ease;
    }

    .node-card-rectangle:hover i
    {
        transform: translateX(3px);
    }

@media (max-width: 1200px)
{
    .node-card
    {
        flex: 1 1 calc(33.333% - 40px);
        max-width: calc(33.333% - 40px);
    }

    .node-card-circle
    {
        width: 170px;
        height: 170px;
    }

        .node-card-circle img
        {
            width: 60%;
            height: auto;
            max-width: 100px;
        }
}

@media (max-width: 768px)
{
    .node-card
    {
        flex: 1 1 calc(45% - 20px);
        max-width: calc(45% - 20px);
    }

    .node-card-circle
    {
        width: 140px;
        height: 140px;
    }

        .node-card-circle img
        {
            width: 60%;
            height: auto;
            max-width: 80px;
        }

    .node-card h2
    {
        font-size: 1.2rem;
        margin-top: 1rem;
    }
}

@media (max-width: 576px)
{
    .node-card
    {
        flex: 1 1 calc(45% - 20px);
        max-width: calc(45% - 20px);
    }

    .node-card-circle
    {
        width: 110px;
        height: 110px;
    }

        .node-card-circle img
        {
            width: 60%;
            height: auto;
            max-width: 60px;
        }

    .node-card h2
    {
        font-size: 1.1rem;
    }

    .node-card-rectangle
    {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }
}