@font-face {
    font-family: 'iconfont';
    src: url('../fonts/iconfont.woff2?t=1631608872177') format('woff2'),
    url('../fonts/iconfont.woff?t=1631608872177') format('woff'),
    url('../fonts/iconfont.ttf?t=1631608872177') format('truetype');
}
.ali-icon {
    font-family: "iconfont" !important;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fl {
    float: left;
}
.fr {
    float: right;
}

/* 页面装载 */
.page-wrapper {
    background-color: #fff;
}

.header-top {
    background-color: #f1f1f1;
    border-bottom: 1px solid #dadada;
    -webkit-box-shadow: 0 -1px 3px rgb(0 0 0 / 3%) inset;
    box-shadow: 0 -1px 3px rgb(0 0 0 / 3%) inset;
    font-size: 14px;
}

.header-top-right-btns {
    float: right;
    text-align: center;
    font-size: 0;
}

.header-top-right-btns .btn-group>button {
    padding: 8px 10px;
    margin: 0;
    text-align: center;
    color: #999;
    font-size: 14px;
    border-right: 1px solid #e3e3e3;
    border-left: 1px solid transparent;
}

.btn-group>button:hover {
    color: #e84c3d;
    background-color: #fafafa;
    border-right-color: #e3e3e3;
}

.header-top-right-btns .btn-group:last-child>button {
    border-right-color: transparent;
}

.header {
    padding: 20px 0;
    border-bottom: 1px solid #eaeaea;
    background: #fff;
}

.logo img {
    height: 52px;
}

.footer {
    background-color:transparent;
}

/* 侧边栏菜单样式 */
.menu-toggle-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    padding: 8px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

.menu-toggle-btn:hover {
    color: #e84c3d;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

.sidebar-menu {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background-color: #fff;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.sidebar-menu.active {
    left: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #212529;
}

.sidebar-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-close:hover {
    color: #212529;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    border-bottom: 1px solid #f1f3f5;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #495057;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-link:hover {
    background-color: #f8f9fa;
    color: #e84c3d;
}

.sidebar-link.active {
    background-color: #fff5f5;
    color: #e84c3d;
    border-left: 3px solid #e84c3d;
}

.sidebar-link span {
    font-size: 16px;
}
