/*
Template Name: Admin Press Admin
Author: Themedesigner
Email: niravjoshi87@gmail.com
File: scss
*/
/*
Template Name: Admin Press Admin
Author: Themedesigner
Email: niravjoshi87@gmail.com
File: scss
*/
@import url("css.css");
/*Theme Colors*/
/*bootstrap Color*/
/*Light colors*/
/*Normal Color*/
/*Extra Variable*/
/*Preloader*/
/* 全局滚动条样式 - 适配 Chrome/Safari/Edge 等webkit内核浏览器 */
::-webkit-scrollbar {
  /* 滚动条整体宽度 */
  width: 8px;    /* 垂直滚动条宽度 */
  height: 8px;   /* 水平滚动条高度 */
}
/* 适配 Firefox 浏览器 */
* {
  scrollbar-width: thin;               /* 滚动条宽度：thin/auto/none */
}
.min-height {
    min-height: 500px;
}
.hidden {
    display: none !important;
}
.modal-xl {
    max-width: 1200px;
}

.modal-dialog-scrollable .modal-body {
max-height: 70vh;  /* 限制高度，超出部分滚动 */
overflow-y: auto;  /* 垂直滚动 */
}
/* 二级下拉菜单基础样式 */
.dropdown-submenu {
    position: relative; /* 作为二级菜单的定位参考 */
}

/* 二级菜单位置：向左展开（核心修改） */
.dropdown-submenu .dropdown-menu {
    top: 0;
    left: auto;        /* 取消左定位，交给right控制 */
    right: 100%;       /* 向右偏移100% → 实际表现为向左展开 */
    margin-right: -1px;/* 对齐一级菜单边框，避免缝隙（可选） */
    display: none;     /* 默认隐藏 */
}

/* 悬停触发：鼠标放上去显示二级菜单 */
.dropdown-submenu:hover .dropdown-menu {
    display: block;
}

/* 优化交互：触发项hover样式 */
.dropdown-submenu > .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #16181b;
}
.preloader {
  width: 100%;
  height: 100%;
  top: 0px;
  position: fixed;
  z-index: 99999;
  background: #fff;
}

.preloader .cssload-speeding-wheel {
  position: absolute;
  top: calc(50% - 3.5px);
  left: calc(50% - 3.5px);
}
/* 核心弹窗样式：带标题栏+内容区 */
.notify-box {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 320px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    overflow: hidden; /* 防止内容溢出 */
    /* 入场动画 */
    animation: slideIn 0.5s ease-out forwards;
    opacity: 0;
    transform: translateX(100%);
    margin-bottom: 15px; /* 多个弹窗时的间距 */
}

/* 标题栏样式：区分不同通知类型的配色 */
.notify-box .notify-header {
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* 不同类型通知的标题栏配色 */
.notify-header.revenue { background: #409eff; }    /* 营收：蓝色 */
.notify-header.message { background: #67c23a; }   /* 消息：绿色 */
.notify-header.broadcast { background: #e6a23c; } /* 广播：橙色 */
.notify-header.chat { background: #909399; }      /* 聊天：灰色 */

/* 内容区样式 */
.notify-box .notify-content {
    padding: 16px;
    font-size: 14px;
    color: #303133;
    line-height: 1.6;
    background: #f9fafc;
    height: 200px;
}

/* 关闭按钮样式 */
.notify-box .close-btn {
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.2s;
}
.notify-box .close-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* 强制全屏弹幕区域，绝对不会被隐藏 */
.global-danmaku-container {
    position: fixed !important;
    top: 70px !important; /* 距离顶部一点点，确保你能看见 */
    left: 0 !important;
    width: 100vw !important;
    height: 60px !important;
    overflow: visible !important;
    z-index: 99999999 !important;
    pointer-events: none !important;
}
.danmaku-row {
    position: relative !important;
    width: 100% !important;
    height: 30px !important;
    line-height: 30px !important;
    overflow: visible !important;
}
.danmaku-item {
    position: absolute !important;
    white-space: nowrap !important;
    color: #fff !important;
    font-size: 16px !important;
    background: rgba(0,0,0,0.7) !important;
    padding: 2px 8px !important;
    border-radius: 4px !important;
}

/* 入场动画 */
@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* 退场动画 */
@keyframes slideOut {
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}
.notify-box.close {
    animation: slideOut 0.5s ease-in forwards;
}

/* 多个弹窗堆叠时的偏移（可选） */
.notify-box + .notify-box {
    bottom: calc(20px + 120px); /* 第二个弹窗上移120px */
}
/*******************
/*Top bar
*******************/
.topbar {
  background: #1976d2;
}

.topbar .navbar-header {
  background: #ffffff;
}

.topbar .top-navbar .navbar-header .navbar-brand .light-logo {
  display: none;
  color: rgba(255, 255, 255, 0.8);
}

.topbar .navbar-light .navbar-nav .nav-item > a.nav-link {
  color: #ffffff !important;
}

.topbar .navbar-light .navbar-nav .nav-item > a.nav-link:hover, .topbar .navbar-light .navbar-nav .nav-item > a.nav-link:focus {
  color: rgba(255, 255, 255, 0.8) !important;
}

/*******************
/*General Elements
*******************/
a.link:hover, a.link:focus {
  color: #1976d2 !important;
}

.bg-theme {
  background-color: #1976d2 !important;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  background-color: #1976d2;
  border-color: #1976d2;
}

.right-sidebar .rpanel-title {
  background: #1976d2;
}

.stylish-table tbody tr:hover, .stylish-table tbody tr.active {
  border-left: 4px solid #1976d2;
}

.text-themecolor {
  color: #1976d2 !important;
}

.profile-tab li a.nav-link.active,
.customtab li a.nav-link.active {
  border-bottom: 2px solid #1976d2;
  color: #1976d2;
}

.profile-tab li a.nav-link:hover,
.customtab li a.nav-link:hover {
  color: #1976d2;
}

/*******************
/*Buttons
*******************/
.btn-themecolor,
.btn-themecolor.disabled {
  background: #1976d2;
  color: #ffffff;
  border: 1px solid #1976d2;
}

.btn-themecolor:hover,
.btn-themecolor.disabled:hover {
  background: #1976d2;
  opacity: 0.7;
  border: 1px solid #1976d2;
}

.btn-themecolor.active, .btn-themecolor:focus,
.btn-themecolor.disabled.active,
.btn-themecolor.disabled:focus {
  background: #028ee1;
}

/*******************
/*sidebar navigation
*******************/
.label-themecolor {
  background: #1976d2;
}

.sidebar-nav > ul > li.active > a {
  background-color: transparent !important;
  color: #1976d2;
  border-color: #1976d2;
}

.sidebar-nav > ul > li.active > a i {
  color: #1976d2;
}

.sidebar-nav ul li a.active, .sidebar-nav ul li a:hover {
  color: #1976d2;
}

.sidebar-nav ul li a.active i, .sidebar-nav ul li a:hover i {
  color: #1976d2;
}
