body {
    background: #f5f6f8;
}

.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    /*
    background: linear-gradient(135deg, #1e9fff 0%, #1677ff 45%, #0d4fa8 100%);
    */
}

.login-box {
    width: 360px;
    padding: 34px 32px 26px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
}

.login-title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #1f2d3d;
    text-align: center;
}

.login-sub {
    margin: 8px 0 22px;
    color: #91949c;
    font-size: 18px;
    text-align: center;
}

.login-error {
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 4px;
    background: #fff2f0;
    border: 1px solid #ffccc7;
    color: #d4380d;
    font-size: 13px;
}

.login-tip {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px dashed #e6e8eb;
    color: #91949c;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
}

.layui-btn-normal {
    background-color:#16baaa;
}

.captcha-item {
    display: flex;
    align-items: stretch;
}

.captcha-item .layui-input-wrap {
    flex: 1;
    min-width: 0;
}

.captcha-img {
    flex: none;
    width: 120px;
    height: 38px;
    margin-left: 8px;
    border: 1px solid #e6e8eb;
    border-radius: 4px;
    cursor: pointer;
}

.role-badge {
    margin-left: 6px;
}

.menu-tag {
    margin-left: 6px;
    background: #ffb800;
    color: #fff;
}

.admin-main {
    padding: 15px;
}

.stat-card {
    padding: 20px 16px;
    background: #fff;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
}

.stat-num {
    font-size: 28px;
    font-weight: 600;
    color: #1677ff;
    line-height: 38px;
}

.stat-label {
    margin-top: 4px;
    color: #91949c;
    font-size: 13px;
}

.dashboard-row {
    margin-top: 15px;
}

.kv-line {
    line-height: 34px;
    color: #4a4e57;
}

.kv-line > span:first-child {
    display: inline-block;
    width: 60px;
    color: #91949c;
}

.check-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding: 7px 0 7px 24px;
    color: #4a4e57;
    font-size: 14px;
}

.check-list li:before {
    content: "○";
    position: absolute;
    left: 4px;
    color: #bfc4cc;
}

.check-list li.done {
    color: #1f2d3d;
}

.check-list li.done:before {
    content: "●";
    color: #52c41a;
}

.table-tip {
    margin-top: 12px;
    color: #91949c;
    font-size: 12px;
}

.patient-toolbar {
    margin-bottom: 10px;
}

.patient-search .layui-inline {
    /*margin-bottom: 6px;*/
}

.patient-search .layui-input,
.patient-search .layui-form-select {
    width: 140px;
}
/* 患者列表专用：筛选框宽度 */
.patient-search.patient-search--patient .layui-input,
.patient-search.patient-search--patient .layui-form-select {
    width: 120px;
}
.patient-search .layui-form-select dl {
    max-height: 240px;
}

/* 让 layui 渲染的 select 显示层 input 颜色和普通 input 一致 */
.patient-search .layui-form-select .layui-input {
    color: #757575;
    font-size: 14px;
}

.error-box {
    text-align: center;
}

.error-code {
    font-size: 62px;
    font-weight: 700;
    color: #1677ff;
    line-height: 76px;
}

.error-box h2 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #1f2d3d;
}

.error-box .login-sub {
    margin-bottom: 18px;
}

.report-tabs {
    margin-bottom: 12px;
    border-bottom: 1px solid #e6e8eb;
}

.report-tabs a {
    display: inline-block;
    padding: 8px 16px;
    color: #4a4e57;
    font-size: 14px;
    border-bottom: 2px solid transparent;
}

.report-tabs a:hover {
    color: #1677ff;
}

.report-tabs a.active {
    /*
    color: #16baaa;
    border-bottom-color: #1677ff;
    */
    color: #16baaa;
    border-bottom-color: #16baaa;
}

.report-filter {
    margin-bottom: 10px;
}

.report-filter label {
    margin: 0 6px 0 12px;
    color: #4a4e57;
    font-size: 13px;
}

.report-filter label:first-of-type {
    margin-left: 0;
}

/* 只作用于筛选表单的直接子元素，避免影响 layui 生成的 select 外壳内部 input */
.report-filter > .layui-input {
    display: inline-block;
    width: 160px;
    height: 32px;
}

.report-matrix-wrap {
    overflow-x: auto;
}

.report-matrix th,
.report-matrix td {
    text-align: center;
    white-space: nowrap;
}

.report-matrix .report-name {
    position: sticky;
    left: 0;
    z-index: 1;
    text-align: left;
    background: #fff;
}

.report-matrix thead .report-name {
    background: #fafafa;
}

.report-matrix .report-total {
    font-weight: 600;
    color: #1677ff;
}

.report-matrix .report-sum td {
    background: #fafafa;
    font-weight: 600;
}

/* 报表表格斑马纹：偶数行浅青灰，与 #16baaa 主题协调；排除合计行 */
.report-matrix tbody tr:nth-child(even):not(.report-sum) td {
    background: #eef4f2;
}
.report-matrix tbody tr:nth-child(even):not(.report-sum) .report-name {
    background: #eef4f2;
}

/* 报表表格 hover 行：深于斑马纹的青灰色，排除合计行 */
.report-matrix tbody tr:hover:not(.report-sum) td {
    background: #ddeae6;
}
.report-matrix tbody tr:hover:not(.report-sum) .report-name {
    background: #ddeae6;
}

/* 患者列表表格字体 */
.layui-table td,
.layui-table th {
    font-size: 13px;
}

/****弹窗保存按钮颜色修改**/
.layui-layer-btn .layui-layer-btn0{
    background-color:#16baaa;
}

/****页面滚动条样式**/
::-webkit-scrollbar-track{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: #F5F5F5;
}

::-webkit-scrollbar{
	width: 8px;
	height: 8px;
	background-color: #F5F5F5;
}
::-webkit-scrollbar-thumb{
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #c1c1c1;
}
::-webkit-scrollbar-thumb:hover{
	background-color: #a8a8a8;
}
