* { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: Arial, sans-serif;
            background: linear-gradient(135deg, #f0f9f0 0%, #e8f5e8 100%);
            color: #333;
        }
        .header {
            background: #2c7a5e;
            color: white;
            padding: 20px 0;
            text-align: center;
            box-shadow: 0 2px 8px rgba(44, 122, 94, 0.2);
        }
        .header h1 {
            font-size: 24px;
            margin-bottom: 10px;
        }
        .header p {
            opacity: 0.9;
        }
        .container {
            max-width: 1000px;
            margin: 30px auto;
            padding: 0 20px;
        }
        .search-box {
            background: white;
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            margin-bottom: 30px;
            border: 1px solid rgba(44, 122, 94, 0.1);
        }
        .search-box h2 {
            margin-bottom: 20px;
            color: #2c7a5e;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .form-group {
            margin-bottom: 20px;
        }
        label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
            color: #2c7a5e;
        }
        select, input[type="text"] {
            width: 100%;
            padding: 12px;
            border: 1px solid rgba(44, 122, 94, 0.3);
            border-radius: 6px;
            font-size: 16px;
            transition: all 0.3s;
            background-color: #f8fcf9;
        }
        select:focus, input[type="text"]:focus {
            outline: none;
            border-color: #2c7a5e;
            box-shadow: 0 0 0 2px rgba(44, 122, 94, 0.2);
            background-color: white;
        }
        .btn {
            background: #2c7a5e;
            color: white;
            border: none;
            padding: 14px 30px;
            border-radius: 6px;
            font-size: 16px;
            font-weight: bold;
            cursor: pointer;
            width: 100%;
            transition: all 0.3s;
            box-shadow: 0 4px 12px rgba(44, 122, 94, 0.2);
        }
        .btn:hover {
            background: #256c52;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(44, 122, 94, 0.3);
        }
        .help-text {
            color: #5a6e66;
            font-size: 14px;
            margin-top: 5px;
        }
        .error-box {
            background: #fff2f0;
            border: 1px solid #ffccc7;
            border-radius: 6px;
            padding: 20px;
            margin-bottom: 20px;
            color: #f5222d;
        }
        .success-box {
            background: #f6ffed;
            border: 1px solid #b7eb8f;
            border-radius: 6px;
            padding: 20px;
            margin-bottom: 20px;
            color: #52c41a;
        }
        .results-box {
            background: white;
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
            border: 1px solid rgba(44, 122, 94, 0.1);
        }
        .results-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid rgba(44, 122, 94, 0.1);
        }
        .results-header h3 {
            color: #2c7a5e;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .results-count {
            background: #2c7a5e;
            color: white;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 14px;
        }
        table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 25px;
        }
        th {
            background: #f8fcf9;
            padding: 16px;
            text-align: left;
            color: #2c7a5e;
            font-weight: 600;
            border-bottom: 2px solid rgba(44, 122, 94, 0.1);
        }
        td {
            padding: 16px;
            border-bottom: 1px solid rgba(44, 122, 94, 0.1);
            color: #5a6e66;
        }
        tr:hover {
            background: #f0f9f3;
        }
        .amount {
            color: #d9534f;
            font-weight: bold;
        }
        .id-card {
            font-family: 'Courier New', monospace;
            letter-spacing: 1px;
            color: #2c7a5e;
        }
        .summary {
            background: #2c7a5e;
            color: white;
            padding: 25px;
            border-radius: 8px;
            margin-top: 30px;
            box-shadow: 0 4px 12px rgba(44, 122, 94, 0.2);
        }
        .summary-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .summary h4 {
            font-size: 18px;
            margin-bottom: 5px;
        }
        .summary p {
            opacity: 0.9;
            font-size: 14px;
        }
        .summary-amount {
            font-size: 32px;
            font-weight: bold;
        }
        .no-data {
            text-align: center;
            padding: 60px 20px;
            color: #5a6e66;
        }
        .no-data-icon {
            font-size: 60px;
            margin-bottom: 20px;
            opacity: 0.3;
            color: #2c7a5e;
        }
        .footer {
            text-align: center;
            padding: 30px 0;
            color: #5a6e66;
            font-size: 14px;
            border-top: 1px solid rgba(44, 122, 94, 0.1);
            margin-top: 30px;
        }
        .example {
            background: #f6ffed;
            border: 1px solid #b7eb8f;
            border-radius: 6px;
            padding: 12px;
            margin-top: 10px;
            font-size: 14px;
            color: #389e0d;
        }
        .example strong {
            color: #237804;
        }
        
        /* 管理员登录链接 */
        .admin-login {
            text-align: center;
            margin-top: 20px;
        }
        .admin-login a {
            color: #2c7a5e;
            text-decoration: none;
            font-weight: 500;
            padding: 8px 16px;
            border: 1px solid #2c7a5e;
            border-radius: 6px;
            display: inline-block;
            transition: all 0.3s;
        }
        .admin-login a:hover {
            background: #2c7a5e;
            color: white;
        }
        
        /* 打印按钮样式 */
        .print-btn {
            background: #2c7a5e;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 6px;
            font-size: 14px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s;
            box-shadow: 0 2px 8px rgba(44, 122, 94, 0.2);
        }
        
        .print-btn:hover {
            background: #4caf93;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(44, 122, 94, 0.3);
        }
        
        /* 适配移动设备 */
        @media (max-width: 768px) {
            .header h1 {
                font-size: 20px;
            }
            
            .container {
                padding: 0 15px;
                margin: 20px auto;
            }
            
            .search-box, .results-box {
                padding: 20px;
            }
            
            /* 表格移动端适配 */
            table {
                font-size: 14px;
            }
            
            th, td {
                padding: 12px 8px;
            }
            
            /* 在手机上隐藏身份证相关列 */
            .id-card-column {
                display: none;
            }
            
            /* 调整表头宽度 */
            th:nth-child(1) { width: 15%; } /* 序号 */
            th:nth-child(2) { width: 30%; } /* 姓名 */
            th:nth-child(5) { width: 55%; } /* 缴费总数 */
            
            /* 调整单元格宽度 */
            td:nth-child(1) { width: 15%; } /* 序号 */
            td:nth-child(2) { width: 30%; } /* 姓名 */
            td:nth-child(5) { width: 55%; } /* 缴费总数 */
            
            .summary-content {
                flex-direction: column;
                text-align: center;
                gap: 15px;
            }
            
            .summary-amount {
                font-size: 24px;
            }
            
            .results-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }
            
            .results-actions {
                align-self: stretch;
            }
            
            .print-btn {
                width: 100%;
                justify-content: center;
            }
        }
        
        /* 大屏幕显示身份证列 */
        @media (min-width: 769px) {
            .id-card-column {
                display: table-cell;
            }
            th:nth-child(1) { width: 10%; } /* 序号 */
            th:nth-child(2) { width: 15%; } /* 姓名 */
            th:nth-child(3) { width: 25%; } /* 身份证号 */
            th:nth-child(4) { width: 20%; } /* 身份证后六位 */
            th:nth-child(5) { width: 30%; } /* 缴费总数 */
        }