﻿.mobile .mainHeader .topBar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.mainHeader .logo {
    display: flex;
    align-items: center;
    cursor: pointer;
}

    .mainHeader .logo img {
        height: 22px;
    }

/*#region mobile/header */
.mobile .header .hideText {
    display: none;
}
/*#endregion*/

/*#region site/header */
.pc .header {
    height: 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    box-sizing: border-box;
}

    .pc .header .sub-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 24px;
        width: 100%;
        box-sizing: border-box;
    }

.pc .navigation {
    padding-right: 12px;
    padding-left: 12px;
    width: 480px;
    box-sizing: border-box;
}

    .pc .navigation .menu {
        display: grid;
        gap: 4px;
    }

        .pc .navigation .menu.grid_4 {
            grid-template-columns: 1fr 1fr 1fr 1fr;
        }

        .pc .navigation .menu.grid_5 {
            grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
        }

        .pc .navigation .menu a {
            gap: 8px;
            height: 56px;
            color: #000000;
        }

            .pc .navigation .menu a span {
                color: #000000;
            }
/*#endregion*/

/*#region topBarLinks*/
.topBarLinks .user__login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px;
    width: auto;
    height: auto;
    border-radius: 10px;
    cursor: pointer;
}

.topBarLinks span {
    height: 16px;
    line-height: 16px;
    font-size: 14px;
    font-weight: 600;
}

.msg-active {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 18px !important;
    height: 18px !important;
    line-height: 18px !important;
    font-size: 10px !important;
    border-radius: 50%;
}

.topBarLinks .user__sign-up {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 12px;
    width: auto;
    height: auto;
    border-radius: 10px;
    cursor: pointer;
}

    .topBarLinks .user__sign-up:hover,
    .topBarLinks .user__deposit:hover {
        background: #27ab4e;
    }

    .topBarLinks .user__sign-up:active,
    .topBarLinks .user__deposit:active {
        opacity: 0.9;
    }

.topBarLinks .user__credit {
    display: flex;
    align-items: center;
}

.topBarLinks .balance_deposit {
    display: flex;
    align-items: center;
    padding: 2px;
    height: 32px;
    color: #ffffff;
    background: #434343;
    border-radius: 10px;
    box-sizing: border-box;
}

    .topBarLinks .balance_deposit .deposit_btn {
        display: inline-flex;
        align-items: center;
        padding: 0 8px;
        border-radius: 8px;
        height: 28px;
        box-sizing: border-box;
        cursor: pointer;
    }

.topBarLinks .user__account {
    position: relative;
}

.topBarLinks .user__account,
.topBarLinks .user__close,
.casino .pop-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    box-sizing: border-box;
    cursor: pointer;
}

.topBarLinks .UCredit {
    padding: 0 6px;
    height: 16px;
    line-height: 18px;
}
/*#endregion topBarLinks*/

.r-profile {
    position: fixed;
    display: flex;
    flex-direction: column;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1002;
    cursor: auto;
}

.r-profile__user {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    gap: 10px;
    margin-top: 12px;
    padding: 12px;
    height: 128px;
    box-sizing: border-box;
}

    .r-profile__user .r-balance__deposit {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px;
        height: 66px;
        border-radius: 12px;
    }

    .r-profile__user .r-balance {
        display: flex;
        flex-direction: column;
        gap: 4px;
        height: 37px;
    }

.ltr-dir .r-profile__user .r-balance {
    text-align: left;
}

.rtl-dir .r-profile__user .r-balance {
    text-align: right;
}

.r-profile__user .r-balance .r-balance-title {
    height: 14px;
    line-height: 120%;
    font-size: 12px;
    font-weight: 400;
    opacity: 0.72;
}

.r-profile__user .r-balance .r-credit {
    font-size: 16px;
    font-weight: 500;
    height: 19px;
    line-height: 120%;
}

.r-profile__user .r-deposit_btn {
    height: 42px;
    line-height: 42px;
    border-radius: 6px;
    padding: 0 32px;
    box-sizing: border-box;
}

    .r-profile__user .r-deposit_btn span {
        font-size: 14px;
        font-weight: 600;
    }

.r-header * {
    box-sizing: border-box;
}

.r-profile__user-name {
    display: flex;
    flex-wrap: wrap;
    font-family: Roboto;
    width: 100%;
    height: 28px;
    line-height: 28px;
    font-size: 24px;
    font-weight: 700;
    white-space: nowrap;
}

.ltr-dir .r-profile__user-name > span:first-child {
    margin-right: auto;
}

.rtl-dir .r-profile__user-name > span:first-child {
    margin-left: auto;
}

.r-profile__user-name > * {
    overflow: hidden;
    text-overflow: ellipsis;
}

/*#region profile-links*/
.r-profile-links {
    overflow-y: scroll;
    display: flex;
    flex-direction: column;
}

.r-profile-navigation {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
    padding: 0 12px;
}

    .r-profile-navigation ul > li > a {
        outline: none;
        -webkit-tap-highlight-color: transparent;
        background: transparent;
        position: relative;
        display: flex;
        align-items: center;
        gap: 12px;
        height: 48px;
        box-sizing: border-box;
        cursor: pointer;
    }

        .r-profile-navigation ul > li > a > div {
            display: flex;
            align-content: flex-start;
            align-items: center;
            height: 100%;
            line-height: 15px;
            font-family: Roboto;
            font-size: 13px;
        }

.rtl-dir .r-profile-navigation .logout-btn svg {
    transform: rotate(180deg);
}

.r-profile-navigation ul > li > a > span {
    height: 17px;
    line-height: 17px;
    font-size: 14px;
    font-weight: 600;
}

.r-profile-mailbox-badge {
    position: absolute;
    justify-content: center;
    width: 24px;
    height: 24px !important;
    border-radius: 50%;
}

.ltr-dir .r-profile-mailbox-badge {
    right: 0;
}

.rtl-dir .r-profile-mailbox-badge {
    left: 0;
}

.r-profile-mailbox-badge span {
    height: 17px;
    line-height: 17px;
    font-size: 14px;
    font-weight: 600;
}
/*#endregion*/
