.code-settings__wrap{
    padding: 20px 20px 90px 20px;
}

.qr-tab{
    /* max-width: 825px; */
    width: 100%;

    border: .5px solid var(--border-primary);
    border-radius: 10px;
}

.qr-tab__wrap{
    display: flex;
    flex-direction: column;
    gap: 28px;

    padding: 18px 24px;
}

.qr-tab.gap-none{
    gap: 0;
}

.qr-tab:not(:last-of-type){
    margin-bottom: 16px;
}

.qr-tab__header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.qr-tab__header.padding{
    padding: 18px 24px;
}

.qr-tab__title{
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    line-height: 20px;

    padding-bottom: 5px;
}
.qr-tab__description{
    color: var(--text-secondery);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.qr-tab__content-list{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px,1fr));
    gap: 15px;
}

.qr-tab__line{
    width: 100%;
    border-bottom: .5px solid var(--border-primary);
    
    /* margin: 28px 0; */
}

.qr-tab__input.input{
    padding: 14px 10px;
    caret-color: var(--accent-primary);
}

.qr-tab__input.input:focus{
    border-color: var(--accent-primary);
}

.qr-tab__dropdown.categories button{
    height: 52px;
    box-shadow: none;
}

.qr-tab__dropdown .dropdown-btn{
    background-color: transparent;
}

.qr-tab__dropdown.categories button span:not(.active-categories){
    background-color: transparent;
    border: none;
}

.qr-tab__dropdown .btn{
    border: none;
    border-radius: 0;
    color: var(--text-primary);
}

.qr-tab__custom-delete{
    width: 52px;
    height:52px;
}

.qr-tab__table tbody,
.qr-tab__table tbody input{
    color: var(--text-primary);
}

.qr-tab__dispatch-list-wrap{
    overflow: hidden;
    padding: 16px 16px 16px 36px;

    transition: all .4s ease-in-out;
}

.qr-tab__dispatch-list-wrap.short{
    padding-bottom: 0;
}

.qr-tab__dispatch-list{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.qr-tab__dispatch-more{
    cursor: pointer;
    color: var(--accent-primary);
    font-size: 15px;
    font-weight: 500;
    line-height: 24px;
    text-decoration: underline;

    margin-left: 36px;
    transition: opacity .3s ease-in-out;
}

.qr-tab__dispatch-more:hover{
    opacity: .7;
    transition: opacity .3s ease-in-out;
}

.table.qr-tab__table{
    overflow: auto;
}

.table.qr-tab__table tr,
.table.qr-tab__table-devices tr{
    height: 40px;
 
}
.table.qr-tab__table tr th,
.table.qr-tab__table-devices tr th{
    padding: 0 10px;
}

.table.qr-tab__table tr th:first-of-type{
    width: 40px;
    padding: 0 16px;
}

.table.qr-tab__table tr td:first-of-type{
    text-align: center;
}

.table.qr-tab__table tr td:last-of-type{
    width: 52px;
    padding: 0;
}

.table.qr-tab__table td{
    padding: 0;
}


.qr-preview{
    position: fixed;
    z-index: 999999;
    top: 0;
    left: 0;

    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 17, 25, 0.6);

    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-preview__overflow{
    padding: 16px;

    width: 100%;
    max-width: 950px;
    max-height: calc(100vh - 64px);
}

.qr-preview__wrap{
    max-height: calc(100vh - 148px);
    /* max-height: calc(100vh - 64px); */
    background-color: var(--white);
    box-shadow: 0px 0px 1px rgb(26 32 36 / 32%), 0px 1px 2px rgb(91 104 113 / 32%);
    border-radius: 8px;

    padding: 28px;
    /* overflow: hidden; */

}

.qr-preview__header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    /* margin-bottom: 28px; */
}

.qr-preview__code{
    flex: 0 0 150px;
    margin-top: 28px;
}

.qr-code{
    width: 150px;
    height: 150px;
}

.qr-code rect{
    fill: transparent;
}

.qr-preview__body{
    display: flex;
    justify-content: space-between;
    gap: 28px;

    max-height: calc(100vh - 250px);
}

.qr-preview__content-wrap{
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    margin-right: -12px;
    padding-right: 5px;
}

.qr-preview__content-wrap::-webkit-scrollbar{
    display: block;
}

.qr-preview__content{
    height: 100%;

    display: flex;
    flex-direction: column; 
}

.qr-preview__title{
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    line-height: 20px;
    margin-bottom: 5px;
}
.qr-preview__text{
    color: var(--text-secondery);
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;

}

.qr-preview__list{
    display: flex;
}

.qr-preview__manufactiring-info{
    padding: 24px 16px;

    border-radius: 8px ;
    box-shadow:inset 0px 0px 2px 2px #5B68713D, inset 0px 0px 1px 1px #1A202452;
}

.qr-preview__company-info{
    margin-top: 28px;
}

.qr-preview__content table tbody:not(:first-of-type) tr:first-of-type td{
    border-top: 0.5px solid var(--border-primary);
}
.qr-preview__grid{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(250px, 1fr));
    gap:10px 16px;
}