@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wdth,wght@0,75..100,100..900;1,75..100,100..900&display=swap');
@font-face {
    font-family: 'Naruto';
    src: url('/wp-content/themes/roleplay/assets/fonts/naruto/font.ttf') format('truetype');
}
:root {
    --main-background-color-white: #ececea;
    --main-background-color: rgba(0, 0, 0, 0.4);
    --main-background-blur: blur(10px);

    --main-text-color: #fff;
    --main-text-color-inverse: #000;
}
body {
    font-family: "Roboto", sans-serif;
    color: var(--main-text-color);
}
.static-bg {
    background-image: url('../images/bg-fon.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: fixed;
    z-index: -1;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    user-select: none;
    touch-action: none;
}
[data-href] {
    cursor: pointer;
}

.not-work {
    opacity: 0.3;
    cursor: not-allowed;
}

/**
 * Блок заголовков
 */
.header-component {
    background-color: var(--main-background-color);
    backdrop-filter: var(--main-background-blur);
    border-radius: 200px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    padding: 15px 25px;
}
.header-component .left-side {
    max-width: 50%;
}
.header-component .title-page {
    font-family: "Naruto", sans-serif;
    color: #fff;
    font-size: 20px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    padding-left: 10px;
    cursor: default;
}
.header-component .user-block {
    background-color: var(--main-background-color);
    backdrop-filter: var(--main-background-blur);
    border-radius: 50px;
    display: flex;
}
.header-component .user-block .user-name {
    padding: 0 10px;
    height: 100%;
    font-size: 12px;
    line-height: 30px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.header-component .user-block .user-avatar {
    min-width: 26px;
    min-height: 26px;
    width: 26px;
    height: 26px;
    display: inline-block;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    margin-top: 2px;
    margin-right: 2px;
}
.header-component .right-side {
    display: flex;
    gap: 12px;
}
.header-component .alert-block {
    background-color: var(--main-background-color);
    backdrop-filter: var(--main-background-blur);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    text-align: center;
    font-size: 14px;
    line-height: 30px;
}
.header-component .alert-block .num-alerts {
    background: var(--main-background-color-white);
    color: var(--main-text-color-inverse);
    position: absolute;
    top: -5px;
    right: -5px;
    width: 12px;
    height: 12px;
    overflow: hidden;
    border-radius: 50%;
    font-size: 8px;
    line-height: 12px;
}
.header-component .alert-block .num-alerts:empty {
    display: none;
}

/* Sweet Alert template fixes */
.swal2-modal a {
    color: #e8e8e8;
}
.swal2-modal button:focus {
    box-shadow: none !important;
}
.swal2-styled.swal2-confirm {
    background: #fff;
    color: #2a2620;
}
.swal2-success-circular-line-left {
    background: none !important;
}
.swal2-success-fix,
.swal2-success-circular-line-right {
    background: none !important;
}

@media (max-width: 892px) {
    .header-component {
        margin-top: 10px;
        padding: 5px;
    }
    .header-component .left-side {
        padding-left: 10px;
        max-width: 40%;
    }
    .header-component .right-side {
        gap: 6px;
        max-width: 60%;
    }
    .header-component.no-auth .left-side {
        max-width: 70%;
    }
    .header-component.no-auth .right-side {
        max-width: 30%;
    }
    .header-component .title-page {
        font-size: 16px;
        line-height: 30px;
    }
    .header-component .user-block .hello-text {
        display: none;
    }
    .header-component .user-block {
        max-width: 100px;
    }
}