* {
    padding: 0;
    margin: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Segoe UI, Arial, Roboto, 'PingFang SC', miui, 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
}

a {
    text-decoration: none
}
.common-body{
    background-color: #f5f5f5;
}
.login {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
    background: url(../images/login_bg.jpg) center center no-repeat;
    background-size: 100%;
}

.wx-loginBox {
    width: 290px;
    height: 49px;
    overflow: hidden;
    position: absolute;
    z-index: 9999;
    left: calc(50% - 145px);
    bottom: 85px;
    background: #04a20f;
    border-radius: 25px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

.wx-loginBox img {
    width: 22px;
    height: 18px;
    overflow: hidden;
    display: inline-block;
    flex-wrap: nowrap;
    align-items: center;
}

.wx-loginBox text {
    display: inline-block;
    font-size: 18px;
    color: #ffffff;
    padding-left: 6px;
}

.wx-xy {
    width: 290px;
    height: 38px;
    overflow: hidden;
    position: absolute;
    z-index: 9999;
    left: calc(50% - 145px);
    bottom: 32px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

.wx-xy label {
    width: 22px;
    height: 22px;
    float: left;
    display: inline-block;
    border-radius: 50%;
    margin-top: 1px;
}

.wx-xy .mgc1 {
    cursor: pointer;
    position: relative;
    width: 22px;
    height: 22px;
    background-clip: border-box;
    /* margin: -.15px .6px 0 0; */
    /* vertical-align: text-bottom; */
    border-radius: 50%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    -webkit-transform: rotate(-0deg);
    /* background: #fff; */
    background: url(../images/xuanze-1.png) center center no-repeat;
    background-size: 22px 22px;
}

.mgc-primary1:checked {
    background: url(../images/xuanze-11.png) center center no-repeat;
    background-size: 22px 22px;
}

.wx-xy text {
    display: inline-block;
    font-size: 15px;
    color: #fff;
    padding-left: 6px;
}

.wx-xy text a {
    font-size: 15px;
    color: #fff;
}

.container {
    padding: 10px 10px 50px 10px;
}

.search {
    width: 100%;
    background-color: #f0f1f1;
    display: flex;
    justify-content: start;
    align-items: center;
    border-radius: 10px;
}

.search .searchInp {
    width: 90%;
    height: 30px;
    background-color: #f0f1f1;

    border: none;
    padding-left: 5%;
}

.search img {
    width: 20px;
    padding-right: 10px;
}

.banner {
    margin-top: 10px;
}

.banner img {
    width: 100%;
    border-radius: 10px;
}

.picTab {
    height: 30px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* 滚动内容容器 */
.scroll-container {
    position: absolute;
    width: 100%;
    animation: scroll-up 20s linear infinite; /* 总动画时间 = 条数 × 每条停留时间 */
}

/* 每条新闻的样式 */
.news-item {
    height: 30px; /* 与容器高度一致 */
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    font-size: 18px;
}

.news-item .left {
    color: #4d4d4d;
}

.news-item .left span {
    color: #399cf9;
}

.news-item .right {
    color: #999999;
}

/* 滚动动画 */
@keyframes scroll-up {
    0% {
        transform: translateY(0);
    }
    10% { /* 1/10 每条停留时间比例 */
        transform: translateY(-30px); /* 每次滚动30px */
    }
    20% { /* 2/10 */
        transform: translateY(-60px);
    }
    30% { /* 3/10 */
        transform: translateY(-90px);
    }
    40% { /* 4/10 */
        transform: translateY(-120px);
    }
    50% { /* 5/10 */
        transform: translateY(-150px);
    }
    60% { /* 6/10 */
        transform: translateY(-180px);
    }
    70% { /* 7/10 */
        transform: translateY(-210px);
    }
    80% { /* 8/10 */
        transform: translateY(-240px);
    }
    90% { /* 9/10 */
        transform: translateY(-270px);
    }
    100% {
        transform: translateY(-300px); /* 总位移：10条 × 30px */
    }
}

/* 鼠标悬停暂停动画 */
.picTab:hover .scroll-container {
    animation-play-state: paused;
}

.hall {
    margin-top: 10px;
}

.indexHead {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 26px;
}

.indexHead .left {
    position: relative;
    padding-left: 15px;
    font-size: 18px;
}

/* 左侧的蓝红分割线装饰 */
.indexHead .left::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 6px; /* 宽度5px */
    height: 80%; /* 高度随文字自动变化 */
    background: linear-gradient(to bottom, #3c9bf7 50%, #02bf95 50%);
    border-radius: 2px; /* 轻微圆角更美观 */
}

.indexHead .right a {
    color: #9fa19f;
    text-decoration: none;
    font-size: 14px;
}

.hallBox {
    width: 100%;
    height: 130px;
    padding-top: 30px;
    background: linear-gradient(to bottom, #c7ece5 0%, #d2e6f7 100%);
    margin-top: 10px;
}

.hallBox .title {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: #333;
}

.hallBox .title img {
    height: 16px;
    margin-right: 8px;
}

.hallBox .hallBtn {
    display: block;
    width: 90%;
    height: 45px;
    line-height: 45px;
    background: linear-gradient(to right, #02be96 0%, #3a9cf3 100%);
    margin: 20px auto 0;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    color: #fff;
}
.todayDeath{
    margin-top: 10px;
}
.todayDeath .hallList{
    margin-top: 10px;
}
.todayDeath .hallList .item{
    background-color: #f5f5f5;
    padding: 16px;
    margin-bottom: 10px;
    border-radius: 8px;
    position: relative;
}
.statusIng{
    position: absolute;
    right: 10px;
    top: 20px;
}
.hallList .photo{
    width: 72px;
    height: 92px;
    background: url(../images/kue-pt.png) no-repeat center;
    background-size: 72px 92px;
}
.hallList .photo-mr{
    width: 72px;
    height: 92px;
    background: url(../images/kue.png) no-repeat center;
    background-size: 72px 92px;
}
.hallList .photo-mr img{
    width: 67px;
    height: 87px;
    overflow: hidden;
    vertical-align: top;
    margin-left: 3px;
    margin-top: 2px;
}
.hallList .item a{
    display: flex;
    justify-content: start;
}
.hallList .photo img{
    width: 67px;
    height: 87px;
    overflow: hidden;
    vertical-align: top;
    margin-left: 3px;
    margin-top: 2px;
}
.todayR{
    margin-left: 10px;
}
.todayR .title{
    display: flex;
    align-items: center;
}
.todayR .title b{
    font-size: 20px;
    color: #333;
    margin-right: 6px;
}
.todayR .title p{
    display: inline-block;
    color: #fff;
    margin: 0 5px 0 0px;
    font-size: 12px;
    height: 18px;
    line-height: 18px;
    padding: 0 12px;
    border-radius: 2px;
    background: #b5b5b5;
}
.todayR .title span{
    display: inline-block;
    margin: 0 5px 0 0px;
    color: #fff;
    height: 19px;
    font-size: 11px;
    position: relative;
}
.todayR .title span img{
    width: 23px;
    height: 18px;
    position: absolute;
    top: 0;
    left: 0;
}
.todayR .title span text{
    display: inline-block;
    height: 14px;
    margin-top: 1px;
    line-height: 14px;
    background: #848484;
    padding: 0 5px 0 15px;
    margin-left: 9px;
    border-radius: 0 8px 8px 0;
    vertical-align: top;
}
.todayDeath .item .figure-rt{
    font-size: 14px;
    color: #666;
}
.todayDeath .item .figure-rd{
    font-size: 14px;
    color: #999;
}
.todayDeath .item .figure-rw{
    display: flex;
    justify-content: start;
    width: 100%;
    height: auto;
    overflow: hidden;
}
.todayDeath .item .figure-rw .row1{
    height: auto;
    overflow: hidden;
    font-size: 13px;
    line-height: 16px;
    color: #333;
}
.todayDeath .item .figure-rw .row1 img,.todayDeath .item .figure-rw .row2 img{
    width: 14px;
    height: 14px;
    overflow: hidden;
    vertical-align: top;
    margin-top: 1px;
    margin-right: 4px;
}
.todayDeath .item .figure-rw .row2{
    height: auto;
    overflow: hidden;
    font-size: 12px;
    color: #333;
    margin-left: 15px;
    line-height: 16px;
}
.news{
    margin-top: 10px;
}
.news-list .item{
    padding: 12px 0;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-bottom: 1px solid #e8e8e8;
}
.news-list .item:last-child{
    border: none;
}
.news-list .item a{
    display: flex;
    justify-content: space-between;
}
.news-list .item .title{
    font-size: 17px;
    color: #333;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-bottom: 8px;
    line-height: 22px;
    height: 44px;
}
.news-list .item span{
    height: auto;
    overflow: hidden;
    font-size: 14px;
    color: #999;
    display: block;
}
.news-list .item .news-lf{
    width: -webkit-calc(100% - 80px);
    width: -moz-calc(100% - 80px);
    width: calc(100% - 80px);
    height: auto;
    overflow: hidden;
}
.news-list .item .news-lr{
    width: 65px;
    height: 65px;
}
.news-list .item .news-lr img{
    width: 65px;
    height: 65px;
    overflow: hidden;
}
.head-top {
    width: 100%;
    height: 44px;
    background: #fff;
    border-bottom: 1px solid #d9d9d9;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    overflow: hidden;
}
.head-top .head-box {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.head-top .head-box .head-fh {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
    text-align: center;
    width: 44px;
    height: 44px;
}
.head-top .head-box .head-fh img {
    width: 14px;
    height: 14px;
    overflow: hidden;
    margin: 15px auto 0;
}
.head-top .head-box .head-fh a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.head-top .head-box .head-top1 {
    width: 80%;
    height: 100%;
    overflow: hidden;
    margin: 0 auto;
    line-height: 44px;
    text-align: center;
    font-size: 17px;
    color: #333;
}
.head-gd {
    width: 100%;
    height: 45px;
    overflow: hidden;
}
.news-title {
    width: -webkit-calc(100% - 30px);
    width: -moz-calc(100% - 30px);
    width: calc(100% - 30px);
    height: auto;
    line-height: 24px;
    font-size: 17px;
    color: #333;
    overflow: hidden;
    max-height: 48px;
    padding-top: 14px;
    margin: 0 auto 5px auto;
    text-align: center;
}
.news-time{
    width: -webkit-calc(100% - 30px);
    width: -moz-calc(100% - 30px);
    width: calc(100% - 30px);
    height: 20px;
    overflow: hidden;
    padding: 2px 0 8px 0;
    border-bottom: 1px solid #eee;
    margin: 0 auto;
}
.news-time span{
    width: 100%;
    display: block;
    height: 20px;
    line-height: 20px;
    overflow: hidden;
    font-size: 14px;
    color: #999;
    text-align: center;
}
.news-content{
    width: -webkit-calc(100% - 30px);
    width: -moz-calc(100% - 30px);
    width: calc(100% - 30px);
    height: auto;
    line-height: 24px;
    overflow: hidden;
    font-size: 14px;
    color: #333;
    margin: 5px auto 30px auto;
}
.news-content img{
    width: 100%;
}
.footer {
    width: 100%;
    height: 55px;
    background: #fff;
    overflow: hidden;
    position: fixed;
    z-index: 999;
    left: 0;
    bottom: 0;
}
.footer .line{
    width: 400%;
    margin-left: -200%;
    height: 1px;
    background: #d6d7dc;
    overflow: hidden;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
}
.footer ul li {
    width: 25%;
    text-align: center;
    height: 48px;
    overflow: hidden;
    float: left;
}
.footer ul li i {
    display: block;
    width: 23px;
    height: 23px;
    margin: 5px auto 0;
    overflow: hidden;
}
.footer ul li i img {
    width: 23px;
    height: 23px;
}
.footer ul li p {
    width: 200%;
    height: 38px;
    overflow: hidden;
    text-align: center;
    font-size: 22px;
    color: #999999;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
    margin-left: -100%;
    margin-top: -19px;
}
.on img:first-child {
    display: none;
}
.footer ul li.on p {
    color: #3c9bf7;
}

.mem-tab{
    width: 100%;
    background-color: #fff;
    margin-bottom: 10px;
}
.mem-tab ul{
    display: flex;
}
.mem-tab ul li{
    width: 50%;
    text-align: center;
}
.mem-tab ul li a{
    font-size: 17px;
    color: #333;
    height: 42px;
    line-height: 42px;
}
.mem-tab ul .active a{
    color: #3a9cf4;
}
.mem-tab ul .active span{
    width: 50px;
    height: 2px;
    background: -webkit-gradient(linear, left, right, color-stop(0%, #02bf96), color-stop(100%, #3b9cf5));
    background: -webkit-linear-gradient(left, #02bf96 0%, #3b9cf5 100%);
    background: -o-linear-gradient(left, #02bf96 0%, #3b9cf5 100%);
    background: -ms-linear-gradient(left, #02bf96 0%, #3b9cf5 100%);
    background: linear-gradient(to right, #02bf96 0%, #3b9cf5 100%);
    background: linear-gradient(left, #02bf96 0%, #3b9cf5 100%);
    display: block;
    margin: 0 auto;
}
.template{
    width: calc(100% - 20px);
    margin: 15px auto;
}
.template-list {
    padding: 15px 13px;
    margin-bottom: 15px;
    background: #fff;
    border-radius: 10px;
}
.template-list .title{
    font-size: 20px;
    padding-bottom: 12px;
}
.template-list .item {
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 15px;
    width: 100%;
    height: auto;
    overflow: hidden;
    margin-bottom: 15px;
}
.template-list .item a{
}
.template-list .item .img{
    width: 125px;
    height: 60px;
    display: block;
    float: left;
    border-radius: 5px;
}
.template-list .item .right{
    height: 60px;
    width: -webkit-calc(100% - 140px);
    width: -moz-calc(100% - 140px);
    width: calc(100% - 140px);
    display: block;
    float: right;
    vertical-align: top;
}
.template-list .item .right .name{
    font-size: 19px;
    font-weight: normal;
    padding-bottom: 10px;
}
.template-list .item .right .desc {
    font-size: 15px;
    color: #666;
}
.template-list .item .right .desc .temp-see {
    display: inline-block;
    padding-right: 10px;
    color:#666;
}
.temp-see span {
    display: inline-block;
    padding-left: 6px;
}
.green-color {
    color: #02bf95;
}
.blue-color {
    color: #3c9bf7;
}
.user-box {
    width: 100%;
    margin: 0 auto;
}

.user-top {
    position: relative;
    height: auto;
    display: block;
}

.user-top > img {
    width: 100%;
    height: auto;
    display: block;
    z-index: 1;
}

.user-head {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 78px;
    display: flex;
    align-items: center;
    padding-left: 20px;
    top: calc( (100% - 78px) / 2 );

    transition: all 0.3s ease;
}

.user-head .icon {
    width: 78px;
    height: 78px;
    border: 3px solid #fff;
    border-radius: 50%;
    overflow: hidden;
}

.user-head .icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info {
    margin-left: 15px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    height: 78px;
}
.user-info .user-name{
    font-size: 18px;
    color: #fff;
    font-weight: 500;
    padding-bottom: 10px;
    margin-top: 10px;
}
.user-info .user-desc{
    font-size: 14px;
    color: #fff;
}
.user-iconList{
    margin-top: 10px;
}
.user-iconList .item{
    padding: 10px;
}
.user-iconList .item a{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.user-iconList .item .iconLeft{
    display: flex;
    justify-content: start;
    align-items: center;
}
.user-iconList .item .iconLeft span{
    font-size: 18px;
    color: #0C0C0C;
}
.user-iconList .item .iconLeft img{
    width: 22px;
    margin-right: 10px;
}
.user-iconList .item .more img{
    width: 14px;
}
.img-box{
    margin: 10px 0px;
}
.img-box .floor2{
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.img-box .floor2 .left{
    width: 49%;
}
.img-box .floor2 .left img{
    width: 100%;
    border-radius: 10px;
}
.img-box .floor1{
    width: 100%;
    margin-top: 10px;
}
.img-box .floor1 img{
    width: 100%;
    border-radius: 10px;
}
.topImg{
    width: 100%;
}
.topImg img{
    width: 100%;
}
.evenBox{
    background-color: #fff;
    padding: 10px;
    font-size: 16px;
}
.evenBox .layui-form-label {
    text-align: left;
}
.evenBox .layui-input {
    border: none;
}
.evenBox .layui-form-item{
    padding: 0 0px 10px 0px;
    border-bottom: 1px solid #f1f1f1;
}
.evenBox .layui-form-label span{
    color: #f44335;
}
#jinduTiao{
    display: none;
}
.create-btn{
    width: 100%;
    height: 42px;
    line-height: 42px;
    background-image: linear-gradient(90deg, rgb(60, 155, 247) 0%, rgb(2, 191, 149) 100%);
    color: #fff;
    margin-top: 20px;
}
.line{
    margin-top: 10px;
    width: 100%;
    border-bottom: 1px solid #dedede;
}
.boxManager{
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}
.boxManager .dataManger{
    line-height: 24px;
    display: flex;
    justify-content: left;
    align-items: center;
}
.boxManager .dataManger .icon img{
    width: 20px;
}
.boxManager .dataManger .dataFont{
    line-height: 24px;
    font-size: 16px;
    margin-left: 8px;
}
.boxManager .right{
    display: flex;
    justify-content: start;
    align-items: center;
}
.boxManager .right img{
    margin-right: 5px;
    height: 20px;
}
.boxManager .right text{
    font-size: 16px;
}
.managerList {
    padding: 10px;
}

.managerList .explain {
    margin: 10px auto;
    color: #666;
    font-size: 16px;
}
.managerBox{
    margin-top: 10px;
}
.managerBox .title{
    font-size: 18px;
    color: #333;
}
.itemList{
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.itemList .item{
    width: 48%;
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05)
}
.itemList .item .top{
    width: 80%;
    margin: auto;
}
.itemList .item .top img{
    width: 100%;
}
.itemList .item .details{
    text-align: center;
}
.cemetery{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 15px 0px;
}
.cemetery .item{
    width: 44%;
    background-color: #f5f5f5;
    border-radius: 10px;
    padding: 2%;
    margin-bottom: 10px;
}
.sheji img{
    width: 100%;
}
.cemetery .iconTop{
    width: 100%;
}
.cemetery .iconTop img{
    width: 100%;
    border-radius: 10px;
}
.cemetery .item .title{
    margin-top: 10px;
    font-size: 16px;
    color: #0C0C0C;
}
.cemetery .item .address{
    margin-top: 10px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 设置最大显示行数 */
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}
.shareBox{
    width: 90%;
    margin: 10px auto;
}
.shareBox .title{
    text-align: center;
    color: #fff;
    font-size: 20px;
    margin-bottom: 10px;
}
.shareBox .desc{
    color: #999;
    font-size: 12px;
    text-align: center;
}
.shareBox .way{
    font-size: 16px;
    margin-top: 10px;
    color: #fff;
    text-align: center;
}
.shareBox .way span{
    color: #1bb557
}
.shareBox .shareContainer{
    width: 65%;
    margin: 10px auto;
    position: relative;
}
/* 隐藏原始图片和二维码图片 */
.shareBox .originalImg, #qrCodeImage {
    display: none;
}
#shareCanvas {
    width: 100%;
    display: block;
}
/* 加载提示样式 */
.loading-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}
.loading-spinner {
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top: 3px solid white;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.shareBtn{
    width: 65%;
    height: 45px;
    line-height: 45px;
    background-color: #1bb557;
    margin: 10px auto 0px;
    border-radius: 45px;
    text-align: center;
    color: #fff;
    font-size: 18px;
}
.shadowShare{
    display: none;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 99999;
}
.shadowShare .showBg{
    display: flex;
    justify-content: right;
    margin-top: 20px;
    margin-right: 15px;
}
.shadowShare .showBg img{
    width: 80px;
}
.shareText{
    width: 100%;
}
.shareText .text{
    color: #fff;
    font-size: 14px;
    text-align: center;
}
.shareClose{
    width: 40%;
    height: 40px;
    line-height: 40px;
    background-color: #fff;
    border-radius: 20px;
    text-align: center;
    margin: 65vh auto 0px;
    font-size: 16px;
    color: #000;
}
/* 保持原有样式不变，主要修改宽度设置 */
.template-selector {
    display: flex;
    gap: 10%; /* 两个模板之间的间距为10% */
    margin-top: 10px;
    width: 100%; /* 让容器占满可用宽度 */
    flex-wrap: wrap; /* 确保内容不会溢出容器 */
}

.template-item {
    cursor: pointer;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    padding: 15px;
    flex: 0 0 45%; /* 每个模板占45%宽度 */
    max-width: 45%; /* 确保不超过45%宽度 */
    transition: all 0.3s;
    position: relative;
    box-sizing: border-box; /* 确保padding不影响宽度计算 */
}

.template-item:hover {
    border-color: #16b777;
    box-shadow: 0 0 10px rgba(30, 159, 255, 0.2);
}

.template-item.layui-form-radioed {
    border-color: #16b777;
    background-color: rgba(30, 159, 255, 0.05);
}

.template-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.template-img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.template-info {
    text-align: center;
    width: 100%;
}

.template-name {
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.template-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 10px;
}

.template-item .layui-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 16px;
    transition: all 0.3s;
}

.template-item:not(.layui-form-radioed) .layui-icon {
    color: #999;
}

.template-item.layui-form-radioed .layui-icon {
    color: #16b777;
}

/* 查看模板按钮样式 */
.view-template-btn {
    margin-top: 8px;
    width: 100%;
    box-sizing: border-box;
}

/* 响应式调整，在小屏幕上自动堆叠 */
@media (max-width: 768px) {
    .template-selector {
        flex-direction: column;
        gap: 20px;
    }

    .template-item {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }
}