.game-lobby {}

.game-lobby-brand>.rounded-box {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 160px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.game-lobby-play-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 100%;
    background-image: url(../images/game/Btn-165x65px.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.game-most-promo-item {
    width: 20%;
}

.game-most-promo-item .rounded-box {
    height: 92px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.game-lobby-sports>.rounded-box {
    position: relative;
    height: 92px;
    padding: 0.75rem 1rem 0.5rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.game-lobby-bet-btn {
    padding: 0.25rem 0.5rem;
    text-align: center;
    cursor: pointer;
}

.game-lobby-sports-float {
    right: 0;
    bottom: 0.5rem;
    font-size: 10px;
    padding: 0 8px;
    background-color: rgb(251, 44, 54);
    border-radius: 1rem 0 0 1rem;
}

#results-tabs .nav-link {
    padding: 0;
    color: #BEBEBE;
    outline: none;
    border: none;
    border-radius: 0;
}

#results-tabs .nav-link.active {
    color: #053B7A;
}

#nav-payout-tab {
    padding-left: 1rem !important;
    border-left: 1px solid #707070 !important;
}

#past-results-tabs .button {
    filter: grayscale(1);
}

#past-results-tabs .button.active {
    filter: grayscale(0);
}

#past-results-tabs .button img {
    width: 50px;
    /* height: 50px; */
}

.mega888 {
    display: flex;
    flex-direction: row;
}

.mega888-l {
    width: 50%;
    padding: 1rem 2.5rem 2rem;
    background-color: #898989;
    border-radius: 15px 0px 0px 15px;
}

.mega888-r {
    display: flex;
    align-items: center;
    width: 50%;
    padding: 2.5rem;
    background-color: #F1F1F1;
    border-radius: 0px 15px 15px 0px;
}

.mega888-input {
    height: 30px;
}

.mega888-test-id {
    color: #FFFFFF;
    background-color: #BEBEBE80;
    border-radius: 5px;
    text-align: center;
}

.mega888-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    color: #FFFFFF;
    background: linear-gradient(180deg, #419BCB 0%, #053B7A 100%);
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
}

.mega888-app-btn {
    width: 46%;
}

.mega888-app-btn img {
    width: 100%;
}

.mega888-step {
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    background-color: #bfbfbf33;
    border-radius: 5px;
}

/* START 4D id="nav-payout" */
#nav-payout .tablepay th {
    background-color: #399ED5;
    color: white;
    font-weight: 700;
}

#nav-payout .tablepay td {
    color: black;
    border: 1px dashed #000000;
    font-weight: 700;
}

#nav-rules-tab,
#nav-bet-tab {
    padding-left: 1rem !important;
    border-left: 1px solid #707070 !important;
}

/* END 4D id="nav-payout" */

/* START slotgame?sub  */
.slotType,
.slotTab {
    padding-left: 1rem !important;
    border-left: 1px solid #707070 !important;
}

.slotWrapImg {
    width: 138px;
    height: 138px;
}

.slotImg {
    width: 138px;
    height: 138px;
    border-radius: 2%;
}

#searchBar {
    border: 1px solid #419BCB !important;
    border-radius: 8px;
    padding: 1% 2%;
}

#searchBar,
#searchString {
    width: 96%;
}

button#loadBtn {
    position: relative;
    display: flex;
    align-items: center;
    margin: 30px 0;
    height: 12%;
    color: #EDEDED;
    background: transparent radial-gradient(#419BCB 0%, #053B7A 100%);
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    justify-content: center;
    place-self: center;
}

#results-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;

    white-space: nowrap;
    max-width: 616px;
}

#results-tabs::-webkit-scrollbar {
    display: none;
}

#lobbyBtn {
    margin-right: 1.5rem;
}

#typeBtn {
    margin-right: 2rem;
}

/* END slotgame?sub  */

#MEGA888_slotItem {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    font-family: sans-serif;
    border-radius: 12px;
    border: 1px solid #eeeeee;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    background: #ffffff;
}

#MEGA888_slotItem .logoImg {
    max-width: 200px;
    margin-bottom: 25px;
    display: block;
}

#MEGA888_slotItem .mega888inputs {
    width: 100%;
    max-width: 50vw;
    text-align: left;
}

#MEGA888_slotItem .mega888inputs label {
    display: block;
    font-size: 13px;
    color: #666666;
    margin-bottom: 6px;
    margin-left: 2px;
    font-weight: bold;
}

#MEGA888_slotItem .input-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 15px;
    margin-bottom: 12px;
    box-sizing: border-box;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    background-color: #fafafa;
}

#MEGA888_slotItem .input-wrap input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 15px;
    color: #333;
    font-family: inherit;
    pointer-events: none;
}

#MEGA888_slotItem .copy-icon {
    font-size: 18px;
    color: #999;
    cursor: pointer;
    transition: all 0.2s ease;
}

#MEGA888_slotItem .dl-row {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin: 20px 0;
    width: 100%;
}

#MEGA888_slotItem .dl-row img {
    width: 100%;
    max-width: 15vw;
}

#MEGA888_slotItem .desc-wrap {
    text-align: left;
    width: 100%;
    font-size: 14px;
    line-height: 1.6;
}

#MEGA888_slotItem .step-wrap {
    background-color: #f8f8f8;
    padding: 15px 20px;
    margin-top: 10px;
    border-radius: 10px;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}

#MEGA888_slotItem .step-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #555555;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#MEGA888_slotItem .step-desc {
    display: block;
    font-size: 14px;
    color: #777777;
    line-height: 1.5;
}

#MEGA888_slotItem .criteria-wrap {
    padding: 12px 20px;
    font-size: 13px;
    background-color: transparent;
    margin-bottom: 15px;
}