
        body {
            font-family: Arial, sans-serif;
            max-width: 960px;
            margin: 20px auto;
            padding: 20px;
        }
        .search-box {
            display: flex;
            gap: 10px;
            margin-bottom: 20px;
        }
        input[type="text"] {
            padding: 8px;
            font-size: 16px;
        }
        #searchInput {
            flex: 3;
        }
        #captchaInput {
            flex: 1;
            max-width: 120px;
        }
        button {
            padding: 8px 16px;
            background: #007bff;
            color: white;
            border: none;
            cursor: pointer;
        }
        button:hover {
            background: #0056b3;
        }
        #results {
            margin-top: 20px;
            min-height: 400px;
        }
        table {
            width: 100%;
            border-collapse: collapse;
        }
        th, td {
            border: 1px solid #ddd;
            padding: 4px;
           
box-sizing: border-box;
        }
        th {
            background-color: #f2f2f2;
text-align:center;
        }
th:nth-of-type(1){
width:38px;
}
th:nth-of-type(2){
width:94px;
}
th:nth-of-type(3){
width:52px;
}
th:nth-of-type(4){
width:220px;
}
td:nth-of-type(n+4){
word-wrap: break-word;
    word-break: break-all;
}
th:nth-of-type(5){
width:156px;
}
th:nth-of-type(6){
width:260px;
}
th:nth-of-type(7){
width:40px;
}

td:nth-of-type(7n+1),
td:nth-of-type(7n+2),
td:nth-of-type(7n+3),
td:nth-of-type(7n+5){
text-align:center;
}
        .no-results {
            color: #666;
            padding: 10px;
        }
    

/* 确保高亮样式优先级足够高 */
table td span.highlight {
    color: red;
    /* font-weight: bold; 可以添加额外的样式，如加粗，以便更明显 */
}

        .pagination {
            margin-top: 20px;
            display: flex;
            gap: 5px;
            align-items: center;
        }
        .pagination button {
            padding: 5px 10px;
        }
        .pagination button.active {
            background: #007bff;
            color: white;
        }
        .page-jump {
            margin-left: 10px;
            display: flex;
            gap: 5px;
        }
        .page-jump input {
            width: 60px;
            padding: 5px;
        }
        .captcha-stats-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
            margin: 10px 0;
        }
        .captcha-box {
            display: flex;
            align-items: center;
            gap: 10px;
        }
 #addForm input, #addForm select {
            margin: 10px 0;
            padding: 8px;
            width: 100%;
        }
        #addForm select {
            height: 36px; /* 统一高度 */
        }
        #addCaptchaInput {
            width: 100px; /* 验证码输入框宽度 */
        }
        .keywords-section {
            margin: 10px 0;
            border-top: 1px solid #eee;
            padding: 10px 0;
        }
        .keywords-container {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }
        #searchStats {
            color: #666;
            font-size: 14px;
            white-space: nowrap;
            min-width: 180px;
            text-align: right;
        }

#loginModal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 1000;
        }
        .login-content {
            position: relative;
            background: white;
            padding: 30px 40px;
            margin: 100px auto;
            max-width: 400px;
            border-radius: 5px;
        }
        .login-close {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 24px;
            cursor: pointer;
        }
        .login-form div {
            margin: 15px 0;
        }
        .login-form input {
            width: 100%;
            padding: 8px;
            margin-top: 5px;
        }
        #loginCaptchaDisplay {
            color: red;
            font-weight: bold;
            margin: 0 10px;
        }
        #addFormContainer {
            margin: 30px 0;
            border-top: 2px solid #eee;
            padding-top: 20px;
        }
        #addForm input {
            display: block;
            width: 100%;
            margin: 10px 0;
            padding: 8px;
        }

        .keyword-item {
            max-width: 150px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            padding: 4px 8px;
            background: #f0f0f0;
            border-radius: 4px;
            cursor: help;
        }
        .keyword-item.long {
            max-width: 120px;
        }
        @media (max-width: 600px) {
            .captcha-stats-container {
                flex-direction: column;
                align-items: flex-start;
            }
            #searchStats {
                text-align: left;
                margin-left: 0;
            }
        }
.active-page {
    background-color: darkblue;
    color: white;
}    