/* MD Device :768px. */

@media screen and (max-width: 1200px) {

    .form__step h5 {
        width: 200px;
        font-size: 18px;
    }

    .wallet__text p {
        font-size: 18px;
    }

    .game__balance--btn a {
        font-size: 18px;
    }

    .start__mass {
        font-size: 18px;
    }
}

@media screen and (max-width: 991px) {

    .header__inner--block {
        padding: 20px 35px;
    }

    .common__btn {
        font-size: 20px;
        padding: 6px 24px;
    }

    .game__login--silver h5 {
        font-size: 16px;
    }

    .game__login--silver {
        height: 50px;
        width: 190px;
    }

    .logout__btn {
        height: 50px;
        font-size: 18px;
        width: 100px;
    }

    .play__game--top {
        margin-bottom: 15px;
    }

    .game__details__inner--wrap {
        padding: 25px 35px;
    }

    .table th {
        font-size: 17px;
    }

    .login__history--date {
        height: 58px;
        width: 58px;
    }

    .login__history--date span {
        font-size: 18px;
        line-height: 1;
    }

    .login__history--date p {
        line-height: 20px;
        font-size: 16px;
    }

    .login__history__date--td {
        gap: 10px;
    }

    .login__history--content p {
        font-size: 16px;
        line-height: 23px;
    }

    .history__game--time h5 {
        font-size: 16px;
        line-height: 22px;
    }

    .form__step h5 {
        width: 128px;
        font-size: 16px;
        line-height: 20px;
    }

    .form__step {
        gap: 15px;
    }

    .save__btn button {
        font-size: 18px;
        height: 50px;
    }

    .wallet__text p {
        font-size: 16px;
    }

    .game__balance--btn a {
        font-size: 18px;
    }

    .pay__step input {
        font-size: 20px;
        height: 50px;
        padding: 10px 20px;
        width: 200px;
    }

    .pay__btn button {
        font-size: 20px;
        padding: 6px 20px;
        width: 200px;
    }

    .game__balance form {
        flex-direction: column;
        align-items: flex-start;
    }

    .game__balance__left--block {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .game__balance__right--block {
        width: 100%;
    }

    .start__mass {
        font-size: 18px;
    }
}


/* SM Small Device :320px. */

@media screen and (max-width: 767px) {

    .play__game--top {
        flex-direction: column;
        gap: 10px;
    }

    .header__logo a img {
        height: 32px;
    }

    .header__inner--block {
        padding: 12px 20px;
    }

    .header__profile a {
        font-size: 18px;
    }

    .common__btn {
        font-size: 16px;
        padding: 4px 20px;
        height: 46px;
        line-height: 37px;
    }

    .logout__btn {
        height: 46px;
        font-size: 16px;
    }

    .game__login--silver h5 {
        font-size: 14px;
    }

    .game__login--silver {
        height: 46px;
        width: 170px;
    }

    .table th {
        font-size: 14px;
    }

    .login__history--table table tbody {
        top: 15px;
    }

    .login__history--date span {
        font-size: 16px;
    }

    .login__history--date {
        height: 52px;
        width: 52px;
    }

    .login__history--date p {
        font-size: 14px;
    }

    .login__history--news {
        font-size: 14px;
        line-height: 20px;
        flex: 0 0 auto;
    }

    .login__history__date--td {
        width: 110px;
    }

    .login__history--content h4 {
        font-size: 14px;
        line-height: 20px;
    }

    .login__history--content p {
        font-size: 14px;
        line-height: 20px;
    }

    .form__step h5 {
        width: auto;
        text-align: left;
    }

    .form__step {
        flex-direction: column;
        align-items: flex-start;
    }

    .games__form {
        padding: 15px;
        border-radius: 10px;
    }

    .form__input--fild {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }

    .save__btn button {
        width: 100%;
        font-size: 16px;
        height: 44px;
    }

    .save__btn {
        width: 100%;
    }

    .games__form .form__step:not(:nth-child(4)) {
        margin-bottom: 15px;
    }

    .games__form .form__step:not(:nth-child(1)) {
        gap: 5px;
    }

    .wallet__text p {
        font-size: 14px;
    }


    .wallet__text {
        overflow-x: scroll;
        width: 100%;
        padding-bottom: 4px;
    }

    .total__game--balance {
        flex-direction: column;
        gap: 0;
    }

    .game__balance--btn a {
        font-size: 16px;
    }

    .pay__step input {
        font-size: 14px;
        height: 44px;
        padding: 7px 16px;
        text-align: center;
        width: 100%;
    }

    .pay__btn button {
        font-size: 16px;
        height: 44px;
        line-height: 31px;
    }

    .start__mass {
        font-size: 14px;
    }

    .pay__form form {
        flex-direction: column;
        gap: 10px;
    }

    .pay__step {
        width: 100%;
    }

    .game__balance {
        padding: 15px;
        border-radius: 10px;
    }

    .game__balance__left--block h4 {
        font-size: 16px;
    }

    .form-floating>label {
        font-size: 14px;
        padding-top: 15px;
    }

    .form-floating input.form-control {
        height: 52px;
        min-height: 52px;
    }

    .game__balance__right--block {
        flex-direction: column;
        gap: 10px;
    }

    .game__balance form {
        gap: 11px;
    }

    .history__game--time h5 {
        font-size: 14px;
        line-height: 20px;
    }

    .history__game--time h5 b {
        font-size: 14px;
    }

    .game__history--table table tbody tr td {
        padding: 12px 8px;
        font-size: 14px;
    }

    .game__details__inner--wrap {
        padding: 15px;
    }

    .login__form--header a img {
        height: 66px;
    }

    .login__form--wrapper form span {
        font-size: 16px;
        padding: 10px 20px;
    }

    .login__form--step input {
        height: 56px;
        padding: 20px;
        margin-bottom: 15px;
        font-size: 16px;
    }

    .login__form--step button {
        font-size: 18px;
        padding: 10px;
        line-height: 27px;
    }

    .login__form--area {
        margin: 0 auto;
    }

    .login__form--block main {
        width: 100%;
    }
}


@media screen and (max-width: 575px) {
    .login__form--area {
        width: 100%;
    }

    .login__form--block {
        padding: 50px 12px;
    }

    .login__form--area {
        width: 100% !important;
    }
}