/* Header specific styles */
:root {
    /* 导航栏颜色 */
    --nav-bg: rgba(43, 45, 47, 0.8);
    --nav-text: #ffffff;
    --nav-hover: #00FFD9;
    --nav-child-bg: rgba(43, 45, 47, 0.9);
    
    /* 全局颜色 */
    --global-bg: #404040;
    --content-bg: rgba(255,255,255,0.75);
}

/* 搜索框样式 */
.search-container {
    margin-top: 20px;
    max-width: 600px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.search-form {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 搜索引擎选项 */
.search-engines {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
    padding: 0;
    list-style: none;
}

.search-engines li {
    padding: 4px 12px;
    font-size: 14px;
    color: #666;
    background: #f5f5f5;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-engines li:hover {
    background: #e9e9e9;
}

.search-engines li.active {
    color: white;
    background: #1E88E5;
}

/* 搜索输入框 */
.search-input-wrapper {
    display: flex;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid #e0e0e0;
    transition: border-color 0.3s ease;
}

.search-input-wrapper:focus-within {
    border-color: #1E88E5;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

.search-input {
    flex: 1;
    padding: 12px 45px 12px 20px;
    font-size: 16px;
    border: none;
    outline: none;
    background: transparent;
}

.search-button {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 0 20px;
    background: #1E88E5;
    color: white;
    border: none;
    border-radius: 0 24px 24px 0;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s ease;
}

.search-button:hover {
    background: #1976D2;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .search-engines li {
        padding: 3px 10px;
        font-size: 12px;
    }
    
    .search-input {
        padding: 10px 40px 10px 16px;
        font-size: 14px;
    }
    
    .search-button {
        padding: 0 16px;
        font-size: 16px;
    }
}