/* 红黑色主题 - 基于x-admin框架 */
body{
    background: #f5f5f5; /* 浅灰色背景 */
}

/* 头部导航栏 - 红黑色渐变 */
.container{
    background: linear-gradient(to right, #B22222, #5C0000); /* 红色到暗红色渐变，减少黑色成分 */
}

.container a,.layui-nav .layui-nav-item a{
    color: #fff;
}

.container .logo a{
    background-color: rgba(0,0,0,0);
}

.container .right{
    background-color:rgba(0,0,0,0);
}

.container .left_open i{
    display: block;
    background: rgba(255,255,255,0.1);
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-radius: 3px;
    text-align: center;
    margin-top: 7px;
    cursor: pointer;
}

.container .left_open i:hover{
    background: rgba(255,255,255,0.3);
}

/* 左侧导航栏 - 暗红色背景 */
.left-nav{
    background: linear-gradient(to bottom, #5C0000, #3C0000); /* 暗红色渐变，减少黑色成分 */
}

.left-nav #nav li a{
    color: rgba(255,255,255, 0.8);
}

/* 左侧导航激活和悬停状态 - 红色主题 */
.left-nav a.active{
    background: linear-gradient(to right, #C34A42, #A52A2A) !important; /* 调整后的红色渐变，减少黑色成分 */
    color: #fff !important;
    border-color: #C34A42 !important;
}

.left-nav a:hover{
    background: linear-gradient(to right, #C34A42, #A52A2A) !important; /* 调整后的红色渐变，减少黑色成分 */
    color: #fff !important;
    border-color: #C34A42 !important;
}

/* 登录页面相关样式 */
.login .message {
    background: linear-gradient(to right, #C34A42, #A52A2A) !important; /* 调整后的红色渐变，减少黑色成分 */
    position: relative;
    color: #fff;
    font-size: 16px;
}

.login input[type=submit],
.login input[type=button]{
    display: inline-block;
    vertical-align: middle;
    padding: 12px 24px;
    margin: 0px;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    color: #ffffff;
    background: linear-gradient(to right, #C34A42, #A52A2A) !important; /* 调整后的红色渐变按钮，减少黑色成分 */
    border-radius: 3px;
    border: none;
    -webkit-appearance: none;
    outline:none;
    width:100%;
}

/* 输入框焦点状态改为红色 */
.login input[type=text]:focus,
.login input[type=file]:focus,
.login input[type=password]:focus,
.login input[type=email]:focus, select:focus {
    border: 1px solid #B22222 !important; /* 红色边框 */
}

/* 分页控件红色主题 */
.page span.current,
.page .pagination li.active span{
    background: linear-gradient(to right, #C34A42, #A52A2A) !important;
    color: #fff;
    border: 1px solid #C34A42 !important;
}

/* 输入框焦点状态 */
.layui-input:focus, .layui-textarea:focus {
    border-color: #B22222 !important; /* 红色边框 */
}

/* 背景数字颜色 */
.x-admin-backlog-body p cite {
    color: #B22222 !important; /* 红色数字 */
}

/* 主题容器Logo背景透明 */
.container .logo a{
    background: rgba(0,0,0,0) !important;
}