body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #ffffff;
}

.search-container {
    text-align: center;
    width: 100%;
    max-width: 600px;
    padding: 20px;
}

/* 模拟 Google 彩色 Logo */
.logo {
    font-size: 80px;
    font-weight: bold;
    margin-bottom: 30px;
    letter-spacing: -2px;
    user-select: none;
}
.blue { color: #4285F4; }
.red { color: #EA4335; }
.yellow { color: #FBBC05; }
.green { color: #34A853; }

/* 搜索框整体 */
.search-box {
    display: flex;
    align-items: center;
    border: 1px solid #e4e4e4;
    border-radius: 24px;
    padding: 6px 16px;
    transition: box-shadow 0.2s;
    background: #fff;
}

.search-box:hover, .search-box:focus-within {
    box-shadow: 0 1px 6px rgba(32,33,36,0.28);
    border-color: rgba(223,225,229,0);
}

.search-icon {
    color: #9aa0a6;
    margin-right: 10px;
    font-size: 18px;
}

#searchInput {
    flex: 1;
    border: none;
    height: 34px;
    font-size: 16px;
    outline: none;
}

/* 搜索框内的 AI Mode 样式按钮 */
.search-btn-inline {
    background: linear-gradient(45deg, #ff7e5f, #feb47b);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 16px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
}

/* 下方按钮组 */
.buttons {
    margin-top: 25px;
}

.buttons button {
    background-color: #f8f9fa;
    border: 1px solid #f8f9fa;
    border-radius: 4px;
    color: #3c4043;
    font-size: 14px;
    margin: 11px 4px;
    padding: 0 16px;
    line-height: 27px;
    height: 36px;
    min-width: 54px;
    cursor: pointer;
    transition: border 0.1s, color 0.1s;
}

.buttons button:hover {
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    background-color: #f8f9fa;
    border: 1px solid #dadce0;
    color: #202124;
}

/* 必须让搜索框变成相对定位，作为联想框的定位基准 */
.search-box {
    position: relative; /* 新增这行 */
    display: flex;
    align-items: center;
    border: 1px solid #e4e4e4;
    border-radius: 24px;
    padding: 6px 16px;
    background: #fff;
}

/* 联想词列表基础样式 */
.suggestion-list {
    position: absolute;
    top: 100%; /* 刚好在搜索框正下方 */
    left: 0;
    width: 100%;
    background-color: white;
    border: 1px solid #e4e4e4;
    border-top: none; /* 顶边不需要边框，和搜索框融为一体 */
    border-radius: 0 0 20px 20px; /* 下方圆角 */
    box-shadow: 0 4px 6px rgba(32,33,36,0.12);
    margin: 0;
    padding: 10px 0;
    list-style: none;
    text-align: left;
    display: none; /* 默认隐藏 */
    z-index: 1000; /* 确保显示在最上层 */
    box-sizing: border-box;
}

/* 每一个联想项的样式 */
.suggestion-item {
    padding: 10px 20px;
    font-size: 16px;
    color: #202124;
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* 仿照图里的灰色放大镜图标 */
.suggestion-item::before {
    content: "🔍";
    margin-right: 15px;
    color: #9aa0a6;
    font-size: 14px;
}

/* 鼠标悬停变色 */
.suggestion-item:hover {
    background-color: #f1f3f4;
}