body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #202124;
    height: 100vh;
}

/* 首页样式 */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.logo-container {
    margin-bottom: 35px;
    text-align: center;
}

.logo {
    height: 80px;
    width: auto;
}

.search-box {
    display: flex;
    border: 1px solid #dfe1e5;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    background: #ffffff;
}

.search-box input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    font-size: 16px;
    outline: none;
    background: transparent;
}

.search-box button {
    padding: 12px 24px;
    background-color: #aad400;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: #ffffff;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.search-box button:hover {
    background-color: #95b900;
}

/* 搜索结果页样式 */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #dfe1e5;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo-header {
    flex-shrink: 0;
}

.logo-header .logo {
    height: 40px;
    width: auto;
}

.search-form {
    flex: 1;
    max-width: 600px;
}

/* 搜索结果内容区域 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.results {
    margin-top: 20px;
}

.result-item {
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.result-url {
    color: #0d66d0;
    font-size: 14px;
    margin-bottom: 5px;
}

.result-title {
    margin: 5px 0;
}

.result-title a {
    color: #1a0dab;
    text-decoration: none;
    font-size: 18px;
    font-weight: normal;
}

.result-title a:hover {
    text-decoration: underline;
}

.result-desc {
    color: #4d5156;
    font-size: 14px;
    line-height: 1.4;
}

.stats {
    color: #4d5156;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: left;
}

.pagination {
    margin-top: 40px;
    text-align: center;
}

.pagination a {
    color: #1a0dab;
    text-decoration: none;
    margin: 0 10px;
    padding: 8px 16px;
    border: 1px solid #dfe1e5;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: #f8f9fa;
    border-color: #dadce0;
}

.pagination .current {
    margin: 0 10px;
    padding: 8px 16px;
    color: #4d5156;
    font-weight: bold;
}

.no-results, .error, .no-query {
    text-align: center;
    margin-top: 40px;
    color: #4d5156;
    font-size: 18px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    
    .logo-header {
        text-align: center;
    }
    
    .search-form {
        max-width: 100%;
    }
    
    .container {
        padding: 20px 15px;
    }
    
    .search-box {
        border-radius: 20px;
    }
    
    .search-box input {
        padding: 10px 15px;
    }
    
    .search-box button {
        padding: 10px 20px;
    }
}