body {
    background-color: #f8f9fa;
}

.container {
    max-width: 500px;
    margin-top: 50px;
}
.form-container {
            display: grid;
            grid-template-columns: repeat(2, 1fr); /* 每行2个单元格 */
            gap: 10px; /* 间距 */
        }
        .form-item {
            display: flex;
            flex-direction: column; /* 使label和input垂直排列 */
        }
h1 {
    text-align: center;
    color: #007bff;
}
td {
            word-break: break-word;
            white-space: normal;
            /* 增加 padding 和边框以更清晰地显示效果 */
            padding: 10px;
            border: 1px solid #ccc;
        }
		
        /* 样式表 */
        .select-container {
            position: relative;
            display: inline-block;
        }

        .select-container select {
            width: 100%;
            box-sizing: border-box;
            padding: 10px;
            font-size: 16px;
        }

        .select-container input {
            width: 100%;
            box-sizing: border-box;
            padding: 10px;
            font-size: 16px;
            margin-bottom: 5px; /* 使输入框与下拉框分开 */
        }
        
        .filtered-select {
            display: none;
        }

        .filtered-select.show {
            display: block;
            position: absolute;
            top: 40px; /* 根据实际情况调整 */
            width: 100%;
            max-height: 150px; /* 设置最大高度并启用滚动条 */
            overflow-y: auto;
            z-index: 1;
            background: white;
            border: 1px solid #ccc;
            box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        }

        .filtered-select option {
            padding: 10px;
            cursor: pointer;
        }
		
		  hr {
            border: 0;
            height: 2px;
            background: #333; /* 更改为你想要的颜色 */
        }
        .checkbox-group {
            display: flex;
            flex-direction: column;
        }
		
		
        .button-container button {
            display: inline-block;
            margin-right: 10px; /* 控制间距 */
		
        
        }
		
		.hidden {
            display: none;
        }


@media (max-width: 414px) {
    .container {
        max-width: 100%;
        margin-top: 15px;
        padding: 0 15px; /* 增加容器内边距 */
        box-sizing: border-box;
    }
    
    /* 关键修改：减小网格列宽 */
    .form-container {
        display: grid !important;
        grid-template-columns: 45% 45% !important; /* 减小列宽 */
        grid-column-gap: 10% !important; /* 增加列间距 */
        grid-row-gap: 8px !important;
        width: 100% !important;
        justify-content: space-between !important;
    }

    /* 确保输入框不会撑满整个列 */
    .form-item {
        width: 100% !important;
        min-width: 0 !important;
    }
    
    /* 输入框设置固定最大宽度 */
    .form-item input,
    .form-item select {
        width: 100% !important;
        max-width: 150px !important; /* 限制最大宽度 */
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 4px 8px !important;
        font-size: 13px !important;
    }

    /* 特别处理select-container */
    .select-container {
        width: 100% !important;
        max-width: 150px !important;
    }
    
    .select-container input,
    .select-container select {
        width: 100% !important;
        max-width: 150px !important;
    }

    /* label样式 */
    .form-item label {
        margin: 0 0 3px 0 !important;
        padding: 0 !important;
        font-size: 13px !important;
        display: block;
    }

    body {
        background-color: #f8f9fa !important;
    }
}