/*.int-num{*/
/*    flex-basis: 3% !important;*/
/*}*/

/*.int-invoice{*/
/*    flex-basis: 10% !important;*/
/*}*/

.delivery-date__datepicker{
    width: 232px;
    border-radius: 4px;
    height: 48px;
    border: 1px solid #2394E5;
    background: #ffffff;
    padding: 16px;
    display: flex;
    align-items: center;
    margin-top: 10px;

}

.delivery-date__datepicker.opened{
    background: rgba(0,0,0,0.1);
    transition: 0.5s;
}

.delivery-date__datepicker input{
    background: transparent;
}

.delivery-date__datepicker img{
    margin-right: 8px;
    width: 18px;
    height: 20px;
}

.delivery-date__datepicker input{
    font-size: 14px;
    border: none;
    cursor: pointer;
}

.flex-table-controls,
.flex-table-controls form{
    display: flex;
    margin-bottom: 20px;
    gap: 10px;
    align-items: end;
    flex-wrap: wrap;
    flex-basis: 100%
}

.flex-table-controls__dates{
    display: flex;
    gap: 10px;
}

.flex-table-controls__order{
    display: none;
}

.flex-table-controls__date{
    display: flex;
    flex-direction: column;
}

.flex-table-controls__button{
    flex-grow: 1;
    justify-content: start;
    display: flex;
    gap: 10px;
}

.flex-table-controls__button a{
    font-size: 18px;
    font-weight: bold;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
}

.flex-table-controls__order .select2{
    width: 232px;
    margin-top: 10px;
    border: 1px solid #2394E5;
    border-radius: 4px;
}

.flex-table-controls__order .select2 .select2-selection{
    border: none;
    height: 46px;
}

.mobile-label{
    display: none;
}

.flex-table-body{
    margin-bottom: 20px;
}

.int-num{
    flex: 1 0 30px !important;
    display: flex;
    justify-content: start;
}

.int-invoice{
    flex: 1 0 100px !important;
    display: flex;
    justify-content: start;
}

.int-fio{
    flex: 1 0 200px !important;
    display: flex;
    justify-content: start;
}

.int-date{
    flex: 1 0 100px !important;
    display: flex;
    justify-content: center;
}

.int-position{
    flex: 1 0 100px !important;
    display: flex;
    justify-content: center;
}

.int-bonus{
    flex: 1 0 100px !important;
    display: flex;
    justify-content: center;
}

.int-total{
    flex: 1 0 100px !important;
    display: flex;
    justify-content: center;
}

.bx-calendar-cell {
    opacity: 1 !important;
}

.qr-code{
    display: flex;
    gap: 20px;
}

.qr-code__image{
    display: flex;
    flex-direction: column;
    flex-basis: 405px;
    align-items: start;
}
.qr-code__image img{
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
    width: 100%;
}

.qr-code__image a{
    display: block;
    width: 100%;
    text-align: center;
}

.qr-code__share{
    display: flex;
    flex-direction: column;
    gap:15px;
    height: 230px;
    justify-content: space-between;
}

.qr-code__share-info p{
    padding: 0;
    margin: 0;
    font-weight: 600;
}

.qr-code__share-buttons {
    display: flex;
    /*flex-direction: column;*/
    gap: 15px;
}

.qr-code__share a{
    font-weight: bold;
    font-size: 14px;
    -webkit-box-pack: center;
    justify-content: center;
    text-align: center;
    height: 48px;
    border-radius: 5px;
    padding: 0px 25px;
    line-height: 48px;
    border: 1px solid transparent;
    width: 32%;

    opacity: .8;

    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.qr-code__share-wa{
    color: rgb(255, 255, 255);
    background: #25D366;
}

.qr-code__share-tg{
    color: rgb(255, 255, 255);
    background: #2394e6;
}

.qr-code__share-email{
    color: rgb(255, 255, 255);
    background: #739d06;
}

.qr-code__share a:hover{
    opacity: 1;

    /*background: none;*/
    /*color: #2394e6;*/
    /*border: 1px solid #2394e6;*/
}

/*.qr-code__share-email:hover{*/
/*    background: none;*/
/*    color: #739d06;*/
/*    border: 1px solid #739d06;*/
/*}*/

.qr-code__share-preview{
    width: 540px;
}

.qr-code__share-preview label{
    margin-bottom: 5px;
    display: inline-block;
}

.qr-code__share-preview textarea{
    width: 100%;
    height: 257px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    position: relative;
    resize: none;
}

.qr-code__share-save{
    position: absolute;
    margin-left: -100px;
    margin-top: 230px;
    display: none;
    border: 1px solid #2394e6;
    color: #2394e6;
    border-radius: 4px;
    font-size: 12px;
    background: none;
    transition: .3s;
    cursor: pointer;
}

.qr-code__share-save.active{
    display: inline-block;
}

.qr-code__share-save.warning{
    background: #739d06;
    color: #ffffff;
    border: 1px solid #739d06;
}

.qr-code__share-preview label span{
    color: #2394e6;
    cursor: pointer;
}

.qr-code__share-email-block{
    /*display: none;*/
    display: none;
    justify-content: space-between;
    width: 49%;
    gap: 5px;
}

.qr-code__share-email-block input{
    flex: 1 0 auto;
    border-radius: 4px;
    border: 1px solid #2394e6;
    padding: 10px;
}

.qr-code__share-email-block button{
    width: 48px;
    height: 48px;
    background: none;
    border-radius: 4px;
    border: 1px solid #2394e6;
    cursor: pointer;
}

.qr-code__share-buttons.email > .qr-code__share-tg,
.qr-code__share-buttons.email > .qr-code__share-wa
{
    display: none;
}

.qr-code__share-buttons.email > .qr-code__share-email-block{
    width: 100%;
    display: flex;
}

.qr-code__share-buttons.email > .qr-code__share-email{
    display: none;
}

.qr-code__share-result{
    display: none;
}

.qr-code__share-email-block input[type="text"].error{
    border: 1px solid red;
}

.flex-table-bonus{
    height: 48px;
    display: flex;
    align-items: center;
    position: relative;
}

.flex-table-bonus__balance{
    font-size: 22px;
    margin-right: 3px;
}

.flex-table-bonus sup{
    /*display: inline-block;*/
    /*border: 1px solid #2394e6;*/
    width: 14px;
    height: 14px;
    /*text-align: center;*/
    line-height: 14px;
    margin-left: 3px;
    /*border-radius: 50%;*/
    /*color: #2394e6;*/
    /*font-size: 10px;*/
    /*font-weight: 600;*/
    margin-top: -4px;

    position: absolute;
    top: 11px;
    right: 0;
}

.flex-table-bonus__notice{
    height: 48px;
}

.flex-table-bonus__notice svg{
    margin-top: 5px;
}

.flex-table-bonus__notice:hover > p{
    display: inline-block;
}

.flex-table-bonus__notice p{
    font-weight: 300;
    font-size: 14px;
    position: absolute;
    width: 300px;
    height: auto;
    background: #fff;
    display: none;
    transition: .3s;

    right: 20px;
    top: -35px;

    /* display: none; */
    padding: 16px;
    border-radius: 5px;
    z-index: 100;
    box-shadow: 0 4px 5px rgba(0,0,0,0.4);
    margin-top: 42px;
}

.flex-table-bonus.archive{
    justify-content: end;
}

.flex-table-bonus{
    height: 48px;
    display: flex;
    align-items: center;
    position: relative;
}

.flex-table-bonus__balance{
    font-size: 22px;
    margin-right: 3px;
}

.flex-table-bonus sup{
    /*display: inline-block;*/
    /*border: 1px solid #2394e6;*/
    width: 14px;
    height: 14px;
    /*text-align: center;*/
    line-height: 14px;
    margin-left: 3px;
    /*border-radius: 50%;*/
    /*color: #2394e6;*/
    /*font-size: 10px;*/
    /*font-weight: 600;*/
    margin-top: -4px;

    position: absolute;
    top: 11px;
    right: 0;
}

.flex-table-bonus__notice{
    height: 48px;
}

.flex-table-bonus__notice svg{
    margin-top: 5px;
}

.flex-table-bonus__notice:hover > p{
    display: inline-block;
}

.flex-table-bonus__notice p{
    font-weight: 300;
    font-size: 14px;
    position: absolute;
    width: 300px;
    height: auto;
    background: #fff;
    display: none;
    transition: .3s;

    right: 20px;
    top: -35px;

    /* display: none; */
    padding: 16px;
    border-radius: 5px;
    z-index: 100;
    box-shadow: 0 4px 5px rgba(0,0,0,0.4);
    margin-top: 42px;
}

.flex-table-bonus.archive{
    justify-content: end;
}

.qr-code__partner-id{    
    width: 100%;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
}

@media(max-width: 1280px){
    .mobile-label{
        display: block !important;
        font-weight: 600;
    }

    .flex-table-bonus{
        flex-basis: 100%;
        order: 10;
        justify-content: center;
        margin: 0 auto;
    }

    .flex-table-bonus__notice {
        right: 0;
        top: -20px;
    }

    .flex-table-controls__date{
        order: 20;
    }

    .flex-table-controls__button{
        order: 30;
    }
}

@media(max-width: 1024px){
    .flex-table-controls,
    .flex-table-controls form{
        display: flex;
        margin-bottom: 20px;
        gap: 10px;
        align-items: end;
        /*justify-content: space-between;*/
        flex-basis: 100%
    }

    .flex-table-controls__date,
    .flex-table-controls__order{
        flex-basis: 32%;
    }

    .delivery-date__datepicker{
        width: 100%
    }

    .flex-table-controls__order .select2{
        width: 100%
    }

    .int-num{
        flex: 1 0 5% !important;
    }

    .int-invoice{
        flex: 1 0 15% !important;
        flex-direction: column;
    }

    .int-fio{
        flex: 1 0 25% !important;
        flex-direction: column;
    }

    .int-date{
        flex: 1 0 20% !important;
        flex-direction: column;
    }

    .int-position{
        flex: 1 0 7% !important;
        flex-direction: column;
        align-items: center;
    }

    .int-bonus{
        flex: 1 0 10% !important;
        flex-direction: column;
        align-items: center;
    }

    .int-total{
        flex: 1 0 8% !important;
        flex-direction: column;
        align-items: center;
    }

    .flex-table-bonus.archive{
        justify-content: center;
    }

    .qr-code{
        flex-direction: column;
        /*min-height: 120vh;*/
    }

    .qr-code__share-buttons{
        flex-direction: column;
    }

    .qr-code__share-buttons a{
        width: 100%;
    }

    .qr-code__share-preview textarea {
        height: 300px;
    }

    .qr-code__share-save {
        margin-left: -90px;
        margin-top: 270px;
    }

    .qr-code__share {
        height: auto;
    }

    .qr-code__image{
        flex-basis: auto;
    }

    .qr-code__share-preview{
        width: 100%;
    }

    .flex-table-bonus.archive{
        justify-content: center;
    }
}

@media(max-width: 768px){
    .flex-table-controls__button button{
        flex: 1 0 auto;
    }

    .flex-table-controls__date,
    .flex-table-controls__order{
        flex-basis: 100%;
    }

    .flex-table-controls__button {
        justify-content: space-between;
    }

    .flex-table-row{
        flex-wrap: wrap;
    }

    .int-num{
        flex: 1 0 10% !important;
    }

    .int-invoice{
        flex: 1 0 25% !important;
        flex-direction: column;
    }

    .int-fio{
        flex: 1 0 40% !important;
        flex-direction: column;
    }

    .int-date{
        flex: 1 0 25% !important;
        flex-direction: column;
        align-items: center;
    }

    .int-position{
        flex: 1 0 7% !important;
        flex-direction: column;
        align-items: center;
    }

    .int-bonus{
        flex: 1 0 10% !important;
        flex-direction: column;
        align-items: center;
    }

    .int-total{
        flex: 1 0 8% !important;
        flex-direction: column;
        align-items: center;
    }

    .qr-code__share a{
        opacity: 1;
    }

    .flex-table-bonus{
        flex-basis: 100%;
    }

    .flex-table-bonus__notice p{
        width: 100%;
        left: 0;
        top: -15px;
    }

    .flex-table-bonus{
        flex-basis: 100%;
    }

    .flex-table-bonus__notice p{
        width: 100%;
        left: 0;
        top: -15px;
    }
}

@media(max-width: 410px){
    .int-num{
        flex: 1 0 50% !important;
    }

    .int-invoice{
        flex: 1 0 50% !important;
        flex-direction: column;
    }

    .int-fio{
        flex: 1 0 50% !important;
        flex-direction: column;
    }

    .int-date{
        flex: 1 0 50% !important;
        flex-direction: column;
        align-items: start;
    }

    .int-position{
        flex: 1 0 50% !important;
        flex-direction: column;
        align-items: start;
    }

    .int-bonus{
        flex: 1 0 50% !important;
        flex-direction: column;
        align-items: start;
    }

    .int-total{
        flex: 1 0 50% !important;
        flex-direction: column;
        align-items: start;
    }
}