.instantWinGrid-wrap{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.instantWinCard{
    gap: 5px;
    flex-direction: row;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 700px;
    padding-top: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    justify-content: flex-start;
    border-top-color: #e3e3e3;
    border-right-color: #e3e3e3;
    border-bottom-color: #e3e3e3;
    border-left-color: #e3e3e3;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    text-align: justify;
    border-radius: 5px;
    background:transparent;
}

.instantWinCard img{
    width: 100px;
    height: 100px;
    object-fit: cover;
    min-width: 100px;
    min-height: 100px;
    max-height: 100px;
}

.instantWinCard .midWrap{
    gap: 10px;
    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    width: 100%;
}

.instantWinCard .midWrap .heading{
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
}

.instantWinCard .midWrap .subheading{
    line-height: 1;
}

.instantWinCard .lastWrap{
    width: 100px;
    min-width: 100px;
    max-width: 100px;
    max-height: 100px;
    min-height: 100px;
    height: 100px;
    text-align: left;
    align-items: center;
    justify-content: center;
    background-color: #0d99ff;
}

.instantWinCard .lastWrap .textDiv{
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    color: #ffffff;
}

.instantWinCardUNWIN{
    background-color: <?php echo ( !empty( $unwonColor ) ? $unwonColor : '#919191');?>!important;
    color: <?php echo ( !empty( $unwonColor ) ? $unwonTxtColor : '#888');?>!important;
}

.instantWinCardWIN{
    background-color: <?php echo ( !empty( $wonColor ) ? $wonColor : '#07f468');?>!important;
    color: <?php echo ( !empty( $wonColor ) ? $wonTxtColor : '#888');?>!important;
}

.hidden {
    display: none;
}

.instantWinCard-pagination {
    display: flex; /* Use Flexbox */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    margin-top: 20px;
    gap: 10px; /* Add spacing between buttons */
}

.instantWinCard-pagination button {
    padding: 8px 15px; /* Larger padding for better usability */
    font-size: 16px; /* Make text more legible */
    cursor: pointer;
    border: 1px solid #ccc;
    background-color: #f9f9f9!important;
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.instantWinCard-pagination button.active {
    background-color: #0d99ff!important;
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.instantWinCard-pagination button:hover {
    background-color: #007bff; /* Hover background color */
    color: #fff; /* Hover text color */
}

.instantWinCard-pagination button:focus {
    outline: none;
    border-color: #007bff; /* Add focus border for accessibility */
}

.instantWinCard.alreadyWon{
    -webkit-filter: grayscale(1);
    -moz-filter: grayscale(1);
    -ms-filter: grayscale(1);
    -o-filter: grayscale(1);
    filter: gray;
}
