﻿/* 基础样式 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #444;
    line-height: 1.6;
}

/* 容器样式 */
.weui_cells {
    background-color: #fff;
    margin: auto;
    max-width: 768px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* 标题样式 */
.pagetitle {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    padding: 20px;
    background-color: #007bff;
    color: #fff;
    margin: 0;
}

/* 单元格样式 */
.weui_cell {
    padding: 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
    max-width:768px;
    margin:auto;
}

    .weui_cell:hover {
        background-color: #f5f5f5;
    }

    .weui_cell:last-child {
        border-bottom: none;
    }

.weui_cell_hd {
    margin-right: 15px;
    flex-shrink: 0;
}

.weui_cell_bd {
    flex-grow: 1;
}

.weui_label {
    font-size: 16px;
    color: #555;
    font-weight: 500;
}

    .weui_label span {
        color: #ff4d4d;
    }

/* 输入框样式 */
.weui_input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 16px;
    color: #333;
    background-color: transparent;
    padding: 8px 0;
}

    .weui_input::placeholder {
        color: #aaa;
    }

/* 下拉框样式 */
.custom-select {
    width: 100%;
    border: none;
    outline: none;
    font-size: 16px;
    color: #333;
    background-color: transparent;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    display:none;
}

.custom-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #777;
}

/* 文本域样式 */
.weui_textarea {
    width: 100%;
    border: none;
    outline: none;
    font-size: 16px;
    color: #333;
    background-color: transparent;
    resize: none;
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.weui_textarea_counter {
    text-align: right;
    font-size: 16px;
    color: #999;
    margin-top: 5px;
}

/* 按钮样式 */
.weui_btn_area {
    max-width:768px;
    margin:auto;
    padding: 20px;
    text-align: center;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.weui_btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.weui_btn_primary {
    background-color: #007bff;
    color: #fff;
}

    .weui_btn_primary:hover {
        background-color: #0056b3;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    }

/* 复选框样式 */
.weui_cells_checkbox {
    margin: 15px 0;
    padding: 0 15px;
    max-width:768px;
}

.weui_check_label {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #555;
}

.weui_check {
    margin-right: 10px;
    cursor: pointer;
}

.weui_icon_checked {
    color: #007bff;
}

/* 链接样式 */
a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

    a:hover {
        color: #0056b3;
        text-decoration: underline;
    }




/*用户须知部分*/
/* 弹窗容器样式 - 默认隐藏 */
#popup {
    display: none; /* 默认不显示 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明遮罩 */
    z-index: 1000; /* 确保在最上层 */
    justify-content: center;
    align-items: center;
}

/* 弹窗内容样式 */
.weui-popup-modal {
    background-color: #fff;
    width: 90%;
    max-width: 768px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: fadeIn 0.3s ease; /* 淡入动画 */
}

    /* 标题样式 */
    .weui-popup-modal .title {
        font-size: 24px;
        font-weight: 600;
        color: #007bff;
        text-align: center;
        margin: 20px 0;
    }

    /* 小标题样式 */
    .weui-popup-modal .ui-page-title {
        font-size: 18px;
        font-weight: 500;
        color: #333;
        text-align: center;
        margin-bottom: 20px;
    }

/* 内容区域样式 */
.weui-popup-bd {
    padding: 20px;
    max-height: 60vh; /* 限制高度，避免内容过长 */
    overflow-y: auto; /* 内容过多时显示滚动条 */
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

    /* 段落样式 */
    .weui-popup-bd p {
        margin-bottom: 15px;
        text-align: justify;
    }

    /* 强调文字样式 */
    .weui-popup-bd strong {
        color: #007bff;
    }

    /* 链接样式 */
    .weui-popup-bd a {
        color: #007bff;
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .weui-popup-bd a:hover {
            color: #0056b3;
            text-decoration: underline;
        }

/* 关闭按钮样式 */
.weui-popup-modal .close-popup {
    display: block;
    width: 80%;
    max-width: 200px;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .weui-popup-modal .close-popup:hover {
        background-color: #0056b3;
    }

/* 弹窗淡入动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式布局 */
@media (max-width: 768px) {
    .weui-popup-modal {
        width: 95%;
    }

    .weui-popup-bd {
        max-height: 70vh; /* 在小屏幕上增加内容区域高度 */
    }

    .weui-popup-modal .title {
        font-size: 20px;
    }

    .weui-popup-modal .ui-page-title {
        font-size: 16px;
    }
}
/*用户须知部分*/

/*往期记录*/
.weui_msg {
    max-width: 768px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* 额外区域样式 */
.weui_extra_area {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

    /* 链接样式 */
    .weui_extra_area a {
        display: inline-flex;
        align-items: center;
        padding: 10px 20px;
        font-size: 16px;
        color: #007bff;
        text-decoration: none;
        border-radius: 8px;
        transition: all 0.3s ease;
        background-color: #f8f9fa;
    }

        .weui_extra_area a:hover {
            background-color: #e9ecef;
            color: #0056b3;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
        }

        /* 图标样式 */
        .weui_extra_area a .iconfont {
            margin-right: 8px;
            font-size: 18px;
        }

/*往期记录*/

/*类别*/
.dropdown-layer {
    display:none;
    position: absolute;
    margin-left:60px;
    max-width: 200px;
    max-height: 200px;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding-left: 60px; /* 内部文字居左侧 60px */
    box-sizing: border-box; /* 防止 padding 影响宽度 */
}

.dropdown-item {
    padding: 10px;
    cursor: pointer;
}

    .dropdown-item:hover {
        background-color: #f0f0f0;
    }
/*类别*/