/* 全局样式 */
body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 20px;
    background-color: #f8f9fa; /* 添加背景色 */
}

/* 容器 */
.container {
    max-width: 800px;
    margin: auto;
    background: white;
    padding: 20px;
    border-radius: 8px; /* 圆角 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 添加阴影 */
}

/* 搜索栏 */
.search-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.search-bar input {
    padding: 10px;
    width: 60%;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px; /* 左侧圆角 */
    outline: none;
}

.app-item p {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.search-bar button {
    padding: 10px 15px;
    font-size: 16px;
    cursor: pointer;
    background: #007bff;
    color: white;
    border: 1px solid #007bff;
    border-radius: 0 5px 5px 0; /* 右侧圆角 */
    transition: background 0.3s;
}

.search-bar button:hover {
    background: #0056b3;
}

/* 应用列表 */
.app-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* 自适应列 */
    gap: 15px;
    margin-bottom: 20px;
}

/* 应用项 */
.app-item {
    border: 1px solid #ddd;
    padding: 15px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.app-item:hover {
    transform: translateY(-3px);
}

.app-item p {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: bold;
}

.app-item button {
    background: #28a745;
    color: white;
    border: none;
    padding: 7px 12px;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.3s;
}

.app-item button:hover {
    background: #218838;
}



/* 加载更多按钮 */
#loadMore {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background: #17a2b8;
    color: white;
    border: none;
    border-radius: 5px;
    transition: background 0.3s;
}

#loadMore:hover {
    background: #117a8b;
}
