/* Recycled (Return Stock): uses invotory.css, these are the extras */

/* the side tab that's open */
.side .rsTab.active{
    background-color: var(--main-color);
    border-color: var(--main-color);
    color: #fff;
}

.rsNote{
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 14px;
}

/* columns fit the content here, not the inventory widths */
.items th:nth-child(n){
    width: auto;
}

.items .empty{
    text-align: center;
    color: var(--muted);
}

.sub{
    font-size: 13px;
    color: var(--muted);
}

.items td button{
    padding: 5px 13px;
    background: transparent;
    color: var(--main-color);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

.items td button:hover{
    background: var(--main-color);
    border-color: var(--main-color);
    color: #fff;
}

/* Totals */
.cards{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin: 24px 0 10px;
}

.card{
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    color: var(--muted);
}

.card .big{
    font-size: 28px;
    font-weight: 700;
    margin-top: 6px;
    color: var(--main-color);
}

.card.main{
    background: var(--main-color);
    border-color: var(--main-color);
    color: #ddd;
}

.card.main .big{
    color: #fff;
}

.items .totalRow td{
    font-weight: 700;
    border-top: 1px solid var(--main-color);
}

/* send-out popup */
.sendForm{
    display: grid;
    gap: 8px;
    text-align: left;
}

.sendForm select,
.sendForm input{
    font-size: 16px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 6px;
}

/* price + small Edit button in one cell */
.priceCell{
    white-space: nowrap;
}

.items td .editPrice{
    margin-left: 6px;
    padding: 2px 9px;
    font-size: 12px;
}

.perSwitch{
    display: flex;
    gap: 18px;
}

.perSwitch label{
    display: flex;
    align-items: center;
    gap: 6px;
}
