/* 搜索框相关样式 */
.search-area {
    flex: 1;
    max-width: 480px;
    margin-left: 20px;
}

.search-box {
    width: 100%;
}

.search-form {
    display: flex;
    position: relative;
    width: 100%;
    align-items: stretch;
}

.search-select {
    position: relative;
    background: #d4e6ff;
    border-radius: 4px 0 0 4px;
    cursor: pointer;
    padding: 0 15px;
    height: 48px;
    display: flex;
    align-items: center;
    font-size: 14px;
    min-width: 100px;
    transition: all 0.3s;
    justify-content: center;
    border: 2px solid #d4e6ff;
    border-right: none;
}

.search-select:hover {
    background: #d4e5ff;
    border-color: #d4e5ff;
}

.search-select::after {
    content: "▼";
    font-size: 10px;
    margin-left: 8px;
}

.search-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    border-radius: 4px;
    display: none;
    z-index: 10;
}

.search-select-options a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
    text-align: center;
}

.search-select-options a:hover {
    background: #d4e6ff;
}

.search-input {
    flex: 1;
    height: 48px;
    padding: 0 15px;
    border: 2px solid #e4e7ed;
    border-left: none;
    border-right: none;
    outline: none;
    font-size: 16px;
    transition: all 0.3s;
}

.search-input:focus {
    border-color: #2c7de6;
}

.search-button {
    height: 48px;
    padding: 0 24px;
    background: #2c7de6;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.3s;
    border: 2px solid #2c7de6;
}

.search-button:hover {
    background: #1a68cc;
    border-color: #1a68cc;
}

/* 移动端搜索框优化 */
@media (max-width: 991px) {
    .search-area {
        margin: 0 0 15px;
        max-width: 100%;
    }
    
    .search-form {
        width: 100%;
        height: 42px;
    }
    
    .search-select {
        min-width: 80px;
        padding: 0 10px;
        font-size: 13px;
        height: 42px;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid #d4e6ff;
        border-right: none;
        border-radius: 4px 0 0 4px;
    }
    
    .search-input {
        height: 42px;
        font-size: 14px;
        border: 2px solid #e4e7ed;
        border-left: none;
        border-right: none;
        border-radius: 0;
    }
    
    .search-button {
        height: 42px;
        padding: 0 15px;
        font-size: 14px;
        border: 2px solid #2c7de6;
        border-left: none;
        border-radius: 0 4px 4px 0;
    }
    
    .search-select-options {
        width: 80px;
        left: 0;
    }
    
    .search-select-options a {
        text-align: center;
        padding: 10px 5px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .search-select {
        min-width: 70px;
        padding: 0 8px;
        font-size: 12px;
    }
    
    .search-input {
        font-size: 13px;
        padding: 0 10px;
    }
    
    .search-button {
        padding: 0 12px;
        font-size: 13px;
    }
}