@charset "utf-8";
* { margin: 0px; padding: 0; }
body { display: flex; width: 100%; min-width: 1200px; min-height: 100vh; background-color: #f8f8f8; color: #333; font-family: Helvetica Neue, helvetica, arial, PingFang SC, Hiragino Sans GB, Heiti SC, Microsoft YaHei, WenQuanYi Micro Hei, sans-serif; }
a { cursor: pointer; }
a:hover { text-decoration: none; }
table { border-collapse: collapse; }

/* login */
@media (min-width:640px) {
    .login { width: 100%; height: 100vh; background: radial-gradient(at center, #3B82F6, #2c49b3); }
    .login-container { width: 300px; height: auto; position: relative; top: 50%; transform: translateY(-50%); margin: 0 auto; background: #fff; padding: 60px 120px; border-radius: 5px; box-shadow: 0px 0px 10px 5px #3B82F6; }
    .login-title { margin-bottom: 30px; font-size: 24px; font-weight: 700; color: #1a1a1a; line-height: 40px; text-align: center; }
    .login-title p { font-size: 14px; }
    .particles { background-size: cover; background-position: 50% 50%; background-repeat: no-repeat; width: 100%; height: 99vh; position: absolute; top: 0; left: 0; }
}
@media (max-width:639px) {
    .login { width: 100%; height: 100vh; background: radial-gradient(at center, #3B82F6, #2c49b3); }
    .login-container { width: 70%; height: auto; position: relative; top: 50%; transform: translateY(-50%); margin: 0 auto; background: #fff; padding: 60px 10%; border-radius: 5px; box-shadow: 0px 0px 10px 5px #3B82F6; }
    .login-title { margin-bottom: 30px; font-size: 24px; font-weight: 700; color: #1a1a1a; line-height: 40px; text-align: center; }
    .login-title p { font-size: 14px; }
    .particles { background-size: cover; background-position: 50% 50%; background-repeat: no-repeat; width: 100%; height: 99vh; position: absolute; top: 0; left: 0; }
}

/* common */
.coder-icon { width: 14px; height: 14px; }
.coder-center { text-align: center !important; }
.coder-center.layui-input[type=text] { padding-left: 0; }
.coder-view-image { cursor: pointer; }
.coder-mt20 { margin-top: 20px; }

/* sidebar */
.coder-sidebar { width: 200px; height: 100vh; background-color: #fff; overflow-y: auto; }
.coder-sidebar-logo { margin: 15px 0; height: 30px; line-height: 30px; text-align: center; }
.coder-sidebar-logo img { height: 30px; }
.coder-sidebar-content { margin-top: 20px; }
.coder-sidebar .layui-nav-tree { background: #fff; }
.coder-sidebar .layui-nav-tree .layui-nav-item a { height: 50px; line-height: 50px; color: #333; }
.coder-sidebar .layui-nav-tree .layui-nav-item>a { padding: 0 20px; }
.coder-sidebar .layui-nav-tree .layui-nav-item>a>i { margin-right: 5px; }
.coder-sidebar .layui-nav-tree .layui-nav-item>a .layui-nav-more { padding: 0; }
.coder-sidebar .layui-nav-tree .layui-nav-itemed>a { color: #333 !important; }
.coder-sidebar .layui-nav-tree .layui-nav-itemed>.layui-nav-child { padding: 0; line-height: 50px; background: #fff !important; }
.coder-sidebar .layui-nav-tree .layui-nav-child { background: #fff; }
.coder-sidebar .layui-nav-tree .layui-nav-child dd a { padding-left: 43px; }
.coder-sidebar .layui-nav-tree .layui-this,
.coder-sidebar .layui-nav-tree .layui-this a { background-color: #3B82F6 !important; color: #fff !important; }

/* main */
.coder-main { width: calc(100% - 200px); min-width: 1000px; height: calc(100vh - 60px); }
.coder-header { width: 100%; height: 60px; background-color: white; display: flex; align-items: center; }
.coder-header-title { margin-left: 20px; }
.coder-header-menu { margin-left: auto; margin-right: 20px; display: flex; }
.coder-header-menu a { margin-left: 20px; line-height: 60px; }
.coder-header-menu .layui-form-select { margin-top: 10px; }
.coder-container { padding: 20px 20px 0 20px; width: calc(100% - 40px); height: calc(100vh - 80px); border-radius: 10px 0 0 0; overflow-x: hidden; overflow-y: auto; }
.coder-content { padding: 20px; width: calc(100% - 40px); min-height: calc(100vh - 120px); border-radius: 10px 10px 0 0; background-color: #fff; }

/* box */
.coder-search { position: relative; padding: 20px; margin-bottom: 15px; background: #f4f4f7; border-radius: 5px; }
.coder-search .layui-form-item:last-child { margin-bottom: 0px; }
.coder-search .layui-form-item .layui-form-label { padding: 9px 0; }
.coder-search .layui-form-item .layui-input-block { margin-left: 90px; }
.coder-search .layui-form-item .layui-input-block input { border-radius: 5px; }
.coder-search>.layui-inline { margin: 5px 10px 5px 0; }
.coder-tabs .layui-tabs-header { display: flex; }
.coder-tabs .layui-tabs-header .coder-back { color: #c2c2c2; padding-left: 0; }
.coder-tabs .layui-tabs-header .coder-back::after { border-bottom-color: #fff; }
.coder-tabs .layui-tabs-header .coder-tabs-state { margin-left: auto; margin-top: 5px; font-size: 14px; }

/* module */
.welcome { width: 100%; height: 150px; border-radius: 10px; background-image: url('../image/welcome.jpg'); background-repeat: no-repeat; background-size: cover; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); display: flex; }
.welcome .welcome-avatar { margin-left: 140px; margin-top: 45px; width: 60px; }
.welcome .welcome-avatar img { width: 100%; }
.welcome .welcome-title { color: #fff; margin-left: 20px; margin-top: 45px; }
.coder-card { margin-top: 20px; }
.coder-card .layui-card { border-radius: 10px; padding: 15px; }
.coder-card .coder-card-title { font-size: 16px; font-weight: bold; margin-bottom: 15px; display: flex; }
.coder-card .coder-card-title span { margin-left: auto; color: #3B82F6; font-size: 14px; font-weight: normal; cursor: pointer; }
.notice { margin-top: 50px; }
.notice .notice-title { text-align: center; line-height: 30px; font-size: 16px; font-weight: bold; }
.notice .notice-time { text-align: center; margin-top: 5px; color: #999; }
.notice .notice-content { margin-top: 20px; }
.data-container { padding: 30px; background-color: #fff; border-radius: 10px; }
.data-container+.data-container { margin-top: 20px; }
.data-header { width: 100%; display: flex; }
.data-title { font-size: 16px; font-weight: bold; }
.data-number { margin-top: 20px; width: 100%; display: flex; justify-content: space-between; }
.data-number li { min-width: 15%; }
.data-number li+li { border-left: 1px solid #eee; padding-left: 30px; }
.data-number .data-number-name { font-size: 14px; color: #999; }
.data-number .data-number-value { font-size: 35px; line-height: 50px; }
.data-number .data-number-scale { font-size: 13px; color: #999; }
.data-money { width: 100%; display: flex; }
.data-money .data-money-total { width: 25%; border-right: 1px solid #eee; padding-right: 50px; }
.data-money .data-money-name { font-size: 14px; color: #999; }
.data-money .data-money-value { font-size: 35px; line-height: 50px; }
.data-money .data-money-scale { display: flex; width: 100%; }
.data-money .data-money-scale li { width: 33.33%; display: flex; justify-content: center; }
.data-money .data-money-scale .data-money-charts { width: 75px; height: 75px; }
.data-money .data-money-scale .data-money-charts-name { font-size: 13px; color: #999; }
.data-money .data-money-scale .data-money-charts-value { font-size: 20px; line-height: 35px; }
.data-money .data-money-scale .data-money-charts-scale { font-size: 12px; color: #999; }
.data-echarts { margin-top: 20px; display: flex; }
.data-echarts li { width: 50%; }
.data-echarts li+li { margin-left: 20px; }
.data-echarts .data-echarts-content { width: 100%; height: calc(100vh - 550px); min-height: 200px; }
.device_code .layui-input-block+.layui-input-block { margin-top: 10px; }

/* upload */
.upload { width: 150px; height: 150px; line-height: 150px; text-align: center; border: 1px dashed #e2e2e2; cursor: pointer; }
.upload p { margin-top: 40px; line-height: 30px; color: #ccc; }
.upload p i { font-size: 50px; color: #009688; }
.upload-view { width: 150px; height: 150px; line-height: 150px; text-align: center; border: 1px dashed #e2e2e2; position: relative; }
.upload-view img { max-width: 140px; max-height: 140px; vertical-align: middle; display: inline; }
.upload-del { position: absolute; left: 135px; top: -15px; width: 30px; height: 30px; line-height: 30px; cursor: pointer; z-index: 100; }
.upload-del i { font-size: 30px; color: #ff5722; }

/* layui */
.layui-font-blue { color: #3B82F6 !important; }
.layui-bg-blue { background-color: #3B82F6 !important; }
.layui-btn-sm { line-height: 28px; }
.layui-btn-xs { line-height: 20px; }
.layui-btn-primary:hover { border-color: #d2d2d2; }
.layui-tabs { margin-top: 0; margin-bottom: 20px !important; }
.layui-tabs-header li:hover,
.layui-tabs-header .layui-this { color: #3B82F6; }
.layui-tabs-header .layui-this::after { border-bottom-color: #3B82F6; }
.layui-tabs-header li span { position: relative; padding: 0 6px; font-size: 12px; text-align: center; background-color: #333; color: #fff; border-radius: 8px; height: 18px; line-height: 18px; margin-left: 5px; }
.layui-form-label { text-align: left; }
.layui-form-select dl dd.layui-this { background: #3B82F6; color: #fff; }
.layui-table td { word-break: break-all; }
.layui-table img { max-width: 80px; max-height: 25px; display: inline; }
.layui-table-tool-self .layui-inline i.layui-icon { margin-left: -1px; }
.layui-layer .layui-layer-content { overflow: visible !important; }
.layui-btn-container { padding-left: 10px; }
.layui-input-block [class^="layui-col-xs"]+[class^="layui-col-xs"] { padding-left: 10px; }