/* 在线链接服务仅供平台体验和调试使用，平台不承诺服务的稳定性，企业客户需下载字体包自行发布使用并做好备份。 */
@font-face {
    font-family: 'iconfont';  /* Project id 4725456 */
    src: url('https://at.alicdn.com/t/c/font_4725456_e3l0jc5moap.woff2?t=1760943355511') format('woff2'),
         url('https://at.alicdn.com/t/c/font_4725456_e3l0jc5moap.woff?t=1760943355511') format('woff'),
         url('https://at.alicdn.com/t/c/font_4725456_e3l0jc5moap.ttf?t=1760943355511') format('truetype');
  }
  .iconfont{
    font-family:"iconfont" !important;
    font-size:16px;
    font-style:normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;}
.shuru{
    width: 100%;
    border-radius: 5px;
    background-color: #f3f4f6;
    height: 50px;
    border: #f3f4f6;
    padding-left: 10px;
}
.anniu{
    width: 100%;
    height: 60px;
    background: #6366f1;
    color: #f3f4f6;
    border: 0;
    border-radius: 5px;
    margin-bottom: 15px;
    margin-top: 20px;
}
.zhuceye{
    width: 100%;
    padding: 15px;
}
.biaodan{
    width: 100%;
}
.banner{
width: 100%;
margin-top: 20px;
border-radius: 10px;
}
.xiazai-title{
    font-size: 16px;
    color: #333;
}
/* 重置基本样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    /* 为内容区域添加底部内边距，防止内容被导航栏遮挡 */
    padding-bottom: 60px;
    color: #333;
}

/* 主要内容区域样式 */
.content-section {
    padding: 20px;
    min-height: 100vh;
}

/* 底部导航栏样式 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    display: flex;
    justify-content: space-around;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 8px 0;
    /* 为iPhone等有底部安全区域的设备提供支持 */
    padding-bottom: max(8px, env(safe-area-inset-bottom));
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 12px;
    padding: 5px 10px;
    flex: 1;
    max-width: 33.33%; /* 三个菜单项均分宽度 */
    transition: color 0.3s;
}

.nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
}

.nav-item.active {
    color: #1976d2; /* 激活状态颜色 */
}

.nav-item:hover {
    color: #1976d2;
}

/* 响应式设计 */
@media (min-width: 768px) {
    .bottom-nav {
        max-width: 400px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 20px 20px 0 0;
    }
}
.zhanwei{
    height: 30px;
}
.zoomIn{
    margin-bottom: 10px;
}
  /* 隐藏原生的select元素 */
  #nativeSelect {
    display: none;
}

/* 自定义触发按钮的样式 */
.custom-trigger {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    text-align: left;
    font-size: 16px;
    cursor: pointer;
}
.custom-trigger:after {
    content: "▼";
    float: right;
    font-size: 12px;
}

/* 蒙版样式 */
.picker-mask {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* 底部弹出框容器 */
.picker-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    z-index: 1000;
}
.picker-container.active {
    transform: translateY(0);
}

/* 弹出框标题栏 */
.picker-header {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e5e5;
    font-size: 16px;
}
.picker-cancel, .picker-confirm {
    color: #007aff;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
}
.picker-title {
    font-weight: bold;
}

/* 选项列表 */
.picker-options {
    max-height: 300px;
    overflow-y: auto;
}
.picker-option {
    padding: 15px 16px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}
.picker-option:last-child {
    border-bottom: none;
}
.picker-option.selected {
    color: #007aff;
    font-weight: bold;
}
.picker-option:hover {
    background-color: #f9f9f9;
}