/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-b2pxxghtti],
.components-reconnect-repeated-attempt-visible[b-b2pxxghtti],
.components-reconnect-failed-visible[b-b2pxxghtti],
.components-pause-visible[b-b2pxxghtti],
.components-resume-failed-visible[b-b2pxxghtti],
.components-rejoining-animation[b-b2pxxghtti] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-b2pxxghtti],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-b2pxxghtti],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-b2pxxghtti],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-b2pxxghtti],
#components-reconnect-modal.components-reconnect-retrying[b-b2pxxghtti],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-b2pxxghtti],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-b2pxxghtti],
#components-reconnect-modal.components-reconnect-failed[b-b2pxxghtti],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-b2pxxghtti] {
    display: block;
}


#components-reconnect-modal[b-b2pxxghtti] {
    background-color: var(--rz-dialog-background-color);
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: var(--rz-dialog-border-radius);
    box-shadow: var(--rz-dialog-shadow);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-b2pxxghtti 0.5s both;
    &[open] {
        animation: components-reconnect-modal-slideUp-b-b2pxxghtti 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-b2pxxghtti 0.5s ease-in-out 0.3s;
        animation-fill-mode: both;
    }

}

#components-reconnect-modal[b-b2pxxghtti]::backdrop {
    background-color: var(--rz-dialog-mask-background-color);
    animation: components-reconnect-modal-fadeInOpacity-b-b2pxxghtti 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-b2pxxghtti {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-b2pxxghtti {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-b2pxxghtti {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-b2pxxghtti] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-b2pxxghtti] {
    margin: 0;
    text-align: center;
}

.components-rejoining-animation[b-b2pxxghtti] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-b2pxxghtti] {
        position: absolute;
        border: 3px solid var(--rz-primary);
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-b2pxxghtti 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-b2pxxghtti] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-b2pxxghtti {
    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/Pages/Suppliers/Suppliers.razor.rz.scp.css */
.supplier-search-heading[b-nulz9cfh0w] {
    max-width: 48rem;
    margin: 1rem auto 0;
    text-align: center;
}

.supplier-search-heading-icon[b-nulz9cfh0w] {
    color: var(--brand-blue);
    font-size: 2.5rem;
}

.supplier-search-tabs[b-nulz9cfh0w] {
    width: 100%;
}

.supplier-reset-button[b-nulz9cfh0w] {
    min-height: 3rem;
    padding-inline: 1.25rem;
    border-width: 2px;
    font-weight: 700;
    box-shadow: 0 0.25rem 0.75rem color-mix(in srgb, transparent 88%, var(--rz-danger));
}

.supplier-ai-search-card[b-nulz9cfh0w] {
    width: 100%;
    padding: clamp(0.5rem, 2vw, 1.5rem);
    border-radius: 1.5rem;
    background: color-mix(in srgb, var(--rz-card-background-color) 96%, var(--brand-blue));
    box-shadow: 0 0.5rem 1.75rem color-mix(in srgb, transparent 88%, var(--brand-deep-navy));
}

.supplier-ai-chat[b-nulz9cfh0w] {
    width: 100%;
    min-height: 28rem;
}

/* The transcript is read-only; the supplier search form owns the only visible input. */
.supplier-chat-transcript[b-nulz9cfh0w]  .rz-chat-input {
    display: none;
}

.supplier-advanced-search[b-nulz9cfh0w] {
    width: 100%;
}

.supplier-search-progress[b-nulz9cfh0w] {
    min-height: 8rem;
    justify-content: center;
}

[b-nulz9cfh0w] .supplier-search-tabs > .rz-tabview-panels {
    padding: 1rem 0 0;
}

[b-nulz9cfh0w] .supplier-ai-search-card .rz-card {
    border-radius: 1rem;
}

@media (max-width: 768px) {
    .supplier-ai-search-card[b-nulz9cfh0w] {
        padding: 0.25rem;
        border-radius: 1rem;
    }

    .supplier-ai-chat[b-nulz9cfh0w] {
        min-height: 24rem;
    }
}
