.computy_skidka_form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.computy_skidka_form form {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.computy_skidka_form .write_points_form {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.computy_skidka_form .write_points_form.bfw-write-off-line {
    width: 100%;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
}

.bfw-write-off-row td {
    padding-top: 10px;
    padding-bottom: 10px;
}

.opacity05 {
    opacity: 0.5;
}

.loading_button {
    pointer-events: none;
    cursor: default;

}

.loading_button .button__text {
    visibility: hidden;
    opacity: 0;
}

.loading_button::after {
    content: "";
    position: absolute;
    width: 25px;
    height: 25px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border: 4px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: button-loading-spinner 1s ease infinite;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }

    to {
        transform: rotate(1turn);
    }
}

.computy_skidka_form .input-text {
    max-width: 90px;
    padding: 10px;
}

.computy_skidka_form .button, .computy_skidka_form .remove_points {
    padding: 10px;
    cursor: pointer;
    color: #fff;
    border: none;
}

.computy_skidka_form .button {
    background: #4CAF50;
}

.computy_skidka_form .remove_points {
    background: #F44336;
    position: relative;
}

#bfw_remove_cart_point {
    background-image: url("../img/remove.svg");
    font-size: 0;
    width: 25px;
    height: 25px;
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
    float: right;
    margin: -3px 0 0 5px;
}

#bfw_remove_cart_point:hover {
    opacity: 0.8;
    cursor: pointer;
}

.woocommerce-variation-price .bfw_social_links {
    display: none;
}

.bfw_not_participant {
    color: #F44336;
    font-weight: bold;
}

/*
.related.products .how_mach_bonus,
 .up-sells  .how_mach_bonus{
    display: none;
}*/
.related.products .bfw_social_links {
    display: none;
}

.bfw-spisanie-title::before {
    content: none;
}

.bfw-spisanie-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bfw-dogibonus-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
}

.bfw-fixed-points-amount {
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
}


#copy_referal {
    display: inline-block;
    background: url(../img/copy.svg);
    width: 18px;
    height: 18px;
    background-size: cover;
    margin: 0;
    cursor: pointer;
    flex: 0 0 18px;
}

#copy_good {
    font-size: 12px;
    padding: 0;
    color: #000;
    display: block;
    width: 100%;
    flex-basis: 100%;
    margin-top: 2px;
}

.bfw-account_referral {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

#code_referal {
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    line-height: 1.35;
}

.bfw-history-shortcode #table-history-points {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0 6px;
}

.bfw-history-shortcode #table-history-points tbody tr {
    margin-bottom: 6px;
}

.bfw-history-shortcode #table-history-points tbody tr td:nth-child(1) {
    width: 12%;
}

.bfw-history-shortcode #table-history-points tbody tr td:nth-child(2) {
    width: 12%;
}

.bfw-marketplace-shortcode {
    margin: 16px 0;
}

.bfw-marketplace-status-message {
    font-size: 14px;
    font-weight: 400;
}

.bfw-marketplace-intro {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.bfw-marketplace-awarded {
    margin-bottom: 16px;
}

.bfw-marketplace-awarded-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bfw-marketplace-awarded-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #674623;
}

.bfw-platform-requirement{font-size: 15px;font-weight: 500;color: #db7230;}

.bfw-marketplace-awarded-icon {
    width: 16px;
    flex: 0 0 16px;
}

.bfw-marketplace-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 520px;
    background: #faf8f5;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.bfw-marketplace-form .form-row {
    margin: 0;
}

.bfw-marketplace-form input[type="text"],
.bfw-marketplace-form select {
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
    border: 1px solid #d2d2d2;
    font-size: 16px;
    padding: 10px;
    box-sizing: border-box;
}

.bfw-marketplace-form .button {
    background-color: #dfc1a3;
    padding: 12px 24px;
}
.bfw-marketplace-form .button:hover{ background-color: #d5b89b;}


.bfw-marketplace-form .bfw-marketplace-submit.bfw-submit-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: wait !important;
}

.bfw-marketplace-form .bfw-marketplace-submit.bfw-submit-loading::before {
    content: "";
    width: 14px;
    height: 14px;
    border: 2px solid rgba(0, 0, 0, 0.25);
    border-top-color: #000;
    border-radius: 50%;
    animation: bfwMarketplaceSpin 0.8s linear infinite;
}

@keyframes bfwMarketplaceSpin {
    to {
        transform: rotate(360deg);
    }
}

.bfw-marketplace-upload-field {
    background: #fff;
    border: 1px dashed #b9b9b9;
    padding: 20px;
    text-align: center;
    border-radius: 14px;
}

.bfw-marketplace-upload-field label {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    font-weight: 400;
    font-size:14px;
}

.bfw-marketplace-file-input,
.bfw-marketplace-file-input-hidden {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.bfw-marketplace-upload-trigger {
    display: flex;
    background-color: #e9e9e9!important;
    border-radius: 7px!important;
    padding: 7px 14px!important;
    font-size: 13px!important;
    margin: 10px auto 0;
}

.bfw-marketplace-preview {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.bfw-marketplace-preview-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e4e4e4;
    background: #fff;
}

.bfw-marketplace-preview-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bfw-marketplace-preview-name {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 12px;
    line-height: 1.3;
    color: #333;
    padding: 8px;
    box-sizing: border-box;
    word-break: break-word;
}

.bfw-marketplace-preview-remove {
position: absolute;
background-color: #b5b5b5 !important;
color:#fff!important;
top: 6px;
right: 6px;
width: 24px !important;
height: 24px !important;
padding: 0 !important;
font-size: 18px !important;
line-height: 1 !important;
}

.bfw-marketplace-file-error {
    margin: 10px 0 0;
    color: #b32d2e;
    font-size: 13px;
}

.bfw_social_link_item {
    width: 25px;
    height: 25px;
    background-repeat: no-repeat;
    background-size: cover;
    display: inline-block;
    margin: 0 10px 0 0;
}

.bfw_ref_icon_vk {
    background-image: url("../img/social/009-vk.svg");
}

.bfw_ref_icon_viber {
    background-image: url("../img/social/viber.svg");
}

.bfw_ref_icon_fb {
    background-image: url("../img/social/043-facebook.svg");
}

.bfw_ref_icon_tw {
    background-image: url("../img/social/013-twitter.svg");
}

.bfw_ref_icon_tg {
    background-image: url("../img/social/telegram.svg");
    background-size: cover;
}

.bfw_ref_icon_whatsapp {
    background-image: url("../img/social/007-whatsapp.svg");
}

.copy_referal_single {
    display: inline-block;
    background: url(../img/copy.svg);
    width: 25px;
    height: 25px;
    background-size: cover;
    cursor: pointer;
}

.goodcopy {
    opacity: 0.5;
}


#bfw-progressbar {
    background-color: #f3f3f3;
    border-radius: 13px;
    padding: 3px;
}

#bfw-progressbar > div {
    background: #badb73 linear-gradient(90deg, rgb(161 244 185 / 30%), rgb(159 250 142 / 30%), rgb(3 255 8 / 30%), rgb(20 255 0 / 63%));
    animation: gradient 20s ease infinite;
    transform: translate3d(0, 0, 0);
    height: 20px;
    border-radius: 10px;
    position: relative;
}

#bfw-progressbar > div > span {
    font-size: 14px;
    position: absolute;
    top: -2px;
    font-weight: bold;
    color: #626262;
    min-width: 50px;
    width: max-content;
}

.bfw-progressbar-title {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-top: 20px;
    line-height: 1.5;
    color: #53a318;
    font-weight: 600;
    white-space: nowrap;
}

.bfw-progress-bar {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.bfw-progress-bar li {
    flex: 2;
    margin: 0;
    position: relative;
    padding: 0 0 16px 0;
    font-size: .875rem;
    line-height: 1.5;
    color: #53a318;
    font-weight: 600;
    white-space: nowrap;
    overflow: visible;
    min-width: 0;
    text-align: center;
    border-bottom: 4px solid #e8e8e8;
}

.bfw-progress-bar li:first-child,
.bfw-progress-bar li:last-child {
    flex: 1;
}

.bfw-progress-bar li:last-child {
    text-align: right;
}

.bfw-progress-bar li:before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    background-color: #e8e8e8;
    border-radius: 50%;
    border: 8px solid #fff;
    position: absolute;
    left: calc(50% - 6px);
    bottom: -13px;
    z-index: 3;
    transition: all .2s ease-in-out;
    box-sizing: unset;
}

.bfw-progress-bar li:first-child:before {
    left: 0;
}

.bfw-progress-bar li:last-child:before {
    right: 0;
    left: auto;
}

.bfw-progress-bar span {
    transition: opacity .3s ease-in-out;
}

.bfw-progress-bar li:not(.is-active) span {
    opacity: 0;
}

.bfw-progress-bar .is-complete:not(:first-child):after,
.bfw-progress-bar .is-active:not(:first-child):after {
    content: "";
    display: block;
    width: 100%;
    position: absolute;
    bottom: -4px;
    left: -50%;
    z-index: 2;
    border-bottom: 4px solid #53a318;
}

.bfw-progress-bar li:first-child {
    text-align: left;
}

.bfw-progress-bar li:last-child span {
    width: 200%;
    display: inline-block;
    position: absolute;
    left: -100%;
}

.bfw-progress-bar .is-complete:last-child:after,
.bfw-progress-bar .is-active:last-child:after {
    width: 200%;
    left: -100%;
}

.bfw-progress-bar .is-complete:before {
    background-color: #53a318;
}

.bfw-progress-bar .is-active:before,
.bfw-progress-bar li:hover:before,
.bfw-progress-bar .is-hovered:before {
    background-color: #fff;
    border-color: #53a318;
}

.bfw-progress-bar li:hover:before,
.bfw-progress-bar .is-hovered:before {
    transform: scale(1.33);
}

.bfw-progress-bar li:hover span,
.bfw-progress-bar li.is-hovered span {
    opacity: 1;
}

.bfw-progress-bar:hover li:not(:hover) span {
    opacity: 0;
}

.bfw-progress-bar .has-changes {
    opacity: 1 !important;
}

.bfw-progress-bar .has-changes:before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    position: absolute;
    left: calc(50% - 4px);
    bottom: -20px;
    background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%208%208%22%3E%3Cpath%20fill%3D%22%23ed1c24%22%20d%3D%22M4%200l4%208H0z%22%2F%3E%3C%2Fsvg%3E');
}

.computy_copyright {
    text-align: right;
    font-size: 12px;
}

.computy_copyright a:before {
    content: '';
    display: none;

}

.woocommerce-order-received #computy-bonus-message-cart {
    display: none;
}


.bfw-card {
    color: #000;
    box-shadow: 0 0 3px 0 rgb(127 127 127);
    border: 1px solid #faeeee;
    font-weight: bold;
    max-width: 300px;
    border-radius: 10px;
    padding: 15px 20px;
    background: linear-gradient(90deg, rgba(238, 119, 82, 0.3), rgba(231, 60, 126, 0.3), rgba(35, 166, 213, 0.3), rgba(35, 213, 171, 0.3));
    background-size: 400% 400%;
    animation: gradient 20s ease infinite;
    transform: translate3d(0, 0, 0);
}

.bfw-account_status_name {
    font-size: 21px;
}

.bfw-account_count_points {
    font-size: 21px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.bfw-help-tip {
    position: relative;
    display: inline-block;
    margin: 0 0 -5px 5px;
    cursor: help;
}

.bfw-help-tip.faq:after {
    display: block;
    content: '?';
    color: #fff;
    font-size: 11px;
    text-align: center;
    line-height: 15px;
    background: #333333;
    border-radius: 50%;
    height: 16px;
    width: 16px;
}

.bfw-help-tip.danger:after {
    display: block;
    content: '!';
    color: #fff;
    font-size: 11px;
    text-align: center;
    line-height: 15px;
    background: #c62222;
    border-radius: 50%;
    height: 16px;
    width: 16px;
}

.bfw-help-tip.info:after {
    display: block;
    content: 'i';
    color: #fff;
    font-size: 11px;
    text-align: center;
    line-height: 15px;
    background: #2250c6;
    border-radius: 50%;
    height: 16px;
    width: 16px;
}

.bfw-help-tip:before {
    opacity: 0;
    content: attr(data-tip);
    display: block;
    line-height: 13px;
    color: #fff;
    font-size: .8em;
    width: 150px;
    background: #333;
    border-radius: 3px;
    padding: 0;
    box-shadow: 0 1px 3px rgb(0 0 0 / 20%);
    position: absolute;
    top: 17px;
    height: 0;
    overflow: hidden;
    transition-delay: .1s;
    transition-duration: .2s;
    z-index: 9;
}

.bfw-help-tip.danger:before {
    background: #c62222;
}

.bfw-help-tip:hover:before {
    opacity: 1;
    height: auto;
    padding: 0.618em 1em;
    visibility: visible;
    transition-delay: .1s;
    transition-duration: .2s;
}

.card_link_rulles {
    font-size: 0;
    width: 22px;
    height: 22px;
    position: absolute;
    right: 4px;
    top: 4px;
    background: url(../img/qwestion.svg) no-repeat;
    background-size: cover;
}

.list_role_computy .delete_role-bfw {
    color: red;
    font-size: 30px;
    line-height: 0;
    font-weight: bold;
    transform: rotate(45deg);
    display: block;
    padding: 0;
    margin: 0;
    border: 0;
    width: 19px;
    height: 21px;
    background: none;
}

.list_role_computy .delete_role-bfw:hover {
    background: none;
    cursor: pointer;
    color: red;
}

.bfw-account_percent {
    margin-top: 8px;
    font-size: 16px;
}

@keyframes gradient {
    0% {
        background-position: 0 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0 50%;
    }
}

.is-large .bfw-order-cashback-blocks {
    padding: 16px 16px;
}

.bfw-order-cashback-blocks {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    font-weight: 500;
}


.computy_skidka_form {
    opacity: 1;
    max-height: none;
    padding: 4px 10px;
    border: 1px solid #d5d5d5;
    overflow: visible;
    background-color:#f7f7f6;
}

.text_how_many_points {
    margin-bottom: 10px;
    width: 100%;
}

.text_total_points {
    color: #757575;
    margin-top: 6px;
    width: 100%;
}

.bfw-history-points-header h3 {
    font-size: 15px;
}

.table-bfw {
    font-size: 14px;
    font-weight: 400;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 1px 10px;
    font-size: 13px;
    margin-top: 14px;
    border: none;
    background: #F6F3EF;
    font-weight: 500;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: #000 !important;
}

table.dataTable.no-footer {
    border: none;
}

.bfw-history-shortcode #table-history-points {
    border-collapse: separate !important;
    border-spacing: 0 6px !important;
    width: 100% !important;
}

.bfw-history-shortcode #table-history-points tbody tr {
    margin-bottom: 6px;
}

.bfw-history-shortcode #table-history-points tbody tr td:nth-child(1) {
    width: 12%;
}

.bfw-history-shortcode #table-history-points tbody tr td:nth-child(2) {
    width: 12%;
}

.bfw-history-shortcode #table-history-points tbody tr td {
    background: #fff !important;
    border-top: 1px solid #D2D2D2 !important;
    border-bottom: 1px solid #D2D2D2 !important;
    border-left: none !important;
    border-right: none !important;
    vertical-align: top;
}

.bfw-history-shortcode #table-history-points tbody tr td:first-child {
    border-left: 1px solid #D2D2D2 !important;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.bfw-history-shortcode #table-history-points tbody tr td:last-child {
    border-right: 1px solid #D2D2D2 !important;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.bfw-history-shortcode #table-history-points tbody tr:hover > td,
.bfw-history-shortcode #table-history-points tbody > tr:nth-child(odd) > td,
.bfw-history-shortcode #table-history-points tbody > tr:nth-child(even) > td {
    background: #fff !important;
}

.bfw-history-pagination {
    margin-top: 16px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.bfw-history-page {
    min-width: 72px;
    height: 36px;
    padding: 0 14px;
    border: 1px solid #d8dee8;
    border-radius: 100px;
    background: #fff;
    color: #2b2f36;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
}

.bfw-history-page.disabled {
    opacity: .45;
    cursor: default;
    pointer-events: none;
}

@media (max-width: 767px ) {
    .dtr-details .dtr-data {
        display: block;
    }

    .bfw-history-shortcode #table-history-points tbody tr {
        display: flex;
        flex-wrap: wrap;
        row-gap: 6px;
        margin-bottom: 6px;
        border: 1px solid #D2D2D2;
        border-radius: 8px;
        background: #fff;
        overflow: hidden;
    }

    .bfw-history-shortcode #table-history-points tbody tr:last-child {
        margin-bottom: 0;
    }

    .bfw-history-shortcode #table-history-points tbody tr td {
        border: none !important;
        border-radius: 0 !important;
        box-sizing: border-box;
        padding: 6px 8px;
    }

    .bfw-history-shortcode #table-history-points tbody tr td:nth-child(1) {
        width: 26%;
    }

    .bfw-history-shortcode #table-history-points tbody tr td:nth-child(2) {
        width: 14%;
        text-align: right;
    }

    .bfw-history-shortcode #table-history-points tbody tr td:nth-child(3) {
        width: 60%;
    }

    .bfw-history-shortcode #table-history-points tbody tr td:nth-child(4) {
        width: 100%;
        margin-top: 4px;
        padding-top: 2px;
    }

    .bfw-history-shortcode #table-history-points tbody tr td:nth-child(5) {
        width: 100%;
        text-align: right;
        margin-top: 2px;
    }

    .bfw-history-shortcode #table-history-points td:nth-child(3),
    .bfw-history-shortcode #table-history-points td:nth-child(4) {
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: anywhere;
    }
}
