/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-d3arf303g1] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-d3arf303g1] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-qir579lbqf],
.components-reconnect-repeated-attempt-visible[b-qir579lbqf],
.components-reconnect-failed-visible[b-qir579lbqf],
.components-pause-visible[b-qir579lbqf],
.components-resume-failed-visible[b-qir579lbqf],
.components-rejoining-animation[b-qir579lbqf] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-qir579lbqf],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-qir579lbqf],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-qir579lbqf],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-qir579lbqf],
#components-reconnect-modal.components-reconnect-retrying[b-qir579lbqf],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-qir579lbqf],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-qir579lbqf],
#components-reconnect-modal.components-reconnect-failed[b-qir579lbqf],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-qir579lbqf] {
    display: block;
}


#components-reconnect-modal[b-qir579lbqf] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-qir579lbqf 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-qir579lbqf 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-qir579lbqf 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-qir579lbqf]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-qir579lbqf 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-qir579lbqf {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-qir579lbqf {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-qir579lbqf {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-qir579lbqf] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-qir579lbqf] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-qir579lbqf] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-qir579lbqf] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-qir579lbqf] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-qir579lbqf] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-qir579lbqf] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-qir579lbqf 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-qir579lbqf] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-qir579lbqf {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Shared/ResultsPanel.razor.rz.scp.css */
.results-panel[b-6we98xhn8u] {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.results-panel__header[b-6we98xhn8u] {
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
    padding: 1rem 1.5rem;
}

.results-panel__heading-row[b-6we98xhn8u] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}

.results-panel__title[b-6we98xhn8u] {
    margin: 0 0 0.25rem;
    color: #111827;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
}

.results-panel__subtitle[b-6we98xhn8u] {
    margin: 0;
    color: #4b5563;
    font-size: 0.875rem;
}

.results-panel__body[b-6we98xhn8u] {
    position: relative;
    flex: 1;
    overflow: auto;
    background: #f9fafb;
    padding: 1.5rem;
}

.results-empty-state[b-6we98xhn8u] {
    height: 100%;
    border: 1px dashed #d1d5db;
    border-radius: 0.75rem;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.results-empty-state__content[b-6we98xhn8u] {
    text-align: center;
    padding: 0 1.5rem;
}

.results-empty-state__title[b-6we98xhn8u] {
    margin: 0 0 0.25rem;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
}

.results-empty-state__subtitle[b-6we98xhn8u] {
    margin: 0;
    color: #6b7280;
    font-size: 0.75rem;
}

.results-empty-state__title--error[b-6we98xhn8u] {
    color: #b91c1c;
}

.results-empty-state__subtitle--error[b-6we98xhn8u] {
    color: #991b1b;
}

.similar-list[b-6we98xhn8u] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.similar-card[b-6we98xhn8u] {
    width: 100%;
    position: relative;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background: #ffffff;
    padding: 1rem;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.similar-card:focus-visible[b-6we98xhn8u] {
    outline: none;
    border-color: #fd7e14;
    box-shadow: 0 0 0 3px rgba(253, 126, 20, 0.22);
}

.similar-card.is-selected[b-6we98xhn8u] {
    border-color: #fd7e14;
    background: #fffaf5;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

@media (hover: hover) {
    .similar-card:not(.is-selected):not(:focus-visible):hover[b-6we98xhn8u] {
        border-color: #d1d5db;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    }
}

.similar-card__content[b-6we98xhn8u] {
    display: grid;
    grid-template-columns: 4rem minmax(0, 1fr) minmax(10rem, 12rem);
    gap: 1rem;
    align-items: center;
}

.similar-card__thumb[b-6we98xhn8u] {
    width: 4rem;
    height: 4rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.similar-card__thumb-image[b-6we98xhn8u] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.25rem;
}

.similar-card__thumb-placeholder[b-6we98xhn8u] {
    width: 2rem;
    height: 2rem;
    color: #9ca3af;
}

.similar-card__main[b-6we98xhn8u] {
    min-width: 0;
}

.similar-card__header[b-6we98xhn8u] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.similar-card__name[b-6we98xhn8u] {
    margin: 0;
    min-width: 0;
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.similar-card__meta[b-6we98xhn8u] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.meta-item[b-6we98xhn8u] {
    display: inline-flex;
    align-items: center;
    color: #475569;
    font-size: 0.75rem;
    line-height: 1.25;
}

.meta-item__value[b-6we98xhn8u] {
    font-weight: 500;
    white-space: nowrap;
}

.similar-card__scores[b-6we98xhn8u] {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    min-width: 0;
}

.score-line[b-6we98xhn8u] {
    min-width: 0;
}

.score-line__header[b-6we98xhn8u] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.24rem;
    gap: 0.5rem;
}

.score-line__label[b-6we98xhn8u] {
    color: #64748b;
    font-size: 0.69rem;
    font-weight: 500;
    line-height: 1;
}

.score-line__value[b-6we98xhn8u] {
    color: #1f2937;
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1;
}

.score-line__bar[b-6we98xhn8u] {
    width: 100%;
    height: 0.35rem;
    border-radius: 999px;
    background: #e5e7eb;
    overflow: hidden;
}

.score-line__fill[b-6we98xhn8u] {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #fd7e14 0%, #f97316 100%);
}

.score-line--muted .score-line__fill[b-6we98xhn8u] {
    background: #94a3b8;
}

@media (max-width: 900px) {
    .results-panel__body[b-6we98xhn8u] {
        padding: 1rem;
    }

    .similar-card[b-6we98xhn8u] {
        padding: 0.875rem;
    }

    .similar-card__content[b-6we98xhn8u] {
        grid-template-columns: 3.5rem minmax(0, 1fr);
        gap: 0.875rem;
        align-items: start;
    }

    .similar-card__thumb[b-6we98xhn8u] {
        width: 3.5rem;
        height: 3.5rem;
    }

    .similar-card__scores[b-6we98xhn8u] {
        grid-column: 1 / -1;
        margin-left: calc(3.5rem + 0.875rem);
        width: auto;
    }
}

@media (max-width: 640px) {
    .results-panel__header[b-6we98xhn8u] {
        padding: 0.875rem 0.75rem;
    }

    .results-panel__body[b-6we98xhn8u] {
        padding: 0.875rem 0.75rem;
    }

    .similar-card[b-6we98xhn8u] {
        padding: 0.8rem;
    }

    .similar-card__content[b-6we98xhn8u] {
        grid-template-columns: 3.1rem minmax(0, 1fr);
        gap: 0.75rem;
    }

    .similar-card__thumb[b-6we98xhn8u] {
        width: 3.1rem;
        height: 3.1rem;
    }

    .similar-card__name[b-6we98xhn8u] {
        font-size: 0.9375rem;
    }

    .similar-card__meta[b-6we98xhn8u] {
        gap: 0.4rem;
    }

    .meta-item[b-6we98xhn8u] {
        font-size: 0.6875rem;
    }

    .similar-card__scores[b-6we98xhn8u] {
        margin-left: 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .score-line__label[b-6we98xhn8u] {
        font-size: 0.64rem;
    }

    .score-line__value[b-6we98xhn8u] {
        font-size: 0.7rem;
    }
}

@media (max-width: 420px) {
    .results-panel__body[b-6we98xhn8u] {
        padding: 0.65rem;
    }

    .similar-list[b-6we98xhn8u] {
        gap: 0.6rem;
    }

    .similar-card[b-6we98xhn8u] {
        padding: 0.72rem;
    }

    .similar-card__content[b-6we98xhn8u] {
        grid-template-columns: 2.85rem minmax(0, 1fr);
        gap: 0.62rem;
    }

    .similar-card__thumb[b-6we98xhn8u] {
        width: 2.85rem;
        height: 2.85rem;
    }

    .similar-card__name[b-6we98xhn8u] {
        font-size: 0.875rem;
    }

    .meta-item[b-6we98xhn8u] {
        font-size: 0.65rem;
    }

    .similar-card__scores[b-6we98xhn8u] {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }
}
