/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-f3ezv2r3ml] {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    background: #030607;
    isolation: isolate;
}


/* =========================================================
   ЕДИНЫЙ ФОН НА ВСЮ ПАНЕЛЬ
   ========================================================= */

.page[b-f3ezv2r3ml]::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;

    background-image: url('/images/ninja-panel-bg.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.page[b-f3ezv2r3ml]::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    background: linear-gradient(
        180deg,
        rgba(2, 5, 6, 0.10) 0%,
        rgba(2, 5, 6, 0.15) 25%,
        rgba(2, 5, 6, 0.20) 55%,
        rgba(2, 5, 6, 0.27) 100%
    );
}


/* =========================================================
   ЛЕВАЯ ПАНЕЛЬ
   ========================================================= */

.sidebar[b-f3ezv2r3ml] {
    width: 260px;
    height: 100vh;
    position: sticky;
    top: 0;
    z-index: 20;
    overflow: hidden;

    background: linear-gradient(
        90deg,
        rgba(2, 7, 9, 0.34) 0%,
        rgba(2, 7, 9, 0.20) 58%,
        rgba(2, 7, 9, 0.08) 100%
    );

    border-right: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.sidebar[b-f3ezv2r3ml]::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;

    background:
        radial-gradient(circle at 22% 16%, rgba(255, 193, 0, 0.045), transparent 30%),
        linear-gradient(180deg, rgba(1, 5, 7, 0.07) 0%, rgba(1, 5, 7, 0.03) 45%, rgba(8, 5, 13, 0.10) 100%);
}

.sidebar[b-f3ezv2r3ml]::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 0;
    width: 1px;
    bottom: 450px;
    z-index: 3;
    pointer-events: none;

    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(255, 202, 34, 0.18) 4%,
        rgba(255, 202, 34, 0.36) 14%,
        rgba(255, 202, 34, 0.24) 72%,
        rgba(255, 202, 34, 0.08) 91%,
        transparent 100%
    );

    box-shadow: 0 0 9px rgba(255, 190, 0, 0.08);
}

.sidebar > *[b-f3ezv2r3ml] {
    position: relative;
    z-index: 2;
}


/* =========================================================
   ОСНОВНАЯ ОБЛАСТЬ
   ========================================================= */

.main-shell[b-f3ezv2r3ml] {
    min-width: 0;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.main-shell[b-f3ezv2r3ml]::before {
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 260px;
    z-index: 0;
    pointer-events: none;

    background: linear-gradient(
        180deg,
        rgba(1, 5, 6, 0.03) 0%,
        rgba(1, 5, 6, 0.07) 40%,
        rgba(1, 5, 6, 0.12) 100%
    );
}

.main-shell[b-f3ezv2r3ml]::after {
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 260px;
    z-index: 0;
    pointer-events: none;

    background:
        radial-gradient(circle at 76% 5%, rgba(255, 193, 0, 0.055), transparent 25%);
}


/* =========================================================
   ВЕРХНЯЯ ПАНЕЛЬ
   ========================================================= */

.top-row[b-f3ezv2r3ml] {
    width: 100%;
    height: 61px;
    position: sticky;
    top: 0;
    z-index: 10;

    display: flex;
    align-items: flex-start;
    justify-content: flex-end;

    padding: 10px 26px 0 !important;

    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
}


/* =========================================================
   КОНТЕНТ
   ========================================================= */

.content[b-f3ezv2r3ml],
.ninja-content[b-f3ezv2r3ml] {
    position: relative;
    z-index: 2;

    width: 100%;
    min-width: 0;
    min-height: calc(100vh - 61px);

    box-sizing: border-box;

    padding: 24px 28px 48px !important;
}


/* =========================================================
   ВЫБОР СЕРВЕРА
   ========================================================= */

.server-switcher[b-f3ezv2r3ml] {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 9px;
}

.server-label[b-f3ezv2r3ml] {
    color: rgba(239, 243, 244, 0.88);
    font-size: 0.88rem;
}

.server-select[b-f3ezv2r3ml] {
    min-width: 180px;
    height: 37px;

    padding: 0 34px 0 12px;

    border: 1px solid rgba(255, 203, 38, 0.67);
    border-radius: 8px;

    color: #f8fafb;
    background: rgba(4, 9, 11, 0.68);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    cursor: pointer;
    outline: none;

    font-size: 0.88rem;

    box-shadow: 0 0 15px rgba(255, 188, 0, 0.045);
}

.server-select:hover[b-f3ezv2r3ml],
.server-select:focus[b-f3ezv2r3ml] {
    border-color: #ffd43a;

    box-shadow:
        0 0 0 3px rgba(255, 205, 41, 0.08),
        0 0 14px rgba(255, 196, 0, 0.09);
}

.server-select option[b-f3ezv2r3ml] {
    color: #ffffff;
    background: #080d0f;
}

.no-server[b-f3ezv2r3ml] {
    color: #8e9ba3;
    font-size: 0.88rem;
}


/* =========================================================
   BLAZOR ERROR
   ========================================================= */

#blazor-error-ui[b-f3ezv2r3ml] {
    display: none;
    width: 100%;

    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 9999;

    box-sizing: border-box;

    padding: 0.7rem 1.2rem;

    color: #ffffff;
    background: #481a16;

    border-top: 1px solid #ff675d;

    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35);
}

#blazor-error-ui .reload[b-f3ezv2r3ml] {
    margin-left: 8px;
    color: #ffd43a;
}

#blazor-error-ui .dismiss[b-f3ezv2r3ml] {
    position: absolute;
    right: 14px;
    top: 8px;
    cursor: pointer;
}


/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media (max-width: 900px) {

    .page[b-f3ezv2r3ml] {
        display: block;
        min-height: 100dvh;
        padding-top: 76px !important;
    }

    /*
       МОБИЛЬНАЯ ШАПКА.
       Принудительно фиксируем её относительно viewport.
       !important нужен, чтобы никакие глобальные/старые стили
       не смогли вернуть sticky/relative в Safari.
    */
    .page > .sidebar[b-f3ezv2r3ml],
    .sidebar[b-f3ezv2r3ml] {
        width: 100% !important;
        height: 76px !important;

        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: auto !important;

        margin: 0 !important;

        z-index: 10000 !important;

        overflow: visible !important;
        isolation: isolate;

        background:
            linear-gradient(
                180deg,
                rgba(3, 8, 10, .985),
                rgba(3, 8, 10, .965)
            ) !important;

        border-bottom:
            1px solid rgba(255, 205, 45, .16);

        box-shadow:
            0 6px 18px rgba(0, 0, 0, .22);

        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;

        /*
           Важно для iOS Safari: не создаём transform-слой на fixed-шапке.
           Иначе после изменения высоты адресной строки Safari иногда
           оставляет старую область hit-test, и кнопка меню временно
           перестаёт реагировать до следующей прокрутки.
        */
        transform: none !important;
        -webkit-transform: none !important;
        will-change: auto;
    }

    .sidebar[b-f3ezv2r3ml]::before {
        background:
            radial-gradient(circle at 20% 20%, rgba(255, 193, 0, .065), transparent 34%),
            linear-gradient(180deg, rgba(1, 5, 7, .06), rgba(1, 5, 7, .14));
    }

    .sidebar[b-f3ezv2r3ml]::after {
        display: none;
    }

    /*
       Шапка fixed больше не занимает место в потоке.
       Отступ уже сделан через padding-top у .page,
       поэтому здесь дополнительного отступа быть не должно.
    */
    .main-shell[b-f3ezv2r3ml] {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    .main-shell[b-f3ezv2r3ml]::before,
    .main-shell[b-f3ezv2r3ml]::after {
        left: 0;
    }

    /*
       На телефоне сервер выбирается только в верхней шапке NavMenu.
       Старый селектор MainLayout полностью убираем.
    */
    .top-row[b-f3ezv2r3ml] {
        display: none !important;
        visibility: hidden !important;

        width: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: hidden !important;
        pointer-events: none !important;
    }

    .content[b-f3ezv2r3ml],
    .ninja-content[b-f3ezv2r3ml] {
        min-height: 0;
        padding: 10px 12px 34px !important;
    }
}

@media (max-width: 420px) {

    .content[b-f3ezv2r3ml],
    .ninja-content[b-f3ezv2r3ml] {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* =========================================================
   ЛОГОТИП NINJA VPN
   ========================================================= */

.sidebar-brand[b-x7j3hbuffd] {
    height: 112px;
    display: flex;
    align-items: center;
    padding: 0 0 0 26px;
    position: relative;
    z-index: 5;
    overflow: visible;
    border-bottom: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.sidebar-brand-link[b-x7j3hbuffd] {
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: visible;
    color: inherit;
    text-decoration: none;
}

.sidebar-brand-title[b-x7j3hbuffd] {
    display: inline-block;
    position: relative;
    font-family: "Brush Script MT", "Segoe Script", "Segoe Print", cursive;
    font-size: 2.15rem;
    font-weight: 700;
    font-style: italic;
    line-height: 1;
    letter-spacing: 0.01em;
    white-space: nowrap;
    color: #ffd54a;
    background: linear-gradient( 180deg, #fff1a5 0%, #ffe067 18%, #ffc83e 43%, #d99618 72%, #f0b32c 100% );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: rotate(-3deg) skewX(-3deg);
    transform-origin: center;
    filter: drop-shadow( 0 2px 0 rgba(75, 42, 0, 0.90) ) drop-shadow( 0 0 7px rgba(255, 183, 0, 0.22) ) drop-shadow( 0 5px 10px rgba(0, 0, 0, 0.55) );
}


    .sidebar-brand-title[b-x7j3hbuffd]::after {
        content: "";
        position: absolute;
        left: 10px;
        bottom: -10px;
        width: 72%;
        height: 2px;
        border-radius: 999px;
        opacity: 0.30;
        background: linear-gradient( 90deg, transparent 0%, #e9aa20 16%, #ffd343 48%, #d9981c 82%, transparent 100% );
        transform: rotate(-2deg);
        box-shadow: 0 0 8px rgba(255, 198, 0, 0.18);
    }


/* =========================================================
   ОСНОВНАЯ ЧАСТЬ SIDEBAR
   ========================================================= */

.sidebar-body[b-x7j3hbuffd] {
    height: calc(100vh - 112px);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 4;
    padding: 13px 10px 18px;
    overflow-y: auto;
    background: transparent;
}


.sidebar-nav[b-x7j3hbuffd] {
    display: flex;
    flex-direction: column;
    gap: 7px;
}


    /* =========================================================
   ПУНКТ МЕНЮ
   ========================================================= */

    .sidebar-nav[b-x7j3hbuffd]  .sidebar-link {
        min-height: 55px;
        display: flex;
        align-items: center;
        gap: 14px;
        position: relative;
        padding: 0 17px;
        overflow: hidden;
        border: 1px solid transparent;
        border-radius: 10px;
        color: #c1cbd1;
        background: linear-gradient( 90deg, rgba(3, 8, 10, 0.16), rgba(3, 8, 10, 0.05) );
        text-decoration: none;
        font-size: 0.94rem;
        transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    }


        .sidebar-nav[b-x7j3hbuffd]  .sidebar-link::before {
            content: "";
            position: absolute;
            left: 0;
            top: 9px;
            bottom: 9px;
            width: 3px;
            border-radius: 0 3px 3px 0;
            background: transparent;
        }


        .sidebar-nav[b-x7j3hbuffd]  .sidebar-link:hover {
            color: #fff0ba;
            border-color: rgba( 255, 203, 42, 0.13 );
            background: linear-gradient( 90deg, rgba( 255, 194, 0, 0.065 ), rgba( 3, 8, 10, 0.05 ) );
            transform: translateX(2px);
        }


        .sidebar-nav[b-x7j3hbuffd]  .sidebar-link.active {
            color: #ffd73e;
            border-color: rgba( 255, 207, 47, 0.60 );
            background: radial-gradient( circle at 24% 50%, rgba( 255, 197, 0, 0.17 ), transparent 70% ), linear-gradient( 90deg, rgba( 255, 191, 0, 0.12 ), rgba( 4, 9, 10, 0.08 ) );
            box-shadow: inset 0 0 28px rgba( 255, 187, 0, 0.025 ), 0 0 13px rgba( 255, 187, 0, 0.055 );
        }


            .sidebar-nav[b-x7j3hbuffd]  .sidebar-link.active::before {
                background: #ffd438;
                box-shadow: 0 0 10px rgba( 255, 210, 45, 0.55 );
            }


/* =========================================================
   ИКОНКИ
   ========================================================= */

.sidebar-icon[b-x7j3hbuffd] {
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.sidebar-nav[b-x7j3hbuffd]  .sidebar-link.active .sidebar-icon {
    filter: drop-shadow( 0 0 5px rgba( 255, 209, 48, 0.30 ) );
}


/* =========================================================
   SCROLLBAR
   ========================================================= */

.sidebar-body[b-x7j3hbuffd]::-webkit-scrollbar {
    width: 6px;
}


.sidebar-body[b-x7j3hbuffd]::-webkit-scrollbar-track {
    background: transparent;
}


.sidebar-body[b-x7j3hbuffd]::-webkit-scrollbar-thumb {
    background: rgba( 255, 206, 49, 0.14 );
    border-radius: 999px;
}


    .sidebar-body[b-x7j3hbuffd]::-webkit-scrollbar-thumb:hover {
        background: rgba( 255, 206, 49, 0.24 );
    }


/* =========================================================
   ЛОГОТИП PNG
   ========================================================= */

.sidebar-brand-logo[b-x7j3hbuffd] {
    width: 190px;
    height: auto;
    display: block;
    filter: drop-shadow( 0 0 3px rgba( 255, 220, 90, 0.45 ) ) drop-shadow( 0 0 8px rgba( 255, 185, 35, 0.25 ) ) drop-shadow( 0 0 15px rgba( 255, 155, 0, 0.10 ) );
    transition: filter 0.25s ease, transform 0.25s ease;
}


.sidebar-brand-link:hover .sidebar-brand-logo[b-x7j3hbuffd] {
    filter: drop-shadow( 0 0 4px rgba( 255, 230, 120, 0.65 ) ) drop-shadow( 0 0 10px rgba( 255, 195, 40, 0.38 ) ) drop-shadow( 0 0 18px rgba( 255, 160, 0, 0.16 ) );
    transform: scale(1.015);
}


/* =========================================================
   МОБИЛЬНЫЕ ЭЛЕМЕНТЫ
   ========================================================= */

.sidebar-menu-button[b-x7j3hbuffd],
.sidebar-menu-backdrop[b-x7j3hbuffd],
.sidebar-mobile-server-switcher[b-x7j3hbuffd],
.sidebar-swipe-zone[b-x7j3hbuffd] {
    display: none;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .sidebar-brand[b-x7j3hbuffd] {
        height: 76px;
        padding: 0 0 0 16px;
        z-index: 30;
    }

    .sidebar-brand-logo[b-x7j3hbuffd] {
        width: 150px;
    }

    .sidebar-mobile-server-switcher[b-x7j3hbuffd] {
        display: block;
        position: absolute;
        top: 18px;
        left: 180px;
        right: 72px;
        z-index: 30;
    }

    .sidebar-mobile-server-select[b-x7j3hbuffd] {
        width: 100%;
        height: 40px;
        padding: 0 28px 0 10px;
        border: 1px solid rgba(255, 203, 38, .58);
        border-radius: 9px;
        color: #f7f9fa;
        background: rgba(4, 9, 11, .92);
        outline: none;
        font-size: .78rem;
        box-shadow: 0 0 14px rgba(255, 190, 0, .05);
    }

    .sidebar-mobile-server-select:focus[b-x7j3hbuffd] {
        border-color: #ffd43a;
        box-shadow: 0 0 0 3px rgba(255, 205, 41, .07);
    }

    .sidebar-mobile-server-select option[b-x7j3hbuffd] {
        color: #fff;
        background: #080d0f;
    }

    .sidebar-mobile-no-server[b-x7j3hbuffd] {
        width: 100%;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #89969e;
        border: 1px solid rgba(255, 203, 38, .24);
        border-radius: 9px;
        background: rgba(4, 9, 11, .90);
    }

    .sidebar-body[b-x7j3hbuffd] {
        width: min(64vw, 330px);
        height: auto;
        max-height: calc(100dvh - 96px);

        display: flex;

        position: fixed;
        top: 84px;
        left: auto;
        right: 8px;

        z-index: 20;

        padding: 12px;
        overflow: hidden;

        border: 1px solid rgba(255, 207, 47, .42);
        border-radius: 16px;

        background:
            radial-gradient(circle at 20% 0%, rgba(255, 196, 0, .10), transparent 38%),
            linear-gradient(180deg, rgba(7, 11, 12, .995), rgba(4, 8, 10, .995));

        box-shadow:
            0 18px 45px rgba(0, 0, 0, .62),
            0 0 22px rgba(255, 190, 0, .07);

        backdrop-filter: none;
        -webkit-backdrop-filter: none;

        touch-action: none;
        overscroll-behavior: none;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateX(calc(100% + 18px));

        transition:
            transform .34s cubic-bezier(.22, .82, .24, 1),
            opacity .24s ease,
            visibility 0s linear .34s;
    }

    .sidebar-body.is-open[b-x7j3hbuffd] {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transform: translateX(0);

        transition:
            transform .34s cubic-bezier(.22, .82, .24, 1),
            opacity .24s ease,
            visibility 0s linear 0s;
    }

    .sidebar-nav[b-x7j3hbuffd] {
        gap: 7px;
    }

    .sidebar-nav[b-x7j3hbuffd]  .sidebar-link {
        min-height: 56px;
        padding: 0 16px;
        font-size: .95rem;
    }

    .sidebar-menu-button[b-x7j3hbuffd] {
        width: 46px;
        height: 42px;
        display: flex;
        position: fixed !important;
        right: 14px !important;
        top: 17px !important;
        z-index: 60 !important;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
        padding: 0;
        border: 1px solid rgba(255, 207, 47, .52);
        border-radius: 10px;
        color: #ffd438;
        background: rgba(6, 10, 12, .96);
        box-shadow:
            0 0 16px rgba(255, 196, 0, .07),
            inset 0 0 12px rgba(255, 207, 47, .025);
        cursor: pointer;
        touch-action: manipulation;
        pointer-events: auto;
        -webkit-tap-highlight-color: transparent;
    }

    .sidebar-menu-button span[b-x7j3hbuffd] {
        width: 20px;
        height: 2px;
        display: block;
        border: 0;
        border-radius: 0;
        background: #ffd438;
        pointer-events: none;
    }

    .sidebar-menu-button.is-open span[b-x7j3hbuffd] {
        display: none;
    }

    .sidebar-menu-button.is-open[b-x7j3hbuffd]::before,
    .sidebar-menu-button.is-open[b-x7j3hbuffd]::after {
        content: "";
        width: 24px;
        height: 2px;
        position: absolute;
        left: 50%;
        top: 50%;
        border: 0;
        border-radius: 0;
        background: #ffd438;
        transform-origin: center;
        pointer-events: none;
    }

    .sidebar-menu-button.is-open[b-x7j3hbuffd]::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .sidebar-menu-button.is-open[b-x7j3hbuffd]::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .sidebar-menu-backdrop[b-x7j3hbuffd] {
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        z-index: 10 !important;

        width: 100vw !important;
        height: 100dvh !important;

        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;

        background: rgba(0, 0, 0, .58) !important;

        opacity: 0;
        visibility: hidden;
        pointer-events: none !important;

        touch-action: none !important;
        overscroll-behavior: none !important;

        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        -webkit-tap-highlight-color: transparent;

        transition:
            opacity .28s ease,
            visibility 0s linear .28s;
    }

    .sidebar-menu-backdrop.is-open[b-x7j3hbuffd] {
        opacity: 1;
        visibility: visible;
        pointer-events: auto !important;

        transition:
            opacity .28s ease,
            visibility 0s linear 0s;
    }

    .sidebar-swipe-zone[b-x7j3hbuffd] {
        width: 36px;
        display: block;
        position: fixed !important;
        top: 76px;
        right: 0;
        bottom: 0;
        z-index: 15;
        background: transparent;
        touch-action: none;
        pointer-events: auto;
        -webkit-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }
}


@media (max-width: 420px) {

    .sidebar-brand[b-x7j3hbuffd] {
        padding-left: 13px;
    }


    .sidebar-brand-logo[b-x7j3hbuffd] {
        width: 138px;
    }


    .sidebar-mobile-server-switcher[b-x7j3hbuffd] {
        left: 163px;
        right: 68px;
    }


    .sidebar-mobile-server-select[b-x7j3hbuffd] {
        font-size: .74rem;
        padding-left: 8px;
        padding-right: 24px;
    }


    .sidebar-menu-button[b-x7j3hbuffd] {
        right: 10px !important;
    }
}


/* =========================================================
   МЕНЮ ОТКРЫВАЕТСЯ И ЗАКРЫВАЕТСЯ ЧЕРЕЗ TRANSITION
   ========================================================= */

@media (max-width: 420px) {
    .sidebar-body[b-x7j3hbuffd] {
        width: min(66vw, 300px);
        right: 6px;
    }
}


/* =========================================================
   ACCOUNT / LOGOUT
   ========================================================= */

.sidebar-account[b-x7j3hbuffd] {
    margin-top: auto;
    padding: 11px 7px 0;
    border-top: 1px solid rgba(255, 207, 47, .13);
}

.sidebar-account-row[b-x7j3hbuffd] {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 2px 8px;
}

.sidebar-account-settings-button[b-x7j3hbuffd] {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 218, 73, .40);
    border-radius: 8px;
    color: #f0d14e;
    background: rgba(31, 25, 7, .58);
    cursor: pointer;
    transition: transform .15s ease, border-color .15s ease, background .15s ease, color .15s ease;
}

.sidebar-account-settings-button:hover[b-x7j3hbuffd] {
    transform: translateY(-1px);
    color: #ffe36f;
    border-color: rgba(255, 224, 95, .72);
    background: rgba(47, 37, 9, .72);
}

.sidebar-account-settings-button svg[b-x7j3hbuffd] {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sidebar-account-name[b-x7j3hbuffd] {
    min-width: 0;
    flex: 1 1 auto;
    display: grid;
    gap: 2px;
    margin: 0;
}

.sidebar-account-name span[b-x7j3hbuffd] {
    color: #69757b;
    font-size: .61rem;
}

.sidebar-account-name strong[b-x7j3hbuffd] {
    max-width: 100%;
    overflow: hidden;
    color: #d6dde0;
    font-size: .78rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-logout-form[b-x7j3hbuffd] {
    margin: 0 2px;
}

.sidebar-logout-button[b-x7j3hbuffd] {
    width: 205px;
    max-width: 100%;
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 10px;
    border: 1px solid rgba(255, 115, 93, .27);
    border-radius: 8px;
    color: #d9877c;
    background: rgba(37, 10, 7, .22);
    font: inherit;
    font-size: .71rem;
    font-weight: 750;
    cursor: pointer;
}

.sidebar-logout-button:hover[b-x7j3hbuffd] {
    color: #ff9b8e;
    border-color: rgba(255, 118, 97, .46);
    background: rgba(61, 15, 10, .32);
}

.sidebar-logout-button svg[b-x7j3hbuffd] {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sidebar-mobile-logout-button[b-x7j3hbuffd],
.sidebar-mobile-logout-confirm[b-x7j3hbuffd] {
    display: none;
}

@media (max-width: 900px) {
    .sidebar-account[b-x7j3hbuffd] {
        position: relative;
        padding: 10px 4px 0;
    }

    .sidebar-account-row[b-x7j3hbuffd] {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr) auto;
        align-items: center;
        gap: 9px;
        margin: 0;
    }

    .sidebar-account-settings-button[b-x7j3hbuffd] {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .sidebar-account-name[b-x7j3hbuffd] {
        display: grid;
        gap: 2px;
    }

    .sidebar-logout-form[b-x7j3hbuffd] {
        display: none;
    }

    .sidebar-mobile-logout-button[b-x7j3hbuffd] {
        min-width: 88px;
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        padding: 0 11px;
        border: 1px solid rgba(255, 115, 93, .34);
        border-radius: 8px;
        color: #e5978d;
        background: rgba(37, 10, 7, .28);
        font: inherit;
        font-size: .72rem;
        font-weight: 800;
        white-space: nowrap;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .sidebar-mobile-logout-button:active[b-x7j3hbuffd] {
        transform: scale(.97);
        color: #ffaaa0;
        border-color: rgba(255, 118, 97, .52);
        background: rgba(61, 15, 10, .40);
    }

    .sidebar-mobile-logout-button svg[b-x7j3hbuffd] {
        width: 17px;
        height: 17px;
        flex: 0 0 17px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8px;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .sidebar-mobile-logout-confirm[b-x7j3hbuffd] {
        display: block;
        position: absolute;
        left: 4px;
        right: 4px;
        bottom: 52px;
        z-index: 80;
        padding: 13px;
        border: 1px solid rgba(255, 210, 57, .58);
        border-radius: 11px;
        background:
            radial-gradient(circle at 88% 0%, rgba(255, 194, 20, .07), transparent 38%),
            linear-gradient(180deg, rgba(7, 12, 14, .995), rgba(3, 8, 10, .995));
        box-shadow:
            0 16px 36px rgba(0, 0, 0, .56),
            0 0 18px rgba(255, 193, 23, .07);
    }

    .sidebar-mobile-logout-confirm-title[b-x7j3hbuffd] {
        color: #f1d25a;
        font-size: .88rem;
        font-weight: 850;
        text-align: center;
    }

    .sidebar-mobile-logout-confirm-actions[b-x7j3hbuffd] {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 11px;
    }

    .sidebar-mobile-logout-confirm-form[b-x7j3hbuffd] {
        margin: 0;
    }

    .sidebar-mobile-logout-cancel[b-x7j3hbuffd],
    .sidebar-mobile-logout-confirm-button[b-x7j3hbuffd] {
        width: 100%;
        min-height: 38px;
        border-radius: 8px;
        font: inherit;
        font-size: .72rem;
        font-weight: 800;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .sidebar-mobile-logout-cancel[b-x7j3hbuffd] {
        border: 1px solid rgba(203, 211, 214, .22);
        color: #bdc6ca;
        background: rgba(6, 12, 14, .78);
    }

    .sidebar-mobile-logout-confirm-button[b-x7j3hbuffd] {
        border: 1px solid rgba(255, 115, 93, .48);
        color: #ff9e92;
        background: rgba(54, 13, 9, .54);
    }

    .sidebar-mobile-logout-cancel:active[b-x7j3hbuffd],
    .sidebar-mobile-logout-confirm-button:active[b-x7j3hbuffd] {
        transform: scale(.97);
    }
}


/* =========================================================
   ACCOUNT POPUP — SIDEBAR DISMISS ZONE
   Пока окно учётной записи открыто, вся левая панель неактивна:
   любой клик по ней только закрывает окно.
   ========================================================= */

.sidebar-account-dismiss-overlay[b-x7j3hbuffd] {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 260px !important;
    z-index: 100000 !important;
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    cursor: default;
}

@media (max-width: 900px) {
    .sidebar-account-dismiss-overlay[b-x7j3hbuffd] {
        display: none !important;
    }
}

@media (max-width: 420px) {
    .sidebar-account-row[b-x7j3hbuffd] {
        gap: 7px;
    }

    .sidebar-mobile-logout-button[b-x7j3hbuffd] {
        min-width: 82px;
        padding-left: 9px;
        padding-right: 9px;
        font-size: .70rem;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-xgssuxeawh],
.components-reconnect-repeated-attempt-visible[b-xgssuxeawh],
.components-reconnect-failed-visible[b-xgssuxeawh],
.components-pause-visible[b-xgssuxeawh],
.components-resume-failed-visible[b-xgssuxeawh],
.components-rejoining-animation[b-xgssuxeawh] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-xgssuxeawh],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-xgssuxeawh],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-xgssuxeawh],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-xgssuxeawh],
#components-reconnect-modal.components-reconnect-retrying[b-xgssuxeawh],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-xgssuxeawh],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-xgssuxeawh],
#components-reconnect-modal.components-reconnect-failed[b-xgssuxeawh],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-xgssuxeawh] {
    display: block;
}


#components-reconnect-modal[b-xgssuxeawh] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-xgssuxeawh 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-xgssuxeawh 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-xgssuxeawh 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-xgssuxeawh]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-xgssuxeawh 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-xgssuxeawh {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-xgssuxeawh {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-xgssuxeawh {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-xgssuxeawh] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-xgssuxeawh] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-xgssuxeawh] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-xgssuxeawh] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-xgssuxeawh] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-xgssuxeawh] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-xgssuxeawh] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-xgssuxeawh 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-xgssuxeawh] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-xgssuxeawh {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */
.home-page[b-a64vhmae87] {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}


/* =========================================================
   ШАПКА
   ========================================================= */

.home-hero[b-a64vhmae87] {
    display: block;
    position: relative;
    min-height: 0;
    padding: 8px 6px 24px;
    margin-bottom: 0;
}


.home-title-block[b-a64vhmae87] {
    display: block;
}


    .home-title-block h1[b-a64vhmae87] {
        margin: 0;
        color: #ffffff;
        font-family: "Segoe Print", "Brush Script MT", cursive;
        font-size: clamp(2rem, 3vw, 3.45rem);
        font-weight: 800;
        line-height: 1.05;
        letter-spacing: -0.02em;
        text-shadow: 0 3px 0 rgba(0, 0, 0, 0.65), 0 0 26px rgba(255, 180, 0, 0.10);
    }


    .home-title-block p[b-a64vhmae87] {
        margin: 8px 0 0;
        color: #b8c2c9;
        font-family: "Segoe Print", "Segoe UI", sans-serif;
        font-size: 1rem;
    }


/* =========================================================
   ВЫБРАННЫЙ СЕРВЕР
   ========================================================= */

.selected-server-card[b-a64vhmae87] {
    width: 330px;
    min-height: 116px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 18px;
    padding: 18px 20px;
    box-sizing: border-box;
    border: 1px solid rgba(255, 205, 45, 0.22);
    border-radius: 14px;
    background: radial-gradient( circle at 18% 18%, rgba(255, 193, 0, 0.09), transparent 35% ), linear-gradient( 135deg, rgba(20, 19, 14, 0.65), rgba(6, 10, 12, 0.76) );
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025), 0 12px 30px rgba(0, 0, 0, 0.22);
}


.selected-server-card-quote[b-a64vhmae87] {
    flex: 0 0 auto;
    margin-top: 0;
    color: #ffd52d;
    font-family: Georgia, serif;
    font-size: 2.45rem;
    font-weight: 900;
    line-height: 0.8;
    text-shadow: 0 0 14px rgba(255, 205, 30, 0.22);
}


.selected-server-card-content[b-a64vhmae87] {
    min-width: 0;
    flex: 1;
}


.selected-server-card-label[b-a64vhmae87] {
    color: rgba(235, 239, 241, 0.86);
    font-size: 0.92rem;
    line-height: 1.35;
}


.selected-server-card-name[b-a64vhmae87] {
    margin-top: 5px;
    color: #ffffff;
    font-size: 1.18rem;
    font-weight: 800;
    line-height: 1.2;
    overflow-wrap: anywhere;
}


.selected-server-card-line[b-a64vhmae87] {
    width: 28px;
    height: 1px;
    margin-top: 15px;
    border-radius: 999px;
    background: #ffd32d;
    box-shadow: 0 0 7px rgba(255, 211, 45, 0.20);
}


/* =========================================================
   СПИСОК СЕРВЕРОВ
   ========================================================= */

.servers-list[b-a64vhmae87] {
    display: flex;
    flex-direction: column;
    gap: 18px;
}


/* =========================================================
   БЛОК СЕРВЕРА
   ========================================================= */

.server-panel[b-a64vhmae87] {
    position: relative;
    padding: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 196, 0, 0.58);
    border-radius: 15px;
    background: radial-gradient( circle at 84% 8%, rgba(255, 175, 0, 0.07), transparent 28% ), linear-gradient( 180deg, rgba(7, 13, 15, 0.86), rgba(4, 9, 11, 0.90) );
    backdrop-filter: blur(5px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.015), 0 14px 35px rgba(0, 0, 0, 0.28);
}


    .server-panel[b-a64vhmae87]::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        opacity: 0.18;
        background: linear-gradient( 120deg, transparent 0 62%, rgba(255, 189, 0, 0.04) 70%, transparent 82% );
    }


    .server-panel.selected[b-a64vhmae87] {
        border-color: #ffd326;
        box-shadow: inset 0 0 0 1px rgba(255, 215, 65, 0.08), 0 0 24px rgba(255, 178, 0, 0.11), 0 16px 38px rgba(0, 0, 0, 0.32);
    }


/* =========================================================
   ШАПКА СЕРВЕРА
   ========================================================= */

.server-panel-header[b-a64vhmae87] {
    min-height: 64px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
    padding: 0 3px;
    position: relative;
    z-index: 1;
}


.server-name-line[b-a64vhmae87] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}


    .server-name-line h2[b-a64vhmae87] {
        margin: 0;
        color: #f7fafb;
        font-size: 1.55rem;
        font-weight: 700;
        letter-spacing: 0.01em;
    }


.server-main-dot[b-a64vhmae87],
.connection-dot[b-a64vhmae87] {
    display: inline-block;
    border-radius: 50%;
    flex: 0 0 auto;
}


.server-main-dot[b-a64vhmae87] {
    width: 13px;
    height: 13px;
}


.connection-dot[b-a64vhmae87] {
    width: 14px;
    height: 14px;
}


    .server-main-dot.online[b-a64vhmae87],
    .connection-dot.online[b-a64vhmae87] {
        background: #21e5c0;
        box-shadow: 0 0 13px rgba(33, 229, 192, 0.55);
    }


    .server-main-dot.offline[b-a64vhmae87] {
        background: #ff5c50;
        box-shadow: 0 0 11px rgba(255, 92, 80, 0.42);
    }


    .connection-dot.offline[b-a64vhmae87] {
        background: #8b98a2;
    }


    .server-main-dot.loading[b-a64vhmae87],
    .connection-dot.loading[b-a64vhmae87] {
        background: #ffd22a;
        box-shadow: 0 0 12px rgba(255, 210, 42, 0.4);
        animation: homePulse-b-a64vhmae87 1s ease-in-out infinite alternate;
    }


.selected-badge[b-a64vhmae87] {
    padding: 4px 12px;
    border: 1px solid #ffda42;
    border-radius: 999px;
    color: #18130a;
    background: linear-gradient( 180deg, #ffe66f, #ffc51d );
    font-size: 0.67rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    box-shadow: 0 0 14px rgba(255, 190, 0, 0.12);
}


.server-caption[b-a64vhmae87] {
    margin-top: 5px;
    color: #a4afb6;
    font-size: 0.84rem;
}


/* =========================================================
   СТАТУС ПОДКЛЮЧЕНИЯ
   ========================================================= */

.connection-state[b-a64vhmae87] {
    min-width: 230px;
    text-align: right;
}


.connection-row[b-a64vhmae87] {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 11px;
}


.connection-title[b-a64vhmae87] {
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.025em;
}


    .connection-title.online[b-a64vhmae87] {
        color: #29e0d1;
        text-shadow: 0 0 10px rgba(41, 224, 209, 0.15);
    }


    .connection-title.offline[b-a64vhmae87] {
        color: #9ba6ad;
    }


.connection-subtitle[b-a64vhmae87] {
    margin-top: 5px;
    color: #a5afb6;
    font-size: 0.78rem;
}


.server-alert[b-a64vhmae87] {
    position: relative;
    z-index: 1;
    margin: 0 0 14px;
}


/* =========================================================
   КАРТОЧКИ ПАРАМЕТРОВ
   ========================================================= */

.server-metrics[b-a64vhmae87] {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(170px, 1.08fr) minmax(185px, 1.25fr) minmax(150px, 0.9fr) repeat(4, minmax(140px, 1fr));
    gap: 11px;
}


.metric-card[b-a64vhmae87] {
    min-width: 0;
    min-height: 128px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 15px;
    border: 1px solid rgba(255, 204, 36, 0.08);
    border-radius: 11px;
    background: linear-gradient( 180deg, rgba(16, 23, 25, 0.78), rgba(7, 13, 15, 0.80) );
    box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.008);
}


/* =========================================================
   ИКОНКИ
   ========================================================= */

.metric-icon[b-a64vhmae87] {
    width: 28px;
    height: 28px;
    min-width: 28px;
    max-width: 28px;
    flex: 0 0 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    color: #ffd31f;
    overflow: hidden;
    filter: drop-shadow( 0 0 5px rgba(255, 205, 20, 0.12) );
}


    .metric-icon svg[b-a64vhmae87] {
        display: block !important;
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
        max-width: 28px !important;
        max-height: 28px !important;
        overflow: visible;
        fill: none !important;
        stroke: currentColor !important;
        stroke-width: 1.7px !important;
        stroke-linecap: round;
        stroke-linejoin: round;
    }


        .metric-icon svg path[b-a64vhmae87],
        .metric-icon svg rect[b-a64vhmae87],
        .metric-icon svg circle[b-a64vhmae87],
        .metric-icon svg line[b-a64vhmae87],
        .metric-icon svg polyline[b-a64vhmae87],
        .metric-icon svg polygon[b-a64vhmae87] {
            fill: none !important;
            stroke: currentColor !important;
        }


/* =========================================================
   СОДЕРЖИМОЕ КАРТОЧКИ
   ========================================================= */

.metric-content[b-a64vhmae87] {
    min-width: 0;
    flex: 1;
}


.metric-title[b-a64vhmae87] {
    margin-bottom: 8px;
    color: #adb8bf;
    font-size: 0.79rem;
}


.metric-value[b-a64vhmae87] {
    min-width: 0;
    color: #f7f9fa;
    font-size: 1.04rem;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}


.hostname-value[b-a64vhmae87] {
    font-size: 0.90rem;
}


.os-value[b-a64vhmae87] {
    font-size: 0.93rem;
}


.uptime-value[b-a64vhmae87] {
    white-space: normal;
}


.metric-description[b-a64vhmae87] {
    margin-top: 8px;
    color: #89969e;
    font-size: 0.70rem;
    line-height: 1.25;
}


/* =========================================================
   VPN
   ========================================================= */

.vpn-online[b-a64vhmae87] {
    color: #28e5c7;
    text-shadow: 0 0 10px rgba(40, 229, 199, 0.12);
}


.vpn-offline[b-a64vhmae87] {
    color: #ff6e63;
}

.metric-value.vpn-online[b-a64vhmae87],
.metric-value.vpn-offline[b-a64vhmae87] {
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
}


.vpn-container[b-a64vhmae87] {
    color: #31d9cb;
}


/* =========================================================
   ПРОГРЕСС CPU / RAM / ДИСК
   ========================================================= */

.metric-progress[b-a64vhmae87] {
    width: 100%;
    height: 7px;
    margin-top: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}


.metric-progress-bar[b-a64vhmae87] {
    width: 0;
    height: 100%;
    min-width: 0;
    border-radius: 999px;
    background: linear-gradient( 90deg, #ffbd19, #ffe035 );
    box-shadow: 0 0 10px rgba(255, 198, 25, 0.20);
    transition: width 0.35s ease;
}


/* =========================================================
   АНИМАЦИЯ
   ========================================================= */

@keyframes homePulse-b-a64vhmae87 {

    from {
        opacity: 0.45;
        transform: scale(0.88);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* =========================================================
   СВОРАЧИВАНИЕ КАРТОЧКИ СЕРВЕРА
   На десктопе кнопка скрыта.
   ========================================================= */

.server-collapse-button[b-a64vhmae87] {
    display: none;
}


/* =========================================================
   АДАПТАЦИЯ
   ========================================================= */

@media (max-width: 1380px) {

    .server-metrics[b-a64vhmae87] {
        grid-template-columns: repeat( 4, minmax(150px, 1fr) );
    }
}


@media (max-width: 1050px) {

    .home-hero[b-a64vhmae87] {
        min-height: 0;
        padding: 8px 6px 26px;
    }


    .selected-server-card[b-a64vhmae87] {
        width: 310px;
    }


    .server-panel-header[b-a64vhmae87] {
        flex-direction: column;
    }


    .connection-state[b-a64vhmae87] {
        min-width: 0;
        text-align: left;
    }


    .connection-row[b-a64vhmae87] {
        justify-content: flex-start;
    }


    .server-metrics[b-a64vhmae87] {
        grid-template-columns: repeat( 2, minmax(160px, 1fr) );
    }
}


@media (max-width: 620px) {

    .home-page[b-a64vhmae87] {
        max-width: none;
    }

    .home-hero[b-a64vhmae87] {
        min-height: 0;
        padding: 2px 2px 14px;
    }

    .home-title-block h1[b-a64vhmae87] {
        margin: 0;
        font-size: 2.35rem;
        line-height: .96;
        letter-spacing: -0.025em;
    }

    .home-title-block p[b-a64vhmae87] {
        margin-top: 9px;
        max-width: 340px;
        font-size: .86rem;
        line-height: 1.5;
    }

    /* Компактная карточка "Выбранный сервер" */
    .selected-server-card[b-a64vhmae87] {
        width: 100%;
        min-height: 72px;
        margin-top: 12px;
        padding: 11px 14px;
        gap: 10px;
        align-items: center;
        border-radius: 12px;
    }

    .selected-server-card-quote[b-a64vhmae87] {
        margin-top: 0;
        font-size: 1.85rem;
        line-height: 1;
    }

    .selected-server-card-label[b-a64vhmae87] {
        font-size: .76rem;
        line-height: 1.2;
    }

    .selected-server-card-name[b-a64vhmae87] {
        margin-top: 3px;
        font-size: 1rem;
        line-height: 1.15;
    }

    .selected-server-card-line[b-a64vhmae87] {
        display: none;
    }

    .servers-list[b-a64vhmae87] {
        gap: 12px;
    }

    /* Карточка сервера */
    .server-panel[b-a64vhmae87] {
        padding: 12px;
        border-radius: 14px;
    }

    .server-panel-header[b-a64vhmae87] {
        min-height: 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 12px;
        padding: 0 42px 0 0;
    }

    .server-collapse-button[b-a64vhmae87] {
        width: 34px;
        height: 34px;

        display: flex;
        align-items: center;
        justify-content: center;

        position: absolute;
        top: 0;
        right: 0;
        z-index: 3;

        padding: 0;

        border: 1px solid rgba(255, 207, 47, .34);
        border-radius: 9px;

        color: #ffd43a;
        background: rgba(5, 10, 12, .70);

        box-shadow: 0 0 12px rgba(255, 194, 0, .05);

        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .server-collapse-button svg[b-a64vhmae87] {
        width: 18px;
        height: 18px;

        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;

        transition: transform .18s ease;
    }

    .server-collapse-button svg.is-collapsed[b-a64vhmae87] {
        transform: rotate(180deg);
    }

    .server-panel.mobile-collapsed .server-panel-header[b-a64vhmae87] {
        margin-bottom: 0;
    }

    .server-panel.mobile-collapsed .server-metrics[b-a64vhmae87],
    .server-panel.mobile-collapsed .server-alert[b-a64vhmae87] {
        display: none;
    }

    .server-name-line[b-a64vhmae87] {
        gap: 8px;
    }

    .server-name-line h2[b-a64vhmae87] {
        font-size: 1.25rem;
        line-height: 1.1;
    }

    .server-main-dot[b-a64vhmae87] {
        width: 10px;
        height: 10px;
    }

    .selected-badge[b-a64vhmae87] {
        padding: 3px 8px;
        font-size: .57rem;
    }

    .server-caption[b-a64vhmae87] {
        margin-top: 4px;
        font-size: .73rem;
    }

    /* Статус подключения превращаем в компактную строку */
    .connection-state[b-a64vhmae87] {
        width: 100%;
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 7px 12px;
        padding: 9px 10px;
        box-sizing: border-box;
        border: 1px solid rgba(33, 229, 192, .10);
        border-radius: 9px;
        background: rgba(4, 11, 12, .42);
        text-align: left;
    }

    .connection-row[b-a64vhmae87] {
        justify-content: flex-start;
        gap: 8px;
    }

    .connection-dot[b-a64vhmae87] {
        width: 11px;
        height: 11px;
    }

    .connection-title[b-a64vhmae87] {
        font-size: .70rem;
        letter-spacing: .02em;
    }

    .connection-subtitle[b-a64vhmae87] {
        margin-top: 0;
        font-size: .68rem;
        white-space: nowrap;
    }

    /*
       2 колонки вместо одной:
       Hostname занимает всю ширину,
       дальше ОС/VPN, CPU/RAM, Диск/Uptime.
    */
    .server-metrics[b-a64vhmae87] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .server-metrics > .metric-card:first-child[b-a64vhmae87] {
        grid-column: 1 / -1;
    }

    .metric-card[b-a64vhmae87] {
        min-height: 84px;
        gap: 9px;
        padding: 11px 10px;
        border-radius: 9px;
    }

    .server-metrics > .metric-card:first-child[b-a64vhmae87] {
        min-height: 76px;
    }

    .metric-icon[b-a64vhmae87] {
        width: 22px;
        height: 22px;
        min-width: 22px;
        max-width: 22px;
        flex-basis: 22px;
    }

    .metric-icon svg[b-a64vhmae87] {
        width: 22px !important;
        height: 22px !important;
        min-width: 22px !important;
        min-height: 22px !important;
        max-width: 22px !important;
        max-height: 22px !important;
    }

    .metric-title[b-a64vhmae87] {
        margin-bottom: 4px;
        font-size: .68rem;
    }

    .metric-value[b-a64vhmae87] {
        font-size: .88rem;
        line-height: 1.2;
    }

    .hostname-value[b-a64vhmae87] {
        font-size: .82rem;
    }

    .os-value[b-a64vhmae87] {
        font-size: .82rem;
    }

    .metric-description[b-a64vhmae87] {
        margin-top: 5px;
        font-size: .61rem;
        line-height: 1.18;
    }

    .metric-progress[b-a64vhmae87] {
        height: 5px;
        margin-top: 7px;
    }

    .vpn-status-text[b-a64vhmae87] {
        white-space: nowrap;
        word-break: normal;
        overflow-wrap: normal;
    }
    .vpn-status-text[b-a64vhmae87] {
        white-space: nowrap;
        word-break: normal;
        overflow-wrap: normal;
        font-size: 16px;
    }
}
/* /Components/Pages/Settings.razor.rz.scp.css */
/* =========================================================
   SETTINGS / SERVERS — NINJA VPN
   ========================================================= */

.servers-page[b-tv7mv6nkpw] {
    width: 100%;
    padding: 0 4px 28px;
}


/* =========================================================
   HEADER
   ========================================================= */

.page-header[b-tv7mv6nkpw] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.15rem;
}

.page-title-wrap[b-tv7mv6nkpw] {
    min-width: 0;
}

.servers-title[b-tv7mv6nkpw] {
    margin: -0.35rem 0 0;
    color: #ffffff;
    font-family: "Segoe Print", "Comic Sans MS", cursive;
    font-size: clamp(3rem, 4.1vw, 4.8rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.045em;
    text-shadow: 0 3px 7px rgba(0, 0, 0, .76), 0 0 14px rgba(255, 216, 76, .06);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    transform: translateY(-15px);
}

.servers-subtitle[b-tv7mv6nkpw] {
    margin: .5rem 0 0;
    color: rgba(221, 227, 230, .72);
    font-family: "Segoe Print", "Comic Sans MS", cursive;
    font-size: clamp(.96rem, 1.15vw, 1.25rem);
    font-style: italic;
    line-height: 1.35;
    letter-spacing: -.025em;
    text-shadow: 0 2px 5px rgba(0, 0, 0, .62);
}

.ninja-add-server-button[b-tv7mv6nkpw] {
    min-height: 46px;
    margin-top: 4px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid #ffe26e;
    border-radius: 9px;
    color: #151005;
    background: linear-gradient( 180deg, #ffeb84 0%, #ffd64b 58%, #e4ac18 100% );
    font: inherit;
    font-size: .92rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 0 17px rgba(255, 196, 27, .15), inset 0 1px 0 rgba(255, 255, 255, .42);
    transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

    .ninja-add-server-button:hover[b-tv7mv6nkpw] {
        transform: translateY(-1px);
        filter: brightness(1.035);
        box-shadow: 0 0 24px rgba(255, 199, 29, .22), inset 0 1px 0 rgba(255, 255, 255, .46);
    }

.ninja-add-server-plus[b-tv7mv6nkpw] {
    font-size: 1.15rem;
    line-height: 1;
}


/* =========================================================
   ADD SERVER FORM
   ========================================================= */

.server-form-card[b-tv7mv6nkpw] {
    max-width: 980px;
    margin-bottom: 1.8rem;
    padding: 1.35rem 1.45rem 1.45rem;
    border: 1px solid rgba(226, 186, 37, .63);
    border-radius: 15px;
    background: linear-gradient( 180deg, rgba(7, 13, 15, .94), rgba(3, 9, 11, .91) );
    box-shadow: 0 16px 42px rgba(0, 0, 0, .23), inset 0 0 0 1px rgba(255, 213, 71, .018);
    backdrop-filter: blur(12px);
}

.form-header[b-tv7mv6nkpw] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.form-eyebrow[b-tv7mv6nkpw] {
    margin-bottom: 3px;
    color: rgba(236, 201, 62, .78);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.form-header h3[b-tv7mv6nkpw] {
    margin: 0;
    color: #f0f2f3;
    font-size: 1.28rem;
    font-weight: 800;
}

.close-button[b-tv7mv6nkpw] {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(231, 193, 43, .42);
    border-radius: 9px;
    color: #dde2e4;
    background: rgba(3, 8, 10, .72);
    font-size: 1.55rem;
    line-height: 1;
    cursor: pointer;
    transition: .15s ease;
}

    .close-button:hover:not(:disabled)[b-tv7mv6nkpw] {
        color: #ffe067;
        border-color: rgba(255, 220, 90, .72);
    }

    .close-button:disabled[b-tv7mv6nkpw] {
        opacity: .5;
        cursor: default;
    }

.form-grid[b-tv7mv6nkpw] {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(220px, 1.3fr) 120px;
    gap: 1rem;
}

.form-group[b-tv7mv6nkpw] {
    display: flex;
    flex-direction: column;
    gap: .42rem;
}

    .form-group label[b-tv7mv6nkpw] {
        color: #c4cbce;
        font-size: .82rem;
        font-weight: 700;
    }

    .form-group .form-control[b-tv7mv6nkpw] {
        min-height: 43px;
        border: 1px solid rgba(255, 207, 49, .22);
        border-radius: 8px;
        color: #edf1f2;
        background: rgba(5, 11, 13, .88);
        box-shadow: none;
    }

        .form-group .form-control:focus[b-tv7mv6nkpw] {
            color: #ffffff;
            background: rgba(5, 11, 13, .96);
            border-color: rgba(255, 213, 67, .72);
            box-shadow: 0 0 0 3px rgba(255, 202, 35, .07);
        }

        .form-group .form-control[b-tv7mv6nkpw]::placeholder {
            color: rgba(177, 187, 191, .45);
        }

.form-actions[b-tv7mv6nkpw] {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: 1.2rem;
}

.ninja-primary-button[b-tv7mv6nkpw],
.ninja-outline-button[b-tv7mv6nkpw],
.ninja-muted-button[b-tv7mv6nkpw] {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 8px;
    font: inherit;
    font-size: .82rem;
    font-weight: 800;
    cursor: pointer;
    transition: .15s ease;
}

.ninja-primary-button[b-tv7mv6nkpw] {
    border: 1px solid #ffe16a;
    color: #171205;
    background: linear-gradient( 180deg, #ffe984, #edc13a );
}

.ninja-outline-button[b-tv7mv6nkpw] {
    border: 1px solid rgba(243, 202, 50, .64);
    color: #f2d254;
    background: rgba(3, 9, 11, .78);
}

.ninja-muted-button[b-tv7mv6nkpw] {
    border: 1px solid rgba(177, 188, 193, .27);
    color: #b9c1c5;
    background: rgba(5, 11, 13, .66);
}

    .ninja-primary-button:hover:not(:disabled)[b-tv7mv6nkpw],
    .ninja-outline-button:hover:not(:disabled)[b-tv7mv6nkpw],
    .ninja-muted-button:hover:not(:disabled)[b-tv7mv6nkpw] {
        transform: translateY(-1px);
        filter: brightness(1.04);
    }

    .ninja-primary-button:disabled[b-tv7mv6nkpw],
    .ninja-outline-button:disabled[b-tv7mv6nkpw],
    .ninja-muted-button:disabled[b-tv7mv6nkpw] {
        opacity: .45;
        cursor: default;
    }

.connection-result[b-tv7mv6nkpw] {
    margin-top: 1.25rem;
    padding: 1rem;
    border: 1px solid rgba(94, 227, 142, .35);
    border-radius: 10px;
    background: radial-gradient( circle at 10% 50%, rgba(94, 227, 142, .075), transparent 34% ), rgba(6, 27, 17, .56);
}

.result-title[b-tv7mv6nkpw] {
    margin-bottom: .8rem;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #7be9a4;
    font-weight: 800;
}

.result-dot[b-tv7mv6nkpw] {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
    background: #71e5a1;
    box-shadow: 0 0 8px rgba(113, 229, 161, .33);
}

.result-grid[b-tv7mv6nkpw] {
    display: flex;
    flex-wrap: wrap;
    gap: 2.3rem;
}

    .result-grid div[b-tv7mv6nkpw] {
        display: flex;
        flex-direction: column;
        min-width: 150px;
    }

    .result-grid span[b-tv7mv6nkpw] {
        color: #859095;
        font-size: .72rem;
    }

    .result-grid strong[b-tv7mv6nkpw] {
        margin-top: 3px;
        color: #e5eaec;
        font-size: .84rem;
    }

.ninja-alert[b-tv7mv6nkpw] {
    margin-top: 1rem;
    padding: .8rem .9rem;
    border-radius: 8px;
    font-size: .82rem;
}

.ninja-alert-danger[b-tv7mv6nkpw] {
    border: 1px solid rgba(255, 94, 81, .40);
    color: #ffb1a8;
    background: rgba(42, 10, 7, .76);
}


/* =========================================================
   SERVER GRID
   ========================================================= */

.servers-grid[b-tv7mv6nkpw] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.server-card[b-tv7mv6nkpw] {
    min-width: 0;
    padding: 1.25rem 1.35rem 1.15rem;
    border: 1px solid rgba(220, 180, 32, .66);
    border-radius: 15px;
    background: linear-gradient( 180deg, rgba(7, 13, 15, .91), rgba(4, 9, 11, .88) );
    box-shadow: 0 15px 34px rgba(0, 0, 0, .18), inset 0 0 0 1px rgba(255, 217, 77, .018);
    backdrop-filter: blur(11px);
    transition: border-color .17s ease, box-shadow .17s ease, transform .17s ease;
}

    .server-card:hover[b-tv7mv6nkpw] {
        transform: translateY(-1px);
        border-color: rgba(255, 215, 59, .82);
        box-shadow: 0 17px 37px rgba(0, 0, 0, .21), 0 0 20px rgba(255, 194, 22, .035);
    }

    .server-card.selected-server[b-tv7mv6nkpw] {
        border-color: rgba(255, 222, 72, .98);
        box-shadow: 0 0 0 1px rgba(255, 223, 78, .15), 0 0 19px rgba(255, 195, 28, .06), 0 17px 38px rgba(0, 0, 0, .22);
    }


/* =========================================================
   CARD HEADER
   ========================================================= */

.server-card-header[b-tv7mv6nkpw] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.server-card-heading[b-tv7mv6nkpw] {
    min-width: 0;
}

.server-name-line[b-tv7mv6nkpw] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.server-card h3[b-tv7mv6nkpw] {
    margin: 0;
    color: #f5f6f7;
    font-size: clamp(1.28rem, 1.5vw, 1.6rem);
    font-weight: 800;
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.default-badge[b-tv7mv6nkpw] {
    min-height: 29px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border: 1px solid rgba(255, 229, 111, .78);
    border-radius: 999px;
    color: #191204;
    background: linear-gradient( 180deg, #ffe986, #e8b82a );
    font-size: .72rem;
    font-weight: 850;
    white-space: nowrap;
    box-shadow: 0 0 13px rgba(255, 196, 26, .08);
}


.server-card-header-actions[b-tv7mv6nkpw] {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.server-header-select-button[b-tv7mv6nkpw] {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 12px;
    border: 1px solid rgba(255, 219, 70, .95);
    border-radius: 8px;
    color: #efd044;
    background: rgba(7, 13, 15, .82);
    font: inherit;
    font-size: .75rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 0 11px rgba(255, 198, 27, .04);
    transition: transform .15s ease, filter .15s ease, border-color .15s ease;
}

.server-header-select-button:hover[b-tv7mv6nkpw] {
    transform: translateY(-1px);
    filter: brightness(1.06);
    border-color: rgba(255, 229, 103, 1);
}

.server-header-select-button svg[b-tv7mv6nkpw] {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.server-state[b-tv7mv6nkpw] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .88rem;
    font-weight: 750;
    white-space: nowrap;
}

.state-dot[b-tv7mv6nkpw] {
    width: 9px;
    height: 9px;
    display: inline-block;
    border-radius: 50%;
}

.server-state.online[b-tv7mv6nkpw] {
    color: #75e7a0;
}

    .server-state.online .state-dot[b-tv7mv6nkpw] {
        background: #75e7a0;
        box-shadow: 0 0 9px rgba(117, 231, 160, .28);
    }

.server-state.offline[b-tv7mv6nkpw] {
    color: #ff796d;
}

    .server-state.offline .state-dot[b-tv7mv6nkpw] {
        background: #ff796d;
        box-shadow: 0 0 8px rgba(255, 121, 109, .18);
    }

.server-state.checking[b-tv7mv6nkpw] {
    color: #9ba5aa;
}

    .server-state.checking .state-dot[b-tv7mv6nkpw] {
        background: #9ba5aa;
    }


/* =========================================================
   CONNECTION DATA
   ========================================================= */

.server-connection-data[b-tv7mv6nkpw] {
    margin-top: .95rem;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.server-detail-row[b-tv7mv6nkpw] {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 11px;
}

.server-detail-icon[b-tv7mv6nkpw],
.server-info-icon[b-tv7mv6nkpw] {
    color: #ebc83e;
}

.server-detail-icon[b-tv7mv6nkpw] {
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .server-detail-icon svg[b-tv7mv6nkpw],
    .server-info-icon svg[b-tv7mv6nkpw] {
        width: 100%;
        height: 100%;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.server-address[b-tv7mv6nkpw],
.server-login[b-tv7mv6nkpw] {
    min-width: 0;
    margin: 0;
    color: #d6dcdf;
    font-size: .89rem;
    font-weight: 500;
    overflow-wrap: anywhere;
}


/* =========================================================
   SERVER INFO
   ========================================================= */

.server-info[b-tv7mv6nkpw] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    margin-top: 1.05rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(224, 190, 45, .25);
}

.server-info-item[b-tv7mv6nkpw] {
    min-width: 0;
    min-height: 78px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 12px;
    border: 1px solid rgba(206, 184, 98, .12);
    border-radius: 9px;
    background: linear-gradient( 180deg, rgba(13, 19, 21, .83), rgba(8, 14, 16, .73) );
}

.server-info-icon[b-tv7mv6nkpw] {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.server-info-item > div[b-tv7mv6nkpw] {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.server-info-item span:not(.server-info-icon)[b-tv7mv6nkpw] {
    color: #8e999e;
    font-size: .68rem;
}

.server-info-item strong[b-tv7mv6nkpw] {
    margin-top: 5px;
    color: #e4e9eb;
    font-size: .84rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.online[b-tv7mv6nkpw] {
    color: #70e39d !important;
}

.offline[b-tv7mv6nkpw] {
    color: #ff796d !important;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.server-actions[b-tv7mv6nkpw] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1rem;
}

.server-action-button[b-tv7mv6nkpw] {
    min-height: 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    border-radius: 8px;
    font: inherit;
    font-size: .79rem;
    font-weight: 800;
    cursor: pointer;
    transition: .15s ease;
}

    .server-action-button svg[b-tv7mv6nkpw] {
        width: 18px;
        height: 18px;
        flex: 0 0 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.9;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.select-button[b-tv7mv6nkpw] {
    border: 1px solid rgba(255, 219, 70, .95);
    color: #efd044;
    background: rgba(7, 13, 15, .82);
    box-shadow: 0 0 11px rgba(255, 198, 27, .04);
}

.refresh-button[b-tv7mv6nkpw] {
    border: 1px solid rgba(229, 195, 56, .55);
    color: #d9dfe2;
    background: rgba(6, 12, 14, .72);
}

.delete-button[b-tv7mv6nkpw] {
    border: 1px solid rgba(255, 86, 72, .55);
    color: #ff8277;
    background: rgba(23, 8, 7, .42);
}

.server-action-button:hover[b-tv7mv6nkpw] {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.delete-question[b-tv7mv6nkpw] {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: #ff8176;
    font-size: .8rem;
    font-weight: 700;
}

.delete-confirm-button[b-tv7mv6nkpw],
.delete-cancel-button[b-tv7mv6nkpw] {
    min-height: 32px;
    padding: 0 10px;
    border-radius: 7px;
    font: inherit;
    font-size: .76rem;
    font-weight: 800;
    cursor: pointer;
}

.delete-confirm-button[b-tv7mv6nkpw] {
    border: 1px solid rgba(255, 91, 78, .66);
    color: #fff0ee;
    background: rgba(174, 45, 34, .65);
}

.delete-cancel-button[b-tv7mv6nkpw] {
    border: 1px solid rgba(177, 187, 192, .28);
    color: #c9d0d3;
    background: rgba(7, 13, 15, .75);
}


/* =========================================================
   LOADING / EMPTY
   ========================================================= */

.servers-loading[b-tv7mv6nkpw] {
    padding: 2rem 0;
    color: rgba(223, 228, 231, .72);
    font-family: "Segoe Print", "Comic Sans MS", cursive;
}

.empty-state[b-tv7mv6nkpw] {
    padding: 3rem 2rem;
    text-align: center;
    border: 1px dashed rgba(224, 190, 45, .48);
    border-radius: 14px;
    color: #aab3b7;
    background: rgba(5, 11, 13, .76);
}

.empty-state-icon[b-tv7mv6nkpw] {
    width: 50px;
    height: 50px;
    margin: 0 auto 13px;
    color: #ebc83e;
}

    .empty-state-icon svg[b-tv7mv6nkpw] {
        width: 100%;
        height: 100%;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.6;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.empty-state h3[b-tv7mv6nkpw] {
    margin: 0;
    color: #f0f3f4;
}

.empty-state p[b-tv7mv6nkpw] {
    max-width: 560px;
    margin: .7rem auto 1.15rem;
    color: #929ca1;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1200px) {
    .servers-grid[b-tv7mv6nkpw] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .form-grid[b-tv7mv6nkpw] {
        grid-template-columns: 1fr;
    }

    .page-header[b-tv7mv6nkpw] {
        flex-direction: column;
        gap: 1rem;
    }

    .servers-title[b-tv7mv6nkpw] {
        font-size: clamp(2.65rem, 10vw, 4rem);
    }

    .ninja-add-server-button[b-tv7mv6nkpw] {
        margin-top: 0;
    }
}

@media (max-width: 680px) {
    .server-info[b-tv7mv6nkpw] {
        grid-template-columns: 1fr;
    }

    .server-card-header[b-tv7mv6nkpw] {
        flex-direction: column;
    }

    .server-card[b-tv7mv6nkpw] {
        padding: 1rem;
    }

    .default-badge[b-tv7mv6nkpw] {
        align-self: flex-start;
    }
}

.rename-button[b-tv7mv6nkpw] {
    border: 1px solid rgba(229, 195, 56, .55);
    color: #e8cf67;
    background: rgba(6, 12, 14, .72);
}


/* =========================================================
   RENAME SERVER
   ========================================================= */

.server-rename-editor[b-tv7mv6nkpw] {
    min-width: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.server-rename-input[b-tv7mv6nkpw] {
    width: min(310px, 100%);
    min-height: 39px;
    padding: 0 11px;
    border: 1px solid rgba(255, 215, 64, .68);
    border-radius: 8px;
    outline: none;
    color: #f5f7f8;
    background: rgba(3, 9, 11, .90);
    font: inherit;
    font-size: 1rem;
    font-weight: 750;
    box-shadow: 0 0 0 3px rgba(255, 202, 37, .045), inset 0 1px 0 rgba(255, 255, 255, .018);
}

    .server-rename-input:focus[b-tv7mv6nkpw] {
        border-color: rgba(255, 224, 90, .96);
        box-shadow: 0 0 0 3px rgba(255, 202, 37, .075), 0 0 13px rgba(255, 200, 31, .055);
    }

    .server-rename-input:disabled[b-tv7mv6nkpw] {
        opacity: .58;
    }

.server-rename-save[b-tv7mv6nkpw],
.server-rename-cancel[b-tv7mv6nkpw] {
    min-height: 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 8px;
    font: inherit;
    font-size: .76rem;
    font-weight: 800;
    cursor: pointer;
    transition: .15s ease;
}

.server-rename-save[b-tv7mv6nkpw] {
    border: 1px solid rgba(255, 220, 73, .90);
    color: #171205;
    background: linear-gradient( 180deg, #ffe77f, #e9bd31 );
}

.server-rename-cancel[b-tv7mv6nkpw] {
    border: 1px solid rgba(179, 190, 195, .28);
    color: #cbd2d5;
    background: rgba(6, 12, 14, .75);
}

    .server-rename-save:hover:not(:disabled)[b-tv7mv6nkpw],
    .server-rename-cancel:hover:not(:disabled)[b-tv7mv6nkpw] {
        transform: translateY(-1px);
        filter: brightness(1.04);
    }

    .server-rename-save:disabled[b-tv7mv6nkpw],
    .server-rename-cancel:disabled[b-tv7mv6nkpw] {
        opacity: .48;
        cursor: default;
    }

.server-rename-error[b-tv7mv6nkpw] {
    margin-top: 7px;
    color: #ff8c80;
    font-size: .75rem;
    font-weight: 650;
}

/* =========================================================
   ОБНОВЛЕНИЕ СТАТУСА СЕРВЕРА
   ========================================================= */

.refresh-button[b-tv7mv6nkpw] {
    position: relative;
    overflow: hidden;
    transition: transform .14s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, background .18s ease;
}

    /* Эффект физического нажатия */
    .refresh-button:active:not(:disabled)[b-tv7mv6nkpw] {
        transform: translateY(1px) scale(.96);
    }

    /* Состояние во время SSH-проверки */
    .refresh-button.is-refreshing[b-tv7mv6nkpw] {
        color: #f2d254;
        border-color: rgba(240, 204, 74, .78);
        background: rgba(22, 18, 6, .72);
        box-shadow: 0 0 14px rgba(255, 202, 35, .10);
        cursor: wait;
    }

        /* Вращаем только значок */
        .refresh-button.is-refreshing .refresh-status-icon[b-tv7mv6nkpw] {
            animation: serverRefreshSpin-b-tv7mv6nkpw .72s linear infinite;
        }

        /* Когда кнопка заблокирована во время проверки,
   не делаем её визуально серой */
        .refresh-button.is-refreshing:disabled[b-tv7mv6nkpw] {
            opacity: 1;
        }

/* Сам значок */
.refresh-status-icon[b-tv7mv6nkpw] {
    transform-origin: center;
}

@keyframes serverRefreshSpin-b-tv7mv6nkpw {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   RECONNECT / UPDATE SSH PASSWORD
   ========================================================= */

.reconnect-button[b-tv7mv6nkpw] {
    margin-left: auto;
    border: 1px solid rgba(255, 211, 61, .72);
    color: #efd04d;
    background: rgba(7, 13, 15, .80);
    box-shadow: 0 0 12px rgba(255, 196, 24, .035);
    transition: transform .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, background .15s ease;
}

    .reconnect-button:hover:not(:disabled)[b-tv7mv6nkpw],
    .reconnect-button.is-open[b-tv7mv6nkpw] {
        border-color: rgba(255, 226, 102, .95);
        color: #ffe269;
        background: rgba(22, 18, 6, .66);
        box-shadow: 0 0 17px rgba(255, 198, 28, .09);
    }

    .reconnect-button:active:not(:disabled)[b-tv7mv6nkpw] {
        transform: translateY(1px) scale(.97);
    }

    .reconnect-button:disabled[b-tv7mv6nkpw] {
        opacity: .58;
        cursor: default;
    }


.server-reconnect-panel[b-tv7mv6nkpw] {
    margin-top: 13px;
    padding: 13px 14px 14px;
    border-top: 1px solid rgba(226, 190, 43, .26);
    border-radius: 0 0 10px 10px;
    background: linear-gradient( 180deg, rgba(11, 15, 13, .22), rgba(4, 9, 11, .28) );
}

.server-reconnect-head[b-tv7mv6nkpw] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.server-reconnect-title[b-tv7mv6nkpw] {
    color: #f1d152;
    font-size: .86rem;
    font-weight: 800;
}

.server-reconnect-description[b-tv7mv6nkpw] {
    margin-top: 4px;
    color: #8f999e;
    font-size: .72rem;
    line-height: 1.4;
}

.server-reconnect-close[b-tv7mv6nkpw] {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(226, 190, 43, .28);
    border-radius: 7px;
    color: #bfc7ca;
    background: rgba(3, 8, 10, .66);
    font: inherit;
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
}

    .server-reconnect-close:hover:not(:disabled)[b-tv7mv6nkpw] {
        color: #ffe168;
        border-color: rgba(255, 220, 83, .60);
    }

.server-reconnect-row[b-tv7mv6nkpw] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 11px;
}

.server-reconnect-password-wrap[b-tv7mv6nkpw] {
    position: relative;
    width: min(320px, 100%);
    flex: 0 1 320px;
}

.server-reconnect-input[b-tv7mv6nkpw] {
    width: 100%;
    min-height: 39px;
    padding: 0 42px 0 11px;
    border: 1px solid rgba(255, 211, 55, .34);
    border-radius: 8px;
    outline: none;
    color: #eef2f3;
    background: rgba(3, 9, 11, .91);
    font: inherit;
    font-size: .79rem;
    box-shadow: none;
}

    .server-reconnect-input[b-tv7mv6nkpw]::placeholder {
        color: rgba(167, 177, 182, .50);
    }

    .server-reconnect-input:focus[b-tv7mv6nkpw] {
        border-color: rgba(255, 222, 80, .90);
        box-shadow: 0 0 0 3px rgba(255, 202, 37, .055);
    }

.server-reconnect-eye[b-tv7mv6nkpw] {
    position: absolute;
    top: 50%;
    right: 7px;
    width: 28px;
    height: 28px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    color: #8f999e;
    background: transparent;
    cursor: pointer;
}

    .server-reconnect-eye:hover:not(:disabled)[b-tv7mv6nkpw] {
        color: #e8cd5a;
        background: rgba(255, 208, 50, .05);
    }

    .server-reconnect-eye svg[b-tv7mv6nkpw] {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.server-reconnect-confirm[b-tv7mv6nkpw],
.server-reconnect-cancel[b-tv7mv6nkpw] {
    min-height: 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 12px;
    border-radius: 8px;
    font: inherit;
    font-size: .76rem;
    font-weight: 800;
    cursor: pointer;
    transition: .15s ease;
}

.server-reconnect-confirm[b-tv7mv6nkpw] {
    border: 1px solid rgba(255, 225, 106, .92);
    color: #171205;
    background: linear-gradient( 180deg, #ffe983, #e9bd31 );
}

.server-reconnect-cancel[b-tv7mv6nkpw] {
    border: 1px solid rgba(180, 190, 195, .28);
    color: #cbd2d5;
    background: rgba(6, 12, 14, .75);
}

    .server-reconnect-confirm:hover:not(:disabled)[b-tv7mv6nkpw],
    .server-reconnect-cancel:hover:not(:disabled)[b-tv7mv6nkpw] {
        transform: translateY(-1px);
        filter: brightness(1.04);
    }

    .server-reconnect-confirm:disabled[b-tv7mv6nkpw],
    .server-reconnect-cancel:disabled[b-tv7mv6nkpw],
    .server-reconnect-close:disabled[b-tv7mv6nkpw],
    .server-reconnect-eye:disabled[b-tv7mv6nkpw] {
        opacity: .48;
        cursor: default;
    }

.reconnect-spinner[b-tv7mv6nkpw] {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(20, 15, 3, .28);
    border-top-color: #171205;
    border-radius: 50%;
    animation: reconnectSpin-b-tv7mv6nkpw .68s linear infinite;
}

@keyframes reconnectSpin-b-tv7mv6nkpw {
    to {
        transform: rotate(360deg);
    }
}

.server-reconnect-error[b-tv7mv6nkpw],
.server-reconnect-success[b-tv7mv6nkpw] {
    margin-top: 9px;
    font-size: .74rem;
    font-weight: 650;
}

.server-reconnect-error[b-tv7mv6nkpw] {
    color: #ff887c;
}

.server-reconnect-success[b-tv7mv6nkpw] {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #77e6a0;
}

.reconnect-success-dot[b-tv7mv6nkpw] {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
    background: #70e49e;
    box-shadow: 0 0 8px rgba(112, 228, 158, .28);
}


@media (max-width: 680px) {

    .reconnect-button[b-tv7mv6nkpw] {
        margin-left: 0;
    }

    .server-reconnect-row[b-tv7mv6nkpw] {
        align-items: stretch;
        flex-direction: column;
    }

    .server-reconnect-password-wrap[b-tv7mv6nkpw] {
        width: 100%;
        flex-basis: auto;
    }

    .server-reconnect-confirm[b-tv7mv6nkpw],
    .server-reconnect-cancel[b-tv7mv6nkpw] {
        width: 100%;
    }
}

.server-password-wrap[b-tv7mv6nkpw] {
    position: relative;
    width: 100%;
}

.server-password-input[b-tv7mv6nkpw] {
    width: 100%;
    padding-right: 42px;
}

.server-password-eye[b-tv7mv6nkpw] {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #9aa3a8;
    cursor: pointer;
    border-radius: 6px;
    transition: .15s ease;
}

    .server-password-eye:hover[b-tv7mv6nkpw] {
        color: #f0d35a;
        background: rgba(255, 208, 50, 0.06);
    }

    .server-password-eye svg[b-tv7mv6nkpw] {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

/* =========================================================
   VPS REBOOT
   ========================================================= */

.reboot-button[b-tv7mv6nkpw] {
    flex-basis: 100%;
    border: 1px solid rgba(255, 137, 74, .70);
    color: #ffb074;
    background: linear-gradient(180deg, rgba(42, 18, 8, .58), rgba(20, 9, 5, .48));
    box-shadow: 0 0 13px rgba(255, 121, 52, .045);
}

    .reboot-button:hover:not(:disabled)[b-tv7mv6nkpw] {
        border-color: rgba(255, 163, 92, .92);
        color: #ffc08b;
        background: rgba(42, 18, 8, .72);
    }

    .reboot-button.is-restarting[b-tv7mv6nkpw],
    .reboot-button.is-restarting:disabled[b-tv7mv6nkpw] {
        opacity: 1;
        color: #f2d254;
        border-color: rgba(240, 204, 74, .70);
        background: rgba(34, 27, 8, .72);
        cursor: wait;
    }

        .reboot-button.is-restarting .reboot-status-icon[b-tv7mv6nkpw] {
            animation: serverRefreshSpin-b-tv7mv6nkpw .85s linear infinite;
        }

.server-restart-panel[b-tv7mv6nkpw] {
    margin-top: 12px;
    padding: 14px;
    border: 1px solid rgba(255, 137, 74, .40);
    border-radius: 11px;
    background: linear-gradient(180deg, rgba(35, 15, 7, .62), rgba(13, 8, 6, .58));
}

.server-restart-title[b-tv7mv6nkpw] {
    color: #ffb074;
    font-size: .9rem;
    font-weight: 850;
}

.server-restart-description[b-tv7mv6nkpw] {
    margin-top: 5px;
    color: #aab2b6;
    font-size: .75rem;
    line-height: 1.45;
}

.server-restart-actions[b-tv7mv6nkpw] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.server-restart-confirm[b-tv7mv6nkpw],
.server-restart-cancel[b-tv7mv6nkpw] {
    min-height: 39px;
    padding: 0 13px;
    border-radius: 8px;
    font: inherit;
    font-size: .78rem;
    font-weight: 800;
    cursor: pointer;
}

.server-restart-confirm[b-tv7mv6nkpw] {
    border: 1px solid rgba(255, 151, 82, .92);
    color: #1a0d05;
    background: linear-gradient(180deg, #ffc17b, #e78b3c);
}

.server-restart-cancel[b-tv7mv6nkpw] {
    border: 1px solid rgba(179, 190, 195, .28);
    color: #cbd2d5;
    background: rgba(6, 12, 14, .75);
}

.server-restart-message[b-tv7mv6nkpw] {
    margin-top: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 9px;
    font-size: .75rem;
    line-height: 1.4;
    font-weight: 700;
}

    .server-restart-message.waiting[b-tv7mv6nkpw] {
        border: 1px solid rgba(236, 199, 62, .34);
        color: #e7cf72;
        background: rgba(31, 25, 7, .50);
    }

    .server-restart-message.success[b-tv7mv6nkpw] {
        border: 1px solid rgba(91, 220, 138, .34);
        color: #79e6a2;
        background: rgba(8, 37, 22, .52);
    }

    .server-restart-message.error[b-tv7mv6nkpw] {
        border: 1px solid rgba(255, 94, 81, .38);
        color: #ff9187;
        background: rgba(45, 11, 8, .55);
    }

.server-restart-message-dot[b-tv7mv6nkpw] {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    margin-top: 4px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
}

.server-restart-spinner[b-tv7mv6nkpw] {
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    margin-top: 1px;
    border: 2px solid rgba(236, 207, 93, .22);
    border-top-color: #e7cf72;
    border-radius: 50%;
    animation: reconnectSpin-b-tv7mv6nkpw .75s linear infinite;
}


/* =========================================================
   MOBILE — SETTINGS / SERVERS
   Final overrides intentionally live at the end of the file.
   ========================================================= */

@media (max-width: 680px) {

    .servers-page[b-tv7mv6nkpw] {
        width: 100%;
        padding: 18px 10px 28px;
        overflow-x: hidden;
    }

    .page-header[b-tv7mv6nkpw] {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 13px;
        margin-bottom: 18px;
    }

    .page-title-wrap[b-tv7mv6nkpw] {
        width: 100%;
        padding-top: 2px;
    }

    .servers-title[b-tv7mv6nkpw] {
        margin: 0;
        transform: none;
        font-size: clamp(2.45rem, 12vw, 3.35rem);
        line-height: 1.05;
        letter-spacing: -.055em;
    }

    .servers-subtitle[b-tv7mv6nkpw] {
        max-width: 100%;
        margin: 8px 0 0;
        font-size: .88rem;
        line-height: 1.45;
    }

    .ninja-add-server-button[b-tv7mv6nkpw] {
        width: 100%;
        min-height: 52px;
        margin: 0;
        border-radius: 12px;
        font-size: 1rem;
    }

    .server-form-card[b-tv7mv6nkpw] {
        width: 100%;
        margin-bottom: 16px;
        padding: 15px 13px;
        border-radius: 14px;
    }

    .form-header[b-tv7mv6nkpw] {
        margin-bottom: 14px;
    }

        .form-header h3[b-tv7mv6nkpw] {
            font-size: 1.15rem;
        }

    .form-grid[b-tv7mv6nkpw] {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .form-group .form-control[b-tv7mv6nkpw] {
        min-height: 46px;
        font-size: 16px;
    }

    .form-actions[b-tv7mv6nkpw] {
        display: grid;
        grid-template-columns: 1fr;
        gap: 9px;
        margin-top: 14px;
    }

    .ninja-primary-button[b-tv7mv6nkpw],
    .ninja-outline-button[b-tv7mv6nkpw],
    .ninja-muted-button[b-tv7mv6nkpw] {
        width: 100%;
        min-height: 46px;
        font-size: .86rem;
    }

    .result-grid[b-tv7mv6nkpw] {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .servers-grid[b-tv7mv6nkpw] {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .server-card[b-tv7mv6nkpw] {
        width: 100%;
        padding: 16px 14px 14px;
        border-radius: 15px;
    }

    .server-card-header[b-tv7mv6nkpw] {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 10px;
    }

    .server-card-heading[b-tv7mv6nkpw] {
        flex: 1 1 auto;
        min-width: 0;
    }

    .server-name-line[b-tv7mv6nkpw] {
        gap: 8px 10px;
    }

    .server-card h3[b-tv7mv6nkpw] {
        font-size: 1.42rem;
        line-height: 1.12;
    }

    .server-state[b-tv7mv6nkpw] {
        gap: 6px;
        font-size: .84rem;
    }

    .state-dot[b-tv7mv6nkpw] {
        width: 8px;
        height: 8px;
    }

    .default-badge[b-tv7mv6nkpw] {
        min-height: 27px;
        align-self: flex-start;
        padding: 0 10px;
        font-size: .66rem;
    }

    .server-connection-data[b-tv7mv6nkpw] {
        margin-top: 13px;
        gap: 7px;
    }

    .server-detail-row[b-tv7mv6nkpw] {
        gap: 9px;
    }

    .server-detail-icon[b-tv7mv6nkpw] {
        width: 21px;
        height: 21px;
        flex-basis: 21px;
    }

    .server-address[b-tv7mv6nkpw],
    .server-login[b-tv7mv6nkpw] {
        font-size: .85rem;
    }

    .server-info[b-tv7mv6nkpw] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 13px;
        padding-top: 13px;
    }

    .server-info-item[b-tv7mv6nkpw] {
        min-height: 72px;
        padding: 10px;
        gap: 8px;
    }

        .server-info-item:first-child[b-tv7mv6nkpw] {
            grid-column: 1 / -1;
            min-height: 66px;
        }

    .server-info-icon[b-tv7mv6nkpw] {
        width: 23px;
        height: 23px;
        flex-basis: 23px;
    }

    .server-info-item span:not(.server-info-icon)[b-tv7mv6nkpw] {
        font-size: .64rem;
    }

    .server-info-item strong[b-tv7mv6nkpw] {
        margin-top: 3px;
        font-size: .82rem;
    }

    .server-actions[b-tv7mv6nkpw] {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: 9px;
        margin-top: 14px;
    }

    .server-action-button[b-tv7mv6nkpw] {
        width: 100%;
        min-width: 0;
        min-height: 45px;
        padding: 0 8px;
        gap: 7px;
        font-size: .76rem;
        line-height: 1.16;
        text-align: center;
    }

        .server-action-button svg[b-tv7mv6nkpw] {
            width: 17px;
            height: 17px;
            flex-basis: 17px;
        }

    .reconnect-button[b-tv7mv6nkpw],
    .reboot-button[b-tv7mv6nkpw] {
        grid-column: 1 / -1;
        margin-left: 0;
    }

    .delete-question[b-tv7mv6nkpw] {
        grid-column: 1 / -1;
        min-height: 45px;
        justify-content: center;
        border: 1px solid rgba(255, 86, 72, .30);
        border-radius: 8px;
        background: rgba(23, 8, 7, .35);
    }

    .server-rename-editor[b-tv7mv6nkpw] {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        gap: 8px;
    }

    .server-rename-input[b-tv7mv6nkpw] {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 44px;
        font-size: 16px;
    }

    .server-rename-save[b-tv7mv6nkpw],
    .server-rename-cancel[b-tv7mv6nkpw] {
        width: 100%;
        min-height: 42px;
    }

    .server-reconnect-panel[b-tv7mv6nkpw],
    .server-restart-panel[b-tv7mv6nkpw] {
        margin-top: 11px;
        padding: 12px;
        border-radius: 11px;
    }

    .server-reconnect-row[b-tv7mv6nkpw] {
        flex-direction: column;
        align-items: stretch;
    }

    .server-reconnect-password-wrap[b-tv7mv6nkpw] {
        width: 100%;
        flex-basis: auto;
    }

    .server-reconnect-input[b-tv7mv6nkpw] {
        min-height: 45px;
        font-size: 16px;
    }

    .server-reconnect-confirm[b-tv7mv6nkpw],
    .server-reconnect-cancel[b-tv7mv6nkpw],
    .server-restart-confirm[b-tv7mv6nkpw],
    .server-restart-cancel[b-tv7mv6nkpw] {
        width: 100%;
        min-height: 44px;
    }

    .server-restart-actions[b-tv7mv6nkpw] {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .server-restart-message[b-tv7mv6nkpw] {
        font-size: .73rem;
    }
}

@media (max-width: 390px) {
    .servers-page[b-tv7mv6nkpw] {
        padding-left: 8px;
        padding-right: 8px;
    }

    .server-card[b-tv7mv6nkpw] {
        padding-left: 12px;
        padding-right: 12px;
    }

        .server-card h3[b-tv7mv6nkpw] {
            font-size: 1.3rem;
        }

    .server-actions[b-tv7mv6nkpw] {
        gap: 8px;
    }

    .server-action-button[b-tv7mv6nkpw] {
        font-size: .72rem;
    }
}

/* =========================================================
   SETTINGS — MOBILE SERVER COLLAPSE V2
   ========================================================= */

.server-collapsible-content[b-tv7mv6nkpw] {
    display: contents;
}

.server-collapse-button[b-tv7mv6nkpw] {
    display: none;
}

@media (max-width: 900px) {

    .server-collapse-button[b-tv7mv6nkpw] {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        padding: 0;
        border: 1px solid rgba(255, 207, 47, .48);
        border-radius: 10px;
        color: #ffd84a;
        background: rgba(4, 10, 12, .72);
        box-shadow: 0 0 12px rgba(255, 192, 0, .05);
        cursor: pointer;
    }

        .server-collapse-button svg[b-tv7mv6nkpw] {
            width: 20px;
            height: 20px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            transition: transform .2s ease;
        }

        .server-collapse-button.is-collapsed svg[b-tv7mv6nkpw] {
            transform: rotate(-90deg);
        }

    .server-card.is-collapsed[b-tv7mv6nkpw] {
        padding-bottom: 15px;
    }

        .server-card.is-collapsed .server-collapsible-content[b-tv7mv6nkpw] {
            display: none !important;
        }

        .server-card.is-collapsed .server-connection-data[b-tv7mv6nkpw] {
            margin-bottom: 0;
        }

        .server-card.is-collapsed .server-card-header[b-tv7mv6nkpw] {
            margin-bottom: 0;
        }

        .server-card.is-collapsed .server-name-line[b-tv7mv6nkpw] {
            align-items: center;
        }
}

/* =========================================================
   SETTINGS — DESKTOP SERVER ACTIONS V3
   Меняется ТОЛЬКО расположение кнопок на экранах > 900px.
   Мобильная версия не затрагивается.
   ========================================================= */

@media (min-width: 901px) {

    .server-actions[b-tv7mv6nkpw] {
        display: grid;
        grid-template-columns: max-content max-content max-content minmax(14px, 1fr) max-content;
        align-items: center;
        gap: .65rem;
        width: 100%;
    }

        /* Верхняя строка */

        .server-actions .refresh-button[b-tv7mv6nkpw] {
            grid-column: 1;
            grid-row: 1;
        }

        .server-actions .rename-button[b-tv7mv6nkpw] {
            grid-column: 2;
            grid-row: 1;
        }

        .server-actions .reconnect-button[b-tv7mv6nkpw] {
            grid-column: 5;
            grid-row: 1;
            justify-self: end;
            margin-left: 0;
        }


        /* Нижняя строка */

        .server-actions .reboot-button[b-tv7mv6nkpw] {
            grid-column: 1 / span 2;
            grid-row: 2;
            justify-self: start;
            width: min(420px, 100%);
            min-width: 0;
            flex-basis: auto;
        }

        .server-actions .delete-button[b-tv7mv6nkpw],
        .server-actions .delete-question[b-tv7mv6nkpw] {
            grid-column: 5;
            grid-row: 2;
            justify-self: end;
            margin-left: 0;
        }


    /* У выбранного сервера нет кнопок "Выбрать" и "Удалить". */

    .selected-server .server-actions .reconnect-button[b-tv7mv6nkpw] {
        grid-column: 5;
        grid-row: 1;
    }

    .selected-server .server-actions .reboot-button[b-tv7mv6nkpw] {
        grid-column: 1 / span 2;
        grid-row: 2;
    }
}


/* =========================================================
   ADMIN ACCOUNT POPUP
   ========================================================= */

.account-modal-backdrop[b-tv7mv6nkpw] {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 260px;
    z-index: 500;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(1, 4, 5, .64);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.account-modal[b-tv7mv6nkpw] {
    width: min(430px, 100%);
    padding: 20px;
    border: 1px solid rgba(255, 210, 57, .58);
    border-radius: 15px;
    background:
        radial-gradient(circle at 88% 0%, rgba(255, 194, 20, .055), transparent 34%),
        linear-gradient(180deg, rgba(6, 12, 14, .98), rgba(3, 8, 10, .97));
    box-shadow:
        0 24px 70px rgba(0, 0, 0, .52),
        0 0 26px rgba(255, 193, 23, .055);
}

.account-modal-head[b-tv7mv6nkpw] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.account-modal-eyebrow[b-tv7mv6nkpw] {
    color: rgba(232, 197, 55, .78);
    font-size: .65rem;
    font-weight: 850;
    letter-spacing: .12em;
}

.account-modal h2[b-tv7mv6nkpw] {
    margin: 4px 0 0;
    color: #f2f4f5;
    font-size: 1.25rem;
    font-weight: 850;
}

.account-modal-close[b-tv7mv6nkpw] {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(226, 190, 43, .30);
    border-radius: 8px;
    color: #bfc7ca;
    background: rgba(3, 8, 10, .74);
    cursor: pointer;
}

.account-modal-close svg[b-tv7mv6nkpw] {
    width: 16px;
    height: 16px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.account-modal-close:hover[b-tv7mv6nkpw] {
    color: #ffe168;
    border-color: rgba(255, 220, 83, .62);
}

.account-modal-user[b-tv7mv6nkpw] {
    display: grid;
    gap: 2px;
    margin-top: 15px;
    padding: 9px 11px;
    border: 1px solid rgba(255, 207, 47, .18);
    border-radius: 9px;
    background: rgba(2, 7, 9, .62);
}

.account-modal-user span[b-tv7mv6nkpw] {
    color: #778289;
    font-size: .64rem;
}

.account-modal-user strong[b-tv7mv6nkpw] {
    color: #e7cd5b;
    font-size: .84rem;
    overflow-wrap: anywhere;
}

.account-password-form[b-tv7mv6nkpw] {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-top: 16px;
}

.account-password-field[b-tv7mv6nkpw] {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.account-password-field > label[b-tv7mv6nkpw] {
    color: #a5aeb2;
    font-size: .72rem;
    font-weight: 700;
}

.account-password-input-wrap[b-tv7mv6nkpw] {
    position: relative;
    width: 100%;
}

.account-password-form input[b-tv7mv6nkpw] {
    width: 100%;
    min-height: 44px;
    padding: 0 46px 0 11px;
    border: 1px solid rgba(255, 207, 49, .24);
    border-radius: 8px;
    outline: 0;
    color: #edf1f2;
    background: rgba(3, 9, 11, .92);
    font: inherit;
    font-size: .84rem;
}

.account-password-form input:focus[b-tv7mv6nkpw] {
    border-color: rgba(255, 215, 68, .76);
    box-shadow: 0 0 0 3px rgba(255, 202, 35, .06);
}


.account-password-eye[b-tv7mv6nkpw] {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 7px;
    color: rgba(175, 185, 190, .72);
    background: transparent;
    cursor: pointer;
    transition:
        color .14s ease,
        background .14s ease,
        transform .10s ease;
}

.account-password-eye:hover[b-tv7mv6nkpw] {
    color: #f0d45f;
    background: rgba(218, 172, 36, .07);
}

.account-password-eye:active[b-tv7mv6nkpw] {
    transform: translateY(-50%) scale(.92);
}

.account-password-eye svg[b-tv7mv6nkpw] {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.account-password-eye .account-eye-closed[b-tv7mv6nkpw] {
    display: none;
}

.account-password-eye.is-visible .account-eye-open[b-tv7mv6nkpw] {
    display: none;
}

.account-password-eye.is-visible .account-eye-closed[b-tv7mv6nkpw] {
    display: block;
}

.account-change-password-button[b-tv7mv6nkpw] {
    width: 100%;
    min-height: 45px;
    margin-top: 2px;
    border: 1px solid rgba(255, 222, 86, .86);
    border-radius: 9px;
    color: #171205;
    background: linear-gradient(180deg, #ffe780, #e8ba2c);
    font: inherit;
    font-size: .82rem;
    font-weight: 850;
    cursor: pointer;
}

.account-change-password-button:hover[b-tv7mv6nkpw] {
    filter: brightness(1.04);
}

.account-message[b-tv7mv6nkpw] {
    margin-top: 11px;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: .73rem;
    line-height: 1.4;
}

.account-message-error[b-tv7mv6nkpw] {
    border: 1px solid rgba(255, 94, 81, .36);
    color: #ffb5ad;
    background: rgba(42, 10, 7, .60);
}

.account-recovery-hint[b-tv7mv6nkpw] {
    margin-top: 13px;
    color: #7f8a8f;
    font-size: .68rem;
    line-height: 1.45;
}

.account-recovery-hint code[b-tv7mv6nkpw] {
    color: #cdb649;
}

@media (max-width: 900px) {
    .account-modal-backdrop[b-tv7mv6nkpw] {
        top: 76px;
        left: 0;
        padding: 14px;
    }

    .account-modal[b-tv7mv6nkpw] {
        width: min(420px, 100%);
        padding: 16px;
    }
}

@media (max-width: 680px) {
    .server-card-header-actions[b-tv7mv6nkpw] {
        gap: 6px;
    }

    .server-header-select-button[b-tv7mv6nkpw] {
        min-height: 38px;
        padding: 0 10px;
        font-size: .72rem;
    }

    .server-header-select-button svg[b-tv7mv6nkpw] {
        width: 16px;
        height: 16px;
    }
}


/* =========================================================
   PASSWORD MANAGER SUPPRESSION — NEW PASSWORD FIELDS
   Chromium / Edge / Safari see ordinary text inputs, while
   -webkit-text-security visually masks the characters.
   Firefox fallback switches the input to type=password on focus.
   ========================================================= */

.account-password-stealth[b-tv7mv6nkpw] {
    -webkit-text-security: disc;
    text-security: disc;
    font-family: "Roboto", "Segoe UI", Arial, sans-serif;
    letter-spacing: .08em;
}

.account-password-stealth[b-tv7mv6nkpw]::selection {
    background: rgba(238, 199, 57, .28);
}


.account-password-stealth.is-visible[b-tv7mv6nkpw] {
    -webkit-text-security: none;
    text-security: none;
    letter-spacing: 0;
}
/* /Components/Pages/Tools.razor.rz.scp.css */
/*
   Tools.razor.css intentionally minimal.
   Speedtest styling lives inside Tools.razor.
*/
/* /Components/Pages/Traffic.razor.rz.scp.css */
/* =========================================================
   TRAFFIC — Ninja VPN
   Визуально согласовано со страницей "Пользователи VPN"
   ========================================================= */

.traffic-header[b-dzcafa11e0] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 0 1.45rem;
}

    .traffic-header > div[b-dzcafa11e0] {
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.85rem;
    }

.traffic-title[b-dzcafa11e0] {
    margin: -1.25rem 0 0 !important;
    position: relative;
    z-index: 1;
    /* Важно: стиль задаётся прямо здесь.
       Класс vpn-users-title из VpnUsers.razor.css изолирован Blazor
       и на Traffic.razor не распространяется. */
    color: #ffffff !important;
    font-family: "Segoe Print", "Comic Sans MS", cursive !important;
    font-size: clamp(3.35rem, 4.15vw, 4.75rem) !important;
    font-weight: 400 !important;
    font-style: normal !important;
    line-height: 1.02 !important;
    letter-spacing: -0.025em !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.78), 0 0 1px rgba(255, 255, 255, 0.18) !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.traffic-subtitle[b-dzcafa11e0] {
    margin: 0;
    color: rgba(225, 231, 234, .72);
    font-size: clamp(1rem, 1.45vw, 1.35rem);
    font-style: italic;
    line-height: 1.25;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .50);
}

    .traffic-subtitle strong[b-dzcafa11e0] {
        color: inherit;
        font-weight: inherit;
    }


/* =========================================================
   ПЕРИОД
   ========================================================= */

.traffic-period-panel[b-dzcafa11e0] {
    margin-bottom: 1.35rem;
}

.traffic-period-row[b-dzcafa11e0] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.traffic-period-label[b-dzcafa11e0] {
    margin-right: 3px;
    color: #f2f3f3;
    font-size: .98rem;
    font-weight: 750;
}

.traffic-period-buttons[b-dzcafa11e0] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.traffic-period-button[b-dzcafa11e0] {
    appearance: none;
    min-width: 68px;
    min-height: 38px;
    padding: 0 15px;
    border: 1px solid rgba(255, 207, 47, .48);
    border-radius: 8px;
    color: #d9dde0;
    background: rgba(4, 10, 12, .76);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.012);
    font: inherit;
    font-size: .88rem;
    font-weight: 650;
    cursor: pointer;
    transition: transform .15s ease, color .15s ease, border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

    .traffic-period-button:hover:not(:disabled)[b-dzcafa11e0] {
        transform: translateY(-1px);
        color: #ffe474;
        border-color: rgba(255, 216, 77, .78);
        background: rgba(255, 194, 0, .06);
        box-shadow: 0 0 13px rgba(255, 194, 0, .08);
    }

    .traffic-period-button.active[b-dzcafa11e0] {
        color: #171207;
        border-color: #ffe77f;
        background: linear-gradient(180deg, #ffe87b 0%, #ffd63d 55%, #e6af15 100%);
        box-shadow: 0 0 18px rgba(255, 193, 0, .22), inset 0 1px 0 rgba(255,255,255,.35);
    }

    .traffic-period-button:disabled[b-dzcafa11e0] {
        opacity: .38;
        cursor: default;
        transform: none;
    }

.traffic-refreshing[b-dzcafa11e0] {
    color: rgba(214, 222, 226, .62);
    font-size: .82rem;
    font-style: italic;
}


/* =========================================================
   СВОДНЫЕ КАРТОЧКИ
   ========================================================= */

.traffic-summary[b-dzcafa11e0] {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 1.55rem;
}

.traffic-card[b-dzcafa11e0] {
    min-width: 0;
    min-height: 126px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 19px 18px;
    border: 1px solid rgba(255, 205, 41, .55);
    border-radius: 14px;
    background: radial-gradient(circle at 84% 10%, rgba(255, 189, 0, .055), transparent 34%), linear-gradient(180deg, rgba(5, 12, 14, .92), rgba(3, 9, 11, .89));
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.015), 0 14px 32px rgba(0,0,0,.24);
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

    .traffic-card:hover[b-dzcafa11e0] {
        transform: translateY(-1px);
        border-color: rgba(255, 213, 59, .78);
        box-shadow: inset 0 0 0 1px rgba(255,255,255,.018), 0 15px 34px rgba(0,0,0,.28), 0 0 16px rgba(255, 190, 0, .055);
    }

.traffic-card-icon[b-dzcafa11e0] {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    color: #ffd63c;
    filter: drop-shadow(0 0 7px rgba(255, 201, 35, .14));
}

    .traffic-card-icon svg[b-dzcafa11e0] {
        width: 30px;
        height: 30px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.9;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.traffic-card-body[b-dzcafa11e0] {
    min-width: 0;
}

.traffic-card-title[b-dzcafa11e0] {
    color: #c5cdd1;
    font-size: .82rem;
    font-weight: 550;
}

.traffic-card-value[b-dzcafa11e0] {
    margin-top: .42rem;
    color: #ffd63c;
    font-size: clamp(1.35rem, 1.9vw, 2rem);
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    text-shadow: 0 0 11px rgba(255, 204, 44, .08);
}

.traffic-card-description[b-dzcafa11e0] {
    margin-top: .55rem;
    color: #8f999f;
    font-size: .75rem;
    line-height: 1.3;
}

.online-value[b-dzcafa11e0] {
    color: #62ef87;
    text-shadow: 0 0 14px rgba(76, 239, 126, .12);
}


/* =========================================================
   ТАБЛИЦА
   ========================================================= */

.traffic-table-wrapper[b-dzcafa11e0] {
    min-height: calc(100vh - 360px);
    overflow-x: auto;
    padding: 0 10px 12px;
    border: 1px solid rgba(255, 205, 41, .56);
    border-radius: 15px;
    background: linear-gradient(180deg, rgba(4, 10, 12, .88), rgba(3, 9, 11, .76));
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.012), 0 16px 38px rgba(0,0,0,.24);
}

.traffic-table[b-dzcafa11e0] {
    width: 100%;
    margin: 0;
    border-collapse: separate !important;
    border-spacing: 0 5px !important;
    background: transparent !important;
    color: #e6ebed;
}

    .traffic-table > :not(caption) > * > *[b-dzcafa11e0] {
        border-bottom-width: 0 !important;
        box-shadow: none !important;
        background: transparent;
    }

    .traffic-table thead th[b-dzcafa11e0] {
        position: relative;
        padding: 15px 10px 10px;
        border: 0 !important;
        white-space: nowrap;
        color: #f1ca38;
        background: transparent !important;
        vertical-align: middle;
    }

    .traffic-table thead tr[b-dzcafa11e0] {
        background: transparent !important;
    }

    .traffic-table tbody tr[b-dzcafa11e0] {
        background: rgba(4, 10, 12, .79);
        transition: background .15s ease, box-shadow .15s ease, transform .15s ease;
    }

        .traffic-table tbody tr:hover[b-dzcafa11e0] {
            background: rgba(10, 17, 19, .93);
            box-shadow: 0 0 0 1px rgba(255, 207, 47, .12);
        }

    .traffic-table tbody td[b-dzcafa11e0] {
        padding: 10px 10px;
        border-top: 1px solid rgba(255, 255, 255, .025) !important;
        border-bottom: 1px solid rgba(255, 205, 41, .10) !important;
        color: #dce2e5;
        vertical-align: middle;
    }

        .traffic-table tbody td:first-child[b-dzcafa11e0] {
            border-left: 1px solid rgba(255, 205, 41, .10) !important;
            border-radius: 10px 0 0 10px;
        }

        .traffic-table tbody td:last-child[b-dzcafa11e0] {
            border-right: 1px solid rgba(255, 205, 41, .10) !important;
            border-radius: 0 10px 10px 0;
        }

    .traffic-table .fw-semibold[b-dzcafa11e0] {
        color: #f0f3f4;
        font-weight: 700 !important;
    }

    .traffic-table .small.text-muted[b-dzcafa11e0],
    .traffic-table .text-muted[b-dzcafa11e0] {
        color: #768187 !important;
    }

.vpn-ip[b-dzcafa11e0],
.total-column[b-dzcafa11e0] {
    font-weight: 700;
}

.total-column[b-dzcafa11e0] {
    color: #f2f4f5 !important;
}



/* Колонки VPN IP → Всего выравниваем по центру.
   Пользователь остаётся слева, как на странице Пользователи VPN. */
.traffic-table thead th:nth-child(n+2)[b-dzcafa11e0],
.traffic-table tbody td:nth-child(n+2)[b-dzcafa11e0] {
    text-align: center;
}

    .traffic-table thead th:nth-child(n+2) > .d-flex[b-dzcafa11e0] {
        justify-content: center;
    }

    .traffic-table thead th:nth-child(n+2) .traffic-sort-button[b-dzcafa11e0] {
        text-align: center;
    }

/* Кнопки заголовков таблицы */

.traffic-sort-button[b-dzcafa11e0] {
    appearance: none;
    padding: 0;
    border: 0;
    outline: none;
    color: #f1ca38 !important;
    background: transparent !important;
    box-shadow: none !important;
    font: inherit;
    font-size: .86rem;
    font-weight: 800;
    line-height: 1.1;
    text-align: left;
    cursor: pointer;
    text-decoration: none !important;
}

    .traffic-sort-button:hover[b-dzcafa11e0] {
        color: #ffe573 !important;
    }

.traffic-filter-button[b-dzcafa11e0] {
    appearance: none;
    padding: 0 3px;
    border: 0;
    outline: none;
    color: rgba(241, 202, 56, .82);
    background: transparent !important;
    box-shadow: none !important;
    font-size: .73rem;
    line-height: 1;
    cursor: pointer;
}

    .traffic-filter-button:hover[b-dzcafa11e0] {
        color: #ffe573;
    }

.traffic-limit-title[b-dzcafa11e0] {
    display: inline-block;
    text-align: center;
    line-height: 1.05;
}


/* =========================================================
   ФИЛЬТРЫ — тёмные, как на Пользователях VPN
   ========================================================= */

.traffic-filter-popover[b-dzcafa11e0] {
    z-index: 103;
    min-width: 220px;
    left: 0;
    top: 100%;
    padding: 12px !important;
    border: 1px solid rgba(255, 205, 41, .46) !important;
    border-radius: 10px !important;
    color: #dfe5e7;
    background: linear-gradient(180deg, rgba(7, 13, 15, .99), rgba(3, 9, 11, .99)) !important;
    box-shadow: 0 16px 38px rgba(0,0,0,.52), inset 0 0 0 1px rgba(255,255,255,.018) !important;
}

    .traffic-filter-popover .small[b-dzcafa11e0],
    .traffic-filter-popover .fw-semibold[b-dzcafa11e0],
    .traffic-filter-popover label[b-dzcafa11e0],
    .traffic-filter-popover span[b-dzcafa11e0] {
        color: #dce2e5;
    }

    .traffic-filter-popover .border-top[b-dzcafa11e0] {
        border-color: rgba(255, 205, 41, .16) !important;
    }

    .traffic-filter-popover .text-muted[b-dzcafa11e0] {
        color: #89949a !important;
    }

    .traffic-filter-popover .form-control[b-dzcafa11e0],
    .traffic-filter-popover .form-select[b-dzcafa11e0] {
        min-height: 34px;
        border: 1px solid rgba(255, 205, 41, .24) !important;
        border-radius: 7px !important;
        color: #e7ecee !important;
        background: rgba(2, 7, 9, .92) !important;
        box-shadow: none !important;
    }

        .traffic-filter-popover .form-control[b-dzcafa11e0]::placeholder {
            color: rgba(170, 181, 187, .48);
        }

        .traffic-filter-popover .form-control:focus[b-dzcafa11e0],
        .traffic-filter-popover .form-select:focus[b-dzcafa11e0] {
            border-color: rgba(255, 214, 60, .70) !important;
            box-shadow: 0 0 0 3px rgba(255, 205, 41, .06) !important;
        }

        .traffic-filter-popover .form-select option[b-dzcafa11e0] {
            color: #e8edef;
            background: #070d0f;
        }

    .traffic-filter-popover input[type="checkbox"][b-dzcafa11e0] {
        accent-color: #e3b51d;
    }

.traffic-filter-reset[b-dzcafa11e0],
.traffic-filter-apply[b-dzcafa11e0] {
    appearance: none;
    border-radius: 7px;
    font: inherit;
    font-size: .78rem;
    font-weight: 700;
    cursor: pointer;
}

.traffic-filter-reset[b-dzcafa11e0] {
    padding: 5px 3px;
    border: 0;
    color: #b2bcc1;
    background: transparent;
}

    .traffic-filter-reset:hover[b-dzcafa11e0] {
        color: #ffe16b;
    }

.traffic-filter-apply[b-dzcafa11e0] {
    min-height: 31px;
    padding: 0 11px;
    border: 1px solid rgba(255, 216, 78, .72);
    color: #171207;
    background: linear-gradient(180deg, #ffe879, #ffd23a);
}

    .traffic-filter-apply:hover[b-dzcafa11e0] {
        filter: brightness(1.04);
    }


/* =========================================================
   СТАТУСЫ
   ========================================================= */

.peer-online[b-dzcafa11e0] {
    color: #58e98a;
    font-weight: 700;
    text-shadow: 0 0 9px rgba(74, 235, 130, .10);
}

.peer-offline[b-dzcafa11e0] {
    color: #7b868c;
}


/* =========================================================
   ALERT / СЛУЖЕБНЫЕ СОСТОЯНИЯ
   ========================================================= */

.alert[b-dzcafa11e0] {
    border-radius: 10px;
}

.alert-warning[b-dzcafa11e0],
.alert-secondary[b-dzcafa11e0] {
    border-color: rgba(255, 205, 41, .32);
    color: #dce2e5;
    background: rgba(7, 13, 15, .92);
}

.alert-danger[b-dzcafa11e0] {
    border-color: rgba(255, 91, 80, .42);
    color: #ffd6d2;
    background: rgba(30, 9, 8, .91);
}

.alert-success[b-dzcafa11e0] {
    border-color: rgba(64, 232, 175, .38);
    color: #bdf6e1;
    background: rgba(4, 24, 18, .91);
}


/* =========================================================
   АДАПТИВ
   ========================================================= */

@media (max-width: 1280px) {
    .traffic-summary[b-dzcafa11e0] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .traffic-summary[b-dzcafa11e0] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .traffic-summary[b-dzcafa11e0] {
        grid-template-columns: 1fr;
    }

    .traffic-period-row[b-dzcafa11e0] {
        align-items: flex-start;
        flex-direction: column;
    }

    .traffic-subtitle[b-dzcafa11e0] {
        font-size: 1rem;
    }

    .traffic-card[b-dzcafa11e0] {
        min-height: 108px;
    }
}

/* =========================================================
   TRAFFIC — MOBILE V2
   Только мобильная версия. Десктоп не затрагивается.
   ========================================================= */

@media (max-width: 900px) {

    /* =====================================================
       ЗАГОЛОВОК
       На мобильном убираем отрицательный desktop-margin
       и опускаем блок ниже фиксированной верхней панели.
       ===================================================== */

    .traffic-header[b-dzcafa11e0] {
        display: block;
        margin: 0 0 1rem !important;
        padding-top: 2rem !important;
    }

    .traffic-header > div[b-dzcafa11e0] {
        gap: .7rem !important;
    }

    .traffic-title[b-dzcafa11e0] {
        margin: 0 !important;
        font-size: clamp(2.6rem, 12vw, 3.5rem) !important;
        line-height: 1.08 !important;
    }

    .traffic-subtitle[b-dzcafa11e0] {
        margin: 0 !important;
        font-size: .92rem !important;
        line-height: 1.28 !important;
    }


    /* =====================================================
       ПЕРИОД
       Компактная панель, кнопки 3 x 2.
       ===================================================== */

    .traffic-period-panel[b-dzcafa11e0] {
        margin-bottom: 1rem !important;
        padding: 12px !important;
        border: 1px solid rgba(255, 205, 41, .38);
        border-radius: 14px;
        background:
            radial-gradient(circle at 88% 8%, rgba(255, 194, 0, .08), transparent 34%),
            linear-gradient(180deg, rgba(5, 11, 13, .92), rgba(3, 9, 11, .88));
        box-shadow:
            inset 0 0 0 1px rgba(255,255,255,.012),
            0 12px 28px rgba(0,0,0,.22);
    }

    .traffic-period-row[b-dzcafa11e0] {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 9px !important;
    }

    .traffic-period-label[b-dzcafa11e0] {
        margin: 0 !important;
        font-size: .82rem !important;
    }

    .traffic-period-buttons[b-dzcafa11e0] {
        width: 100%;
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px !important;
    }

    .traffic-period-button[b-dzcafa11e0] {
        width: 100%;
        min-width: 0 !important;
        min-height: 39px !important;
        padding: 0 6px !important;
        font-size: .75rem !important;
        border-radius: 9px !important;
    }

    .traffic-refreshing[b-dzcafa11e0] {
        font-size: .68rem !important;
    }


    /* =====================================================
       СВОДНЫЕ КАРТОЧКИ
       Первые четыре — 2x2, "Всего" — на всю ширину.
       ===================================================== */

    .traffic-summary[b-dzcafa11e0] {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 9px !important;
        margin-bottom: 1rem !important;
    }

    .traffic-card[b-dzcafa11e0] {
        min-width: 0 !important;
        min-height: 102px !important;
        gap: 9px !important;
        padding: 13px 11px !important;
        border-radius: 13px !important;
        align-items: center !important;
    }

    .traffic-card:last-child[b-dzcafa11e0] {
        grid-column: 1 / -1;
        min-height: 90px !important;
    }

    .traffic-card-icon[b-dzcafa11e0] {
        width: 29px !important;
        height: 29px !important;
        flex: 0 0 29px !important;
    }

    .traffic-card-icon svg[b-dzcafa11e0] {
        width: 27px !important;
        height: 27px !important;
    }

    .traffic-card-title[b-dzcafa11e0] {
        font-size: .70rem !important;
        line-height: 1.1 !important;
    }

    .traffic-card-value[b-dzcafa11e0] {
        margin-top: .28rem !important;
        font-size: 1.13rem !important;
        line-height: 1.05 !important;
        white-space: nowrap !important;
    }

    .traffic-card-description[b-dzcafa11e0] {
        margin-top: .34rem !important;
        font-size: .60rem !important;
        line-height: 1.2 !important;
    }


    /* =====================================================
       ТАБЛИЦА
       На мобильном оставляем:
       1 Пользователь
       4 Статус
       6 Получено
       7 Передано
       8 Всего

       Скрываем:
       2 VPN IP
       3 Лимиты Мбит/с
       5 Handshake
       ===================================================== */

    .traffic-table-wrapper[b-dzcafa11e0] {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        overflow-x: hidden !important;
        padding: 5px 5px 8px !important;
        border-radius: 14px !important;
    }

    .traffic-table[b-dzcafa11e0] {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        table-layout: fixed !important;
        border-spacing: 0 4px !important;
    }

    .traffic-table th:nth-child(2)[b-dzcafa11e0],
    .traffic-table td:nth-child(2)[b-dzcafa11e0],
    .traffic-table th:nth-child(3)[b-dzcafa11e0],
    .traffic-table td:nth-child(3)[b-dzcafa11e0],
    .traffic-table th:nth-child(5)[b-dzcafa11e0],
    .traffic-table td:nth-child(5)[b-dzcafa11e0] {
        display: none !important;
    }

    .traffic-table th:nth-child(1)[b-dzcafa11e0],
    .traffic-table td:nth-child(1)[b-dzcafa11e0] {
        width: 30% !important;
    }

    .traffic-table th:nth-child(4)[b-dzcafa11e0],
    .traffic-table td:nth-child(4)[b-dzcafa11e0] {
        width: 16% !important;
    }

    .traffic-table th:nth-child(6)[b-dzcafa11e0],
    .traffic-table td:nth-child(6)[b-dzcafa11e0] {
        width: 18% !important;
    }

    .traffic-table th:nth-child(7)[b-dzcafa11e0],
    .traffic-table td:nth-child(7)[b-dzcafa11e0] {
        width: 18% !important;
    }

    .traffic-table th:nth-child(8)[b-dzcafa11e0],
    .traffic-table td:nth-child(8)[b-dzcafa11e0] {
        width: 18% !important;
    }


    /* Шапка таблицы */

    .traffic-table thead th[b-dzcafa11e0] {
        padding: 8px 2px 9px !important;
        font-size: .61rem !important;
        line-height: 1.05 !important;
        white-space: normal !important;
        vertical-align: middle !important;
        overflow: visible !important;
    }

    .traffic-table thead th > .d-flex[b-dzcafa11e0] {
        width: 100% !important;
        gap: 1px !important;
        justify-content: center !important;
    }

    .traffic-table thead th:first-child > .d-flex[b-dzcafa11e0] {
        justify-content: flex-start !important;
    }

    .traffic-sort-button[b-dzcafa11e0] {
        min-width: 0 !important;
        padding: 0 !important;
        font-size: .61rem !important;
        line-height: 1.05 !important;
        white-space: normal !important;
        text-align: center !important;
    }

    .traffic-table thead th:first-child .traffic-sort-button[b-dzcafa11e0] {
        text-align: left !important;
    }

    .traffic-filter-button[b-dzcafa11e0] {
        flex: 0 0 auto;
        padding: 0 1px !important;
        font-size: .55rem !important;
    }


    /* Строки */

    .traffic-table tbody td[b-dzcafa11e0] {
        min-width: 0 !important;
        padding: 9px 3px !important;
        font-size: .66rem !important;
        line-height: 1.16 !important;
        vertical-align: middle !important;
        overflow: hidden !important;
        text-align: center !important;
        white-space: normal !important;
    }

    .traffic-table tbody td:first-child[b-dzcafa11e0] {
        padding-left: 7px !important;
        text-align: left !important;
    }

    .traffic-table tbody td:first-child .fw-semibold[b-dzcafa11e0] {
        display: block;
        max-width: 100%;
        overflow: hidden;
        font-size: .76rem !important;
        line-height: 1.12 !important;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .traffic-table tbody td:first-child .small.text-muted[b-dzcafa11e0] {
        display: block;
        max-width: 100%;
        overflow: hidden;
        font-size: .58rem !important;
        line-height: 1.12 !important;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .peer-online[b-dzcafa11e0],
    .peer-offline[b-dzcafa11e0] {
        display: inline-block;
        max-width: 100%;
        font-size: .62rem !important;
        line-height: 1.05 !important;
        white-space: nowrap !important;
    }

    .total-column[b-dzcafa11e0] {
        font-size: .67rem !important;
        font-weight: 700 !important;
        line-height: 1.12 !important;
    }


    /* Фильтры должны открываться внутри экрана телефона */

    .traffic-filter-popover[b-dzcafa11e0] {
        position: fixed !important;
        left: 12px !important;
        right: 12px !important;
        top: 118px !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        max-height: calc(100dvh - 145px);
        overflow-y: auto;
        z-index: 20000 !important;
    }
}


@media (max-width: 380px) {

    .traffic-header[b-dzcafa11e0] {
        padding-top: 1.7rem !important;
    }

    .traffic-title[b-dzcafa11e0] {
        font-size: 2.45rem !important;
    }

    .traffic-summary[b-dzcafa11e0] {
        gap: 7px !important;
    }

    .traffic-card[b-dzcafa11e0] {
        min-height: 96px !important;
        padding: 11px 9px !important;
    }

    .traffic-card-value[b-dzcafa11e0] {
        font-size: 1.02rem !important;
    }

    .traffic-table thead th[b-dzcafa11e0],
    .traffic-sort-button[b-dzcafa11e0] {
        font-size: .57rem !important;
    }

    .traffic-table tbody td[b-dzcafa11e0] {
        font-size: .62rem !important;
    }

    .traffic-table th:nth-child(1)[b-dzcafa11e0],
    .traffic-table td:nth-child(1)[b-dzcafa11e0] {
        width: 29% !important;
    }

    .traffic-table th:nth-child(4)[b-dzcafa11e0],
    .traffic-table td:nth-child(4)[b-dzcafa11e0] {
        width: 16% !important;
    }

    .traffic-table th:nth-child(6)[b-dzcafa11e0],
    .traffic-table td:nth-child(6)[b-dzcafa11e0],
    .traffic-table th:nth-child(7)[b-dzcafa11e0],
    .traffic-table td:nth-child(7)[b-dzcafa11e0] {
        width: 18% !important;
    }

    .traffic-table th:nth-child(8)[b-dzcafa11e0],
    .traffic-table td:nth-child(8)[b-dzcafa11e0] {
        width: 19% !important;
    }
}
/* /Components/Pages/VpnUsers.razor.rz.scp.css */
.speed-limit-picker[b-7uh4ww98cg] {
    position: relative;
    display: inline-block;
    min-width: 112px;
}

.speed-limit-trigger[b-7uh4ww98cg] {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 3px 2px;
    min-width: 108px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font: inherit;
    font-weight: 600;
    color: #202124;
    cursor: pointer;
    border-radius: 6px;
}

    .speed-limit-trigger:hover:not(:disabled)[b-7uh4ww98cg] {
        background: rgba(0, 0, 0, .035);
    }

    .speed-limit-trigger:disabled[b-7uh4ww98cg] {
        opacity: .58;
        cursor: default;
    }

.speed-limit-chevron[b-7uh4ww98cg] {
    font-size: 18px;
    line-height: 1;
    color: #4f5965;
    transform: translateY(-2px);
}

.speed-limit-screen[b-7uh4ww98cg] {
    position: fixed;
    inset: 0;
    z-index: 1098;
}

.speed-limit-menu[b-7uh4ww98cg] {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    z-index: 1099;
    width: 150px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #aeb4bb;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 9px 24px rgba(0, 0, 0, .14);
}

.speed-limit-option[b-7uh4ww98cg] {
    appearance: none;
    width: calc(100% - 18px);
    margin: 0 9px;
    padding: 9px 10px;
    border: 0;
    border-bottom: 1px solid #b7bcc2;
    background: #fff;
    text-align: left;
    font: inherit;
    color: #202124;
    cursor: pointer;
}

    .speed-limit-option:last-child[b-7uh4ww98cg] {
        border-bottom: 0;
    }

    .speed-limit-option:hover[b-7uh4ww98cg] {
        background: #f2f4f7;
    }

    .speed-limit-option.selected[b-7uh4ww98cg] {
        width: 100%;
        margin: 0;
        padding-left: 19px;
        background: #4772d1;
        color: #fff;
        border-bottom-color: transparent;
    }

.speed-limit-mini-spinner[b-7uh4ww98cg] {
    width: 13px;
    height: 13px;
    border: 2px solid #c7ccd3;
    border-top-color: #4772d1;
    border-radius: 50%;
    animation: speedLimitSpin-b-7uh4ww98cg .65s linear infinite;
}

@keyframes speedLimitSpin-b-7uh4ww98cg {
    to {
        transform: rotate(360deg);
    }
}


/* Уведомление о применении лимита */

.speed-limit-toast-layer[b-7uh4ww98cg] {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.speed-limit-toast[b-7uh4ww98cg] {
    min-width: 190px;
    padding: 20px 24px 18px;
    background: rgba(255, 255, 255, .97);
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .20);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    animation: speedLimitToastIn-b-7uh4ww98cg .18s ease-out, speedLimitToastOut-b-7uh4ww98cg .28s ease-in 1.08s forwards;
}

.speed-limit-toast-icon[b-7uh4ww98cg] {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    animation: speedLimitIconPop-b-7uh4ww98cg .32s cubic-bezier(.2, .8, .3, 1.35);
}

.speed-limit-toast.success .speed-limit-toast-icon[b-7uh4ww98cg] {
    color: #fff;
    background: #26a65b;
}

.speed-limit-toast.error .speed-limit-toast-icon[b-7uh4ww98cg] {
    color: #fff;
    background: #d84b4b;
}

.speed-limit-toast-text[b-7uh4ww98cg] {
    font-size: 15px;
    font-weight: 600;
    color: #2e3338;
    text-align: center;
}

@keyframes speedLimitToastIn-b-7uh4ww98cg {
    from {
        opacity: 0;
        transform: scale(.86);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes speedLimitIconPop-b-7uh4ww98cg {
    0% {
        transform: scale(.25);
    }

    65% {
        transform: scale(1.12);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes speedLimitToastOut-b-7uh4ww98cg {
    to {
        opacity: 0;
        transform: scale(.94);
    }
}

/* =========================================================
   NINJA VPN — ПОЛЬЗОВАТЕЛИ VPN
   ========================================================= */


/* =========================================================
   ШАПКА СТРАНИЦЫ
   ========================================================= */

.vpn-users-header[b-7uh4ww98cg] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 22px;
}


.vpn-users-title[b-7uh4ww98cg] {
    margin: 0;
    color: #ffffff;
    font-family: "Segoe Print", "Brush Script MT", cursive;
    font-size: clamp(2rem, 3vw, 3.45rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-shadow: 0 3px 0 rgba(0, 0, 0, 0.65), 0 0 26px rgba(255, 180, 0, 0.10);
}


/* =========================================================
   КНОПКА ДОБАВЛЕНИЯ ПОЛЬЗОВАТЕЛЯ
   ========================================================= */

.vpn-add-user-button[b-7uh4ww98cg] {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 18px;
    border: 1px solid #ffd53a;
    border-radius: 9px;
    color: #171208;
    background: linear-gradient( 180deg, #ffe568 0%, #ffc928 100% );
    font-size: 0.96rem;
    font-weight: 800;
    box-shadow: 0 0 18px rgba(255, 196, 0, 0.15), 0 8px 20px rgba(0, 0, 0, 0.20);
    transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}


    .vpn-add-user-button:hover[b-7uh4ww98cg] {
        color: #171208;
        filter: brightness(1.05);
        transform: translateY(-1px);
        box-shadow: 0 0 23px rgba(255, 196, 0, 0.22), 0 10px 22px rgba(0, 0, 0, 0.24);
    }


.vpn-add-user-plus[b-7uh4ww98cg] {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1;
}


/* =========================================================
   ВНЕШНИЙ БЛОК ТАБЛИЦЫ
   ========================================================= */

.vpn-users-table-wrapper[b-7uh4ww98cg] {
    position: relative;
    width: 100%;
    padding: 8px 13px 13px;
    overflow: visible;
    border: 1px solid rgba(255, 206, 34, 0.80);
    border-radius: 15px;
    background: radial-gradient( circle at 78% 10%, rgba(255, 183, 0, 0.055), transparent 28% ), linear-gradient( 180deg, rgba(5, 11, 13, 0.78), rgba(4, 9, 11, 0.73) );
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: inset 0 0 0 1px rgba(255, 213, 45, 0.025), 0 15px 38px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   ТАБЛИЦА
   ========================================================= */

.vpn-users-table[b-7uh4ww98cg] {
    width: 100%;
    margin: 0;
    color: #edf1f2;
    border-collapse: separate;
    border-spacing: 0 4px;
    background: transparent;
}


    /* Убираем Bootstrap-фоны */

    .vpn-users-table > :not(caption) > * > *[b-7uh4ww98cg] {
        box-shadow: none !important;
    }


    /* =========================================================
   ШАПКА ТАБЛИЦЫ
   ========================================================= */

    .vpn-users-table thead th[b-7uh4ww98cg] {
        padding: 9px 12px 10px;
        border: 0;
        border-bottom: 1px solid rgba(255, 206, 38, 0.25);
        background: rgba(5, 10, 12, 0.42);
        color: #ffd63e;
        vertical-align: middle;
        white-space: nowrap;
    }


        /*
   Bootstrap сейчас задаёт text-dark для кнопок заголовков.
   Здесь принудительно приводим их к нашему золотому стилю.
*/

        .vpn-users-table thead th button.btn-link[b-7uh4ww98cg],
        .vpn-users-table thead th button.text-dark[b-7uh4ww98cg] {
            color: #ffd63e !important;
            font-weight: 700 !important;
            text-shadow: 0 0 8px rgba(255, 199, 0, 0.10);
            background: transparent !important;
        }


        /* Стрелки фильтров */

        .vpn-users-table thead th .btn-sm[b-7uh4ww98cg] {
            color: #ffd63e !important;
            opacity: 0.88;
            background: transparent !important;
        }


            .vpn-users-table thead th .btn-sm:hover[b-7uh4ww98cg] {
                opacity: 1;
                color: #ffe985 !important;
            }


    /* =========================================================
   СТРОКИ
   ========================================================= */

    .vpn-users-table tbody td[b-7uh4ww98cg] {
        padding: 10px 12px;
        color: #edf1f2;
        vertical-align: middle;
        border-top: 1px solid rgba(255, 255, 255, 0.045);
        border-bottom: 1px solid rgba(255, 255, 255, 0.045);
        background: linear-gradient( 90deg, rgba(15, 21, 22, 0.82), rgba(10, 15, 17, 0.72) );
        transition: background 0.15s ease, border-color 0.15s ease;
    }


    .vpn-users-table tbody tr:hover td[b-7uh4ww98cg] {
        background: linear-gradient( 90deg, rgba(27, 29, 25, 0.90), rgba(15, 19, 19, 0.82) );
        border-color: rgba(255, 207, 38, 0.12);
    }


    /* Скругление каждой строки */

    .vpn-users-table tbody td:first-child[b-7uh4ww98cg] {
        border-left: 1px solid rgba(255, 255, 255, 0.055);
        border-radius: 9px 0 0 9px;
    }


    .vpn-users-table tbody td:last-child[b-7uh4ww98cg] {
        border-right: 1px solid rgba(255, 255, 255, 0.055);
        border-radius: 0 9px 9px 0;
    }


    /* =========================================================
   ПОЛЬЗОВАТЕЛЬ
   ========================================================= */

    .vpn-users-table .user-info > .fw-semibold[b-7uh4ww98cg] {
        color: #f5f7f7;
        font-size: 0.96rem;
        font-weight: 700 !important;
    }


    .vpn-users-table .user-info .text-muted[b-7uh4ww98cg] {
        color: rgba(190, 201, 207, 0.65) !important;
    }


    .vpn-users-table .edit-link[b-7uh4ww98cg] {
        padding: 0 2px !important;
        color: #e9c737;
        font-size: 0.78rem;
        text-decoration: underline;
    }


        .vpn-users-table .edit-link:hover[b-7uh4ww98cg] {
            color: #ffe363;
        }


        .vpn-users-table .edit-link.text-danger[b-7uh4ww98cg] {
            color: #e06b60 !important;
        }


            .vpn-users-table .edit-link.text-danger:hover[b-7uh4ww98cg] {
                color: #ff8a7f !important;
            }


    /* =========================================================
   VPN IP
   ========================================================= */

    /* =========================================================
    CONF — ПРОСМОТР СОХРАНЁННОЙ КОНФИГУРАЦИИ
    ========================================================= */

    .vpn-user-actions-row[b-7uh4ww98cg] {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
    }


    .vpn-user-conf-link[b-7uh4ww98cg] {
        appearance: none;
        min-width: 34px;
        padding: 1px 2px;
        border: 0;
        outline: 0;
        color: rgba(174, 184, 190, 0.72);
        background: transparent;
        font: inherit;
        font-size: .72rem;
        font-weight: 600;
        line-height: 1.2;
        text-decoration: none;
        text-align: right;
        cursor: pointer;
        transition: color .16s ease, text-shadow .16s ease, opacity .16s ease;
    }


        .vpn-user-conf-link:hover:not(.is-disabled)[b-7uh4ww98cg] {
            color: #e8edf0;
            text-shadow: 0 0 8px rgba(255, 214, 62, 0.15);
        }


        .vpn-user-conf-link.is-disabled[b-7uh4ww98cg] {
            color: rgba(126, 137, 143, 0.30);
            cursor: default;
            user-select: none;
        }


    .vpn-stored-config-layer[b-7uh4ww98cg] {
        position: fixed;
        inset: 0;
        z-index: 12050;
        background: transparent;
    }


    .vpn-stored-config-panel[b-7uh4ww98cg] {
        position: fixed;
        left: 0;
        top: 0;
        width: min(620px, calc(100vw - 24px));
        max-height: min(650px, calc(100vh - 24px));
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 20px 22px 22px;
        overflow: hidden;
        border: 1px solid rgba(255, 205, 41, 0.55);
        border-radius: 15px;
        background: radial-gradient(circle at 90% 5%, rgba(255, 188, 0, 0.075), transparent 27%), linear-gradient(180deg, rgba(7, 13, 15, 0.985), rgba(3, 8, 10, 0.99));
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 24px 65px rgba(0, 0, 0, 0.62), inset 0 0 0 1px rgba(255, 255, 255, 0.018);
        opacity: 0;
        overscroll-behavior: contain;
        will-change: transform, opacity;
    }


        .vpn-stored-config-panel.is-positioning[b-7uh4ww98cg] {
            visibility: hidden;
            pointer-events: none;
            animation: none;
            overscroll-behavior: contain;
        }


    .vpn-stored-config-panel.is-positioned[b-7uh4ww98cg] {
        visibility: visible;
        pointer-events: auto;
        animation: vpnStoredConfigOpen-b-7uh4ww98cg .22s cubic-bezier(.18, .82, .25, 1) both;
    }


    @keyframes vpnStoredConfigOpen-b-7uh4ww98cg {
        from {
            opacity: 0;
            transform: scale(.78);
        }

        to {
            opacity: 1;
            transform: scale(1);
        }
    }


    .vpn-stored-config-header[b-7uh4ww98cg] {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 18px;
    }


    .vpn-stored-config-eyebrow[b-7uh4ww98cg] {
        margin-bottom: 4px;
        color: rgba(255, 211, 55, 0.66);
        font-size: .67rem;
        font-weight: 800;
        letter-spacing: .13em;
    }


    .vpn-stored-config-header h3[b-7uh4ww98cg] {
        margin: 0;
        color: #f4f6f7;
        font-size: 1.16rem;
        font-weight: 750;
    }


    .vpn-stored-config-close[b-7uh4ww98cg] {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 1px solid rgba(255, 205, 41, 0.28);
        border-radius: 9px;
        color: #c9d0d4;
        background: rgba(5, 10, 12, 0.78);
        font-size: 1.25rem;
        line-height: 1;
        cursor: pointer;
        transition: .16s ease;
    }


        .vpn-stored-config-close:hover[b-7uh4ww98cg] {
            color: #ffd941;
            border-color: rgba(255, 210, 54, 0.60);
            background: rgba(255, 198, 0, 0.06);
        }


    .vpn-stored-config-actions[b-7uh4ww98cg] {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 9px;
    }


    .vpn-stored-config-button[b-7uh4ww98cg] {
        min-height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 13px;
        border: 1px solid rgba(255, 205, 41, 0.46);
        border-radius: 9px;
        color: #e7c63b;
        background: rgba(5, 11, 13, 0.74);
        font-size: .78rem;
        font-weight: 700;
        text-decoration: none !important;
        cursor: pointer;
        transition: color .15s ease, border-color .15s ease, background .15s ease, transform .15s ease;
    }


        .vpn-stored-config-button:hover[b-7uh4ww98cg] {
            color: #171207;
            border-color: #ffe66f;
            background: #ffd63c;
            transform: translateY(-1px);
        }


    .vpn-stored-config-text[b-7uh4ww98cg] {
        width: 100%;
        min-height: 270px;
        max-height: 470px;
        padding: 14px 16px;
        resize: vertical;
        overflow: auto;
        overscroll-behavior: contain;
        outline: none;
        border: 1px solid rgba(255, 204, 36, 0.19);
        border-radius: 10px;
        color: #dce3e6;
        background: rgba(2, 7, 9, 0.94);
        font-family: Consolas, "Cascadia Mono", monospace;
        font-size: .78rem;
        line-height: 1.48;
        white-space: pre;
        scrollbar-color: rgba(205, 158, 34, 0.70) rgba(2, 7, 9, 0.4);
    }


    .vpn-stored-config-error[b-7uh4ww98cg] {
        padding: 12px 14px;
        border: 1px solid rgba(255, 95, 79, 0.32);
        border-radius: 9px;
        color: #ff8d83;
        background: rgba(110, 24, 18, 0.12);
        font-size: .84rem;
    }


    .vpn-users-table tbody td:nth-child(2)[b-7uh4ww98cg] {
        color: #eef2f3;
        white-space: nowrap;
    }


    /* =========================================================
   ЛИМИТЫ — ЦЕНТРИРУЕМ ВЕСЬ СТОЛБЕЦ
   ========================================================= */

    .vpn-users-table th:nth-child(3)[b-7uh4ww98cg],
    .vpn-users-table td:nth-child(3)[b-7uh4ww98cg] {
        text-align: center;
    }


        .vpn-users-table th:nth-child(3) > div[b-7uh4ww98cg] {
            justify-content: center;
        }


    /*
   Сам контрол больше не тянется вправо.
*/

    .vpn-users-table .speed-limit-picker[b-7uh4ww98cg] {
        display: inline-flex;
        justify-content: center;
        min-width: 82px;
        position: relative;
    }


    .vpn-users-table .speed-limit-trigger[b-7uh4ww98cg] {
        min-width: 78px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 4px 7px;
        border: 0;
        color: #f3f5f5;
        background: transparent;
    }

    .vpn-users-table .speed-limit-chevron[b-7uh4ww98cg] {
        color: #aab6bd;
        font-size: 1rem;
        transform: none;
    }


    /* =========================================================
   ONLINE / OFFLINE
   ========================================================= */

    .vpn-users-table .status-online[b-7uh4ww98cg] {
        color: #50e879 !important;
        font-weight: 700 !important;
        text-shadow: 0 0 8px rgba(80, 232, 121, 0.14);
    }


    .vpn-users-table .status-offline[b-7uh4ww98cg] {
        color: #aab4ba;
    }


    /* =========================================================
   ОСТАЛЬНЫЕ ЧИСЛОВЫЕ СТОЛБЦЫ
   ========================================================= */

    .vpn-users-table tbody td:nth-child(5)[b-7uh4ww98cg],
    .vpn-users-table tbody td:nth-child(6)[b-7uh4ww98cg],
    .vpn-users-table tbody td:nth-child(7)[b-7uh4ww98cg] {
        color: #edf1f2;
    }


    /* =========================================================
   ВЫПАДАЮЩИЙ СПИСОК ЛИМИТА
   ========================================================= */

    .vpn-users-table .speed-limit-menu[b-7uh4ww98cg] {
        width: 150px;
        left: 50%;
        transform: translateX(-50%);
        overflow: hidden;
        border: 1px solid rgba(255, 207, 42, 0.42);
        border-radius: 0 0 14px 14px;
        background: rgba(7, 12, 14, 0.98);
        box-shadow: 0 14px 35px rgba(0, 0, 0, 0.48);
    }


    .vpn-users-table .speed-limit-option[b-7uh4ww98cg] {
        width: calc(100% - 18px);
        margin: 0 9px;
        padding: 9px 10px;
        border: 0;
        border-bottom: 1px solid rgba(255, 207, 42, 0.14);
        color: #dce3e6;
        background: transparent;
        text-align: center;
    }


        .vpn-users-table .speed-limit-option:hover[b-7uh4ww98cg] {
            color: #ffd942;
            background: rgba(255, 194, 0, 0.08);
        }


        .vpn-users-table .speed-limit-option.selected[b-7uh4ww98cg] {
            width: 100%;
            margin: 0;
            padding: 9px 10px;
            color: #171208;
            background: linear-gradient( 180deg, #ffe66a, #ffc82c );
            font-weight: 800;
        }


/* =========================================================
   ОКНА ФИЛЬТРОВ В ШАПКЕ
   ========================================================= */

/*
   У тебя сами фильтры имеют Bootstrap bg-white.
   Перекрашиваем только те, которые находятся в таблице.
*/

.vpn-users-table-wrapper .position-absolute.bg-white[b-7uh4ww98cg] {
    color: #e8edef !important;
    border-color: rgba(255, 205, 38, 0.35) !important;
    background: rgba(8, 13, 15, 0.98) !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45) !important;
}


    .vpn-users-table-wrapper .position-absolute.bg-white .border-top[b-7uh4ww98cg] {
        border-color: rgba(255, 205, 38, 0.13) !important;
    }


    .vpn-users-table-wrapper .position-absolute.bg-white .text-muted[b-7uh4ww98cg] {
        color: #89969e !important;
    }


    .vpn-users-table-wrapper .position-absolute.bg-white .form-control[b-7uh4ww98cg],
    .vpn-users-table-wrapper .position-absolute.bg-white .form-select[b-7uh4ww98cg] {
        color: #eef2f3;
        border-color: rgba(255, 205, 38, 0.24);
        background: #0b1113;
    }


        .vpn-users-table-wrapper .position-absolute.bg-white .form-control:focus[b-7uh4ww98cg],
        .vpn-users-table-wrapper .position-absolute.bg-white .form-select:focus[b-7uh4ww98cg] {
            border-color: #ffd43b;
            box-shadow: 0 0 0 2px rgba(255, 212, 59, 0.10);
        }


    /* Сбросить */

    .vpn-users-table-wrapper .position-absolute.bg-white .btn-link[b-7uh4ww98cg] {
        color: #d2b630 !important;
    }


    /* Применить */

    .vpn-users-table-wrapper .position-absolute.bg-white .btn-primary[b-7uh4ww98cg] {
        color: #171208;
        border-color: #ffd63b;
        background: linear-gradient( 180deg, #ffe569, #ffc82b );
    }


/* =========================================================
   АДАПТИВ
   ========================================================= */

@media (max-width: 1100px) {

    .vpn-users-table-wrapper[b-7uh4ww98cg] {
        overflow-x: auto;
    }


    .vpn-users-table[b-7uh4ww98cg] {
        min-width: 1050px;
    }
}
/* =========================================================
   ВЫРАВНИВАНИЕ СТОЛБЦОВ VPN
   ========================================================= */

/*
   1 — Пользователь
   2 — VPN IP
   3 — Лимиты
   4 — Статус
   5 — Handshake
   6 — Получено
   7 — Передано
*/


/* VPN IP */
.vpn-users-table th:nth-child(2)[b-7uh4ww98cg],
.vpn-users-table td:nth-child(2)[b-7uh4ww98cg],
/* Статус */
.vpn-users-table th:nth-child(4)[b-7uh4ww98cg],
.vpn-users-table td:nth-child(4)[b-7uh4ww98cg],
/* Handshake */
.vpn-users-table th:nth-child(5)[b-7uh4ww98cg],
.vpn-users-table td:nth-child(5)[b-7uh4ww98cg],
/* Получено */
.vpn-users-table th:nth-child(6)[b-7uh4ww98cg],
.vpn-users-table td:nth-child(6)[b-7uh4ww98cg],
/* Передано */
.vpn-users-table th:nth-child(7)[b-7uh4ww98cg],
.vpn-users-table td:nth-child(7)[b-7uh4ww98cg] {
    text-align: center;
}


    /* Центрируем содержимое заголовков,
   потому что внутри TH у нас flex-контейнер */

    .vpn-users-table th:nth-child(2) > div[b-7uh4ww98cg],
    .vpn-users-table th:nth-child(4) > div[b-7uh4ww98cg],
    .vpn-users-table th:nth-child(5) > div[b-7uh4ww98cg],
    .vpn-users-table th:nth-child(6) > div[b-7uh4ww98cg],
    .vpn-users-table th:nth-child(7) > div[b-7uh4ww98cg] {
        justify-content: center;
    }


/* =========================================================
   ЛИМИТЫ
   ========================================================= */

.vpn-users-table th:nth-child(3)[b-7uh4ww98cg],
.vpn-users-table td:nth-child(3)[b-7uh4ww98cg] {
    text-align: center;
}

    .vpn-users-table th:nth-child(3) > div[b-7uh4ww98cg] {
        justify-content: center;
    }


/* Заголовок Лимиты / Мбит/с */

.limit-column-title[b-7uh4ww98cg] {
    display: inline-block;
    text-align: center;
    line-height: 1.15;
    white-space: nowrap;
}

/* =========================================================
   NINJA VPN
   ФОРМА ДОБАВЛЕНИЯ ПОЛЬЗОВАТЕЛЯ
   ========================================================= */

.add-user-panel[b-7uh4ww98cg] {
    position: relative;
    width: min(760px, 100%);
    margin: 6px 0 26px;
    padding: 22px 24px 24px;
    overflow: visible;
    border: 1px solid rgba(255, 205, 44, 0.58);
    border-radius: 15px;
    background: radial-gradient( circle at 88% 8%, rgba(255, 184, 0, 0.08), transparent 28% ), linear-gradient( 180deg, rgba(7, 13, 15, 0.88), rgba(4, 9, 11, 0.91) );
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.015), 0 16px 38px rgba(0, 0, 0, 0.30);
}


/* =========================================================
   ЗАГОЛОВОК ФОРМЫ
   ========================================================= */

.add-user-header[b-7uh4ww98cg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}


    .add-user-header h4[b-7uh4ww98cg] {
        margin: 0;
        color: #f5f7f8;
        font-size: 1.28rem;
        font-weight: 700;
        letter-spacing: 0.01em;
    }


/* =========================================================
   КНОПКА ЗАКРЫТЬ
   ========================================================= */

.add-user-close-button[b-7uh4ww98cg] {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    padding: 0;
    border: 1px solid rgba(255, 207, 47, 0.28);
    border-radius: 9px;
    outline: none;
    color: #dce2e5;
    background: rgba(255, 255, 255, 0.035);
    font-size: 1.45rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}


    .add-user-close-button:hover:not(:disabled)[b-7uh4ww98cg] {
        color: #ffd941;
        border-color: rgba(255, 210, 54, 0.62);
        background: rgba(255, 198, 0, 0.07);
        box-shadow: 0 0 14px rgba(255, 195, 0, 0.08);
        transform: translateY(-1px);
    }


    .add-user-close-button:disabled[b-7uh4ww98cg] {
        opacity: 0.38;
        cursor: default;
    }


/* =========================================================
   ПОЛЯ
   ========================================================= */

.add-user-fields[b-7uh4ww98cg] {
    width: 100%;
    max-width: 620px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}


.add-user-field[b-7uh4ww98cg] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.add-user-label[b-7uh4ww98cg] {
    color: #dce3e6;
    font-size: 0.91rem;
    font-weight: 600;
}


.add-user-input[b-7uh4ww98cg] {
    width: 100%;
    height: 46px;
    padding: 0 15px;
    border: 1px solid rgba(255, 202, 37, 0.28);
    border-radius: 9px;
    outline: none;
    color: #f1f4f5;
    background: rgba(3, 9, 11, 0.72);
    font-size: 0.96rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.01);
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}


    .add-user-input:hover:not(:disabled)[b-7uh4ww98cg] {
        border-color: rgba(255, 210, 53, 0.48);
    }


    .add-user-input:focus[b-7uh4ww98cg] {
        border-color: #ffd63b;
        background: rgba(4, 10, 12, 0.88);
        box-shadow: 0 0 0 3px rgba(255, 210, 55, 0.07), 0 0 18px rgba(255, 191, 0, 0.07);
    }


    .add-user-input:disabled[b-7uh4ww98cg] {
        opacity: 0.55;
        cursor: not-allowed;
    }


    /* Плейсхолдеры:
   Например: Ivanov Iphone
   Например: Временный доступ */

    .add-user-input[b-7uh4ww98cg]::placeholder {
        color: rgba(184, 196, 202, 0.43);
        font-style: italic;
        opacity: 1;
    }


/* =========================================================
   КНОПКИ
   ========================================================= */

.add-user-actions[b-7uh4ww98cg] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}


.add-user-action[b-7uh4ww98cg] {
    min-width: 135px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border-radius: 9px;
    outline: none;
    font-size: 0.94rem;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}


    .add-user-action:hover:not(:disabled)[b-7uh4ww98cg] {
        transform: translateY(-1px);
    }


    .add-user-action:disabled[b-7uh4ww98cg] {
        opacity: 0.46;
        cursor: not-allowed;
        transform: none;
    }


/* Отмена */

.add-user-action-cancel[b-7uh4ww98cg] {
    color: #c4ced3;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.035);
}


    .add-user-action-cancel:hover:not(:disabled)[b-7uh4ww98cg] {
        color: #ffffff;
        border-color: rgba(255, 206, 44, 0.38);
        background: rgba(255, 200, 0, 0.055);
        box-shadow: 0 0 14px rgba(255, 193, 0, 0.06);
    }


/* Создать / Готово */

.add-user-action-create[b-7uh4ww98cg] {
    color: #171207;
    border: 1px solid #ffda48;
    background: linear-gradient( 180deg, #ffe773 0%, #ffd03e 48%, #eeb826 100% );
    box-shadow: 0 0 16px rgba(255, 194, 0, 0.12), 0 7px 18px rgba(0, 0, 0, 0.20);
}


    .add-user-action-create:hover:not(:disabled)[b-7uh4ww98cg] {
        color: #100d04;
        filter: brightness(1.055);
        box-shadow: 0 0 22px rgba(255, 198, 0, 0.18), 0 9px 21px rgba(0, 0, 0, 0.24);
    }


/* =========================================================
   ИНДИКАТОР СОЗДАНИЯ
   ========================================================= */

.add-user-create-spinner[b-7uh4ww98cg] {
    width: 15px;
    height: 15px;
    display: inline-block;
    border: 2px solid rgba(25, 19, 4, 0.26);
    border-top-color: #171207;
    border-radius: 50%;
    animation: addUserSpinner-b-7uh4ww98cg 0.75s linear infinite;
}


@keyframes addUserSpinner-b-7uh4ww98cg {

    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   СОЗДАННЫЙ ПОЛЬЗОВАТЕЛЬ
   ========================================================= */

.add-user-panel .alert-success[b-7uh4ww98cg] {
    color: #dffcf4;
    border: 1px solid rgba(38, 224, 184, 0.28);
    background: rgba(16, 92, 76, 0.24);
}


.add-user-panel .alert-danger[b-7uh4ww98cg] {
    color: #ffd7d3;
    border: 1px solid rgba(255, 96, 80, 0.31);
    background: rgba(105, 28, 23, 0.28);
}


/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media (max-width: 760px) {

    .add-user-panel[b-7uh4ww98cg] {
        width: 100%;
        padding: 18px 16px 20px;
    }


    .add-user-fields[b-7uh4ww98cg] {
        max-width: 100%;
    }


    .add-user-actions[b-7uh4ww98cg] {
        flex-direction: column;
        align-items: stretch;
    }


    .add-user-action[b-7uh4ww98cg] {
        width: 100%;
    }
}

/* =========================================================
   ФОРМА СОЗДАНИЯ ПОЛЬЗОВАТЕЛЯ
   ========================================================= */

.add-user-workspace[b-7uh4ww98cg] {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    flex-wrap: wrap;
    margin: 8px 0 26px;
}

    .add-user-workspace.has-config[b-7uh4ww98cg] {
        flex-wrap: nowrap;
    }

.add-user-panel[b-7uh4ww98cg] {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 205, 44, 0.58);
    border-radius: 16px;
    background: radial-gradient(circle at 88% 8%, rgba(255, 184, 0, 0.08), transparent 28%), linear-gradient(180deg, rgba(7, 13, 15, 0.88), rgba(4, 9, 11, 0.91));
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.015), 0 16px 38px rgba(0, 0, 0, 0.30);
}

.add-user-form-panel[b-7uh4ww98cg] {
    width: min(760px, 100%);
    padding: 22px 24px 24px;
}

.add-user-workspace.has-config .add-user-form-panel[b-7uh4ww98cg] {
    width: 470px;
    min-width: 470px;
}

.add-user-config-panel[b-7uh4ww98cg] {
    flex: 1 1 auto;
    min-width: 560px;
    padding: 22px 24px 24px;
}

.add-user-header[b-7uh4ww98cg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.add-user-config-header[b-7uh4ww98cg] {
    margin-bottom: 16px;
}

.add-user-header h4[b-7uh4ww98cg] {
    margin: 0;
    color: #f5f7f8;
    font-size: 1.28rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.add-user-close-button[b-7uh4ww98cg] {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    padding: 0;
    border: 1px solid rgba(255, 207, 47, 0.28);
    border-radius: 9px;
    outline: none;
    color: #dce2e5;
    background: rgba(255, 255, 255, 0.035);
    font-size: 1.45rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

    .add-user-close-button:hover:not(:disabled)[b-7uh4ww98cg] {
        color: #ffd941;
        border-color: rgba(255, 210, 54, 0.62);
        background: rgba(255, 198, 0, 0.07);
        box-shadow: 0 0 14px rgba(255, 195, 0, 0.08);
        transform: translateY(-1px);
    }

    .add-user-close-button:disabled[b-7uh4ww98cg] {
        opacity: 0.38;
        cursor: default;
    }

.add-user-fields[b-7uh4ww98cg] {
    width: 100%;
    max-width: 620px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.add-user-field[b-7uh4ww98cg] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.add-user-label[b-7uh4ww98cg] {
    color: #dce3e6;
    font-size: 0.91rem;
    font-weight: 600;
}

.add-user-input[b-7uh4ww98cg] {
    width: 100%;
    height: 46px;
    padding: 0 15px;
    border: 1px solid rgba(255, 202, 37, 0.28);
    border-radius: 9px;
    outline: none;
    color: #f1f4f5;
    background: rgba(3, 9, 11, 0.72);
    font-size: 0.96rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.01);
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

    .add-user-input:hover:not(:disabled)[b-7uh4ww98cg] {
        border-color: rgba(255, 210, 53, 0.48);
    }

    .add-user-input:focus[b-7uh4ww98cg] {
        border-color: #ffd63b;
        background: rgba(4, 10, 12, 0.88);
        box-shadow: 0 0 0 3px rgba(255, 210, 55, 0.07), 0 0 18px rgba(255, 191, 0, 0.07);
    }

    .add-user-input:disabled[b-7uh4ww98cg] {
        color: #8f989d;
        background: rgba(58, 64, 68, 0.20);
        border-color: rgba(255, 255, 255, 0.08);
        box-shadow: none;
        cursor: not-allowed;
    }

    .add-user-input[b-7uh4ww98cg]::placeholder {
        color: rgba(184, 196, 202, 0.43);
        font-style: italic;
        opacity: 1;
    }

.add-user-actions[b-7uh4ww98cg] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.add-user-action[b-7uh4ww98cg] {
    min-width: 135px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    border-radius: 9px;
    outline: none;
    font-size: 0.94rem;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

    .add-user-action:hover:not(:disabled)[b-7uh4ww98cg] {
        transform: translateY(-1px);
    }

    .add-user-action:disabled[b-7uh4ww98cg] {
        opacity: 0.46;
        cursor: not-allowed;
        transform: none;
    }

.add-user-action-cancel[b-7uh4ww98cg] {
    color: #c4ced3;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.035);
}

    .add-user-action-cancel:hover:not(:disabled)[b-7uh4ww98cg] {
        color: #ffffff;
        border-color: rgba(255, 206, 44, 0.38);
        background: rgba(255, 200, 0, 0.055);
        box-shadow: 0 0 14px rgba(255, 193, 0, 0.06);
    }

.add-user-action-create[b-7uh4ww98cg] {
    color: #171207;
    border: 1px solid #ffda48;
    background: linear-gradient(180deg, #ffe773 0%, #ffd03e 48%, #eeb826 100%);
    box-shadow: 0 0 16px rgba(255, 194, 0, 0.12), 0 7px 18px rgba(0, 0, 0, 0.20);
}

    .add-user-action-create:hover:not(:disabled)[b-7uh4ww98cg] {
        color: #100d04;
        filter: brightness(1.055);
        box-shadow: 0 0 22px rgba(255, 198, 0, 0.18), 0 9px 21px rgba(0, 0, 0, 0.24);
    }

.add-user-create-spinner[b-7uh4ww98cg] {
    width: 15px;
    height: 15px;
    display: inline-block;
    border: 2px solid rgba(25, 19, 4, 0.26);
    border-top-color: #171207;
    border-radius: 50%;
    animation: addUserSpinner-b-7uh4ww98cg 0.75s linear infinite;
}

@keyframes addUserSpinner-b-7uh4ww98cg {
    to {
        transform: rotate(360deg);
    }
}

/* =========================================================
   ПРАВАЯ ПАНЕЛЬ С КОНФИГОМ
   ========================================================= */

.add-user-config-panel .form-label[b-7uh4ww98cg] {
    color: #dce3e6;
    font-weight: 600;
}

.add-user-config-panel .client-config[b-7uh4ww98cg] {
    min-height: 320px;
    color: #eff3f5;
    background: rgba(3, 9, 11, 0.82);
    border: 1px solid rgba(255, 202, 37, 0.20);
}

    .add-user-config-panel .client-config:focus[b-7uh4ww98cg] {
        box-shadow: none;
        border-color: rgba(255, 202, 37, 0.28);
    }

/* =========================================================
   ЦЕНТРАЛЬНАЯ АНИМАЦИЯ УСПЕХА
   ========================================================= */

.vpn-created-toast[b-7uh4ww98cg] {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.vpn-created-toast-card[b-7uh4ww98cg] {
    min-width: 360px;
    max-width: 520px;
    padding: 22px 26px;
    border: 1px solid rgba(71, 228, 163, 0.35);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(10, 31, 23, 0.95), rgba(7, 24, 18, 0.95));
    box-shadow: 0 0 28px rgba(50, 225, 153, 0.15), 0 18px 42px rgba(0, 0, 0, 0.34);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    animation: vpnToastPop-b-7uh4ww98cg 0.28s ease;
}

.vpn-created-toast-icon[b-7uh4ww98cg] {
    width: 74px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(76, 255, 178, 0.22), rgba(24, 153, 92, 0.18));
    box-shadow: 0 0 22px rgba(72, 243, 165, 0.20), inset 0 0 18px rgba(255, 255, 255, 0.04);
    animation: vpnCheckPulse-b-7uh4ww98cg 0.45s ease;
}

    .vpn-created-toast-icon svg[b-7uh4ww98cg] {
        width: 34px;
        height: 34px;
        stroke: #55f1a8;
        stroke-width: 2.6;
        fill: none;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.vpn-created-toast-text[b-7uh4ww98cg] {
    color: #eefaf3;
    font-size: 1.08rem;
    font-weight: 700;
    text-align: center;
}

@keyframes vpnToastPop-b-7uh4ww98cg {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes vpnCheckPulse-b-7uh4ww98cg {
    0% {
        transform: scale(0.75);
        opacity: 0.4;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* =========================================================
   ALERT STYLE
   ========================================================= */

.add-user-panel .alert-danger[b-7uh4ww98cg] {
    color: #ffd7d3;
    border: 1px solid rgba(255, 96, 80, 0.31);
    background: rgba(105, 28, 23, 0.28);
}

/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media (max-width: 1280px) {
    .add-user-workspace.has-config[b-7uh4ww98cg] {
        flex-wrap: wrap;
    }

        .add-user-workspace.has-config .add-user-form-panel[b-7uh4ww98cg] {
            width: min(760px, 100%);
            min-width: 0;
        }

    .add-user-config-panel[b-7uh4ww98cg] {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 760px) {
    .add-user-form-panel[b-7uh4ww98cg],
    .add-user-config-panel[b-7uh4ww98cg] {
        width: 100%;
        min-width: 0;
        padding: 18px 16px 20px;
    }

    .add-user-fields[b-7uh4ww98cg] {
        max-width: 100%;
    }

    .add-user-actions[b-7uh4ww98cg] {
        flex-direction: column;
        align-items: stretch;
    }

    .add-user-action[b-7uh4ww98cg] {
        width: 100%;
    }

    .vpn-created-toast-card[b-7uh4ww98cg] {
        min-width: 0;
        width: calc(100% - 28px);
        padding: 20px 18px;
    }
}

/* =========================================================
   СОЗДАНИЕ VPN-ПОЛЬЗОВАТЕЛЯ
   ========================================================= */

.add-user-workspace[b-7uh4ww98cg] {
    width: min(100%, 1320px);
    display: grid;
    grid-template-columns: minmax(0, 760px);
    align-items: start;
    gap: 18px;
    margin: 18px 0 24px;
}

    .add-user-workspace.with-config[b-7uh4ww98cg] {
        grid-template-columns: minmax(0, 600px) minmax(520px, 1fr);
    }


/* =========================================================
   ЛЕВАЯ ФОРМА
   ========================================================= */

.add-user-panel[b-7uh4ww98cg] {
    width: 100%;
    padding: 22px 26px 24px;
    border: 1px solid rgba(255, 205, 45, 0.45);
    border-radius: 16px;
    background: radial-gradient( circle at 85% 8%, rgba(255, 186, 0, 0.07), transparent 30% ), linear-gradient( 180deg, rgba(6, 12, 14, 0.91), rgba(3, 8, 10, 0.94) );
    backdrop-filter: blur(7px);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.015), 0 15px 35px rgba(0,0,0,0.30);
}


.add-user-header[b-7uh4ww98cg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}


    .add-user-header h4[b-7uh4ww98cg] {
        margin: 0;
        color: #f7f9fa;
        font-size: 1.25rem;
        font-weight: 700;
    }


/* =========================================================
   КНОПКА X
   ========================================================= */

.close-button[b-7uh4ww98cg] {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 207, 47, 0.28);
    border-radius: 8px;
    color: #d1d7da;
    background: rgba(8, 13, 15, 0.70);
    font-size: 1.15rem;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}


    .close-button:hover:not(:disabled)[b-7uh4ww98cg] {
        color: #ffd43a;
        border-color: rgba(255, 207, 47, 0.65);
        background: rgba(255, 194, 0, 0.06);
    }


/* =========================================================
   ПОЛЯ
   ========================================================= */

.add-user-fields[b-7uh4ww98cg] {
    max-width: 610px;
}


.add-user-field[b-7uh4ww98cg] {
    margin-bottom: 20px;
}


    .add-user-field .form-label[b-7uh4ww98cg] {
        display: block;
        margin-bottom: 8px;
        color: #d2d8dc;
        font-size: 0.94rem;
        font-weight: 600;
    }


.add-user-input[b-7uh4ww98cg] {
    width: 100%;
    height: 44px;
    padding: 0 13px;
    border: 1px solid rgba(255, 204, 36, 0.28);
    border-radius: 9px;
    color: #f4f7f8;
    background: rgba(4, 10, 12, 0.84);
    box-shadow: none !important;
}


    /* ПЛЕЙСХОЛДЕРЫ КУРСИВОМ */

    .add-user-input[b-7uh4ww98cg]::placeholder {
        color: #707b81;
        font-style: italic;
        opacity: 1;
    }


    .add-user-input:focus[b-7uh4ww98cg] {
        color: #ffffff;
        border-color: #ffd43a;
        background: rgba(4, 10, 12, 0.94);
        box-shadow: 0 0 0 3px rgba(255, 205, 41, 0.08) !important;
    }


    /* После создания пользователь уже не может менять данные */

    .add-user-input:disabled[b-7uh4ww98cg] {
        color: #8c969c !important;
        background: rgba(9, 14, 16, 0.62) !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
        opacity: 1;
    }


/* =========================================================
   КНОПКИ ОТМЕНА / СОЗДАТЬ
   ========================================================= */

.add-user-actions[b-7uh4ww98cg] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
}


.ninja-cancel-button[b-7uh4ww98cg],
.ninja-create-button[b-7uh4ww98cg],
.ninja-config-button[b-7uh4ww98cg] {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 20px;
    border-radius: 9px;
    font-size: 0.90rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}


/* ОТМЕНА */

.ninja-cancel-button[b-7uh4ww98cg] {
    border: 1px solid rgba(177, 190, 198, 0.32);
    color: #bdc7cc;
    background: rgba(7, 12, 14, 0.72);
}


    .ninja-cancel-button:hover:not(:disabled)[b-7uh4ww98cg] {
        color: #ffffff;
        border-color: rgba(255, 210, 55, 0.45);
        background: rgba(255, 194, 0, 0.05);
    }


/* СОЗДАТЬ / ГОТОВО */

.ninja-create-button[b-7uh4ww98cg] {
    min-width: 112px;
    border: 1px solid #ffe16a;
    color: #171207;
    background: linear-gradient( 180deg, #ffe879 0%, #ffd23a 52%, #e4ae16 100% );
    box-shadow: 0 0 17px rgba(255, 190, 0, 0.13);
}


    .ninja-create-button:hover:not(:disabled)[b-7uh4ww98cg] {
        transform: translateY(-1px);
        box-shadow: 0 0 24px rgba(255, 194, 0, 0.22);
    }


    .ninja-create-button:disabled[b-7uh4ww98cg],
    .ninja-cancel-button:disabled[b-7uh4ww98cg] {
        cursor: default;
        opacity: 0.45;
    }


/* =========================================================
   ЗАБЛОКИРОВАННАЯ ФОРМА
   ========================================================= */

.user-created-lock[b-7uh4ww98cg] {
    margin-top: 21px;
    color: #818d93;
    font-size: 0.82rem;
    font-style: italic;
}


/* =========================================================
   ПРАВАЯ ПАНЕЛЬ КОНФИГУРАЦИИ
   ========================================================= */

.client-config-panel[b-7uh4ww98cg] {
    min-width: 0;
    padding: 22px 24px 24px;
    border: 1px solid rgba(255, 205, 45, 0.45);
    border-radius: 16px;
    background: radial-gradient( circle at 80% 5%, rgba(255, 188, 0, 0.06), transparent 32% ), linear-gradient( 180deg, rgba(6, 12, 14, 0.92), rgba(3, 8, 10, 0.95) );
    backdrop-filter: blur(7px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.30);
}


.client-config-header h4[b-7uh4ww98cg] {
    margin: 0 0 18px;
    color: #f7f9fa;
    font-size: 1.25rem;
    font-weight: 700;
}


.client-config-warning[b-7uh4ww98cg] {
    margin-bottom: 18px;
    color: #aab4b9;
    font-size: 0.83rem;
    line-height: 1.45;
}


.config-actions[b-7uh4ww98cg] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}


.ninja-config-button[b-7uh4ww98cg] {
    min-height: 36px;
    padding: 0 13px;
    border: 1px solid rgba(255, 205, 41, 0.52);
    color: #f4ce3d;
    background: rgba(5, 11, 13, 0.72);
    font-size: 0.80rem;
}


    .ninja-config-button:hover[b-7uh4ww98cg] {
        color: #171207;
        background: #ffd63c;
        border-color: #ffe670;
        text-decoration: none;
    }


.client-config-box label[b-7uh4ww98cg] {
    display: block;
    margin-bottom: 7px;
    color: #bec7cc;
    font-size: 0.82rem;
}


.client-config[b-7uh4ww98cg] {
    color: #dbe2e5 !important;
    background: rgba(2, 7, 9, 0.92) !important;
    border: 1px solid rgba(255, 204, 36, 0.18) !important;
    font-family: Consolas, monospace;
    font-size: 0.79rem;
    resize: vertical;
}


.config-done-actions[b-7uh4ww98cg] {
    margin-top: 18px;
}


/* =========================================================
   ЦЕНТРАЛЬНОЕ УВЕДОМЛЕНИЕ
   ========================================================= */

.speed-limit-toast-layer[b-7uh4ww98cg] {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    background: transparent;
}


.speed-limit-toast[b-7uh4ww98cg] {
    min-width: 350px;
    max-width: 540px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 27px 34px;
    border-radius: 18px;
    background: rgba(5, 12, 13, 0.94);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 55px rgba(0,0,0,0.55);
    animation: ninjaToastIn-b-7uh4ww98cg 0.25s ease-out;
}


    .speed-limit-toast.success[b-7uh4ww98cg] {
        border: 1px solid rgba(53, 238, 180, 0.48);
    }


    .speed-limit-toast.error[b-7uh4ww98cg] {
        border: 1px solid rgba(255, 92, 80, 0.55);
    }


.speed-limit-toast-icon[b-7uh4ww98cg] {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    border-radius: 50%;
    font-size: 2.65rem;
    font-weight: 700;
    animation: ninjaCheckPop-b-7uh4ww98cg 0.35s ease-out;
}


.speed-limit-toast.success .speed-limit-toast-icon[b-7uh4ww98cg] {
    color: #48efb9;
    border: 3px solid #48efb9;
    box-shadow: 0 0 24px rgba(72, 239, 185, 0.25);
}


.speed-limit-toast.error .speed-limit-toast-icon[b-7uh4ww98cg] {
    color: #ff6258;
    border: 3px solid #ff6258;
}


.speed-limit-toast-text[b-7uh4ww98cg] {
    color: #f4f8f7;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}


@keyframes ninjaToastIn-b-7uh4ww98cg {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


@keyframes ninjaCheckPop-b-7uh4ww98cg {
    0% {
        transform: scale(0.4);
        opacity: 0;
    }

    70% {
        transform: scale(1.12);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}


/* =========================================================
   АДАПТАЦИЯ
   ========================================================= */

@media (max-width: 1200px) {

    .add-user-workspace.with-config[b-7uh4ww98cg] {
        grid-template-columns: 1fr;
        max-width: 760px;
    }
}


@media (max-width: 700px) {

    .add-user-workspace[b-7uh4ww98cg] {
        width: 100%;
    }

    .add-user-panel[b-7uh4ww98cg],
    .client-config-panel[b-7uh4ww98cg] {
        padding: 18px;
    }

    .add-user-fields[b-7uh4ww98cg] {
        max-width: none;
    }

    .add-user-actions[b-7uh4ww98cg] {
        flex-wrap: wrap;
    }

    .speed-limit-toast[b-7uh4ww98cg] {
        min-width: 0;
        width: calc(100% - 30px);
    }
}

/* =========================================================
   QR MODAL
========================================================= */

.qr-modal-overlay[b-7uh4ww98cg] {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(2, 7, 10, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: qrOverlayFadeIn-b-7uh4ww98cg 0.2s ease;
}

.qr-modal-window[b-7uh4ww98cg] {
    position: relative;
    width: min(560px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 24px 24px 20px;
    border: 1px solid rgba(255, 205, 45, 0.38);
    border-radius: 24px;
    background: radial-gradient(circle at top right, rgba(255, 194, 0, 0.10), transparent 30%), linear-gradient(180deg, rgba(7, 13, 15, 0.97), rgba(5, 10, 12, 0.98));
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    animation: qrModalPopIn-b-7uh4ww98cg 0.22s ease;
}

.qr-modal-close[b-7uh4ww98cg] {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 205, 45, 0.35);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: #f7d44a;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: 0.18s ease;
}

    .qr-modal-close:hover[b-7uh4ww98cg] {
        border-color: rgba(255, 215, 70, 0.7);
        background: rgba(255, 205, 45, 0.08);
        color: #ffe37a;
        box-shadow: 0 0 16px rgba(255, 205, 45, 0.16);
    }

.qr-modal-title[b-7uh4ww98cg] {
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 1.55rem;
    font-weight: 700;
    text-align: center;
}

.qr-modal-subtitle[b-7uh4ww98cg] {
    margin-bottom: 18px;
    color: #aeb8be;
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.45;
}

.qr-modal-card[b-7uh4ww98cg] {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    border: 1px solid rgba(255, 205, 45, 0.16);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.015);
}

.qr-modal-image[b-7uh4ww98cg] {
    display: block;
    width: min(100%, 420px);
    height: auto;
    padding: 14px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.qr-modal-actions[b-7uh4ww98cg] {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

    /* Если у тебя уже есть .config-action-button,
   этот блок можно оставить — он только чуть выровняет стиль */
    .qr-modal-actions .config-action-button[b-7uh4ww98cg] {
        min-width: 148px;
        justify-content: center;
    }

/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes qrOverlayFadeIn-b-7uh4ww98cg {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes qrModalPopIn-b-7uh4ww98cg {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {
    .qr-modal-overlay[b-7uh4ww98cg] {
        padding: 14px;
    }

    .qr-modal-window[b-7uh4ww98cg] {
        width: 100%;
        padding: 18px 16px 16px;
        border-radius: 20px;
    }

    .qr-modal-title[b-7uh4ww98cg] {
        font-size: 1.3rem;
    }

    .qr-modal-subtitle[b-7uh4ww98cg] {
        font-size: 0.9rem;
    }

    .qr-modal-image[b-7uh4ww98cg] {
        width: 100%;
        max-width: 100%;
        padding: 10px;
        border-radius: 18px;
    }

    .qr-modal-actions[b-7uh4ww98cg] {
        flex-direction: column;
    }

        .qr-modal-actions .config-action-button[b-7uh4ww98cg] {
            width: 100%;
        }
}


/* =========================================================
   NINJA VPN — РЕДАКТИРОВАНИЕ ПОЛЬЗОВАТЕЛЯ
   Кнопки "Сохранить" / "Отмена"
   ========================================================= */

.vpn-users-table .edit-buttons[b-7uh4ww98cg] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 5px;
}

.vpn-users-table .vpn-edit-save-button[b-7uh4ww98cg],
.vpn-users-table .vpn-edit-cancel-button[b-7uh4ww98cg] {
    min-height: 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 7px;
    outline: none;
    font: inherit;
    font-size: .76rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: transform .15s ease, border-color .15s ease, color .15s ease, background .15s ease, box-shadow .15s ease, filter .15s ease;
}

/* Сохранить — золотая кнопка Ninja VPN */
.vpn-users-table .vpn-edit-save-button[b-7uh4ww98cg] {
    border: 1px solid #ffe16a;
    color: #171207;
    background: linear-gradient( 180deg, #ffe879 0%, #ffd23a 52%, #e4ae16 100% );
    box-shadow: 0 0 13px rgba(255, 194, 0, .10), 0 5px 12px rgba(0, 0, 0, .18);
}

/* Отмена — тёмная кнопка */
.vpn-users-table .vpn-edit-cancel-button[b-7uh4ww98cg] {
    border: 1px solid rgba(185, 195, 201, .28);
    color: #aeb8bd;
    background: rgba(5, 11, 13, .76);
}

    .vpn-users-table .vpn-edit-save-button:hover[b-7uh4ww98cg],
    .vpn-users-table .vpn-edit-cancel-button:hover[b-7uh4ww98cg] {
        transform: translateY(-1px);
    }

.vpn-users-table .vpn-edit-save-button:hover[b-7uh4ww98cg] {
    filter: brightness(1.055);
    box-shadow: 0 0 18px rgba(255, 194, 0, .16), 0 7px 15px rgba(0, 0, 0, .20);
}

.vpn-users-table .vpn-edit-cancel-button:hover[b-7uh4ww98cg] {
    color: #f0d458;
    border-color: rgba(255, 210, 55, .48);
    background: rgba(255, 199, 0, .045);
}

.vpn-users-table .vpn-edit-save-button:active[b-7uh4ww98cg],
.vpn-users-table .vpn-edit-cancel-button:active[b-7uh4ww98cg] {
    transform: translateY(1px) scale(.97);
}


/* =========================================================
   NINJA VPN — РАЗМЕРЫ В СТОЛБЦЕ "ЛИМИТЫ Мбит/с"

   МЕНЯТЬ РАЗМЕРЫ НУЖНО ЗДЕСЬ:

   1) ∞
      font-size: 2rem;

   2) 10 Мбит/с, 20 Мбит/с и т.д.
      font-size: 1rem;
   ========================================================= */

/* Знак бесконечности — в 2 раза крупнее обычного текста */
.vpn-users-table .speed-limit-trigger > .vpn-limit-infinity[b-7uh4ww98cg] {
    font-size: 1.2rem !important;
    font-weight: 800;
    line-height: .82;
}

/* Числовое значение лимита — такого же размера, как текст в таблице */
.vpn-users-table .speed-limit-trigger > .vpn-limit-value[b-7uh4ww98cg] {
    font-size: 1rem !important;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

/* =========================================================
   MOBILE VPN USERS — PHONE LAYOUT V2
   Только мобильная версия. Десктопные стили не меняются.
   ========================================================= */

@media (max-width: 760px) {

    /* ---------- Заголовок страницы ---------- */

    .vpn-users-header[b-7uh4ww98cg] {
        gap: 14px;
        margin-bottom: 16px;
    }

    .vpn-users-title[b-7uh4ww98cg] {
        font-size: clamp(2rem, 10vw, 2.75rem);
        line-height: 1.02;
    }

    .vpn-add-user-button[b-7uh4ww98cg] {
        width: 100%;
        min-height: 46px;
        justify-content: center;
        padding-left: 14px;
        padding-right: 14px;
    }


    /* ---------- Таблица: оставляем только 4 колонки ---------- */

    .vpn-users-table-wrapper[b-7uh4ww98cg] {
        width: 100%;
        min-width: 0;
        padding: 6px;
        overflow: visible !important;
        border-radius: 13px;
    }

    .vpn-users-table[b-7uh4ww98cg] {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        table-layout: fixed;
        border-spacing: 0 5px;
    }

    /*
       1 — Пользователь
       2 — VPN IP          скрываем
       3 — Лимиты
       4 — Статус
       5 — Handshake
       6 — Получено        скрываем
       7 — Передано        скрываем
    */

    .vpn-users-table th:nth-child(2)[b-7uh4ww98cg],
    .vpn-users-table td:nth-child(2)[b-7uh4ww98cg],
    .vpn-users-table th:nth-child(6)[b-7uh4ww98cg],
    .vpn-users-table td:nth-child(6)[b-7uh4ww98cg],
    .vpn-users-table th:nth-child(7)[b-7uh4ww98cg],
    .vpn-users-table td:nth-child(7)[b-7uh4ww98cg] {
        display: none !important;
    }

    .vpn-users-table th:nth-child(1)[b-7uh4ww98cg],
    .vpn-users-table td:nth-child(1)[b-7uh4ww98cg] {
        width: 38%;
    }

    .vpn-users-table th:nth-child(3)[b-7uh4ww98cg],
    .vpn-users-table td:nth-child(3)[b-7uh4ww98cg] {
        width: 17%;
    }

    .vpn-users-table th:nth-child(4)[b-7uh4ww98cg],
    .vpn-users-table td:nth-child(4)[b-7uh4ww98cg] {
        width: 20%;
    }

    .vpn-users-table th:nth-child(5)[b-7uh4ww98cg],
    .vpn-users-table td:nth-child(5)[b-7uh4ww98cg] {
        width: 25%;
    }


    /* ---------- Шапка таблицы ---------- */

    .vpn-users-table thead th[b-7uh4ww98cg] {
        padding: 8px 2px 9px !important;
        overflow: visible;
        font-size: .68rem;
        line-height: 1.05;
        white-space: normal !important;
    }

    .vpn-users-table thead th > div[b-7uh4ww98cg] {
        width: 100%;
        gap: 0 !important;
        justify-content: center !important;
    }

    .vpn-users-table thead th:first-child > div[b-7uh4ww98cg] {
        justify-content: flex-start !important;
    }

    .vpn-users-table thead th button.btn-link[b-7uh4ww98cg],
    .vpn-users-table thead th button.text-dark[b-7uh4ww98cg] {
        min-width: 0;
        padding: 0 !important;
        font-size: .68rem !important;
        line-height: 1.05;
        white-space: normal;
        text-align: center;
    }

    .vpn-users-table thead th:first-child button.btn-link[b-7uh4ww98cg] {
        text-align: left;
    }

    .vpn-users-table thead th .btn-sm[b-7uh4ww98cg] {
        min-width: 18px;
        padding: 0 1px !important;
        font-size: .62rem !important;
    }

    .limit-column-title[b-7uh4ww98cg] {
        white-space: normal;
        line-height: 1.03;
    }


    /* ---------- Строки ---------- */

    .vpn-users-table tbody td[b-7uh4ww98cg] {
        min-width: 0;
        padding: 9px 4px !important;
        font-size: .75rem;
        line-height: 1.18;
        overflow: visible;
    }

    .vpn-users-table tbody td:first-child[b-7uh4ww98cg] {
        padding-left: 7px !important;
    }

    .vpn-users-table tbody td:last-child[b-7uh4ww98cg] {
        padding-right: 5px !important;
    }


    /* ---------- Пользователь ---------- */

    .vpn-users-table .user-info[b-7uh4ww98cg] {
        min-width: 0;
    }

    .vpn-users-table .user-info > .fw-semibold[b-7uh4ww98cg] {
        max-width: 100%;
        overflow: hidden;
        color: #f6f8f8;
        font-size: .83rem;
        line-height: 1.15;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .vpn-users-table .user-info .small.text-muted[b-7uh4ww98cg] {
        max-width: 100%;
        overflow: hidden;
        margin-top: 2px;
        font-size: .63rem !important;
        line-height: 1.12;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .vpn-users-table .user-info .d-flex[b-7uh4ww98cg] {
        gap: 4px !important;
        margin-top: 4px !important;
        flex-wrap: wrap;
    }

    .vpn-users-table .edit-link[b-7uh4ww98cg] {
        padding: 0 1px !important;
        font-size: .64rem;
        line-height: 1.1;
    }

    .vpn-users-table .edit-user input[b-7uh4ww98cg] {
        min-width: 0;
        height: 32px;
        padding: 4px 6px;
        font-size: .70rem;
    }

    .vpn-users-table .edit-buttons[b-7uh4ww98cg] {
        gap: 4px;
    }

    .vpn-users-table .vpn-edit-save-button[b-7uh4ww98cg],
    .vpn-users-table .vpn-edit-cancel-button[b-7uh4ww98cg] {
        min-height: 28px;
        padding: 0 7px;
        font-size: .64rem;
    }


    /* ---------- Лимит ---------- */

    .vpn-users-table .speed-limit-picker[b-7uh4ww98cg] {
        min-width: 0 !important;
        width: 100%;
        justify-content: center;
    }

    .vpn-users-table .speed-limit-trigger[b-7uh4ww98cg] {
        width: 100%;
        min-width: 0 !important;
        justify-content: center;
        gap: 3px;
        padding: 4px 1px;
        font-size: .72rem;
        white-space: nowrap;
    }

    .vpn-users-table .speed-limit-trigger > span:first-child[b-7uh4ww98cg],
    .vpn-users-table .vpn-limit-infinity[b-7uh4ww98cg] {
        font-size: .88rem !important;
    }

    .vpn-users-table .speed-limit-chevron[b-7uh4ww98cg] {
        font-size: .75rem;
    }

    .vpn-users-table .speed-limit-menu[b-7uh4ww98cg] {
        width: 136px;
        max-height: min(390px, 62dvh);
        overflow-y: auto;
    }

    .vpn-users-table .speed-limit-option[b-7uh4ww98cg] {
        padding-top: 8px;
        padding-bottom: 8px;
        font-size: .74rem;
    }


    /* ---------- Статус ---------- */

    .vpn-users-table .status-online[b-7uh4ww98cg],
    .vpn-users-table .status-offline[b-7uh4ww98cg] {
        display: inline-block;
        max-width: 100%;
        font-size: .69rem !important;
        line-height: 1.1;
        white-space: nowrap;
    }


    /* ---------- Handshake ---------- */

    .vpn-users-table td:nth-child(5)[b-7uh4ww98cg] {
        padding-left: 2px !important;
        padding-right: 2px !important;
        font-size: .68rem;
        line-height: 1.12;
        overflow-wrap: anywhere;
        word-break: normal;
        white-space: normal;
    }


    /* ---------- Окна фильтров ---------- */

    .vpn-users-table-wrapper .position-absolute.bg-white[b-7uh4ww98cg] {
        position: fixed !important;
        left: 12px !important;
        right: 12px !important;
        top: 118px !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        z-index: 20000 !important;
    }


    /* =====================================================
       QR MODAL — компактно для iPhone
       ===================================================== */

    .qr-modal-overlay[b-7uh4ww98cg] {
        z-index: 99990 !important;
        align-items: center;
        justify-content: center;
        padding:
            max(12px, env(safe-area-inset-top))
            12px
            max(12px, env(safe-area-inset-bottom));
        overflow: hidden;
        background: rgba(2, 7, 10, .78);
    }

    .qr-modal-window[b-7uh4ww98cg] {
        width: min(360px, calc(100vw - 24px)) !important;
        max-width: min(360px, calc(100vw - 24px)) !important;
        max-height: calc(100dvh - 24px) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        padding: 15px 12px 13px;
        border-radius: 18px;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .qr-modal-close[b-7uh4ww98cg] {
        top: 9px;
        right: 9px;
        width: 32px;
        height: 32px;
        border-radius: 9px;
        font-size: 1.25rem;
    }

    .qr-modal-title[b-7uh4ww98cg] {
        margin: 1px 40px 8px;
        font-size: 1.08rem;
        line-height: 1.15;
    }

    .qr-app-switch-row[b-7uh4ww98cg] {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 6px;
        margin-top: 6px;
    }

    .qr-app-switch-label[b-7uh4ww98cg] {
        grid-column: 1 / -1;
        width: 100%;
        margin-bottom: 1px;
        font-size: .72rem;
        line-height: 1.2;
        text-align: center;
    }

    .qr-app-switch-button[b-7uh4ww98cg] {
        width: 100%;
        min-width: 0;
        min-height: 36px;
        gap: 5px;
        padding: 0 7px;
        border-radius: 9px;
        font-size: .70rem;
    }

    .qr-app-switch-icon-shell[b-7uh4ww98cg] {
        width: 22px;
        height: 22px;
        flex: 0 0 22px;
        border-radius: 6px;
    }

    .qr-app-switch-icon[b-7uh4ww98cg] {
        width: 18px;
        height: 18px;
    }

    .qr-modal-card[b-7uh4ww98cg] {
        width: min(292px, calc(100vw - 64px)) !important;
        height: auto !important;
        aspect-ratio: 1 / 1;
        max-width: none !important;
        margin: 10px auto 0 !important;
        padding: 0 !important;
        border-radius: 14px !important;
    }

    .qr-modal-image[b-7uh4ww98cg] {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        padding: 0 !important;
        margin: 0 !important;
        object-fit: fill;
        border-radius: 14px !important;
    }

    .qr-modal-actions[b-7uh4ww98cg] {
        margin-top: 11px;
        display: flex;
        flex-direction: row !important;
        flex-wrap: nowrap;
        gap: 7px;
    }

    .qr-modal-actions .config-action-button[b-7uh4ww98cg] {
        width: auto !important;
        min-width: 0 !important;
        flex: 1 1 0;
        min-height: 36px;
        padding: 0 7px;
        font-size: .70rem;
        white-space: nowrap;
    }
}


/* Совсем узкие экраны */
@media (max-width: 380px) {

    .vpn-users-table th:nth-child(1)[b-7uh4ww98cg],
    .vpn-users-table td:nth-child(1)[b-7uh4ww98cg] {
        width: 36%;
    }

    .vpn-users-table th:nth-child(3)[b-7uh4ww98cg],
    .vpn-users-table td:nth-child(3)[b-7uh4ww98cg] {
        width: 18%;
    }

    .vpn-users-table th:nth-child(4)[b-7uh4ww98cg],
    .vpn-users-table td:nth-child(4)[b-7uh4ww98cg] {
        width: 20%;
    }

    .vpn-users-table th:nth-child(5)[b-7uh4ww98cg],
    .vpn-users-table td:nth-child(5)[b-7uh4ww98cg] {
        width: 26%;
    }

    .vpn-users-table thead th[b-7uh4ww98cg],
    .vpn-users-table thead th button.btn-link[b-7uh4ww98cg],
    .vpn-users-table thead th button.text-dark[b-7uh4ww98cg] {
        font-size: .63rem !important;
    }

    .vpn-users-table tbody td[b-7uh4ww98cg] {
        font-size: .70rem;
    }

    .qr-modal-card[b-7uh4ww98cg] {
        width: min(270px, calc(100vw - 58px)) !important;
    }
}

/* =========================================================
   MOBILE VPN USERS — V3 REFINEMENTS
   ========================================================= */

@media (max-width: 760px) {

    /* Значение лимита должно помещать и 100 Мбит/с без перегруза. */
    .vpn-users-table .vpn-limit-value[b-7uh4ww98cg] {
        display: inline-block;
        max-width: 100%;
        font-size: .69rem !important;
        font-weight: 600;
        line-height: 1.1;
        letter-spacing: -.02em;
        white-space: nowrap;
    }

    .vpn-users-table .vpn-limit-infinity[b-7uh4ww98cg] {
        font-size: .69rem !important;
        font-weight: 600;
        letter-spacing: 0;
    }

    .vpn-users-table .speed-limit-trigger[b-7uh4ww98cg] {
        gap: 2px;
        padding-left: 0;
        padding-right: 0;
    }

    .vpn-users-table .speed-limit-chevron[b-7uh4ww98cg] {
        flex: 0 0 auto;
        font-size: .67rem;
        line-height: 1;
    }

    .qr-share-message[b-7uh4ww98cg] {
        margin-top: 10px;223
        padding: 8px 10px;
        border: 1px solid rgba(255, 205, 45, .24);
        border-radius: 9px;
        color: #d6dde0;
        background: rgba(4, 10, 12, .72);
        font-size: .70rem;
        line-height: 1.35;
        text-align: center;
    }
}

/* =========================================================
   MOBILE LIMIT FONT FIX V5
   Более специфичный селектор перекрывает старый desktop-rule
   с font-size: 1rem !important.
   ========================================================= */

@media (max-width: 760px) {

    .vpn-users-table .speed-limit-trigger > .vpn-limit-value[b-7uh4ww98cg] {
        font-size: .69rem !important;
        font-weight: 600 !important;
        line-height: 1.1 !important;
        letter-spacing: -.02em !important;
        white-space: nowrap !important;
    }

    .vpn-users-table .speed-limit-trigger > .vpn-limit-infinity[b-7uh4ww98cg] {
        font-size: .69rem !important;
        font-weight: 600 !important;
        line-height: 1.1 !important;
        letter-spacing: 0 !important;
    }
}


/* =========================================================
   СОХРАНЁННЫЙ CONFIG — МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media (max-width: 760px) {
    .vpn-user-actions-row[b-7uh4ww98cg] {
        gap: 8px;
    }

    .vpn-user-conf-link[b-7uh4ww98cg] {
        min-width: 30px;
        font-size: .68rem;
    }

    .vpn-stored-config-panel[b-7uh4ww98cg] {
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
        max-height: 76vh;
        padding: 17px;
        border-radius: 14px;
    }

    .vpn-stored-config-text[b-7uh4ww98cg] {
        min-height: 250px;
        max-height: 50vh;
        font-size: .72rem;
        overscroll-behavior: contain;
    }
}
