@use "../utils" as *;

/*----------------------------------------*/
/* payment-gateway css
/*----------------------------------------*/

.payment-gateway-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.payment-gateway-grid {
    .payment-gateway-thumb {
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 160px;
        height: 100px;
        overflow: hidden;
        position: relative;
        z-index: 1;
        padding: 10px 20px;
        &::before {
            position: absolute;
            content: "";
            top: 0;
            right: 0;
            height: 100%;
            width: 1px;
            border-width: 1px;
            border-style: solid;
            border-image: linear-gradient(
                89deg,
                rgba(255, 255, 255, 0) 0%,
                rgba(255, 255, 255, 0.4) 100%
            );
            border-image-slice: 1;
            z-index: -1;
            opacity: 0.5;
        }
        &::after {
            position: absolute;
            content: "";
            right: 0;
            bottom: 0;
            height: 1px;
            width: 100%;
            border-width: 1px;
            border-style: solid;
            border-image: linear-gradient(
                139.93deg,
                rgba(255, 255, 255, 0) 0%,
                rgba(255, 255, 255, 0.4) 100%
            );
            border-image-slice: 100%;
            border-image-slice: 1;
            z-index: -1;
            opacity: 0.5;
        }
        &:nth-child(-n + 7) {
            &::before {
                position: absolute;
                content: "";
                top: 0;
                right: 0;
                height: 100%;
                width: 1px;
                border-width: 1px;
                border-style: solid;
                border-image: linear-gradient(
                    249deg,
                    rgba(255, 255, 255, 0) 0%,
                    rgba(255, 255, 255, 0.4) 100%
                );
                border-image-slice: 1;
                z-index: -1;
                opacity: 0.5;
            }
        }
        img {
            max-width: 100%;
            max-height: 100%;
            filter: invert(1);
            filter: opacity(55%);
        }
    }
}
