.search-box {
    margin-left: 20px;
    padding-top: 15px;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    height: 40px;
}

.search-input {
    width: 260px;
    height: 30px;
    padding: 0 15px;
    font-size: 14px;
    line-height: 25px;
    border: 1.5px solid #104492;
    border-radius: 25px;
    background-color: #ffffff;
    color: #104492;
}

.search-input::placeholder {
    color: #cccccc;
}

.search-input:focus {
    outline: none;
    border-color: #016cb4;
    box-shadow: 0 0 0 2px rgba(16,68,146,0.2);
}

.search-button {
    height: 30px;
    padding: 0 15px;
    font-size: 14px;
    line-height: 30px;
    border: 1.5px solid #104492;
    background-color: #104492;
    border-radius: 25px;
    color: #ffffff;
    cursor: pointer;
    text-decoration: none;
    
    /* 新增的微交互样式（保持原有样式不变） */
    position: relative;       /* 为伪元素定位做准备 */
    overflow: hidden;         /* 隐藏溢出的伪元素 */
    transition: all 0.2s ease; /* 添加过渡效果 */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* 添加轻微阴影 */
}

/* 按下效果 */
.search-button:active {
    transform: translateY(1px); /* 轻微下移模拟按压 */
    box-shadow: 0 1px 3px rgba(0,0,0,0.1); /* 减少阴影 */
}

/* 新增的涟漪效果（可选） */
.search-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
    transform: translateY(-100%);
    transition: transform 0.2s ease;
}

.search-button:active::after {
    transform: translateY(0);
}



.clear-button {
    height: 30px;
    padding: 0 15px;
    font-size: 14px;
    line-height: 30px;
    border: 1.5px solid #104492;
    background-color: #104492;
    border-radius: 25px;
    color: #ffffff;
    cursor: pointer;
    text-decoration: none;

        /* 新增的微交互样式（保持原有样式不变） */
        position: relative;       /* 为伪元素定位做准备 */
        overflow: hidden;         /* 隐藏溢出的伪元素 */
        transition: all 0.2s ease; /* 添加过渡效果 */
        box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* 添加轻微阴影 */
    }
    
    /* 按下效果 */
    .clear-button:active {
        transform: translateY(1px); /* 轻微下移模拟按压 */
        box-shadow: 0 1px 3px rgba(0,0,0,0.1); /* 减少阴影 */
    }
    
    /* 新增的涟漪效果（可选） */
    .clear-button::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255,255,255,0.1);
        transform: translateY(-100%);
        transition: transform 0.2s ease;
}
.clear-button:active::after {
    transform: translateY(0);
}


.search-results {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.search-container {
    display: block;
    height: auto;
    min-height: 40px;
    margin-bottom: 20px;
}

.search-info {
    text-align: center;
    margin: 20px 0;
    color: #666;
    font-size: 1.2em;
}

.search-highlight {
    color: #016CB4;
    font-weight: bold;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 1.1em;
}

.results-table th,
.results-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.results-table th {
    background-color: #f5f5f5;
    font-weight: bold;
    font-size: 1.2em;
}

.results-table tr:hover {
    background-color: #f9f9f9;
}

.file-name {
    word-break: break-all;
    white-space: normal;
}

.file-name a {
    color: #333;
    text-decoration: none;
    font-size: 1.1em;
}

.file-name a:hover {
    color: #016CB4;
    text-decoration: underline;
}

.pagination {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    gap: 5px;
}

.pagination a {
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1.1em;
}

.pagination a:hover {
    background-color: #f5f5f5;
}

.pagination .active {
    background-color: #016CB4;
    color: white;
    border-color: #016CB4;
}

.pagination-info {
    text-align: center;
    margin: 10px 0;
    color: #666;
    font-size: 1.1em;
}

.no-results {
    text-align: center;
    padding: 30px;
    color: #666;
    font-size: 1.2em;
}