.bg{margin: 0px; background-color: #f0f0f0;}
.main01{ width: calc(100% - 20px); position: relative; margin: 5px auto; padding: 20px; background-color: #fff;}

.title01{text-align: center;margin-bottom: 20px;}
.title01 h1{font-size: 24px; font-weight: bold; color: #000000; font-family: "microsoft yahei"; line-height: 42px; border-bottom: 2px solid #000000; display: inline-block;}

.m_t{ background-color: #f7f7f7; padding: 20px; margin: 10px auto;position: relative; border-radius: 5px;}

.title02{font-size: 16px; font-weight: bold; color: #333;display: inline-block;margin-left: 10px; min-width: 240px;}
.title02 em{font-weight: normal;}

.xz1 label{border: 1px solid #dfdfdf; border-radius: 5px; font-size: 16px; display: block;padding: 12px; line-height: 36px;margin: 10px auto; background: #fff url(../images/icon_zj.png) no-repeat; background-position: 99% 10px; }
.xz1 label.wg{background: #fff url(../images/icon_wg.png) no-repeat; background-position: 99% 10px; }
.xz1 label input{margin: 0px 5px; }
.xz1 label:hover{border: 1px solid #257FDF; background-color: #f5fafe;}

.btGroup{text-align: center; margin: 20px auto;}
.bt{font-size: 18px;width: 120px; height: 46px; border-radius: 6px;margin: 10px; cursor: pointer;}
.btBorder{border: 1px solid #257FDF; color: #257FDF; background-color: #FFFFFF;}
.btBlue{border: none; color: #FFFFFF; background: linear-gradient(90deg, #257FDF, #38A5F5)}
input[type="submit" i]:disabled {border: none; color: #FFFFFF; background-color: #BCC2C8;}
.btBorder:hover{background-color: #ebf6fe;}
.btBlue:hover{background: linear-gradient(90deg, #0e66c4, #1d8cdb);}

.ps_title{font-size: 16px; line-height: 36px;}
.xz2{font-size: 16px; border-radius: 5px; min-height: 220px; display: block;padding: 12px; margin: 10px auto; background:#fff url(../images/icon_zj.png) no-repeat; background-position: 99% 10px;}
.xz2 label{ display: flex; align-items: baseline; line-height:36px; margin: 10px; color: #666666;}
.xz2 label input{margin: 0px 5px; cursor: pointer;}

/* ===== title03 新样式（flex 布局，紧凑右对齐） ===== */
.title03 {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    font-size: 18px !important;
    font-weight: bold !important;
    color: #257FDF !important;
    padding: 8px 0 6px 12px !important;
    border-left: 5px solid #257FDF !important;
    margin: 20px auto 10px !important;
    position: relative !important;
    gap: 4px 12px !important;
}

/* 标题文字 */
.title03 .title-label {
    font-size: 18px !important;
    font-weight: bold !important;
    color: #257FDF !important;
    order: 1 !important;
    flex-shrink: 0 !important;
}

/* 提示文字：靠右 */
.title03 .title_p {
    display: inline !important;
    font-size: 14px !important;
    font-weight: normal !important;
    color: #888 !important;
    margin: 0 !important;
    line-height: 1.6 !important;
    order: 2 !important;
    flex: 1 1 auto !important;
    text-align: right !important;
}

/* 添加按钮：在提示文字右侧 */
.title03 .btnAdd {
    font-size: 14px !important;
    font-weight: normal !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    padding: 2px 16px !important;
    border: none !important;
    border-radius: 4px !important;
    background: #257FDF !important;
    cursor: pointer !important;
    order: 3 !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    margin-left: 4px !important;
}
.title03 .btnAdd:hover {
    background: #38A5F5 !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
}

/* ===== 删除按钮样式（已恢复） ===== */
.btnDel {
    height: 30px;
    width: 64px;
    font-size: 14px;
    font-weight: normal;
    border-radius: 5px;
    line-height: 30px;
    background-color: #ff9023;
    display: block;
    text-align: center;
    color: #FFFFFF;
    cursor: pointer;
    position: absolute;
    right: 40px;
    top: 50px;
    z-index: 999;
    border: none;
}
.btnDel:hover {
    background-color: #e78422;
    color: #FFFFFF;
    text-decoration: none;
}

.tb_main thead th{font-size: 16px; font-weight: bold; text-align: left; line-height:50px ; position: relative; line-height: 50px;}
.tb_main tbody td{font-size: 14px;color: #666; height:40px; position: relative; vertical-align: text-top; line-height: 30px;padding: 8px 0px;}
.tb_main tbody td.td_rt{text-align: right;font-weight: bold; }

.tb_main input[type="text"] {width: 100%;height: 30px;padding: 0 10px;line-height: 30px;border: 1px solid #cccccc; border-radius: 3px;}
.tb_main input[type="text"]:focus { border-color:#5786d4; }
.tb_main input[type="checkbox"], .tb_main input[type="radio"] { margin-bottom: 2px; margin-right: 5px; vertical-align:  text-bottom; }
.tb_main label { margin-left: 0px; margin-right: 15px;  vertical-align:middle; cursor: pointer; }
.tb_main input.date { width: 150px; background: #FFFFFF url("../images/icon_date.png") no-repeat right center; }
.tb_main select { width:100%; height:30px; line-height: 30px;}

.m_t_con{ background: #fff; border-radius: 8px; padding: 20px;}

.label_ps {width: 488px; padding: 30px; background: #fef9f8; border:2px dashed #e33e1d; border-radius: 8px; margin: 20px auto; }
.label_ps span{background: url(../images/lable_tbg.png) no-repeat center; display: block; color: #e33e1d; font-size: 24px; font-weight: bold; height: 40px; line-height: 40px; text-align: center;}
.label_ps p{color: #666666; font-size: 16px; line-height: 2em; text-indent: 2em; margin: 10px 0px;}
.label_ps p b{font-family: 黑体; font-weight:bolder; font-size: 16px;}

.label_ps2 {width: 488px; padding: 10px; background: #fef9f8; border:2px dashed #000; border-radius: 8px; margin: 10px auto; }
.label_ps2 span{background: url(../images/lable_tbg.png) no-repeat center; display: block; color: #e33e1d; font-size: 24px; font-weight: bold; height: 40px; line-height: 40px; text-align: center;}
.label_ps2 p{color: #666666; font-size: 16px; line-height: 2em; text-indent: 0em; margin: 10px 0px;}
.label_ps2 p b{font-family: 黑体; font-weight:bolder; font-size: 16px;}

.flex-td {
	display: flex;
	align-items: center;
}

.td-inline {
	display: flex;
}

.td-inline > label {
	white-space: nowrap;
	font-weight: bold;
	margin: 0 0 0 10px;
}

.m_t_btn{ text-align: center; position: relative;  border-bottom: 1px dashed #CCCCCC; height: 15px; width: 100%; display: block; top: 25px; margin-bottom: 40px;}
.m_t_btn >a{ font: 14px/2 'Microsoft Yahei'; color: #38a5f5; background-color: #f7f7f7; padding: 0px 10px; display: inline-block;}
.m_t_btn >a:hover{ text-decoration: underline; }
.m_t_btn >a.default{ color: #38a5f5; }

/* tooltip样式 */
[tooltip] {
	position: relative;
	background: none;
	border: 0;
	margin-left: 2px;
	display: flex;
	cursor: pointer;
}

[tooltip]::after {
	display: none;
        width: 240px;
	content: attr(tooltip);
	position: absolute;
	padding: 5px 10px;
	border-radius: 4px;
	z-index: 1000;
	font-size: 12px;
        text-align: left;
}

[tooltip]::before {
	display: none;
	content: '';
	position: absolute;
	border: 5px solid transparent;
	border-bottom-width: 0;
	z-index: 1000;
}

[tooltip]:hover::after {
	display: inline;
}
  
[tooltip]:hover::before {
	display: block;
}

/* 气泡主题 */
.tooltip-theme-dark, [tooltip]::after {
	color: #fff;
	background-color: #303133;
}
  
.tooltip-theme-light, [tooltip][effect="light"]::after {
	color: #303133;
	background-color: #fff;
	border: 1px solid #303133;
}

/* 气泡位置 */
/*----上----*/
.tooltip-placement-top, [tooltip]:not([placement])::after, [tooltip][placement=""]::after, [tooltip][placement="top"]::after {
	bottom: calc(100% + 10px);
	left: 50%;
	transform: translate(-50%, 0);
}

.tooltip-placement-top-right, [tooltip][placement="top-right"]::after {
	bottom: calc(100% + 10px);
	left: 100%;
	transform: translate(-100%, 0);
}

.tooltip-placement-top-left, [tooltip][placement="top-left"]::after {
	bottom: calc(100% + 10px);
	left: 0;
	transform: translate(0, 0);
}

/*----右----*/
.tooltip-placement-right, [tooltip][placement="right"]::after {
	left: calc(100% + 10px);
	top: 50%;
	transform: translate(0, -50%);
}

.tooltip-placement-right-top, [tooltip][placement="right-top"]::after {
	left: calc(100% + 10px);
	top: 0;
	transform: translate(0, 0);
}

.tooltip-placement-right-bottom, [tooltip][placement="right-bottom"]::after {
	left: calc(100% + 10px);
	top: 100%;
	transform: translate(0, -100%);
}

/*----下----*/
.tooltip-placement-bottom, [tooltip][placement="bottom"]::after {
	top: calc(100% + 10px);
	left: 50%;
	transform: translate(-50%, 0);
}

.tooltip-placement-bottom-right, [tooltip][placement="bottom-right"]::after {
	top: calc(100% + 10px);
	left: 100%;
	transform: translate(-100%, 0);
}

.tooltip-placement-bottom-left, [tooltip][placement="bottom-left"]::after {
	top: calc(100% + 10px);
	left: 0;
	transform: translate(0, 0);
}

/*----左----*/
.tooltip-placement-left, [tooltip][placement="left"]::after {
	right: calc(100% + 10px);
	top: 50%;
	transform: translate(0, -50%);
}

.tooltip-placement-left-top, [tooltip][placement="left-top"]::after {
	right: calc(100% + 10px);
	top: 0;
	transform: translate(0, 0);
}

.tooltip-placement-left-bottom, [tooltip][placement="left-bottom"]::after {
	right: calc(100% + 10px);
	top: 100%;
	transform: translate(0, -100%);
}

/* 三角形主题 */
.triangle-theme-dark, [tooltip]::before {
	border-top-color: #303133;
}
  
.triangle-theme-light, [tooltip][effect="light"]::before {
	border-top-color: #303133;
}

/* 三角形位置 */
/*----上----*/
.triangle-placement-top, [tooltip]:not([placement])::before, [tooltip][placement=""]::before, [tooltip][placement="top"]::before {
	bottom: calc(100% + 5px);
	left: 50%;
	transform: translate(-50%, 0);
}

.triangle-placement-top-left, [tooltip][placement="top-left"]::before {
	bottom: calc(100% + 5px);
	left: 6px;
}

.triangle-placement-top-right, [tooltip][placement="top-right"]::before {
	bottom: calc(100% + 5px);
	right: 6px;
}

/*----右----*/
.triangle-placement-right, [tooltip][placement="right"]::before, .triangle-placement-right-top, [tooltip][placement="right-top"]::before, .triangle-placement-right-bottom, [tooltip][placement="right-bottom"]::before {
	left: calc(100% + 3px);
	top: 50%;
	transform: translate(0, -50%) rotateZ(90deg);
}

.triangle-placement-right-top, [tooltip][placement="right-top"]::before {
	top: 10px;
}

.triangle-placement-right-bottom, [tooltip][placement="right-bottom"]::before {
	bottom: 10px;
	top: auto;
	transform: translate(0, 0) rotateZ(90deg);
}

/*----下----*/
.triangle-placement-bottom, [tooltip][placement="bottom"]::before, .triangle-placement-bottom-left, [tooltip][placement="bottom-left"]::before, .triangle-placement-bottom-right, [tooltip][placement="bottom-right"]::before {
	top: calc(100% + 5px);
	left: 50%;
	transform: translate(-50%, 0) rotateZ(180deg);
}

.triangle-placement-bottom-left, [tooltip][placement="bottom-left"]::before {
	transform: translate(0, 0) rotateZ(180deg);
	left: 6px;
}

.triangle-placement-bottom-right, [tooltip][placement="bottom-right"]::before {
	right: 10px;
	left: 10px;
}

/*----左----*/
.triangle-placement-left, [tooltip][placement="left"]::before, .triangle-placement-left-top, [tooltip][placement="left-top"]::before, .triangle-placement-left-bottom, [tooltip][placement="left-bottom"]::before {
	right: calc(100% + 3px);
	top: 50%;
	transform: translate(0, -50%) rotateZ(270deg);
}

.triangle-placement-left-top, [tooltip][placement="left-top"]::before {
	top: 10px;
}

.triangle-placement-left-bottom, [tooltip][placement="left-bottom"]::before {
	bottom: 10px;
	top: auto;
	transform: translate(0, 0) rotateZ(270deg);
}

/* 下一步提示弹窗 */
.tip-dialog {
	width: 100%;
	height: 100%;
	position: fixed;
	background: rgba(0, 0, 0, 0.5);
	left: 0;
	top: 0;
	z-index: 10000;
	display: none;
}

.dialog-content {
	width: 30%;
	margin: 15vh auto 50px;
	background: #fff;
	border-radius: 5px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.dialog-header {
	padding: 20px 20px 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.dialog-header span {
	line-height: 24px;
	font-size: 18px;
	color: #303133;
}

.dialog-header img {
	width: 15px;
	height: 15px;
	cursor: pointer;
}

.dialog-body {
	padding: 30px 20px;
}

.dialog-body p {
	color: #606266;
	font-size: 14px;
    word-break: break-all;
}

.dialog-footer {
	padding: 10px 20px 20px;
	text-align: right;
}

.dialog-footer button {
	padding: 8px 20px;
	font-size: 14px;
	background: linear-gradient(90deg, #257FDF, #38A5F5);
	border: 0;
	color: #fff;
	border-radius: 5px;
	cursor: pointer;
}

/* 快捷入口 */
.quick-entrance {
	border: 1px solid #ccc;
	border-right: 0;
	border-radius: 5px 0 0 5px;
	position: fixed;
	right: 0;
	bottom: 30px;
	background: #fff;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
	z-index: 1000;
}

.quick-entrance a {
	display: flex;
	flex-direction: column;
	align-items: center;
	border-bottom: 1px solid #ccc;
	padding: 10px 18px;
}

.quick-entrance a:last-child {
	border-bottom: 0;
}

.quick-entrance a:hover {
	text-decoration: none;
}

.quick-entrance a img {
	width: 32px;
}

.quick-entrance a span {
	color: #333;
	margin-top: 2px;
}

/* ===== 手机端适配 ===== */
@media (max-width: 768px) {
    .main01 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px !important;
        box-sizing: border-box !important;
    }
    .title01 h1 {
        font-size: 18px !important;
        text-align: center !important;
        word-break: break-word !important;
    }
    .m_t {
        width: 100% !important;
        padding: 8px 0 !important;
        box-sizing: border-box !important;
    }
    .xz1 {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        align-items: stretch !important;
        width: 100% !important;
    }
    .xz1 label {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        font-size: 16px !important;
        padding: 10px 14px !important;
        background: #f5f7fa !important;
        border-radius: 6px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    /* ===== 只改 radio 大小 ===== */
    .xz1 label input[type="radio"] {
        width: 22px !important;
        height: 22px !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
    }
    .btGroup {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        justify-content: center !important;
        margin-top: 20px !important;
        width: 100% !important;
    }
    .btGroup .bt {
        padding: 12px 24px !important;
        font-size: 16px !important;
        min-width: 80px !important;
        flex: 1 !important;
        max-width: 140px !important;
    }
    .wg {
        width: 100% !important;
    }
    .xz2 {
        width: 100% !important;
        padding: 5px 0 !important;
    }
    .xz2 label {
        gap: 18px;
        padding: 8px 0;
        font-size: 15px;
    }
    .xz2 label input[type="radio"] {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
    }
    .label_ps {
        padding: 10px !important;
        font-size: 14px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .label_ps p {
        font-size: 14px !important;
        line-height: 1.7 !important;
    }
    
    /* 手机端 title03 样式 */
    .title03 {
        font-size: 16px !important;
        padding: 6px 0 4px 10px !important;
        margin: 10px auto 8px !important;
        gap: 4px 8px !important;
    }
    .title03 .title-label {
        font-size: 16px !important;
    }
    .title03 .title_p {
        font-size: 13px !important;
        text-align: left !important;
        flex: 0 0 100% !important;
        order: 3 !important;
    }
    .title03 .btnAdd {
        font-size: 13px !important;
        padding: 2px 14px !important;
        order: 2 !important;
        margin-left: auto !important;
    }
    
    .m_t_box {
        width: 100% !important;
        padding: 0 !important;
    }
    .m_t_con {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .tb_main {
        width: 100% !important;
        min-width: 600px !important;
        font-size: 13px !important;
    }
    .tb_main td, .tb_main th {
        padding: 6px 8px !important;
        font-size: 13px !important;
    }
    .td_rt {
        white-space: nowrap !important;
        font-size: 13px !important;
    }
    .flex-td input, .flex-td select {
        max-width: 120px !important;
        font-size: 13px !important;
    }
    .td-inline {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
        align-items: center !important;
    }
    .td-inline select, .td-inline input {
        max-width: 100px !important;
        font-size: 13px !important;
    }
    .tip-dialog .dialog-content {
        width: 95% !important;
        margin: 0 auto !important;
        max-width: 400px !important;
    }
    .quick-entrance {
        bottom: 10px !important;
        right: 10px !important;
    }
    .quick-entrance a {
        width: 40px !important;
        height: 40px !important;
        font-size: 10px !important;
    }
    .quick-entrance a img {
        width: 18px !important;
        height: 18px !important;
    }
}

/* ===== 苹果手机滚动修复 ===== */
body {
    -webkit-overflow-scrolling: touch !important;
    overflow-y: auto !important;
}

@media (max-width: 768px) {
    html, body {
        -webkit-overflow-scrolling: touch !important;
    }
    .main01 {
        padding-bottom: 60px !important;
    }
    .btGroup {
        padding-bottom: 30px !important;
    }
}
