/* CONTAINER INEJCT GAME */
:root {
    --primary: #219204;
    --secondary: #6c9970;
    --danger: #ff4141;
    --text-primary: #ffff;
    --text-secondary: #15770a;
    --text-dark: #000;
    /* --bg-primary: #101010;
    --bg-secondary: #1a1a1a; */
    --bg-primary: #0f1923;
    --bg-secondary: #1a242d;
    /*  */
    --bg-modal-primary: #1a1a1a80;
    --border-primary: #ffff;
    --border-secondary: #219204;
    --border-disabled: #636363;
}

#stepsGames {
    position: relative;
    background-color: var(--bg-primary);
    padding: 35px;
    border-radius: 5px;
    max-width: 800px;
    width: 100%;
    margin: auto;
    border-radius: 0 0 10px 10px;
}

/* .tradicional {
    padding: 10px;
} */

.content-modalities {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 10px;
}

.btn-modalities {
    position: relative;
    opacity: 0.7;
    border: 0;
    border-radius: 10px;
    color: var(--text-primary);
    /* background: #43474d4f; */
    background: var(--bg-secondary);
    font-size: 1rem;
    padding: 15px;
    margin: 0;
    white-space: wrap;
    transition: 0.3s ease;
    text-align: start;

    &.animate {
        opacity: 0.8;
    }

    &:hover {
        opacity: 1;
        transform: scale(0.98);
    }

    &.active {
        background: var(--primary);
        border-color: var(--border-secondary);
        opacity: 1;
        box-shadow: 0 5px 10px #00000067;
    }

    &:disabled {
        opacity: 0.2;
        cursor: no-drop;

        &:hover {
            transform: scale(1);
        }
    }

    &[data-key="Milhar"] {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0px 8px 0 15px;

        &::after {
            content: "🏆";
            background: #43474d86;
            border-radius: 10px;
            padding: 8px 10px;
            margin-left: auto;
            font-size: 1rem;
        }
    }
}

/* HEADER STEPS */
.content-header-steps {}

span.contents-progress {
    background: var(--bg-secondary);
}

.content-circle-progress {
    border: 0;
    background: var(--bg-secondary);
    width: 35px;
    height: 35px;
}

span.contents-progress.active .content-circle-progress {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.item-progress {
    font-size: 1.2rem;
}

/* ITEMS BETS */
.container-list-items {
    left: 50%;
    transform: translate(-50%, 10px);
    width: 100%;
    max-width: 800px;
    border-radius: 10px 10px 0 0;
    box-shadow: none;
}

/* MODAL */
.modal-success .modal-content {
    & .modal-title {
        background: transparent !important;
        padding: 10px 35px;
    }
}

.modal .modal-content {
    max-width: 1200px;
    padding: 0px;
    background: var(--bg-primary);
    border: 0;

    & .modal-title {
        background: var(--bg-secondary);
        padding: 10px 35px;
    }

    & .modal-body {
        padding: 10px 35px;
    }
}

/* DETAILS */
.details-modalities {
    background: transparent;

    & .details-body {
        display: flex;
        flex-direction: column;
        gap: 10px 0;

        & .details-how-play,
        .details-how-win,
        .details-obs {

            & h1,
            p,
            h2 {
                font-weight: 600;
                font-size: 1rem;
                color: #fff;
            }

            & p,
            h2 {
                font-weight: 300;
                font-size: .9rem;
            }
        }
    }

    & summary {
        text-align: start;
        list-style: none;
        position: relative;
        margin: 0 auto;
        max-width: 300px;
        width: 100%;
        background-color: var(--bg-secondary);

        &::after {
            content: "▼";
            font-size: 0.8rem;
            color: #fff;
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translate(0%, -50%);
            transition: transform 0.3s ease;
        }
    }
}

.details-body {
    padding: 15px;
    background: var(--bg-secondary);
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid #fff;
}

.details-modalities[open]>summary {
    border-radius: 10px !important;
}

details[open] summary::after {
    transform: translate(0%, -50%) rotate(180deg);
}


.separator-steps {
    display: none;
}

/* ASIDE */
aside#sideMenu {
    position: fixed;
    z-index: 13;
    transition: transform 0.5s ease;
    position: fixed !important;
}

.menu-burger.active {
    position: relative !important;
    right: 0;
}

.bg-mobile {
    background: #00000070;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    width: 100%;
    height: 100vh;
    position: absolute;
    transform: .5 linear;
}

/* RESPONSIVE REMOVE */
.balance-available .coin {
    display: none;
}

/* RESULTS */
.results-mobile {
    display: flex !important;
}

.results-desktop {
    display: none !important;
}

/* GAME - GAME */
#stepsGames {
    padding: 0 15px 20px !important;
    border-radius: 0 0 10px 10px;
}

.main-games {
    padding: 0px;
}

/* HEADER STEPS - GAME */
.header-steps {
    margin: 0 10px !important;
}

.name-progress {
    /* font-size: 8px; - GAME */
    display: none;
}

.content-header {
    display: none !important;

    &.mobile {
        display: flex !important;
    }
}

.balance-available .coin {
    display: block;
}

.header-user {
    padding: 15px 30px 15px 0px;
    margin-bottom: 0px;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    border-radius: 10px 10px 0 0;
}

.header-games {
    margin: 5px;

    & .title {
        text-align: center;

        span {
            border-bottom: 2px solid var(--primary);
        }
    }

    & h2 {
        display: none;
    }

    & .subtitle {
        display: none;
    }
}

/* BUTTON NEXT STEP */
.buttons {
    width: 95%;
    max-width: 800px;
    display: flex;
    height: 45px;
    position: fixed;
    left: 50%;
    top: -55px;
    transform: translate(-50%, 0);
    gap: 10px;
    padding: 0 10px;
    background: var(--bg-primary);
    border-radius: 10px 10px 0 0;
    padding: 10px 10px 60px;
}

.buttons .next-step-mobile {
    position: relative;
    top: 0;
    right: 0;
    width: 100%;
}

.buttons .next-step-mobile .btn-next,
.buttons .next-step-mobile .next-step .btn-next,
.btn-final {
    margin: 0px !important;
    padding: 12px 32px !important;
    width: 100%;
    position: relative;
    bottom: 0;
    border-radius: 10px;
}

.modal-rtp>.modal-content>.modal-body {
    margin-block-end: auto;
}

.table-container {
    width: 100%;
    overflow-x: auto;
}

.modal-rtp table,
.modal-success table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-secondary);
    color: #fff;
    /* text-align: left; */
}

.modal-rtp th,
.modal-rtp td,
.modal-success th,
.modal-success td {
    padding: 10px;
    border: 1px solid #333;
    text-align: center;
}

.modal-rtp th,
.modal-success th {
    background-color: var(--bg-secondary);
    font-weight: bold;
}

.modal-rtp th {
    width: 50%;
}

.modal-rtp tr:nth-child(even),
.modal-success tr:nth-child(even) {
    background-color: var(--bg-primary);
}

.modal-rtp tr:hover,
.modal-success tr:hover {
    opacity: .6;
}

.item-menu button {
    min-width: 20px;
    text-align: start;
}

.btn-next {
    position: fixed;
    width: 95%;
    max-width: 800px;
    left: 50%;
    bottom: 20px;
    transform: translate(-50%, 0px);
    border-radius: 10px;

    &:hover {
        transform: translate(-50%, 0px) scale(0.99);
    }
}

.buttons .btn-back {
    margin: 0px;
    background: #636a71;
    width: 100%;
    color: var(--text-primary);
    font-weight: 700;
    padding: 12px 38px;
    border-radius: 100px;
    transition: 0.2s ease;
    font-size: 1rem;
    border-radius: 10px;
    text-align: center;
    justify-content: center;
}

.help {
    right: none;
    left: 50%;
    transform: translate(-50%, 0);
    top: -40px;
    width: max-content;
}

.help::before {
    left: 50%;
    top: 20px;
    transform: translate(-50%, 0);
}

@media (max-width: 420px) {
    .language-switcher.header {
        display: none;
    }
}