@import url("../remixicon/fonts/remixicon.css?v=20260917-1");

* {
    box-sizing: border-box;
}


html,
body {
    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    overflow: hidden;

    background: #f5f7fa;
}


body {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "Microsoft YaHei",
        Arial,
        sans-serif;
}



/* =========================================================
   整体
========================================================= */

.app-container {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;

    overflow: hidden;
}



/* =========================================================
   顶部
========================================================= */

.app-header {
    height: 58px;

    flex: 0 0 58px;

    display: flex;
    align-items: center;

    min-width: 0;

    background: #ffffff;

    border-bottom: 1px solid #e8e8e8;
}



/* =========================================================
   Logo
========================================================= */

.app-logo {
    width: 220px;
    height: 100%;

    flex: 0 0 220px;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 0 18px;

    border-right: 1px solid #eeeeee;
}

/* 与左侧伸缩菜单同步：仅保留品牌图标。 */
.app-logo.logo-collapsed {
    width: 60px;
    flex: 0 0 60px;
    justify-content: center;
    padding: 0;
}

.app-logo.logo-collapsed .logo-text {
    display: none;
}

.app-logo.logo-collapsed .logo-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
}


.logo-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 6px;

    background: #16baaa;

    color: #ffffff;
}


.logo-icon i {
    font-size: 19px;
}


.logo-text {
    font-size: 17px;
    font-weight: 600;

    color: #222222;

    white-space: nowrap;
}



/* =========================================================
   隐藏 / 显示菜单按钮
========================================================= */

.sidebar-toggle-icon {
    width: 48px;
    height: 100%;

    flex: 0 0 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-right: 1px solid #eeeeee;

    cursor: pointer;

    color: #555555;

    font-size: 18px;

    transition:
        background .15s,
        color .15s;
}


.sidebar-toggle-icon:hover {
    background: #f8f9fa;

    color: #16baaa;
}



/* =========================================================
   一级设备标签
========================================================= */

.device-tabs-wrapper {
    flex: 1;

    min-width: 0;
    height: 100%;

    overflow: hidden;

    display: flex;
}


.device-tabs-mobile {
    display: none;
}


.device-tabs-mobile-wrap {
    display: none;
}


.device-tabs-fixed {
    height: 100%;
    flex: 0 0 auto;
    display: flex;
}


.device-tabs-scroll-btn {
    width: 34px;
    height: 100%;
    flex: 0 0 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-left: 1px solid #eeeeee;
    background: #ffffff;
    color: #666666;
    cursor: pointer;
}


.device-tabs-scroll-btn:hover {
    color: #16baaa;
    background: #f8f9fa;
}


.device-tabs {
    flex: 1;
    min-width: 0;
    height: 100%;

    display: flex;
    align-items: stretch;

    overflow-x: auto;
    overflow-y: hidden;

    -ms-overflow-style: none;
    scrollbar-width: none;
}


.device-tabs::-webkit-scrollbar {
    display: none;
}


.device-tab {
    height: 100%;

    width: auto;
    min-width: 50px;

    flex: 0 0 auto;

    position: relative;

    display: flex;
    align-items: center;

    gap: 8px;

    padding: 0 38px 0 14px;

    border-right: 1px solid #eeeeee;

    cursor: pointer;

    color: #555555;

    white-space: nowrap;

    transition: background .15s;
}


.device-tab:hover {
    color: #4f46e5;
    background: #ffffff;
    font-weight: 600;
}


.device-tab.active {
    position: relative;

    color: #16baaa;

    background: #ffffff;

    font-weight: 600;
}


.device-tab.active:after {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 100%;
    height: 3px;

    background: #6366f1;

    transition: width .2s ease-out;
}


.device-tab:not(.active):after {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 0;
    height: 3px;

    background: #6366f1;

    transition: width .2s ease-out;
}


.device-tab:not(.active):hover:after {
    width: 100%;

}


.device-tab-name {
    flex: 0 0 auto;
}


.device-tab-close {
    width: 20px;
    height: 20px;

    position: absolute;
    right: 10px;
    top: 50%;

    transform: translateY(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 3px;

    color: #999999;
    transition: background-color .16s ease, color .16s ease, transform .1s ease;
}


.device-tab-close:hover {
    background: #ff5722;

    color: #ffffff;
}


.device-tab-close:active {
    background: #ff5722;
    color: #ffffff;
    transform: translateY(-50%) scale(.9);
}



/* =========================================================
   用户
========================================================= */

.header-user {
    height: 100%;

    flex: 0 0 auto;

    display: flex;
    align-items: center;

    gap: 9px;

    padding: 0 18px;

    border-left: 1px solid #eeeeee;

    cursor: pointer;
}


.header-user:hover {
    background: #f8f9fa;
}


.user-avatar {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #16baaa;

    color: #ffffff;
}





/* =========================================================
   主体
========================================================= */

.app-main {
    flex: 1;

    min-width: 0;
    min-height: 0;

    display: flex;

    overflow: hidden;
}



/* =========================================================
   左侧菜单
========================================================= */

.app-sidebar {
    width: 220px;

    flex: 0 0 220px;

    min-height: 0;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: #ffffff;

    border-right: 1px solid #e8e8e8;

    transition:
        width .25s ease,
        flex .25s ease;
}


.app-sidebar.sidebar-hidden {
    display: none;
}

/* 桌面端伸缩菜单：保留图标，隐藏文字，与手机端菜单模式一致。 */
.app-sidebar.sidebar-collapsed {
    width: 60px;
    flex: 0 0 60px;
}

.app-sidebar.sidebar-collapsed .sidebar-header {
    display: none;
}

.app-sidebar.sidebar-collapsed .sidebar-menu-item,
.app-sidebar.sidebar-collapsed .sidebar-menu-group-header {
    justify-content: center;
    padding: 0;
}

.app-sidebar.sidebar-collapsed .sidebar-menu-item span,
.app-sidebar.sidebar-collapsed .sidebar-menu-group-header span,
.app-sidebar.sidebar-collapsed .sidebar-menu-group-arrow,
.app-sidebar.sidebar-collapsed .app-layui-nav cite,
.app-sidebar.sidebar-collapsed .app-layui-nav .layui-nav-more {
    display: none;
}

.app-sidebar.sidebar-collapsed .sidebar-menu-group-children .sidebar-menu-item {
    padding-left: 0;
}

.app-sidebar.sidebar-collapsed .app-layui-nav .layui-nav-item > a,
.app-sidebar.sidebar-collapsed .app-layui-nav .layui-nav-child dd > a {
    padding: 0;
    text-align: center;
}

.app-sidebar.sidebar-collapsed .app-layui-nav .layui-nav-item > a > i,
.app-sidebar.sidebar-collapsed .app-layui-nav .layui-nav-child a > i {
    margin-right: 0;
}

/* 爱快代理页面仅显示工作区 iframe，不显示 RouterOS 左侧菜单。 */
.app-sidebar.workspace-sidebar-hidden {
    display: none;
}

/* 爱快仅使用一级设备标签，工作区直接全屏显示代理 iframe。 */
.app-workspace.ikuai-workspace .function-tabs-bar {
    display: none;
}

.app-workspace.ikuai-workspace .workspace-content {
    padding: 0;
    background: #ffffff;
}

.app-workspace.ikuai-workspace .workspace-frame-card,
.app-workspace.ikuai-workspace .workspace-frame {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}


.sidebar-header {
    height: 48px;

    flex: 0 0 48px;

    display: flex;
    align-items: center;

    padding: 0 18px;

    font-size: 14px;
    font-weight: 600;

    color: #333333;

    border-bottom: 1px solid #eeeeee;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}


.sidebar-menu {
    flex: 1;

    min-height: 0;

    overflow-y: auto;

    padding: 8px 0;
}


/* 左侧菜单使用 Layui nav/tree，保留项目现有的浅色配色。 */
.sidebar-menu .app-layui-nav,
.sidebar-menu .app-layui-nav .layui-nav-child {
    width: 100%;
    background: #ffffff;
}

.sidebar-menu .app-layui-nav .layui-nav-item > a,
.sidebar-menu .app-layui-nav .layui-nav-child dd > a {
    height: 44px;
    line-height: 44px;
    color: #555555;
}

.sidebar-menu .app-layui-nav .layui-nav-item > a > i,
.sidebar-menu .app-layui-nav .layui-nav-child a > i {
    display: inline-block;
    width: 20px;
    margin-right: 12px;
    text-align: center;
    font-size: 17px;
}

.sidebar-menu .app-layui-nav .layui-nav-item > a > cite,
.sidebar-menu .app-layui-nav .layui-nav-child a > cite {
    font-style: normal;
}

/* 二级菜单紧凑显示。 */
.sidebar-menu .app-layui-nav .layui-nav-child dd > a,
.sidebar-menu-group-children .sidebar-menu-item {
    height: 40px;
    line-height: 40px;
}

.sidebar-menu .app-layui-nav .layui-nav-itemed > a,
.sidebar-menu .app-layui-nav .layui-nav-item > a:hover,
.sidebar-menu .app-layui-nav .layui-nav-child dd > a:hover {
    background: #f4fbfa;
    color: #16baaa;
}

/* Layui 默认展开状态是深色底配白字；浅色侧栏中会造成低对比度。
   展开分组用浅青色，当前子项才使用实色高亮。 */
.sidebar-menu .app-layui-nav .layui-nav-itemed > a {
    background: #eaf8f5 !important;
    color: #0f8f83 !important;
    font-weight: 600;
    box-shadow: inset 3px 0 0 #16baaa;
}

.sidebar-menu .app-layui-nav .layui-nav-itemed > a > i,
.sidebar-menu .app-layui-nav .layui-nav-itemed > a > cite {
    color: inherit !important;
}

.sidebar-menu .app-layui-nav .layui-this > a,
.sidebar-menu .app-layui-nav .layui-this > a:hover {
    background: #eafaf7;
    color: #16baaa;
    font-weight: 600;
}

.sidebar-menu .app-layui-nav .layui-nav-child dd.layui-this > a,
.sidebar-menu .app-layui-nav .layui-nav-child dd.layui-this > a:hover {
    background: #16baaa !important;
    color: #ffffff !important;
    font-weight: 600;
}

.sidebar-menu .app-layui-nav .layui-nav-child dd.layui-this > a > i,
.sidebar-menu .app-layui-nav .layui-nav-child dd.layui-this > a > cite {
    color: inherit !important;
}

.sidebar-menu .app-layui-nav .layui-nav-bar {
    background-color: #16baaa;
}


.sidebar-menu-group {
    border-bottom: 1px solid #f1f3f5;
}


.sidebar-menu-group-header {
    height: 44px;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 0 18px;

    cursor: pointer;

    color: #555555;

    transition: background .15s, color .15s;
}


.sidebar-menu-group-header:hover {
    background: #f4fbfa;

    color: #16baaa;
}


.sidebar-menu-group-header > i:first-child {
    width: 20px;

    text-align: center;

    font-size: 17px;
}


.sidebar-menu-group-header span {
    flex: 1;

    min-width: 0;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}


.sidebar-menu-group-arrow {
    width: auto !important;

    font-size: 12px !important;

    transition: transform .25s ease;
}


.sidebar-menu-group.expanded .sidebar-menu-group-header {
    color: #16baaa;

    background: #f4fbfa;
}


.sidebar-menu-group.expanded .sidebar-menu-group-arrow {
    transform: rotate(180deg);
}


.sidebar-menu-group-children {
    max-height: 0;

    overflow: hidden;

    background: #fafbfc;

    transition: max-height .25s ease;
}


.sidebar-menu-group.expanded .sidebar-menu-group-children {
    max-height: 1600px;
}


.sidebar-menu-group-children .sidebar-menu-item {
    padding-left: 40px;
}


.sidebar-menu-item {
    height: 44px;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 0 18px;

    cursor: pointer;

    color: #555555;

    transition: all .15s;
}


.sidebar-menu-item:hover {
    background: #f4fbfa;

    color: #16baaa;
}


.sidebar-menu-item.active {
    background: #eafaf7;

    color: #16baaa;

    font-weight: 600;

    border-right: 3px solid #16baaa;
}


.sidebar-menu-item i {
    width: 20px;

    text-align: center;

    font-size: 17px;
}



/* =========================================================
   工作区域
========================================================= */

.app-workspace {
    flex: 1;

    min-width: 0;
    min-height: 0;

    display: flex;
    flex-direction: column;

    overflow: hidden;
}



/* =========================================================
   二级标签
========================================================= */

.function-tabs-bar {
    height: 48px;

    flex: 0 0 48px;

    min-width: 0;

    display: flex;

    background: #ffffff;

    border-bottom: 1px solid #e8e8e8;
}


.function-tabs {
    flex: 1;

    min-width: 0;
    min-height: 0;

    display: flex;

    overflow-x: auto;
    overflow-y: hidden;
}


.function-tab {
    height: 48px;

    min-width: 140px;

    flex: 0 0 auto;

    display: flex;
    align-items: center;

    gap: 8px;

    padding: 0 14px;

    border-right: 1px solid #eeeeee;

    cursor: pointer;

    color: #666666;

    white-space: nowrap;
}


.function-tab:hover {
    background: #f8f9fa;
}


.function-tab.active {
    position: relative;

    color: #16baaa;

    font-weight: 600;
}


.function-tab.active:after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 3px;

    background: #16baaa;
}


.function-tab-name {
    flex: 1;

    min-width: 0;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}


.function-tab-close {
    width: 20px;
    height: 20px;

    flex: 0 0 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 3px;

    color: #999999;
}


.function-tab-close:hover {
    background: #ff5722;

    color: #ffffff;
}


.function-tabs-actions {
    width: 48px;

    flex: 0 0 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-left: 1px solid #eeeeee;
}


.tabs-action-btn {
    width: 30px;
    height: 30px;

    border: 0;

    background: transparent;

    cursor: pointer;

    color: #777777;
}


.tabs-action-btn:hover {
    background: #f5f5f5;

    color: #ff5722;
}



/* =========================================================
   页面内容
========================================================= */
/* =========================================================
   工作区域
========================================================= */

.workspace-content {
    flex: 1;

    min-width: 0;
    min-height: 0;

    display: flex;

    position: relative;

    overflow: hidden;

    padding: 10px;

    background: #f5f7fa;
}


/* =========================================================
   iframe 卡片
========================================================= */

.workspace-frame-card {
    flex: 1;

    min-width: 0;
    min-height: 0;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e6e6e6;

    border-radius: 8px;

    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.08);
}

/* 保持设备管理 iframe 的 SSE 长连接：视觉上隐藏，但不使用 display:none。 */
.workspace-frame-card.workspace-frame-keepalive {
    display: block !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    min-width: 1px !important;
    min-height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    overflow: hidden !important;
    z-index: -1 !important;
}

.workspace-frame-card.workspace-frame-active {
    position: relative !important;
    width: auto !important;
    height: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1 !important;
}


/* =========================================================
   iframe
========================================================= */

.workspace-frame {
    width: 100%;
    height: 100%;

    display: block;

    border: 0;

    margin: 0;
    padding: 0;

    background: #ffffff;

    border-radius: 8px;
}


/* =========================================================
   普通页面卡片
========================================================= */

.page-card {
    min-height: 100%;

    padding: 24px;

    background: #ffffff;

    border: 1px solid #eeeeee;

    border-radius: 6px;
}


.page-title {
    margin: 0 0 20px;

    font-size: 20px;

    font-weight: 600;

    color: #222222;
}


.page-info {
    padding: 14px;

    background: #f8f9fa;

    border-radius: 4px;

    color: #666666;

    line-height: 1.9;
}


.page-info strong {
    color: #333333;
}



/* =========================================================
   移动端
========================================================= */

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

    /* 手机端仅菜单使用图标模式，Logo 不跟随桌面伸缩状态。 */
    .app-logo.logo-collapsed {
        width: 220px;
        flex: 0 0 220px;
        justify-content: flex-start;
        padding: 0 18px;
    }

    .app-logo.logo-collapsed .logo-text {
        display: block;
    }


    .header-user {
        padding: 0 10px;
    }


    .user-name {
        display: none;
    }


    .app-sidebar {
        width: 60px;

        flex: 0 0 60px;
    }


    .sidebar-header {
        display: none;
    }


    .sidebar-menu-item {
        justify-content: center;

        padding: 0;
    }


    .sidebar-menu-item span {
        display: none;
    }


    .sidebar-menu-group-header {
        justify-content: center;

        padding: 0;
    }


    .sidebar-menu-group-header span,
    .sidebar-menu-group-arrow {
        display: none;
    }


    .sidebar-menu-group-children .sidebar-menu-item {
        padding-left: 0;
    }


    /* 手机侧栏仅保留图标；Layui nav 子菜单同样使用图标导航。 */
    .sidebar-menu .app-layui-nav .layui-nav-item > a,
    .sidebar-menu .app-layui-nav .layui-nav-child dd > a {
        padding: 0;
        text-align: center;
    }

    .sidebar-menu .app-layui-nav cite,
    .sidebar-menu .app-layui-nav .layui-nav-more {
        display: none;
    }

    .sidebar-menu .app-layui-nav .layui-nav-item > a > i,
    .sidebar-menu .app-layui-nav .layui-nav-child a > i {
        margin-right: 0;
    }


    .device-tabs-wrapper {
        display: none;
    }


    .device-tabs-mobile-wrap {
        position: relative;

        display: flex;
        align-items: center;
        gap: 6px;
        flex: 1;
        min-width: 0;
        height: 34px;
        margin: 0 8px;
    }


    .device-tabs-mobile-trigger {
        flex: 1;
        min-width: 0;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 0 8px;
        border: 1px solid #e8e8e8;
        border-radius: 4px;
        background: #ffffff;
        color: #333333;
        text-align: left;
        cursor: pointer;
    }


    .device-tabs-mobile-home {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        padding: 0;
        border: 1px solid #e8e8e8;
        border-radius: 4px;
        background: #ffffff;
        color: #666666;
        cursor: pointer;
    }


    .device-tabs-mobile-router-icon {
        width: 18px;
        height: 18px;
    }


    .device-tabs-mobile-home.active {
        border-color: #16baaa;
        background: #effbf9;
        color: #16baaa;
    }


    .device-tabs-mobile-trigger:disabled {
        color: #909399;
        cursor: not-allowed;
    }


    .device-tabs-mobile-trigger.single {
        border-color: transparent;
        background: transparent;
        color: #333333;
    }


    /* 手机端当前设备标签：与设备管理中心图标的选中态保持一致。 */
    .device-tabs-mobile-trigger.active,
    .device-tabs-mobile-trigger.single.active {
        border-color: #16baaa;
        background: #effbf9;
        color: #16baaa;
    }


    .device-tabs-mobile-wrap.single:has(.device-tabs-mobile-trigger.active) .device-tabs-mobile-single-close {
        background: #ffffff;
        color: #909399;
    }


    .device-tabs-mobile-trigger.single > i {
        display: none;
    }


    .device-tabs-mobile-trigger.empty {
        display: none;
    }


    /* 尚未打开设备工作区时，不显示无意义的“设备标签”选择框。 */
    .device-tabs-mobile-wrap.empty .device-tabs-mobile-trigger {
        display: none;
    }


    .device-tabs-mobile-single-close {
        display: none;
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 0;
        background: #ffffff;
        color: #909399;
        cursor: pointer;
        transition: background-color .16s ease, color .16s ease, transform .1s ease;
    }


    .device-tabs-mobile-wrap.single .device-tabs-mobile-single-close {
        display: flex;
    }


    .device-tabs-mobile-wrap.single .device-tabs-mobile-single-close:hover {
        background: #ff5722;
        color: #ffffff;
    }


    .device-tabs-mobile-wrap.single .device-tabs-mobile-single-close:active {
        background: #ff5722;
        color: #ffffff;
        transform: scale(.9);
    }


    /* 由 pointerdown 显式添加，保证手机触控时也能看见按下缩放。 */
    #deviceTabsMobileSingleClose.is-pressing {
        background: #ff5722;
        color: #ffffff;
        transform: scale(.9);
    }


    .device-tabs-mobile-trigger span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }


    .device-tabs-mobile-trigger > i {
        flex: 0 0 auto;
        font-size: 12px;
        transition: transform .2s ease;
    }


    .device-tabs-mobile-wrap.open .device-tabs-mobile-trigger > i {
        transform: rotate(180deg);
    }


    .device-tabs-mobile-dropdown {
        position: absolute;
        top: 38px;
        right: 0;
        left: 40px;
        z-index: 100;
        display: none;
        max-height: calc(100vh - 112px);
        overflow-x: hidden;
        overflow-y: auto;
        border: 1px solid #dcdfe6;
        border-radius: 4px;
        background: #ffffff;
        box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
    }


    .device-tabs-mobile-wrap.open .device-tabs-mobile-dropdown {
        display: block;
    }


    .device-tabs-mobile-option {
        height: 44px;
        display: flex;
        align-items: center;
        gap: 8px;
        padding-left: 10px;
        cursor: pointer;
        color: #333333;
    }


    .device-tabs-mobile-option + .device-tabs-mobile-option {
        border-top: 1px solid #f1f1f1;
    }


    .device-tabs-mobile-option span {
        flex: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }


    .device-tabs-mobile-option.active {
        background: #16baaa;
        color: #ffffff;
    }


    /* 鼠标经过与触控按下时的临时选中反馈，当前标签仍使用实心高亮。 */
    .device-tabs-mobile-option:not(.active):hover,
    .device-tabs-mobile-option:not(.active):active {
        background: #effbf9;
        color: #16baaa;
    }


    .device-tabs-mobile-option:not(.active):hover .device-tabs-mobile-option-close,
    .device-tabs-mobile-option:not(.active):active .device-tabs-mobile-option-close {
        color: #16baaa;
    }


    .device-tabs-mobile-close-all {
        color: #f56c6c;
    }


    .device-tabs-mobile-close-all > i {
        width: 20px;
        text-align: center;
    }


    .device-tabs-mobile-close-all:active {
        background: #fef0f0;
    }


    .device-tabs-mobile-option-close {
        width: 28px;
        height: 44px;
        flex: 0 0 28px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #909399;
        font-size: 12px;
        cursor: pointer;
    }


    .device-tabs-mobile-option-close:active {
        background: #fef0f0;
        color: #f56c6c;
    }


    .device-tabs-mobile-option.active .device-tabs-mobile-option-close {
        border-left-color: rgba(255, 255, 255, .35);
        color: #ffffff;
    }

}
