﻿input:focus{
    outline: none;
}

* {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE и старые Edge */
}

/* Скрываем полосы для WebKit-браузеров */
*::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
  width: 0;
  height: 0;
}


.profileInfo{
    width: 100%;
    padding: 14px 14px 18px;
    background:
        repeating-linear-gradient(0deg, transparent 0 35px, rgba(255,255,255,0.035) 35px 36px),
        repeating-linear-gradient(90deg, transparent 0 35px, rgba(255,255,255,0.035) 35px 36px),
        linear-gradient(180deg, #282828 0%, #0A0A0A 100%);
    border-radius: 28px;
    border: 1px solid #2B2B2B;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 12px;
    box-sizing: border-box;
    overflow: hidden;
}
.FirstLine{
    display: flex;
    justify-content: space-between;
    width: calc(100% - 28px);
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    z-index: 4;
    pointer-events: none;
}
.profileIcon{
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #121212;
    border: 1px solid #343434;
    box-shadow: none;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    pointer-events: auto;
}
.profileIcon svg{
    width: 22px;
    height: 22px;
}
.ProfileText{
    display: none;
}
.ColorBack{
    display: none;
}
.Infos{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 100%;
    z-index: 3;
    padding: 0 0 18px;
    position: relative;
}
.profile-avatar-wrap{
    position: relative;
    width: 88px;
    height: 88px;
    margin-bottom: 12px;
}
.ProfileAvatar{
    width: 88px;
    height: 88px;
    border-radius: 22px;
    object-fit: cover;
    display: block;
    background: #2a2a2a;
    position: relative;
    z-index: 1;
}
.profile-avatar-fallback{
    display: none;
}
.profile-deco-star{
    position: absolute;
    z-index: 5;
    pointer-events: none;
    object-fit: contain;
    display: block;
}
/* между авой и настройками, на уровне ника */
.profile-deco-star-1{
    width: 56px;
    height: 56px;
    left: calc(50% + 104px);
    top: 86px;
}
/* между авой и историей */
.profile-deco-star-2{
    width: 56px;
    height: 56px;
    right: calc(50% + 80px);
    left: auto;
    top: calc(88px * 0.45 - 28px + 44px);
}
/* выше первой, в 2 раза меньше */
.profile-deco-star-3{
    width: 28px;
    height: 28px;
    left: calc(50% + 102px);
    top: 28px;
}
.NameProfile{
    margin-top: 0;
    font-size: 24px;
    font-weight: 700;
    font-family: "Onest", sans-serif;
    color: #fff;
    text-decoration: none;
}
.UserNameProfile{
    margin-top: 0;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    font-family: "Onest", sans-serif;
}
.profile-stats{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    border-top: none;
    padding-top: 14px;
    margin-top: 0;
}
.profile-stat{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 6px;
    position: relative;
}
.profile-stat:not(:last-child)::after{
    content: "";
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}
.profile-stat-value{
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-family: "Onest", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}
.ton-icon{
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: block;
    align-self: center;
}
.profile-stat-label{
    font-family: "Onest", sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    white-space: nowrap;
}
.BalanceInfo{
    width: 100%;
    padding: 16px;
    background-color: #0D0D0D;
    border-radius: 22px;
    border: 1px solid #2B2B2B;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    margin-bottom: 18px;
    box-shadow: none;
    overflow: visible;
    gap: 12px;
}
.Podarki{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    margin-bottom: 22px;
    position: relative;
    z-index: 2;
}
.PodarkiIcon{
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(180deg, #39A5FF 0%, #008BFF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.Binf{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-width: 0;
}
.BalanceB{
    display: flex;
    gap: 6px;
    box-sizing: border-box;
    align-items: center;
}

.BalanceProfileBalance{
    font-family: "Onest", sans-serif;
    line-height: 1;
    font-weight: 700;
    font-size: 28px;
    color: #fff;
    display: inline-block;
}
.star_icon_profile{
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: block;
}
.YourBalance{
    font-family: "Onest", sans-serif;
    color: #868686;
    font-size: 13px;
    font-weight: 500;
}
.ButtonsProfileBalance{
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
.ProfileBalanceButton{
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    font-family: "Onest", sans-serif;
    gap: 0;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: none;
    box-sizing: border-box;
}
.ProfileBalanceButton svg{
    display: none;
}
#plusBalance{
    background-color: #ffffff;
    color: #111;
}
#minusBalance{
    background-color: #212122;
    border: 1px solid #2B2B2C;
    color: #fff;
}
.PodarkiTitle{
    color: #fff;
    font-family: "Onest", sans-serif;
    font-size: 20px;
    font-weight: 500;
}
.Podarki svg{
    width: 18px;
    height: 18px;
}
.soon{
    color: #ffffff;
    font-family: "Onest";
    font-size: 14px;
    padding: 4px 10px;
    background-color: #0075F8;
    border-radius: 4px;
}
#waiterButton{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.loader {
    width: 40px;
    height: 40px;
    border: 5px solid #0075F8;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;

}

    @keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
} 
.noPodarkiInfo{
    font-family: "Onest", sans-serif;
    color: #fff;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 150px;
}
.PodarokInfotitle{
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}
.PodarokInfoDesc{
    font-size: 16px;
    color: #868686;
    text-align: center;
}
.PopolnitPodarkiInfo{
    font-size: 14px;
    color: #fff;
    background-color: #2A2A2A;
    font-family: "Onest", sans-serif;
    width: 100%;
    height: 40px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}
.podarkiList{
    width: 100%;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 150px;
    box-sizing: border-box;
}
.podarokItem{
    border-radius: 18px;
    background-color: #1a1a1a;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    padding-bottom: 0;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid #2B2B2B;
    transition: all 0.02s linear;
    position: relative;
}
.gift_vivod_element:checked + .podarokItem::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 100, 255, 0.1);
    pointer-events: none;
    z-index: 1;
} 
.gift_icon{
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0;
    width: 100%;
}
.gift_meta{
    width: 100%;
    padding: 10px 12px 12px;
    box-sizing: border-box;
    background: #141414;
}
.gift_name{
    color: #fff;
    font-family: "Onest", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}
.gift_id{
    margin-top: 2px;
    color: #868686;
    font-family: "Onest", sans-serif;
    font-size: 12px;
    font-weight: 500;
}
.starPriceInfo{
    display: none;
}
.starPrice{
    line-height: 1;
    font-family: "Onest";
    font-size: 16px;
}
#waiterGifts{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gift_vivod_element:checked + .podarokItem {
    border: 2px solid #0075F8;
}


.gift_vivod_element {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none; 
}
.commissionMessage{
    width: 100%;
    font-family: "Onest";
    font-size: 14px;
    color: #868686;
    margin-top: 3px;
    margin-bottom: 3px;
}
#panel_profile{
    width: 100%;
    padding: 0 0 24px;
    box-sizing: border-box;
    position: relative;
    overflow: visible;
}
.profile-shade-wrap{
    position: relative;
    width: 100%;
    z-index: 1;
    overflow: visible;
}
.profile-shade-wrap > .profileInfo,
.profile-shade-wrap > .BalanceInfo{
    position: relative;
    z-index: 1;
}
.profile-shade{
    position: absolute;
    /* на всю ширину экрана — слева направо до краёв */
    left: 50%;
    width: 100vw;
    margin-left: -50vw;
    right: auto;
    top: -220px;
    bottom: -40px;
    background: #121212;
    filter: blur(18px);
    z-index: 0;
    pointer-events: none;
}
.Task{
    width: 100%;
    display: flex;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    background-color: #fff;
    box-sizing: border-box;
    box-shadow: 0 0 3px #00000019;
}
.taskIcon{
    background-color: #E9EEF5;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
}
.TaskInfo{
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.TaskTitle{
    font-family: "Onest";
    font-size: 16px;
    color: #000000;
}
.TaskDescription{
    font-family: "Onest";
    font-size: 14px;
    color: #aeaeae;
}
.TaskExecuteSettings{
    display: flex;
    gap: 15px;
    align-items: center;
}
.TaskExecuteButton{
    height: 25px;
    width: 120px;
    border-radius: 7px;
    background-color: #0075F8;
    color: #fff;
    font-size: 14px;
    font-family: "Onest";
    display: flex;
    justify-content: center;
    align-items: center;
}
.TaskDeleteButton{
    background-color: #ff3a3a;
}
.checkButton{
    background-color: #0d6100;
}
 details {
    font-family: "Onest";
    width: 100%;
            background: white;
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.3s ease;
            margin-bottom: 15px;
        }

summary {
    font-family: "Onest";
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 16px;
            cursor: pointer;
            list-style: none;
            transition: background 0.3s ease;
        }

        summary::-webkit-details-marker {
            display: none;
        }

        summary::marker {
            display: none;
        }

        summary:hover {
            background: #f8f9fa;
        }

        .user-info {
            display: flex;
            align-items: center;
            gap: 16px;
            flex: 1;
        }

        .avatar {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            font-size: 22px;
            flex-shrink: 0;
        }

        .name-wrapper {
            display: flex;
            flex-direction: column;
        }

        .name {
            font-weight: 600;
            font-size: 18px;
            color: #1a1a2e;
        }

        .role {
            font-size: 14px;
            color: #666;
        }

        .arrow-icon {
            font-size: 22px;
            color: #0075F8;
            transition: transform 0.3s ease;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: #f0f2ff;
            flex-shrink: 0;
        }

        details[open] .arrow-icon {
            transform: rotate(180deg);
            background: #0075F8;
            color: white;
        }

        .details-content {
            padding: 0 24px 24px;
            border-top: 1px solid #e8ecf1;
            animation: slideIn 0.3s ease;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(-8px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .detail-item {
            display: flex;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid #f0f2f5;
            gap: 12px;
        }

        .detail-item:last-child {
            border-bottom: none;
        }

        .detail-icon {
            width: 32px;
            color: #0075F8;
            font-size: 16px;
            text-align: center;
            flex-shrink: 0;
        }

        .detail-label {
            min-width: 110px;
            color: #666;
            font-size: 14px;
            font-weight: 500;
        }

        .detail-value {
            color: #1a1a2e;
            font-size: 14px;
            flex: 1;
            display: flex;
            gap: 5px;
            align-items: center;
        }

        .tag {
            display: inline-block;
            padding: 4px 14px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            background: #e8f4fd;
            color: #1a73e8;
        }

        .tag-admin {
            background: #fce8e6;
            color: #d93025;
        }
        .tag-user {
            background: #bbbbbb95;
            color: #555555a4;
        }

        @media (max-width: 480px) {
            summary {
                padding: 11px;
            }

            .details-content {
                padding: 0 16px;
            }

            .detail-label {
                min-width: 110px;
                font-size: 13px;
            }
        }
.noMoreUsersText{
    width: 100%;
    font-family: "Onest";
    font-size: 14px;
    color: #606060;
    display: flex;
    justify-content: center;
}
.moreUsersButton{
    width: 100%;
    font-family: "Onest";
    font-size: 14px;
    color: #606060;
    display: flex;
    justify-content: center;
    text-decoration: underline;
}
.user-tile{
            display: flex;
            align-items: center;
            gap: 10px;
            background: white;
            padding: 8px 16px 8px 12px;
            border-radius: 12px; 
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            border: 1px solid #e4e6eb;
            cursor: pointer; 
            transition: all 0.2s ease;
            max-width: 400px;
            width: 100%;
            margin-bottom: 15px;
            box-sizing: border-box;
            font-family: "Onest";
        }

        .user-tile:hover {
            background: #f8f9fa;
            border-color: #b0b3b8;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
            transform: translateY(-2px);
        }

        .user-tile:active {
            transform: scale(0.98);
            background: #e4e6eb;
        }

        .user-avatar {
            width: 48px;
            height: 48px;
            border-radius: 15px;
            object-fit: cover; 
            border: 2px solid #fff;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            flex-shrink: 0;
            background-color: #d1d5db; 
        }

        .user-info_users {
            flex: 1;
            min-width: 0;
        }

        .user-name {
            font-weight: 600;
            font-size: 16px;
            color: #050505;
            line-height: 1.2;
            margin-bottom: 2px;
        }

        .user-id {
            font-size: 13px;
            color: #65676b;
            font-weight: 400;
        }

        .user-arrow {
            margin-left: auto;
            color: #65676b;
            font-size: 18px;
            transition: transform 0.2s ease, color 0.2s ease;
            flex-shrink: 0;
            box-sizing: border-box;
        }
        .user-tile:hover .user-arrow {
            color: #1a73e8;
            transform: translateX(4px);
        }

 .user-registered {
            font-size: 12px;
            color: #8a8d91;
            font-weight: 400;
            margin-top: 2px;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .user-registered i {
            font-size: 11px;
            color: #b0b3b8;
        }