#wcsbc-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.wcsbc-modal-inner {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    width: 300px;
    text-align: center;
}

button#start-scanner {
    background: #bcce00;
    display: flex;
    padding: 1rem;
    text-align: center;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 8px;
}

div#scanner-status {
    text-align: center;
}

div#product-panel {
    text-align: center;
}

img#wcsbc-img {
    display: inline-block;
}

.wcsbc-qty {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

button#qty-minus,
button#qty-plus {
    background: #dddddd;
    border-radius: 50%;
    display: flex;
    line-height: 1;
    width: 2.5rem;
    height: 2.5rem;
    justify-content: center;
    align-items: center;
}
button#wcsbc-add {
    background: #bcce00;
    width: 100%;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    text-transform: uppercase;
    font-weight: 700;
}

/* Loader + spinner (unchanged) */
.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 200px;
    width: 100%;
}

@keyframes spin {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(359deg);
    }
}

.spinner-box {
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
}

.circle-border {
    width: 50px;
    height: 50px;
    padding: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: linear-gradient(0deg,
            rgba(0, 44, 76, 0.1) 33%,
            rgba(0, 44, 76, 1) 100%);
    animation: spin 0.333s linear infinite;
}

.circle-core {
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 50%;
}

.loader-inline {
    display: flex;
    column-gap: 6px;
    font-size: 90%;
    align-items: center;
    min-height: 40px;
    padding-left: 1rem;
}

.loader-inline .spinner-box {
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
}

.loader-inline .circle-border {
    width: 20px;
    height: 20px;
    padding: 1px;
}

.loader-inline p.loader-message {
    margin-bottom: 0;
}


#barcode-video {
    width: 100%;
    height: 225px;
    object-fit: cover;
    border-radius: 8px;
}