.nft-providers {
    margin: 34px 0 22px;
}

.nft-providers__header {
    display: none;
}

.nft-providers__items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nft-provider {
    display: grid;
    grid-template-areas:
            "logo name"
            "logo chains";
    grid-template-columns: 79px auto;
    align-items: center;
    position: relative;
    padding: 15px;
    background-color: #ffffff;
    border: 1px solid #ececec;
    border-radius: 10px;
}

.nft-provider__label {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 15px;
    height: 12px;
    padding: 0 3px;
    font-size: 10px;
    line-height: 10px;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
    color: #ffffff;
    background-color: #7567D1;
}

.nft-provider__position {
    display: none;
}

.nft-provider__logo {
    grid-area: logo;
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background-color: #ededed;
}

.nft-provider__name {
    grid-area: name;
    font-size: 16px;
    font-weight: 500;
    word-break: break-all;
    color: #000000;
}

.nft-provider__chains {
    grid-area: chains;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nft-provider__chain {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.nft-provider__chain--empty {
    background-color: #ededed;
}

.nft-provider__chains-more {
    padding: 0;
    font-size: 14px;
    line-height: 1;
    text-decoration: underline;
    color: #0072DB;
    background-color: transparent;
    border: 0;
}

.nft-provider__chains-more:hover {
    text-decoration: none;
}

.nft-provider__prop {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    grid-column: span 2;
    margin-top: 15px;
}

.nft-provider__prop:after {
    content: "";
    display: block;
    flex-grow: 1;
    height: 1px;
    margin: 0 5px 4px;
    background-image: linear-gradient(to right, #808080 33%, rgba(255, 255, 255, 0) 0%);
    background-position: bottom;
    background-size: 3px 1px;
    background-repeat: repeat-x;
}

.nft-provider__prop-label {
    order: -1;
    font-size: 14px;
    line-height: 18px;
    color: #808080;
}

.nft-provider__prop-value {
    order: 1;
    font-size: 16px;
    line-height: 19px;
    font-weight: 500;
}

.nft-provider__prop-value > span {
    color: #808080;
}

.nft-providers__footer .load-page-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 12px;
    padding: 15px;
    font-size: 14px;
    line-height: 1;
    font-weight: 500;
    color: #207ACD;
    text-decoration: underline;
    background-color: #ffffff;
    border: 0;
    border-radius: 10px;
}

.nft-providers__footer .load-page-button:hover {
    text-decoration: none;
}

/*** Responsive ***/

@media (min-width: 768px) {

    .nft-providers__content {
        padding: 15px;
        background-color: #ffffff;
        border-radius: 10px;
    }

    .nft-providers__header {
        display: grid;
        grid-template-columns: 164px 1fr 1fr 1fr 1fr;
        gap: 12px;
        padding: 12px 0;
        border-bottom: 1px solid #F6F5F6;
    }

    .nft-providers__cell {
        font-size: 14px;
        line-height: 20px;
        font-weight: bold;
        white-space: nowrap;
    }

    .nft-providers__items {
        gap: 0;
    }

    .nft-provider {
        display: grid;
        grid-template-columns: 15px 40px 85px 1fr 1fr 1fr 1fr;
        gap: 0 12px;
        padding: 16px 0;
        background-color: transparent;
        border-radius: 0;
        border: 0;
        border-bottom: 1px solid #F6F5F6;
    }

    .nft-provider__label {
        left: 0;
    }

    .nft-provider__position {
        display: block;
        font-size: 12px;
        color: #808080;
        font-weight: 600;
    }

    .nft-provider__logo {
        grid-area: unset;
        width: 40px;
        height: 40px;
    }

    .nft-provider__name {
        grid-area: unset;
    }

    .nft-provider__chains {
        grid-area: unset;
    }

    .nft-provider__prop {
        grid-column: unset;
        margin: 0;
    }

    .nft-provider__prop:after {
        display: none;
    }

    .nft-provider__prop-label {
        display: none;
    }

    .nft-provider__prop-value {
        width: 100%;
    }

    .nft-providers__cell--price,
    .nft-provider__prop--price,
    .nft-providers__cell--traders,
    .nft-provider__prop--traders,
    .nft-providers__cell--volume,
    .nft-provider__prop--volume {
        text-align: right;
    }

    .nft-providers__footer .load-page-button {
        padding: 5px 0;
    }
}

@media (min-width: 1024px) {

    .nft-providers__header {
        grid-template-columns: 259px 1fr 1fr 1fr 1fr;
    }

    .nft-provider {
        grid-template-columns: 15px 40px 180px 1fr 1fr 1fr 1fr;
    }
}