.table-jackpot {
    position: relative;
}

.jackpot-items {
    font-family: "Kode Mono", monospace;
    font-size: 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: .8rem;
    padding: .2rem .4rem;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color-translucent);
    border-radius: 1rem 2rem 2rem 1rem / 1rem 50% 50% 1rem;
    letter-spacing: -1px;
}

.tournament-items:hover .jackpot-items,
.jackpot-items:hover,
.jackpot-items:active {
    cursor: pointer;
    border: 1px solid var(--bs-link-color);
    box-shadow: 0px 4px 0px 0px var(--bs-link-color);
    backface-visibility: hidden;
}

.tournament-items:hover .jackpot-items .jackpot-image,
.jackpot-items:hover .jackpot-image,
.jackpot-items:active .jackpot-image,
.jackpot-items:hover .jackpot-provider,
.jackpot-items:active .jackpot-provider {
    border: 2px solid var(--bs-link-color);
    ;
}

.jackpot-items>div {
    margin-right: .5rem;
}

.jackpot-image-container {
    position: relative;
    min-width: 60px;
    display: flex;
    align-items: center;
}

.tournament-items:hover .jackpot-items .jackpot-image-container,
.jackpot-items:hover .jackpot-image-container,
.jackpot-items:active .jackpot-image-container {
    animation: shaking-jp 2s ease infinite;
    z-index: 1;
}

.jackpot-image {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 60px;
    border: 2px solid var(--bs-border-color-translucent);
    border-radius: 20% 75% 75% 20% / 20% 50% 50% 20%;
    box-shadow: -5px 0px 0px 1px rgb(0 0 0 / 30%), 2px 0px 4px 0px rgb(0 0 0 / 30%);
    transform: rotate(351deg);
    margin-top: -5px;
    overflow: hidden;
    left: 0;
}

.jackpot-image img {
    height: 100%;
    width: auto;
    max-width: none;
}

.jackpot-provider {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--bs-dark);
    border: 2px solid var(--bs-border-color-translucent);
    border-radius: 50%;
    box-shadow: 2px 0px 4px 0px rgb(0 0 0 / 30%);
    padding: 3px;
    top: 10px;
    right: 1px;
}

.jackpot-detail {
    width: 100%;
}

.jd-username {
    color: var(--bs-info);
    font-weight: 800;
}

.jd-game {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.jd-date {
    color: rgba(var(--bs-body-color-rgb), 0.7);
    white-space: nowrap;
    line-height: 13px;
}

.jt-total {
    color: var(--bs-link-color);
    font-weight: 800;
    font-size: 13px;
    text-shadow: 0px 1px #272727;
    white-space: nowrap;
    display: flex;
}

.jackpot-wd .jt-total {
    color: var(--bs-success);
}

.jackpot-wd,
.jackpot-total {
    display: flex;
    align-items: center;
}

.jt-rupiah {
    font-size: 10px;
    margin-right: 3px;
}

.jackpot-transfer .btn {
    padding: .2rem .35rem;
    font-size: 12px;
    border-radius: 50%;
}

#buktiTransferModal .modal-body {
    font-size: 13px;
    text-align: center;
}

#buktiTransferModal img {
    max-height: 100%;
    height: 100%;
    max-width: 100%;
    width: auto;
    border-radius: 1rem;
}

.bukti-jp-details {
    position: absolute;
    width: 100%;
    padding: 0 0.3rem;
    left: 0;
    bottom: -2rem;
}

.bukti-jp-details+h5 {
    padding-bottom: calc(72px - 2.5rem);
}

.bukti-jp-details .jackpot-items {
    background: rgba(var(--bs-body-bg-rgb), 0.7);
    backdrop-filter: blur(6px);
}

.bukti-jp-details .jackpot-items>div {
    margin-right: .7rem;
}

@media(max-width:992px) {
    .table-jackpot .jackpot-items:nth-child(1n+9) {
        display: none;
    }
}

@media(max-width:768px) {
    .jackpot-items {
        margin-bottom: 1rem;
    }

    .jackpot-detail,
    .jackpot-total-container {
        width: calc(100% / 2 - 35px - 35px);
    }

    .jackpot-transfer .btn {
        font-size: 13px;
    }

    .jt-rupiah {
        font-size: 12px;
        margin-right: 3px;
    }

    .jt-total,
    .jt-header {
        font-size: 14px;
    }

    .jackpot-provider {
        top: 2px;
    }

    .table-jackpot .jackpot-items:nth-child(1n+6) {
        display: none;
    }
}

@media(max-width:576px) {
    .jackpot-detail {
        min-width: 90px;
    }

    .bukti-jp-details .jackpot-detail {
        min-width: unset;
    }

    .jackpot-total-container {
        width: 100%;
    }
}

@keyframes shaking-jp {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    25% {
        transform: translate(2px, 2px) rotate(2deg) scale(1.05);
    }

    50% {
        transform: translate(0, 0) rotate(0eg) scale(1.05);
    }

    75% {
        transform: translate(-2px, 2px) rotate(-2deg) scale(1.05);
    }

    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
}