    /*基础设置服务设置页面css样式*/
      /* 新增下拉框样式 */
  .dropdown {
      position: relative;
  }
.dropdown-btn {
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}
.dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 4px;
}
.dropdown.active .dropdown-content {
    max-height: 300px; /* 可根据实际需求调整 */
}
/*.dropdown.active .chongxzcsfuf {
    transform: rotate(90deg);
}
!* 下拉箭头旋转效果 *!
.chongxzcsfuf {
    transition: transform 0.3s ease;
}*/

.zybjjzlcys-div {
    width: 100%;
    display: flex;
    justify-content: center;
}
.tineizcbj-div {
    /*margin-top: 61px;*/
    margin-top: 1px;
    padding-top: 24px;
    width: 244px;
    background: #FFFFFF;
    box-shadow: 1px 1px 2px 0px rgba(0, 0, 0, 0.09);
    border-radius: 0px 0px 0px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 4px;
    height: calc(100vh - 65px);
    margin-right: 24px;
    overflow-y: auto;
   /* position: fixed;*/
}
.neiczytmxl-div {
    width: 200px;
    height: 40px;
    border-radius: 12px 12px 12px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nbxlnbzceys-div {
    display: flex;
    align-items: center;
}
.zcexialtbys {
    font-size: 16px;
    margin-right: 8px;
}
.zcexlsjgl-wz {
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 400;
    font-size: 16px;
    color: #333333;
    text-align: left;
}
.chongxzcsfuf {
    font-size: 16px;
}
.zuocxlkneinr-div {
    width: 200px;
    height: 40px;
    background: #ffffff;
    border-radius: 8px 8px 8px 8px;
    display: flex;
    align-items: center;
    margin-bottom: 4px;
    cursor: pointer;
}
.zuocxlkneinr-div:hover{
    background: #F0F0F0;
    z-index: 1;
}
.zuocxlkneinr-div:hover .jibxxjsfi-wz {
    color: #333333;
    z-index: 1;
}
.jibxxjsfi-wz {
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 400;
    font-size: 14px;
    color: #333333;
    text-align: left;
    margin-left: 24px;
}
.qiehuandkzcdiv {
    background: #E9EFFF !important;
}
.qiehuandkzcdiv .jibxxjsfi-wz {
    color: #346AEA !important;
}
.ycezyti-div {
    margin-top: 24px;
    width: 932px;
    background: #FFFFFF;
    box-shadow: 1px 1px 2px 0px rgba(0, 0, 0, 0.09);
    border-radius: 12px 12px 12px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: flex-start; /* 不拉伸，高度由内容决定 */
}

    /*layui的input字数限制样式开始*/
    .wzszjiswz-wz{
        position: absolute;
        right: 15px;

        font-family: Source Han Sans CN, Source Han Sans CN;
        font-weight: 400;
        font-size: 12px;
    }
     .layui-input-wrap .layui-input{
        padding-right: 60px !important;
    }
    /* 自定义少量样式 */
    .layui-form-label {
        font-size: 14px;
    }
    .count-warning {
        color: #FF4D4F !important;
    }
    /*layui的input字数限制样式结束*/


    .page-name-input::placeholder {
        font-family: Source Han Sans CN, Source Han Sans CN;
        font-weight: 400;
        font-size: 14px;
        color: #999999;
    }

    .layui-laypage .layui-laypage-curr .layui-laypage-em {
         background-color: #346AEA !important;
    }
/** 上传 start **/
    /* 保持原有样式，补充图片预览相关样式 */
    .file-upload {
        margin: 10px 0;
        position: relative;
        width: 100% !important;
    }

    .file-upload-btn {
        width: 100%;
        height: 44px;
        background: #FFFFFF;
        border-radius: 6px;
        border: 1px dashed #DFDFDF;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 14px;
        color: #666;
    }

    .file-upload-btn:hover {
        border-color: #4E88FF;
        background-color: #f5f9ff;
        color: #4E88FF;
    }

    .file-preview {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-top: 12px;
    }
    .file-preview-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px;
        background: #fff;
        border: 1px dashed #eee;
        border-radius: 4px;
        transition: border-color 0.3s ease;
    }

    .file-preview-item:hover {
        border-color: #4E88FF;
    }

    .file-info-area {
        display: flex;
        align-items: center;
    }

    .file-icon {
        width: 40px;
        height: 40px;
        background: #eee;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 8px;
        position: relative;
        overflow: hidden;
    }

    /* 图片缩略图过渡效果 */
    .file-icon img {
        transition: transform 0.3s ease;
    }

    .file-icon:hover img {
        transform: scale(1.05);
    }

    .file-name {
        font-size: 14px;
        color: #333;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    /* 图片大小提示样式 */
    .file-name .file-size {
        font-size: 12px;
        color: #999;
    }

    .file-actions {
        display: flex;
        gap: 8px;
    }

    .file-reupload {
        color: #4E88FF;
        cursor: pointer;
        transition: color 0.2s ease;
    }

    .file-reupload:hover {
        color: #2E68E6;
    }

    .file-delete {
        color: #FF5252;
        cursor: pointer;
        transition: color 0.2s ease;
    }

    .file-delete:hover {
        color: #E03A3A;
    }

    .file-upload-info {
        font-size: 12px;
        color: #666;
        margin-top: 8px;
        line-height: 1.5;
        padding-left: 2px;
    }

    .file-upload-input {
        display: none;
    }

    /* 图片预览弹窗内图片样式 */
    /* 图片预览弹窗内图片样式（核心修改：最小宽度400px + 高度自适应） */
    .media-preview-img {
        min-width: 400px; /* 图片最小宽度400px */
        width: 100%;      /* 宽度自适应容器 */
        height: auto;     /* 高度自适应（保持宽高比） */
        object-fit: contain; /* 确保图片完整显示，不变形 */
        border-radius: 4px;
        background: #f8f8f8;
    }

    /* 图片预览弹窗的内容容器（核心修改：最大高度 + 滚动） */
    .media-preview-container {
        padding: 20px;
        max-height: calc(90vh - 120px); /* 最大高度 = 视口90% - 弹窗标题栏/边距（避免溢出） */
        overflow-y: auto; /* 超出高度时显示垂直滚动条 */
        overflow-x: hidden; /* 禁止水平滚动（避免图片过宽） */
    }
    /** 上传end**/